MyBB Community Forums

Full Version: Awards Postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanted to show awards on under posts and i saw this.

http://community.mybb.com/archive/index....96783.html

Bro,
Find {$post['awards']} in

Acp>themes and templates>templates>postbit templates>postbit

Quote:Replace that with this

Code:
<fieldset><legend><a href="{$mybb->settings['bburl']}/award.php" title="more&raquo;">Awards Showcase</a></legend>
<div>
{$post['awards']}
</div>
</fieldset>

This will make a place for awards

i did the same and now my postbit is

Quote: <tr>
<td class="tcat rounded_top">
<div class="float_left smalltext">
{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
</div>
{$post['posturl']}
</td>
</tr>

<tr>
<td class="trow1 {$unapproved_shade}">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
{$post['useravatar']}
</td>
<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']}{$post['newpoints_postbit'] <fieldset><legend><a href="{$mybb->settings['bburl']}/award.php" title="more&raquo;">Awards Showcase</a></legend>
<div>
{$post['awards']}
</div>
</fieldset>}{$post['awards']}
</td>
</tr>
</table>
</td>
</tr>

<tr>
<td class="trow2 post_content {$unapproved_shade}">
<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

<div class="post_body" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}

<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</td>
</tr>

<tr>
<td class="trow1 post_buttons {$unapproved_shade}">
<div class="author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$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']}
</div>
</td>
</tr>{$post['thxdsp_inline']}
</tbody>
</table>{$post['thxdsp_outline']}

when i save it i get this error

he following errors were encountered:

A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support

WHATS THE PROblem ?
What's your forum's URL ? Also please reply back to here with a testing account.

And, if its the plugin from mybbcentral.com then you're entitled to get support only from there.
http://pokeadventure.tk/

My Forum URL,its from mybbsource and not mybbcentral,the free ones.
BUMP BUMP
BUM BUMP BUMP BUMP BUMP BUMP