The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
My bi-weekly dumb question...
How come unregistered users CAN see the New Thread button on my board, I feel like I have been thru EVERY setting/permission, and nothing... ?
|
#2
|
||||
|
||||
I wondered the same thing. I believe the logic is this. By having it there, unregistered uses will try to respond and get the message to join, which will point them in the right direction.,
If you really don't want it to show, wrap it in a conditional in the tamplate. |
#3
|
|||
|
|||
By default it's already wrapped in one though?
I assumed that this if statement controlled it's view within some permission somewhere? Code:
<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a></if> |
#4
|
||||
|
||||
Wrap it again. Just make sure your conditions are nested properly. You want to show it to anybody who has a userid that isn't 0.
|
#5
|
|||
|
|||
I didn't wrap it in the first place, it's original vB code... so.. ?
|
#6
|
||||
|
||||
I know that's the original vb code. Wrap it your conditional around it, just like you would any other conditional.
|
#7
|
|||
|
|||
Quote:
|
#8
|
||||
|
||||
No. It's everything Jelsoft checked for as to whether or not to show the button. You don't want it to show for guests. That's not something Jelsoft checks for. If you don't want it to show for guests, you need to wrap that section in the conditional to see if the user is not a guest.
|
#9
|
|||
|
|||
Really? I thought that they controlled whether or not the button was visible? Hence the $show? And since I set permissions not to allow guests to post, that the button wouldn't be shown?
Is it like this on ALL default boards? |
#10
|
||||
|
||||
If the forum allows posting (forum permission) then the link will be shown. There is no user permission check involved.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|