vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hide User Info for (spasific group) in Postbit (https://vborg.vbsupport.ru/showthread.php?t=103560)

HaMaDa4eVeR 12-22-2005 09:08 PM

Hide User Info for (spasific group) in Postbit
 
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:
PHP Code:

<if condition="$post['usergroupid'] != 7"


HaMaDa4eVeR 12-24-2005 06:15 AM

1 Attachment(s)
if the poster from usergroup=7 i do not want to show his/her <joindate .....

i tried this in postbit_legency template
PHP Code:

 <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

Quote:

Originally Posted by HaMaDa4eVeR
if the poster from usergroup=7 i do not want to show his/her <joindate .....

i tried this in postbit_legency template
PHP Code:

 <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:
PHP Code:

<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
Quote:

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

Quote:

Originally Posted by HaMaDa4eVeR
thank u so much abe
what about

then use:
PHP Code:

<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/attachmen...chmentid=39871
I hope u getting me right this time

Abe1 12-27-2005 12:02 PM

Quote:

Originally Posted by HaMaDa4eVeR
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/attachmen...chmentid=39871
I hope u getting me right this time

Like I said, uses this condition:
PHP Code:

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



All times are GMT. The time now is 07:16 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
  • Page Generation 0.01046 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete