Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hiding Certain Navbar Links From Guests Details »
Hiding Certain Navbar Links From Guests
Mod Version: 1.00, by metalguy639 (Member) metalguy639 is offline
Developer Last Online: Jan 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (0 vote - 0 average) Installs: 6
Released: 27 Feb 2009 Last Update: Never Downloads: 1
Not Supported Template Edits  

THIS TEMPLATE EDIT BROUGHT TO YOU BY:


www.skinsnstyles.com

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:


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

Replace With:


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

To Hide The Community Link Popups:

Find:


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

Replace With:


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

To Hide The Search Link:

Find:


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

Replace With:


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

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:


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

at the beginning of the link area and be sure to close your tag and place...


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

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

Click image for larger version

Name:	Logged In.png
Views:	468
Size:	21.5 KB
ID:	95551   Click image for larger version

Name:	Logged Out.png
Views:	437
Size:	18.2 KB
ID:	95552  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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
  #2  
Old 27 Feb 2009, 01:27
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Reserved...
Reply With Quote
  #3  
Old 04 Apr 2009, 16:26
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
great work, thank you!

Installed
__________________
games
Forum Nokia
Reply With Quote
  #4  
Old 20 Apr 2009, 10:24
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
No problem. Glad you found it helpful.
Reply With Quote
  #5  
Old 19 May 2009, 17:58
Blue Ink Blue Ink is offline
 
Join Date: Apr 2009
Can you tell me how to modity this so that a navbar link is hidden from anyone who is not an Administrator?

Thank you
Reply With Quote
  #6  
Old 20 May 2009, 00:13
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by Blue Ink View Post
Can you tell me how to modity this so that a navbar link is hidden from anyone who is not an Administrator?

Thank you
Which link? All navbar links or one link in particular?

Thanks
Reply With Quote
  #7  
Old 09 Oct 2012, 13:51
www.nofal www.nofal is offline
 
Join Date: Jan 2010
Good Work
Reply With Quote
  #8  
Old 10 Oct 2012, 03:14
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by www.nofal View Post
Good Work

No problem, thanks
Reply With Quote
  #9  
Old 10 Nov 2012, 13:46
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
great work, thank you!
Reply With Quote
  #10  
Old 11 Nov 2012, 00:41
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by matrex722 View Post
great work, thank you!
Thanks
Reply With Quote
  #11  
Old 11 Jan 2013, 20:03
madness85 madness85 is offline
 
Join Date: Jun 2012
Originally Posted by metalguy639 View Post
Reserved...
how to do this on 4.2 ?
Reply With Quote
  #12  
Old 12 Jan 2013, 06:11
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by madness85 View Post
how to do this on 4.2 ?
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.
Reply With Quote
  #13  
Old 24 Jan 2013, 19:11
madness85 madness85 is offline
 
Join Date: Jun 2012
Originally Posted by metalguy639 View Post
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.
Please if ya would buddy I can't hide faq and community link
Reply With Quote
  #14  
Old 30 Jan 2013, 01:09
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
Originally Posted by madness85 View Post
Please if ya would buddy I can't hide faq and community link
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.
Reply With Quote
  #15  
Old 04 Apr 2013, 01:09
Dorgham's Avatar
Dorgham Dorgham is offline
 
Join Date: May 2012
Good Job
__________________
AdSense revenue sharing 100% - [ Hanan ]
News, egypt : أخبار مصر - Photo, picture : صور
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod 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 03:10.

Layout Options | Width: Wide Color: