Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can someone help to add extra Chat in Menu links (Read 5115 times)
Karen England
New Member
*
Offline


I Love YaBB 2!

Posts: 9
Location: Carlisle
Joined: Jun 8th, 2009
Gender: Female
Can someone help to add extra Chat in Menu links
Oct 20th, 2009 at 10:28pm
Print Post  
Hi. Is there anyone who can add a Chat button in my 2.4 Purple pet forum www.nikaglen.co.uk so it looks like the rest of the menu links
Thanks
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Can someone help to add extra Chat in Menu links
Reply #1 - Oct 21st, 2009 at 10:18am
Print Post  
Basically you need to modify Sources/Subs.pl

After this line
Code
Select All
$yymenu = qq~<a href="$scripturl">$img{'home'}</a>$menusep<a href="$scripturl?action=help" style="cursor:help;">$img{'help'}</a>~; 


add the following:

Code
Select All
$yymenu .= qq~$menusep<a href="http://yourlinktochathere.com"><span class="imgmenu">Chat</span></a>~; 



Replace http://yourlinktochathere.com with the link to your chat.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Karen England
New Member
*
Offline


I Love YaBB 2!

Posts: 9
Location: Carlisle
Joined: Jun 8th, 2009
Gender: Female
Re: Can someone help to add extra Chat in Menu links
Reply #2 - Oct 21st, 2009 at 11:20am
Print Post  
Thanks Michael I will try this tonight when the kids are in bed Smiley
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Can someone help to add extra Chat in Menu links
Reply #3 - Oct 21st, 2009 at 3:29pm
Print Post  
Oh sorry, I totally overlooked a feature here. Your yabb version already supports dynamic menus. You can add or reorder menu items by updating your admin session and using the buttons at the top, next to the menu itsel.

  

advancedmenutabs.png ( 65 KB | Downloads )
advancedmenutabs.png

The Administrator.
Back to top
WWW  
IP Logged
 
Karen England
New Member
*
Offline


I Love YaBB 2!

Posts: 9
Location: Carlisle
Joined: Jun 8th, 2009
Gender: Female
Can someone help to add extra Chat in Menu Tab 2.4
Reply #4 - Oct 21st, 2009 at 6:16pm
Print Post  
Ok I removed the code signed in as admin and clicked on the Add a Tab.
Filled in the boxes but was a little difficult due to colour of template but if you highlight you can see the options.. Clicked on the end box and something seemed to happen but no extra Chat tab. I refreshed but still nothing?
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Can someone help to add extra Chat in Menu links
Reply #5 - Oct 21st, 2009 at 7:58pm
Print Post  
Ah,

There is a bug with adding new tabs in 2.4, see this thread: http://www.yabbforum.com/community/YaBB.pl?num=1240240863

You need to open Sources/AdvancedTabs.pl in a text editor and replace the source code with the source code from the link in Post No. 5

You should be able to add new tabs then...

Someone else had the same problem the other day: http://www.yabbforum.com/community/YaBB.pl?num=1255923938
  
Back to top
 
IP Logged
 
Karen England
New Member
*
Offline


I Love YaBB 2!

Posts: 9
Location: Carlisle
Joined: Jun 8th, 2009
Gender: Female
Re: Can someone help to add extra Chat in Menu links
Reply #6 - Oct 22nd, 2009 at 1:09pm
Print Post  
Thanks Derek and the rest of the team.. now sorted
  
Back to top
 
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Can someone help to add extra Chat in Menu links
Reply #7 - Oct 22nd, 2009 at 4:35pm
Print Post  
umm wonder if this is why i can not delete a tab..
« Last Edit: Oct 22nd, 2009 at 8:16pm by chillipepper »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint