![]() |
need quick small conditional help
I currentley use something like this in my postbit:
<if condition="$bbuserinfo[userid]"> customfields <else /> Contact info not avilable to non subscribers. </if> Is there anyway i can add to this so that if the post is made by an administrator, even a visitor with no user id could still see the fields? maybe by using a conditional that specifys either a few admins userid#'s or just plain if the post was made by an admin? need quick, please help |
you could use <if condition="$post[usergroupid] == 6">
</if> |
WORKS! here is what i did:
<if condition="$bbuserinfo[userid]"> customfields <else /> <if condition="$post[usergroupid] == 6"> customfields <else /> Contact info not avilable to non subscribers. </if> </if> |
quick question. If i use this conditional in the postbit for the guest usergroup, it does not work.
<if condition="$post[usergroupid] == 1"> using "1" for the unregistered/not logged in group. how would I make this apply for guest? your response is appreciated |
use
$post[userid] == 0 |
<font size="2">Edit.</font>
|
All times are GMT. The time now is 07:59 PM. |
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:
|