vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Member's Group in Posts (https://vborg.vbsupport.ru/showthread.php?t=124372)

JompaMP 08-19-2006 08:31 AM

Member's Group in Posts
 
hey now its look like this when you read a post:
Quote:

[Username]
Creator of Drazonia
[Avatar]

Join Date: Aug 2006
Location: Sweden, Stockholm
Age: 15
Posts: 85
and i want it to look like this:
Quote:

[Username]
Creator of Drazonia
[Avatar]

UserGroup: [usergroup you are in (ex: newbie or Adminstrator)]
Join Date: Aug 2006
Location: Sweden, Stockholm
Age: 15
Posts: 85
and wan?t a code that add auto if i create a new usergroup and not like this one:
https://vborg.vbsupport.ru/showthrea...mber%27s+group

JompaMP 08-21-2006 01:25 PM

nobody that can help me?

Shazz 08-21-2006 02:23 PM

You have added:

PHP Code:

<if condition="is_member_of($post,1)">Member's Group:Guests</if>
<if condition="is_member_of($post,2)">Member'
s Group:Members</if>
<if 
condition="is_member_of($post,3)">Member's Group:Users Awaiting Email Confirmation</if>
<if condition="is_member_of($post,4)">Member'
s Group:(COPPAAwaiting Moderation</if>
<if 
condition="is_member_of($post,5)">Member's Group:Super Moderators</if>
<if condition="is_member_of($post,6)">Member'
s Group:Administrators</if>
<if 
condition="is_member_of($post,7)">Member's Group:Moderators</if>
<if condition="is_member_of($post,8)">Member'
s Group:Banned</if> 

________
Joseph Hinrichs

rogersnm 08-21-2006 02:59 PM

or you could just alter a query and add it to the template to do it automatically.

JompaMP 08-24-2006 05:47 PM

i wan´t one that update usergroup auto like otfans.net

Ntfu2 08-24-2006 08:02 PM

Here is the easiest way.

AdminCP -> User Ranks -> User Rank Manager ->

Simply start adding ranks for each member group, like Registered users, give them the Registered User Rank.

JompaMP 08-25-2006 08:33 AM

what you mean?

Ntfu2 08-25-2006 03:51 PM

theres the instructions, it really explains itself.

Simply follw them, then do any on screen instructions, its not that hard.

or add this code to the postbit template where you want it to appear

Code:

<div class="userinfo"><b>$vbphrase[usergroup]:</b> $post[displaygrouptitle]</div>

JompaMP 08-25-2006 04:01 PM

thanks


All times are GMT. The time now is 02:32 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
  • Page Generation 0.01161 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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