PDA

View Full Version : Hide User Info for (spasific group) in Postbit


HaMaDa4eVeR
12-22-2005, 09:08 PM
Hi everybody
I want to hide spasific user group info in postbit ,,
example:
If user have gruop id=7 do not show his Post Numbers, Reg.Date , ..etc. in the posts.
else show all user info (normal)...

can I use <IF> condition to do that .
thanks :)

Abe1
12-23-2005, 12:49 AM
If you use this IF, any poster from usergroupid 7 will show what you block: <if condition="$post['usergroupid'] != 7">

HaMaDa4eVeR
12-24-2005, 06:15 AM
if the poster from usergroup=7 i do not want to show his/her <joindate .....

i tried this in postbit_legency template
<if condition="$post['usergroupid'] = 7">
Staff Member
</if>
but I want to hide the personal info if the user is not in "usergroup 7 " otherwise the personal info showing
. chk the attachment

Abe1
12-24-2005, 09:40 PM
if the poster from usergroup=7 i do not want to show his/her <joindate .....

i tried this in postbit_legency template
<if condition="$post['usergroupid'] = 7">
Staff Member
</if>
but I want to hide the personal info if the user is not in "usergroup 7 " otherwise the personal info showing
. chk the attachment

Should be:<if condition="$post['usergroupid'] == 7">
Staff Member
</if> to show "staff member" if he is in user group 7.

HaMaDa4eVeR
12-25-2005, 06:12 AM
thank u so much abe
what about
but I want to hide the personal info if the user is not in "usergroup 7 " otherwise the personal info showing
. chk the attachment

Abe1
12-25-2005, 07:48 PM
thank u so much abe
what about

then use:
<if condition="$post['usergroupid'] != 7">
info
</if>

HaMaDa4eVeR
12-26-2005, 08:48 PM
dear abe
the above code work well ,, but I want TO HIDE the joindate,userid...etc if the poster from (group 7) otherwise show it regular for members
https://vborg.vbsupport.ru/attachment.php?attachmentid=39871
I hope u getting me right this time

Abe1
12-27-2005, 12:02 PM
dear abe
the above code work well ,, but I want TO HIDE the joindate,userid...etc if the poster from (group 7) otherwise show it regular for members
https://vborg.vbsupport.ru/attachment.php?attachmentid=39871
I hope u getting me right this time

Like I said, uses this condition:
<if condition="$post['usergroupid'] != 7">
info
</if>