Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #16  
Old 27 Apr 2008, 20:44
PurpleButterfly's Avatar
PurpleButterfly PurpleButterfly is offline
 
Join Date: Sep 2007
So helpful, thank you!!
Reply With Quote
  #17  
Old 04 Jun 2008, 17:43
Dantenator Dantenator is offline
 
Join Date: Feb 2005
In vb3.7, how would one define a navbar link to only show for specified usergroups? I'm currently using <if condition="in_array($bbuserinfo['usergroupid'], array(6))"> wrapped around the navbar link but I have additional usergroups setup for various things. I found the additional usergroups are stored in the membergroupids field. I tried changing $bbuserinfo['usergroupid'] to $bbuserinfo['membergroupids'] but it doesn't work. What am I doing wrong?

/edit
Scratch this question. I found my answer. I needed to use <if condition="is_member_of($bbuserinfo, 5, 6, 7)">. I hope this helps someone.

Last edited by Dantenator; 04 Jun 2008 at 23:29.
Reply With Quote
  #18  
Old 07 Jun 2008, 01:05
willygeek willygeek is offline
 
Join Date: Jun 2008
Which file in VB do I change to achieve this additional link

Hi Folk,

Maybe I'm a bit slow, but the only page I can find within VBulletin (3.7) to change to achieve an additional link is "vbulletin-style.xml"

However if I change this and upload it nothing changes on my site (yes, I do refresh, even tried closing and opening in a different browser).

So, my question is, am I changing the correct file, or should I be making the changes elsewhere?

The line I am adding is...
<td class="vbmenu_control"><a href="http://www.ulysses.org.nz/photopost">Photo Gallery</a></td>

My site is www.ulysses.org.nz/vbulletin

Cheers

William
New Zealand
Reply With Quote
  #19  
Old 07 Jun 2008, 01:22
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Real name: Lee
Yea would be nice if we new what files we should be editing.
Reply With Quote
  #20  
Old 07 Jun 2008, 01:49
willygeek willygeek is offline
 
Join Date: Jun 2008
I have now figured out how to do this, via the control Panel.

Cheers
William
Reply With Quote
  #21  
Old 07 Jun 2008, 02:02
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Real name: Lee
The code below will give you a new navbar above and it will also look just like the other (correct borders and so on..)

This is for vB 3.7.1, change the links to what you would like them to be.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Enjoy !

Demo: www.mycncuk.com
Attached Images
File Type: jpg vbnav.jpg (38.8 KB, 58 views)
Reply With Quote
  #22  
Old 29 Jun 2008, 20:54
maryx maryx is offline
 
Join Date: Jan 2006
Need help with Add links to Navbar

I have 3 calendars on my forum. What do I do to remove the current Calendar link on the navbar and change it to a Calendars link with 3 drop down boxes.

I tried the mod here, and was able to add one drop down box, but not more, and the link didnt work. It looked good but didnt connect to anything.

Any help here?
Reply With Quote
  #23  
Old 14 Jul 2008, 08:48
steve1966 steve1966 is offline
 
Join Date: Dec 2007
thanks
Reply With Quote
  #24  
Old 08 Aug 2008, 00:11
natecoupons natecoupons is offline
 
Join Date: Jul 2008
This worked great for me....but I have a problem....with the new link in the navbar it opens a new window. How do I stop this?
Reply With Quote
  #25  
Old 08 Aug 2008, 11:14
pranaysanghavi's Avatar
pranaysanghavi pranaysanghavi is offline
 
Join Date: Jun 2008
Location: India
Real name: Pranay
Hi,

which is the template that we're talking here? where can we find it?
Reply With Quote
  #26  
Old 08 Aug 2008, 18:45
Mudo Mudo is offline
 
Join Date: Dec 2006
Thanks so much.
Reply With Quote
  #27  
Old 25 Aug 2008, 17:30
Mysterious Ride's Avatar
Mysterious Ride Mysterious Ride is offline
 
Join Date: Feb 2008
Real name: Ebz
I can't seen to get to the HTML page for my site to try and make the changes. I keep getting the error page.

My Site:

www.ofagewizards.com/home

For the HTML map:

www.ofagewizards.com/map.html

Is there something I'm doing wrong?
Reply With Quote
  #28  
Old 22 Sep 2008, 16:14
silverado350 silverado350 is offline
 
Join Date: Aug 2008
Help

Where do I add this mod? Do I it In the CP? Where do I find it?
Reply With Quote
  #29  
Old 04 Nov 2008, 07:09
MyraB MyraB is offline
 
Join Date: Nov 2008
Thank you so much for this information.
You saved me so much time and pain.

--------------- Added 04 Nov 2008 at 07:40 ---------------

Is there some way to space the links evenly along the navbar? Right now the new links I added seem to take up more room than the standard vBulletin links. I used the exact same code/tag format given at the top of this thread. Thanks very much!

Last edited by MyraB; 04 Nov 2008 at 07:40. Reason: Auto-Merged DoublePost
Reply With Quote
  #30  
Old 04 Nov 2008, 19:33
cisco123 cisco123 is offline
 
Join Date: Oct 2008
where exactly is this at?place is either immediately before or after the calendar link.
i added a second row but cant seem to add just a link

--------------- Added 04 Nov 2008 at 19:38 ---------------

Originally Posted by MYCNCUK View Post
The code below will give you a new navbar above and it will also look just like the other (correct borders and so on..)

This is for vB 3.7.1, change the links to what you would like them to be.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Enjoy !

Demo: www.mycncuk.com
where do i add this?

Last edited by cisco123; 04 Nov 2008 at 19:38. Reason: Auto-Merged DoublePost
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Additional Navbar 3.5.3 and up attroll vBulletin 3.5 Template Modifications 91 26 Dec 2007 02:12
Additional Navbar attroll vBulletin 3.0 Full Releases 235 24 Feb 2006 04:51



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:11.

Layout Options | Width: Wide Color: