Not Solved Enhanced Account Switcher - All Account Posts
#1
Not Solved
Hello!

I'm having a bit of trouble finding the piece of code that shows the 'Total Posts' in the Postbit.

accountswitcher_attached_postcount is the template it appears in, but what is the $post command?

I've searched through the default postbit templates, but am failing at finding it. Because my templates are heavily edited on the theme I'm using, they're not showing up.

Thanks for any help!
[Image: BloodTies.png]

[Image: Pern.png]
Reply
#2
Not Solved
you can try using {$as_postcount}
Reply
#3
Not Solved
Hey .m., thanks for the tip -- unfortunately it doesn't work
[Image: BloodTies.png]

[Image: Pern.png]
Reply
#4
Not Solved
It's not working correctly... or something.

In the image below, the '35' should be showing up after the / to display as '20/35 Posts' but its appearing at the very bottom, above the Newpoints (droplets). I cannot seem to get it to appear where I want it. Not sure what I'm doing wrong. 

Any help would be greatly appreciated!

[Image: 6c69d3e61f9bb2f43e90b2852eae787e.png]

<!-- THIS IS THE MINI-AVATAR --> 
 <img src="http://blood-ties.net/rp/images/groupbadge/{$post['fid2']}.png" title="{$post['fid2']}">
<!-- END OF MINI-AVATAR -->

<center><span class="usertitle">

<!-- USERTITLE- THIS IS THE TEXT THAT
  APPEARS DIRECTLY BENEATH
      THE MINI-AVATAR -->
{$post['usertitle']}
<!-- END USERTITLE -->

</span></center>

<!-- THIS IS THE LINE BREAK -->
<h1></h1>
<!-- END OF LINE BREAK -->

<div style="padding-left: 10px;">

<!-- PROFILE FIELDS - USE pb_full
  FOR A FIELD THAT SPANS THE
  WIDTH OF THE ENTIRE PROFILE,
  USE pb_half FOR A FIELD THAT 
  SPANS ONLY HALF -->
<div class="pb_half">{$post['postnum']}/{$as_postcount} Posts</div>
<div class="pb_half">{$post['threadnum']} Threads</div>
<div class="pb_full">{$post['fid3']}</div>
<div class="pb_full">Registered: {$post['userregdate']}</div>
<!-- END OF PROFILE FIELDS -->

</div>

<!-- THIS IS THE LINE BREAK -->
<h1></h1>
<!-- END OF LINE BREAK -->

<div style="padding-left: 10px;">

<!-- PROFILE LINKS -->
<div class="pb_full"><b><u>Discord</u></b><br /><if in_array($GLOBALS['mybb']->user['usergroup'], array(2,3,4,5,6,8,13,14,16,17,18,19,22,23,24,25,26,27,28)) then>{$post['fid4']}
<else> 
{hidden}</if></div>
<!-- END PROFILE LINKS -->

</div>

<!-- THIS IS THE LINE BREAK -->
<h1></h1>
<!-- END OF LINE BREAK -->

<div class="pb_player">

<!-- PLAYER NAME -->
{$post['fid1']}
<!-- END PLAYER NAME -->

</div>
[Image: BloodTies.png]

[Image: Pern.png]
Reply
#5
Not Solved
Giving this a bump, as I'm still stumped Smile
[Image: BloodTies.png]

[Image: Pern.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)