MyBB Community Forums

Full Version: removing reputation-text from postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

MikeInToshx

Hey guys,

I got reputation turned off right now but it still shows reputation text in the postbit, how do I remove it? ( Not entirely so if i later on want to use it that I dont miss any code or something..

Cheers.

[attachment=31059]
Show: postbit_author_user & postbit_ classic

MikeInToshx

postbit_author_user is empty.
Though I don't want to remove code. Maybe comment out or something ?

{$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 width="15%" valign="top" style="white-space: nowrap; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; text-align: center; background-color:#F2F6F8"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
              
               
		<strong><span class="largetext">{$post['profilelink']}</span></strong> <br />
                
		<span class="smalltext">
                        {$post['usertitle']} <br />
                        {$post['userstars']}<br />
			{$post['groupimage']}
                     {$post['useravatar']}

			<dl class="userinfo_extra">
                                  
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_posts} </b></font> &nbsp {$post['postnum']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_joined} </b></font> &nbsp {$post['userregdate']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_reputation} </b></font> &nbsp {$post['userreputation']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_status} </b></font> &nbsp {$post['onlinestatus']}</div>
                                   {$post['warninglevel']}
                                                                                                          
	               </dl>
                       {$post['user_details']}
		</span>

	</td>


<td class="postbody" valign="top" style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; background-color:#FBFBFB">
		<table width="100%">
			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['mysupport_status']}{$post['subject']} {$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}</div> - {$post['postdate']}, {$post['posttime']}</strong><div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></span> 
			<br />
			<div id="pid_{$post['pid']}" class="post_body">
				{$post['message']}
			</div>
			{$post['attachments']}
			{$post['signature']}
			{$post['iplogged']}
                   
		</td></tr>
	</table>
</td>
</tr>
<tr>
           <td align="left" style="vertical-align: middle; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#E9E9E9"><span class="smalltext">{$post['button_rep']}{$post['button_report']}{$post['button_warn']}</span></td>
	<td style="vertical-align: middle; border-right: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#E9E9E9">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_delete_pm']}</td>
			</tr>
		</table>
	</td>
</tr>{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}
{$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 width="15%" valign="top" style="white-space: nowrap; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; text-align: center; background-color:#F2F6F8"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
              
               
        <strong><span class="largetext">{$post['profilelink']}</span></strong> <br />
                
        <span class="smalltext">
                        {$post['usertitle']} <br />
                        {$post['userstars']}<br />
            {$post['groupimage']}
                     {$post['useravatar']}

            <dl class="userinfo_extra">
                                  
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_posts} </b></font> &nbsp {$post['postnum']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_joined} </b></font> &nbsp {$post['userregdate']}</div>
                                  <div class="post_field">{$post['userreputation']}</div>
                                  <div class="post_field"><font color="#535353"><b>{$lang->postbit_status} </b></font> &nbsp {$post['onlinestatus']}</div>
                                   {$post['warninglevel']}
                                                                                                          
                   </dl>
                       {$post['user_details']}
        </span>

    </td>


<td class="postbody" valign="top" style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; background-color:#FBFBFB">
        <table width="100%">
            <tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['mysupport_status']}{$post['subject']} {$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}</div> - {$post['postdate']}, {$post['posttime']}</strong><div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></span> 
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['message']}
            </div>
            {$post['attachments']}
            {$post['signature']}
            {$post['iplogged']}
                   
        </td></tr>
    </table>
</td>
</tr>
<tr>
           <td align="left" style="vertical-align: middle; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#E9E9E9"><span class="smalltext">{$post['button_rep']}{$post['button_report']}{$post['button_warn']}</span></td>
    <td style="vertical-align: middle; border-right: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#E9E9E9">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_delete_pm']}</td>
            </tr>
        </table>
    </td>
</tr>{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}

and add in postbit_reputation:
<font color="#535353"><b>{$lang->postbit_reputation} </b></font>

MikeInToshx

Hey,

The text is gone, but the border that was around it still is visible

Eh nevermind, I fixed it :p

commented out:

div class="post_field"><font color="#535353"><b>{$lang->postbit_reputation} </b></font> &nbsp {$post['userreputation']}</div>