MyBB Community Forums

Full Version: user title
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ive seen loads of sites do it adding a photo under there name or custom title saying what group there in ... if you have no idea what im taking about here's an example

[Image: user-member.png]

underneath there name ... sorry to post alot but i am new to this and wanna learn as much as i can ...

thanks in return guys its greatly appreciated
ACP->Users & Groups->Groups. Click the group name you want to edit. Then put the url of the image in the Group Image field.
Hello,

Good day!

Please help me how should I do this:

1. When the user registers, they will have an option to choose what group are do they belong:

Sample : Group 1 , Group 2, Group 3

2. Then, when they are posting, I want to see what group do they belong - so I want their group name to be near to their user title

How should I do this?

Thanks!

P.S.

Please see attached.
I want to see the group name below their name like the attached.

Thanks
Try using {$post['title']} in your postbit template.
Thanks for your response.

Here is what I saw in the postbit template:

---------------------------------------------------------------
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author">
{$post['useravatar']}
<div class="author_information">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</div>
<div class="author_statistics">
{$post['user_details']}
</div>
</div>
<div class="post_content">
<div class="post_head" title="{$post['subject_title']}">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
</div>
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
---------------------------------------------------------------------------------------------------------

1. Where should I put {$post['title']} ?

2. Also, how can I put the "Group Option" in the registration page (where people can choose the group that are fit for them upon registration)?

Thanks!