MyBB Community Forums

Full Version: Integrate IRC (Realtime Chat) With Your Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Thanks for the feedback. We're trying to troubleshoot permission problems here http://community.mybb.com/thread-170568-...pid1157445 - for now, only guest can use the chat on my forum... :s I couldn't figure out which permissions are lacking. Not yet :/

Peace!

Devvie
Bump bump lol

I can be quite dumb at times but I have no clue how to add the link I created with between "Member List" & "Calendar".

Can one of you ole pro's tell me your secret?

I'd like to use a clickable image for the link 😎
^ what is your forum url ?
(2017-09-02, 07:13 AM).m. Wrote: [ -> ]^ what is your forum url ?

http://legionelite.x10host.com
^ looks like you have given a testing forum url.
anyway, header template of the theme consists of variables related to top links.
Member List & Calendar links codes are provided through below variables
{$menu_memberlist}
{$menu_calendar}
in between them you can add required link code - something like below
<li><a href="yourLink" class="myirc"><img src="yourImageLink" alt="irc" /></a></li>

you may also have to add below style property at the bottom of global.css stylesheet to hide search icon for the new link
#header ul.menu li a.myirc {background-image: none!important;} 
(2017-09-02, 03:48 PM).m. Wrote: [ -> ]^ looks like you have given a testing forum url.
anyway, header template of the theme consists of variables related to top links.
Member List & Calendar links codes are provided through below variables
{$menu_memberlist}
{$menu_calendar}
in between them you can add required link code - something like below
<li><a href="yourLink" class="myirc"><img src="yourImageLink" alt="irc" /></a></li>

you may also have to add below style property at the bottom of global.css stylesheet to hide search icon for the new link
#header ul.menu li a.myirc {background-image: none!important;} 

OK so I almost got it working but I can't seem to get rid of the search icon. I also had to alter your code to disclude class.

Here's what I did...

{$menu_memberlist}
<li><a href="http://legionelite.x10host.com/misc.php?page=Chat>Chat<img src="/images/irc.png" alt="Chat" /></a></li>
{$menu_calendar}
looks like you missed adding class for the link - can be like below
<li><a href="{$mybb->settings['bburl']}/misc.php?page=Chat" class="myirc">Chat<img src="{$mybb->settings['bburl']}/images/irc.png" alt="Chat" /></a></li>

at the bottom of the global.css you can add
(edit through themes section of forum admin panel & in advanced edit mode)
#header ul.menu li a.myirc {background-image: none!important;} 
(2017-09-02, 05:16 PM).m. Wrote: [ -> ]looks like you missed adding class for the link - can be like below
<li><a href="{$mybb->settings['bburl']}/misc.php?page=Chat" class="myirc">Chat<img src="{$mybb->settings['bburl']}/images/irc.png" alt="Chat" /></a></li>

at the bottom of the global.css you can add
(edit through themes section of forum admin panel & in advanced edit mode)
#header ul.menu li a.myirc {background-image: none!important;} 

Thanks for all your help but I'm still having trouble tbh. I'm am not a good editor as this stuff is very foreign still. I know how to install plug-ins and themes but can't edit anything lol

I'm also trying to do all this on a phone bc I haven't got a computer. 

If I made you an administrator account,could you fix it and write down the steps of what you did and include screenshot so I can learn easier?

It would be a great help. I'll probably add a tutorial section on my forum for stuff like this.

If possible,could you edit the code so everything would fit including search?

Thanks
^ well, you may PM me temporary admin account to check it
Pages: 1 2