![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||||||
Hiding Certain Navbar Links From Guests
![]() Developer Last Online: Jan 2014 ![]() ![]() ![]()
CLICK INSTALLED TO GET SUPPORT FOR THIS ADD-ON. IF YOU DO NOT CLICK INSTALLED I CANNOT HELP YOU. If you want to hide some of the links in your navbar to guests you can do it by adding an if/else statement to your template code. Steps To Add Code: 1. Login to your admin CP 2. Scroll down to Styles & Templates & click on "Style Manager" 3. Now find the skin you want to edit in the right side panel. 4. Click the drop down box and choose "Edit Templates" 5. Expand the templates to include all the template groups by clicking the bottom left button on the far right large box. 6. Scroll through the templates until you find the "navbar" template & double click on it. 7. Now you should see the code, I will go through each button that does not have the if/else statement on it already. To Hide The FAQ Link: Find:
Replace With:
To Hide The Community Link Popups: Find:
Replace With:
To Hide The Search Link: Find:
Replace With:
You can pretty much hide any links that you want as long as you include both tags into your code. Be sure to always put:
at the beginning of the link area and be sure to close your tag and place...
at the end. If you get an error or get stumped, post here & I will try to help you. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
[Release] - [Gamma] - Hiding Some "Quick Links" From Guests | M1th | vBulletin 3.0 Template Modifications | 10 | 12 Dec 2003 22:42 |
Comments |
#3
|
||||
|
||||
great work, thank you!
Installed No members have liked this post.
|
#4
|
|||
|
|||
No problem. Glad you found it helpful.
No members have liked this post.
|
#5
|
|||
|
|||
Can you tell me how to modity this so that a navbar link is hidden from anyone who is not an Administrator?
Thank you No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by Blue Ink
Which link? All navbar links or one link in particular?![]()
Thanks No members have liked this post.
|
#8
|
|||
|
|||
No members have liked this post.
|
#9
|
||||
|
||||
great work, thank you!
No members have liked this post.
|
#10
|
|||
|
|||
No members have liked this post.
|
#11
|
|||
|
|||
No members have liked this post.
|
#12
|
|||
|
|||
I will have to post an entirely different tutorial for that since the code is different from vB 3.8. When I have some time I'll post it this weekend.
The following members like this post: madness85
|
#13
|
|||
|
|||
Please if ya would buddy I can't hide faq and community link
No members have liked this post.
|
#14
|
|||
|
|||
Sorry for the late reply. I'm really bogged down in other stuff right now. If you are using vBulletin 4.2 there is a built in system for navigation that you can set who can see a link and who cannot. It maybe easier to use that system if you are on 4.2.
Or if you are not using vB 4.2 you can place the conditionals yourself. The vB4 conditionals are here: http://www.vbulletin.org/forum/showt...t=Conditionals. If you can find the part of the template for those links you should be able to put the conditionals around it and make it where its not seen. No members have liked this post.
|
#15
|
||||
|
||||
Good Job
__________________
AdSense revenue sharing 100% - [ Hanan ] News, egypt : أخبار مصر - Photo, picture : صور No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 11:37.