MyBB Community Forums

Full Version: multiple group images shown
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
multiple group images shown
plz help me
how to fix it?
do you have any plug-in installed to show the group images ?
you have to edit postbit templates to remove the extra codes for showing the group images
yah i install multiple gruop images plugin
but how to remove extra codes
i m new plz explain
admin panel --> templates & style --> templates --> find your active set of templates AND click on it
--> click on postbit templates --> paste here the contents of postbit_classic AND postbit in code tags
postbit


<table border="0" cellspacing="$theme[borderwidth]" cellpadding="2" class="tborder" width="100%">

<tr>

<td class="tcat" colspan="2">

{$post['posturl']} {$post['icon']}<span 
class="smalltext"><strong>{$post['postdate']}, 
{$post['posttime']}</strong></span></td>

</tr>

<tr>

<td class="trow1" rowspan="2" width="15%" valign="top" 
style="white-space: nowrap; text-align: center;"><a 
name="pid{$post['pid']}" id="pid{$post['pid']}"></a>



<strong><span 
class="largetext">{$post['profilelink']}</span></strong> 
{$post['onlinestatus']}<br />

{$post['usertitle']}<br />

{$post['userstars']}

{$post['groupimage']}

{$post['useravatar']}<br />

{$post['user_details']}{$post['newpoints_postbit']}





</td>

<td class="trow1" width="85%" valign="top">

<table width="100%">

<tr><td>

<div id="pid_{$post['pid']}">

{$post['subject']}

<hr />

{$post['message']}

</div>

{$post['attachments']}

{$post['signature']}

<div style="text-align: right; vertical-align: bottom;">

{$post['editedmsg']}

{$post['iplogged']}

</div>

</td></tr>

</table>

</td>

</tr>

<tr>

<td class="trow2" width="100%" valign="bottom" height="18">

&nbsp;&nbsp;&nbsp;&nbsp;<table width="100%" border="0" cellpadding="0" cellspacing="0">

&nbsp;&nbsp;&nbsp;&nbsp;<tr>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<td align="left"><span 
class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}</span></td>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<td align="right"><span 
class="smalltext">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}</span></td>

&nbsp;&nbsp;&nbsp;&nbsp;</tr>

&nbsp;&nbsp;&nbsp;&nbsp;</table>

</td>

</tr>

</table>

<div style="padding-bottom:0px"></div> 
There are way too many &nbsp; 's. You've to remove them.
Replace above code with this;

<table border="0" cellspacing="$theme[borderwidth]" cellpadding="2" class="tborder" width="100%">
<tr>
<td class="tcat" colspan="2">
{$post['posturl']} {$post['icon']}<span 
class="smalltext"><strong>{$post['postdate']}, 
{$post['posttime']}</strong></span></td>
</tr>
<tr>
<td class="trow1" rowspan="2" width="15%" valign="top" 
style="white-space: nowrap; text-align: center;"><a 
name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span 
class="largetext">{$post['profilelink']}</span></strong> 
{$post['onlinestatus']}<br />
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}{$post['newpoints_postbit']}
</td>
<td class="trow1" width="85%" valign="top">
<table width="100%">
<tr><td>
<div id="pid_{$post['pid']}">
{$post['subject']}
<hr />
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;">
{$post['editedmsg']}
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="trow2" width="100%" valign="bottom" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><span 
class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}</span></td>
<td align="right"><span 
class="smalltext">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}</span></td>
</tr>
</table>
</td>
</tr>
</table>
<div style="padding-bottom:0px"></div>
thanks but no changes.
the problem remains
Edited after seeing yaldaram's response ...

hmm., spaces is a different thing ; let me check it ...
postbit classic




{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tr>
		<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
		<strong><span class="largetext"><a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a></span></strong> {$post['onlinestatus']}<br /><div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><table style="text-align: left;"><tr><td ><a href="{$post['profilelink_plain']}"><img src="{$theme['imgdir']}/uqm/profile.png" alt="" title="" /> {$lang->viewprofile}</a></td><td><a href="private.php?action=send&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/pm.png" alt="" title="" /> {$lang->sendpm}</a></td></tr><tr><td><a href="search.php?action=finduserthreads&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/thread.png" alt="" title="" /> {$lang->viewthreads}</a></td><td><a href="member.php?action=emailuser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/email.png" alt="" title="" /> {$lang->sendemail}</a></td></tr><tr><td><a href="search.php?action=finduser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/post.png" alt="" title="" /> {$lang->viewposts}</a></td><td>{$post['buddy_post']}</td></tr></table></div></div><script type="text/javascript">if(use_xmlhttprequest == "1"){new PopupMenu("profile_{$post['pid']}");}</script>
		<span class="smalltext">
			{$post['usertitle']}<br />
			{$post['userstars']}
			{$post['groupimage']}<br />
			{$post['useravatar']}<br />
			{$post['user_details']}{$post['newpoints_postbit']}
		</span>
	</td>
	<td class="{$altbg}" valign="top">
		<table width="100%">
			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
			<br />
			<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				{$post['message']}
			</div>
			{$post['attachments']}
			{$post['signature']}
			<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
				<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
				{$post['iplogged']}
			</div>
		</td></tr>
	</table>
</td>
</tr>
<tr>
	<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
	<td class="{$altbg}" style="vertical-align: middle;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
				<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
			</tr>
		</table>
	</td>
</tr>
</table> 
Please use this when posting a code:

[code ] Your content here and remove the space between "code" and "]" [/code ]
Pages: 1 2