MyBB Community Forums

Full Version: change the position of the group image?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
default group image is in left side...
[Image: fezp8.png]
i want to put it in the middle...
like in this
[Image: vo84c.png]

how can i do that? is it possible to change the place of group image?
Of course it is possible, edit postbit template:
<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
To:
<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
							</span>
						</td>
                                                <td style="text-align: center;">
                                                {$post['groupimage']}
                                                </td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>


Note: since you didn't provide postbit template from your theme my code is based on default theme so you may want to suit it to your template.
(2013-06-10, 08:45 AM)Destroy666 Wrote: [ -> ]Of course it is possible, edit postbit template:
<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
To:
<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
							</span>
						</td>
                                                <td style="text-align: center;">
                                                {$post['groupimage']}
                                                </td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>


Note: since you didn't provide postbit template from your theme my code is based on default theme so you may want to suit it to your template.

thank you soo much for the help.... it worked...
rep+