![]() |
Hide new thread buttons
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? |
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> |
Quote:
HTML Code:
<if condition="$bbuserinfo[userid] != 0">code for button</if> |
Quote:
|
Quote:
|
Thanks for the help, i´ll give it ago......
|
Cool! Took me 40 mins to work that out, not bad for a newbie!
|
All times are GMT. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|