The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Greetings all. I am currently using vB 4.1.11 (haven't upgraded because things are running smoothly and I am afraid to mess with that
![]() I would like to know if there is a simple plug-in script that I can execute in order to hide all but the home and blog tabs from unregistered users. I made the forum visible in order to let unregistered users see the articles and blogs I am posting, but they don't need to see a bunch of links for sections they can't access anyway. I appreciate the help! Thanks! |
#2
|
|||
|
|||
![]()
Do you have any of the "tabs" mods installed?
|
#3
|
||||
|
||||
![]()
I have the sstab advanced 2.0.5 installed, but it appears that I can only set those permissions for newly created tabs, not existing tabs.
|
#4
|
||||
|
||||
![]()
Just checking in. Any help would be appreciated. Thanks!
|
#5
|
||||
|
||||
![]()
You will need to ask that question in the modification thread since we know nothing about that modification and how to add permissions to the tabs.
|
#6
|
||||
|
||||
![]()
Lynne,
Thanks for the response ![]() My mention of the mod was in response to the question ask about the mods I have installed. From what I can see, this cannot be done with that mod so I am looking for any code I can add as a plug-in or a mod that currently exists to make this happen. Thanks! |
#7
|
|||
|
|||
![]()
The one in my sig can do what u ask if you have any problems with it pm me
|
#8
|
||||
|
||||
![]()
Or write a plugin - https://vborg.vbsupport.ru/showthread.php?t=226914
|
#9
|
|||
|
|||
![]()
Sorry forgot about this thread
![]() <vb:if condition="$show['member']"> is the tag you put in front of the stuff you want to hide from guests. </vb:if> is the tag you put at the end of the stuff you want to hide from guests. This example is the default code for the "what's new" tab, it hides the tab from guests. As I don't have that tab mod installed I can't show you an example using the code from one of the tabs you created. Code:
<vb:if condition="$show['member']"> <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li> <vb:else /> <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li> </vb:if> |
#10
|
||||
|
||||
![]()
John,
Thanks for your code. I am trying to hide 4 tabs, two of which are built in to vB, two are plugins. The two tabs built in are the Forum and What's New. I looked in the navbar template and can't find the code that specifically points to the "Forum" tab itself. Any guidance would be appreciated. The two plugins use the following code: Code:
$tabselected = ''; $tablinks = ''; if (THIS_SCRIPT == 'calendar') { $vbulletin->options['selectednavtab']='events'; $tabselected = ' class="selected"'; } $template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="http://www.projecttheophilus.com/comcenter/calendar.php?calendarid=1">EVENTS</a>'.$tablinks.'</li>' ; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|