Log in

View Full Version : how to hide ads code for specifid users id


bartek24m
06-28-2008, 12:44 AM
hello how can i hide some part of code html agains specified users is

like this
<if condition="is_member_of($bbuserinfo, 2, 4, 1, 3, 10, 30, 31, 32, 9, 20)">
</if>


but not usergroups but user ids :)

thank you

Dismounted
06-28-2008, 05:04 AM
<if condition="in_array($bbuserinfo, array(2, 4, 1, 3, 10, 30, 31, 32, 9, 20))"></if>

bartek24m
06-29-2008, 01:34 AM
thank you

but hgow about if i wish to show some code close to somebody profile

e.g like in signature some specified users i would like to add up some code

hod to do it that all users can see it but it will be appera only with specified person

i thinking about postbit_legacy template
i add after "-------" (signature) some symbol (image)

Dismounted
06-29-2008, 01:11 PM
Why don't you try what you suggested to yourself? ;)