MyBB Community Forums

Full Version: postbit issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here is a pic I took:

[Image: capture2ql.png]

See where it says Dream Dollars at the bottom? I am trying to make it look like the black boxes above... I know how to make a blackbox that said: "Dream Dollars" in it, but how do I get the number of dream dollars everyone has beside it? It uses a points plugin by the way.
Can I see the template, please?
Postbit:

{$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']}">
<tr>
<td class="tcat" colspan="2">
<span style="float: right;">
{$post['posturl']}
</span>
{$post['postdate']} {$post['posttime']}
</td>
</tr>

	<tr>
		<td class="postbit" rowspan="2" width="200px" valign="top" style="white-space: nowrap; text-align: center;"><strong><span class="largetext"><a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}</a></span></strong> {$post['onlinestatus']}<br /><div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><table style="text-align: left;"><tr><td ><a href="{$post['profilelink_plain']}"><img src="{$theme['imgdir']}/uqm/profile.png" alt="" title="" /> {$lang->viewprofile}</a></td><td><a href="private.php?action=send&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/pm.png" alt="" title="" /> {$lang->sendpm}</a></td></tr><tr><td><a href="search.php?action=finduserthreads&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/thread.png" alt="" title="" /> {$lang->viewthreads}</a></td><td><a href="member.php?action=emailuser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/email.png" alt="" title="" /> {$lang->sendemail}</a></td></tr><tr><td><a href="search.php?action=finduser&amp;uid={$post['uid']}"><img src="{$theme['imgdir']}/uqm/post.png" alt="" title="" /> {$lang->viewposts}</a></td><td>{$post['buddy_post']}</td></tr></table></div></div><script type="text/javascript">if(use_xmlhttprequest == "1"){new PopupMenu("profile_{$post['pid']}");}</script>
		<span class="smalltext">
			{$post['useravatar']}                                            
			{$post['groupimage']}
                        {$post['user_details']}{$post['newpoints_postbit']}
		</span>
	</td>
	<td class="trow1{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" valign="top">
		<table width="100%">
			<tr><td><span class="smalltext"><strong>{$post['mysupport_status']}{$post['icon']}{$post['subject']} {$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}</div></strong></span>
			<br />
			<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				{$post['message']}
			</div>
			{$post['attachments']}
			{$post['signature']}
			<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
				<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
				{$post['iplogged']}
			</div>
		</td></tr>
	</table>
</td>
</tr>
<tr>
	<td class="trow2{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" style="vertical-align: middle; height: 10px;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
				<td align="right">{$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']}</td>
			</tr>
		</table>
	</td>
</tr>
</table>

Postbit_author_user:

<br />
{$post['usertitle']}<br />
{$post['userstars']}
<div class="postbit_details"><b>{$lang->postbit_posts}</b> {$post['postnum']}</div>
<div class="postbit_details"><b>{$lang->postbit_joined}</b> {$post['userregdate']}</div>
<div class="postbit_details"><b>{$lang->postbit_lucid}</b><strong>Lucid Dreams: </strong> {$post['fid4']}</div>
{$post['user_details']}{$post['newpoints_postbit']}
<div class="postbit_details">{$post['replink']}</div>

{$post['warninglevel']}

Try this:

<br />
{$post['usertitle']}<br />
{$post['userstars']}
<div class="postbit_details"><b>{$lang->postbit_posts}</b> {$post['postnum']}</div>
<div class="postbit_details"><b>{$lang->postbit_joined}</b> {$post['userregdate']}</div>
<div class="postbit_details"><b>{$lang->postbit_lucid}</b><strong>Lucid Dreams: </strong> {$post['fid4']}</div>
<div class="postbit_details">{$post['replink']}</div>
<div class="postbit_details">{$post['user_details']}{$post['newpoints_postbit']}</div>
<div class="postbit_details">{$post['warninglevel']}</div>

And I'm assuming there's a 'newpoints_postbit' template as well. Can I see that?
still doesnt work :\
in either your postbit templates or ungrouped templates, is there a newpoints template?
yes, ill go get it
<br /><span class="smalltext">{$currency}:</span> <a href="{$mybb->settings['bburl']}/newpoints.php">{$points}</a></span>{$donate}
Try this:

<br /><div class="postbit_details"><span class="smalltext">{$currency}:</span> <a href="{$mybb->settings['bburl']}/newpoints.php">{$points}</a></span>{$donate}</div>

and...

<br />
{$post['usertitle']}<br />
{$post['userstars']}
<div class="postbit_details"><b>{$lang->postbit_posts}</b> {$post['postnum']}</div>
<div class="postbit_details"><b>{$lang->postbit_joined}</b> {$post['userregdate']}</div>
<div class="postbit_details"><b>{$lang->postbit_lucid}</b><strong>Lucid Dreams: </strong> {$post['fid4']}</div>
<div class="postbit_details">{$post['replink']}</div>
{$post['user_details']}{$post['newpoints_postbit']}
<div class="postbit_details">{$post['warninglevel']}</div>
thank you! Smile
+1 rep Big Grin
No problem Smile
Thanks.