MyBB Community Forums

Full Version: Postbit "Posts" Problem #template (double)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello, today somehow im got 2 posts section at postbit. im searched in postbit template but cant find out whats double...

here my postbit


{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
	<div class="postbit-post-panel clearfix">
		<div class="postbit-post-username">
			<a href="{$mybb->settings['bburl']}/member.php?action=profile&amp;uid={$post['uid']}">{$post['username']}</a>
		</div>
		<div class="postbit-post-head">
			{$post['posturl']}
			{$post['icon']}
			<span class="postdate">{$post['postdate']}</span>
		</div>
	</div>
	<div class="postbit-post-author scaleimages">
		<div class="postbit-post-usertitle"><span class="smalltext">{$post['usertitle']}</span></div>
		<div class="postbit-post-userstars">{$post['threadstarter']}
{$post['userstars']}</div>
		{$post['useravatar']}
		<div class="postbit-author-information">
			<span class="smalltext">
				<!-- Disabled: {$post['threadstarter']}

				{$post['groupimage']}{$post['ougc_agi']}
			</span>
		</div>
		<div class="postbit-author-statistics">
			{$post['user_details']}<br /><br />{$post['usercountry']}{$post['newpoints_postbit']}
		</div>
	</div>
	<div class="postbit-post-content">
		<div class="post_body postbit-post-body scaleimages" id="pid_{$post['pid']}">
			{$post['subject_extra']}
			<div id="thxpid_{$post['pid']}">{$post['message']}</div>
		</div>
		{$post['attachments']}
		{$post['editedmsg']}
		{$post['signature']}
		<div class="postbit-post-meta" id="post_meta_{$post['pid']}">
			{$post['quick_quote']}{$post['iplogged']}
		</div>
	</div>
	<div class="postbit-post-controls">
		<div class="postbit-buttons postbit-author-buttons float_left">
			{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
		</div>
		<div class="postbit-buttons postbit-post-management-buttons float_right">
			{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$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']}
		</div>{$post['thxdsp_outline']}
	</div>
</div>
 
postbit_classic 
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
	<div class="postbit-post-panel clearfix">
		<div class="postbit-post-username">
			<a href="{$mybb->settings['bburl']}/member.php?action=profile&amp;uid={$post['uid']}">{$post['username']}</a>
		</div>
		<div class="postbit-post-head">
			{$post['posturl']}
			{$post['icon']}
			<span class="postdate">{$post['postdate']}</span>
		</div>
	</div>
	<div class="postbit-post-author scaleimages">
		<div class="postbit-post-usertitle"><span class="smalltext">{$post['usertitle']}</span></div>
		<div class="postbit-post-userstars">{$post['threadstarter']}
{$post['userstars']}</div>
		{$post['useravatar']}
		<div class="postbit-author-information">
			<span class="smalltext">
				<!-- Disabled: {$post['threadstarter']}
{$post['userstars']} -->
				{$post['groupimage']}{$post['ougc_agi']}
			</span>
		</div>
		<div class="postbit-author-statistics">
			{$post['user_details']}<br /><br />{$post['usercountry']}{$post['newpoints_postbit']}
		</div>
	</div>
	<div class="postbit-post-content">
		<div class="post_body postbit-post-body scaleimages" id="pid_{$post['pid']}">
			{$post['subject_extra']}
			<div id="thxpid_{$post['pid']}">{$post['message']}</div>
		</div>
		{$post['attachments']}
		{$post['editedmsg']}
		{$post['signature']}
		<div class="postbit-post-meta" id="post_meta_{$post['pid']}">
			{$post['quick_quote']}{$post['iplogged']}
		</div>
	</div>
	<div class="postbit-post-controls">
		<div class="postbit-buttons postbit-author-buttons float_left">
			{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
		</div>
		<div class="postbit-buttons postbit-post-management-buttons float_right">
			{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$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']}
		</div>{$post['thxdsp_outline']}
	</div>
</div>

problems screenshot :
[Image: 3ca8e5291cb94e8c95771c092ed6faec.png]
Check in templates > Your theme > Postbit templates > postbit_author_user

Do you have two of these {$lang->postbit_posts} {$post['postnum']}
yes problem was with there i saw now

<ul class="clearfix">
	<li class="clearfix">
		<div class="key">{$lang->postbit_posts}</div>
		<div class="value">{$post['postnum']}</div>
	</li>
	<li class="clearfix">
		<div class="key">{$lang->postbit_threads}</div>
		<div class="value">{$post['threadnum']}</div>
	</li>
	<li class="clearfix">
		<div class="key">{$lang->postbit_joined}</div>
		<div class="value">{$post['userregdate']}</div>
	</li>
	<li class="clearfix">
		<div class="key">{$lang->postbit_posts}</div>
		<div class="value">{$post['postnum']}</div>
	</li>
	{$post['replink']}
	{$post['warninglevel']}{socialsites}
</ul>
{$post['profilefield']}


2 postbit_posts...


thanks for your help @iAndrew also nice to meet you  Smile