The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
What code would I add and to which template do I edit to hide new thread and reply buttons if a member is not logged in? |
|
#2
|
||||
|
||||
|
You'd have to add a template conditional around the code for the button.
HTML Code:
<if condition="$bbuserinfo[userid] == 0">code for button</if> |
|
#3
|
||||
|
||||
|
Quote:
![]() HTML Code:
<if condition="$bbuserinfo[userid] != 0">code for button</if> |
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
Thanks for the help, i´ll give it ago......
|
|
#7
|
|||
|
|||
|
Cool! Took me 40 mins to work that out, not bad for a newbie!
|
![]() |
|
|