View Full Version : How to add rep points and posts count
AbadiRed
01-02-2006, 07:21 AM
How to add rep points and post count in addition to default rep power and rank in User CP module?
Thanks all :)
Brian
01-02-2006, 08:03 PM
It should already show your reputation if you have that option enabled. For the post count, you can just add $bbuserinfo[posts] to the 'adv_portal_welcomeblock' template wherever you want that to appear.
AbadiRed
01-03-2006, 04:31 AM
Thank you so much Brian :)
AbadiRed
01-03-2006, 05:08 AM
Oops...didn't find it easy to figure out where to add :(
Here's my default lines:
<if condition="$bbuserinfo['reputationdisplay'] OR ($bbuserinfo['rank'] AND $mod_options['portal_welcome_rank'])">
<div class="smallfont" style="float:$stylevar[right]">
<if condition="$bbuserinfo['reputationdisplay']">
$vbphrase[rep_power]: $reppower
<div align="$stylevar[right]" style="margin-bottom:5px">$bbuserinfo[reputationdisplay]</div>
</if>
<if condition="$bbuserinfo['rank']
AbadiRed
01-03-2006, 05:21 AM
I need to display user info in the following order
Join Date:
Location:
Posts:
Reputation:
Rep Power:
Rep image
Rank image
Thank you in advance Brian :)
Brian
01-03-2006, 01:16 PM
I *think* $bbuserinfo[joindate] will work for the join date. I don't remember exactly which one the location field is stored in, but it should be $bbuserinfo[field1]. If that doesn't work, try field2, field3, etc. The rest should already be in the template.
AbadiRed
01-04-2006, 06:01 AM
Ok, I'll try again. Thanks
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.