MyBB Community Forums
Missing group image and user stars in postbit? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Missing group image and user stars in postbit? (/thread-193141.html)



Missing group image and user stars in postbit? - Consaholic - 2016-05-17

Hey guys,

for some reason in my postbit (author and non-authors) some things are missing:

- the group image
- the users stars

anyone know what to do? im using a custom theme on localhost fourm (ofc till i finish it)

maybe some variables i might be missing? but every other details is there. here is the code for the postbit templates.

Postbit:

{$ignore_bit}

<table border="0" cellspacing="0" cellpadding="10" class="postbit-fix tfixed clear">
<tbody><tr>
<div id="posts">

<table border="0" cellspacing="0" cellpadding="10" class="scaleimages tborder" style="margin-top: 5px;" id="post_{$post['pid']}">
<div class="post_author scaleimages">
<tbody><tr>
<td class="trow1" valign="top" style="border-top: none;width: 180px;border-right: 1px solid #151515;">
<?php if($post['author'] == 2){echo '<div style="-webkit-transform: rotate(180deg);-moz-transform: rotate(180deg);-o-transform: rotate(180deg);-ms-transform: rotate(180deg);transform: rotate(180deg);">';}?>
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div align="center">
<div class="postbit-username">
<span class="largetext">{$post['profilelink']}</span> {$post['onlinestatus']}
</div>

{$post['useravatar']}
</div>
<div align="left">
<span class="smalltext">
<div class="author_information">
<div>
<div align="center">

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

</div>

<div class="author_statistics">
{$post['user_details']}{$post['newpoints_postbit']}
</div>

<td class="trow1" valign="top" style="border-left: 1px solid #303030;border-top: none;">
<table width="100%">
          <tbody><tr><td>
<div class="post_content">
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
{$post['subject_extra']}
</div>
</td>
<?php if($uid == 2){echo "<div>";}?>
</tr>
</tbody></table>

<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']} <br /><div class="float_right">
<div style="{$post['tyl_display']}" class="like_postbit" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div></div><br />
</div>
{$post['attachments']}
<hr>
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">

</div>
</div>

<tr>
<td class="trow1" style="white-space: nowrap; text-align: center; vertical-align: middle;border-right: 1px solid #151515;"><span class="smalltext">{$post['postdate']}</span></td>

<td class="trow1" style="vertical-align: middle;border-left: 1px solid #303030;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr valign="bottom">
<td align="left" class="postbit_buttons"> 

{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']} {$post['iplogged']}


</td>
<td align="center"></td>
<td align="right" class="postbit_buttons">

{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_mention']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}

</td>
</tr>
</tbody></table>
</td>
</tr>

</div>
</td>
</tr>
</tbody></table>

Postbit author_user

<span style="float:left;">{$lang->postbit_posts}</span> <span style="float:right;"> {$post['postnum']}</span><br />
<span style="float:left;">{$lang->postbit_threads}</span> <span style="float:right;">{$post['threadnum']}</span><br />
<span style="float:left;">{$lang->postbit_joined}</span> <span style="float:right;">{$post['userregdate']}</span>
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}

Much thanks to those who attempt to help me,
thanks alot!


RE: Missing group image and user stars in postbit? - .m. - 2016-05-17

user stars => {$post['userstars']} & group image => {$post['groupimage']}
in general, they are below user title like below
{$post['usertitle']}
{$post['userstars']}
{$post['groupimage']}