PDA

View Full Version : Member's Group in Posts


JompaMP
08-19-2006, 08:31 AM
hey now its look like this when you read a post:
[Username]
Creator of Drazonia
[Avatar]

Join Date: Aug 2006
Location: Sweden, Stockholm
Age: 15
Posts: 85
and i want it to look like this:
[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/showthread.php?t=106485&highlight=member%27s+group

JompaMP
08-21-2006, 01:25 PM
nobody that can help me?

Shazz
08-21-2006, 02:23 PM
You have added:

<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:(COPPA) Awaiting 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 (http://www.ford-wiki.com/wiki/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


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

JompaMP
08-25-2006, 04:01 PM
thanks