Quote:
Originally posted by squawell
so strange.....now it work....i dont know what happen last night?
but here is another problem i use this
[if($bbusergroupid==6)]XXX[/if] want show to this group member
only....but...when i use normal account(groupid=2)..and it can see
the text....so what happen???(it works perfect to guest...)
by the way...if someone use the [if] code when use search
function it can be see or not??...hope u know poor english...
|
The code bit in the if() tag is the same as normal php, so if your checking 2 things like the user group use ==, using just one = would be equal to:
$bbusergroupid=6;
in php, instead of checking it, it sets the varible.
Hmmm, thanks for reminding me about search, ill make a fix for it so if there not allowed to see it they wont and so on.