MyBB-Plugins Forums

Full Version: Showing items in a postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi ...

How do I items in postbits show ?!

plugin: newpoints_shop 1.6

tnx
Make sure the newpoints variable exists in the postbit templates.
There are newpoints in the postbit templates but Variable postbit items (newpoints_shop) is not displayed in posts

http://www.funset.ir/upload/images/bruc5...wxgcdo.png
No, I mean, in the templates. Please post your postbit template here.
(07-10-2012, 06:39 AM)Pirata Nervo Wrote: [ -> ]Please post your postbit template here.

I not understand

Variable postbit shop (my items) should be placed where
You must post your postbit template here.
PHP Code:
{$ignore_bit}
<
a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="{$post_extra_style} {$post_visibility}id="post_{$post['pid']}">
    <
tbody>
        <
tr>
            <
td class="tcat">
                <
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="padding-left: 10px;">
                            {
$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['awards']} <br />  
                        </
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_right">
                    {
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_rep']}
                </
div>
                <
div class="post_management_buttons float_left">{$post['button_bday']}{$post['button_tyl']}{$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']}
                </
div>
            </
td>
        </
tr>
        <
tr style="{$post['imb_display']};" id="imb_{$post['pid']}">
            {
$post['itsmybirthday_wishes_data']}
    </
tbody>
        <
tr style="{$post['tyl_display']}id="tyl_{$post['pid']}">
            {
$post['thankyoulike_data']}
        </
tr>
</
table>{$post['adsaf']} 
The newpoints variable is missing. Go to ACP -> NewPoints -> Maintenance -> Reconstruct Templates
Was performed, but the postbit was cluttered

http://www.funset.ir/upload/images/tvfx9...rcn0wx.png

I want to be this way

http://www.funset.ir/upload/images/39l07...xulkjo.png

thanks
You will need to edit the 'newpoints_postbit' template to your needs.
Pages: 1 2