PM stats in Postbit
This modification is in the archives.
This is a quick port of my hack for 3.0.0 beta 7 bringing it up to date. The original version can be found http://www.vbulletintemplates.com/mods/index.php?t=5497. There actually isn't much change to it but I have improved it a bit.
In your POSTBIT or POSTBIT_LEGACY template find Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> Code:
<div><if condition="$userinfo['options'] & $_USEROPTIONS['receivepm']"> <a href="private.php?userid=$post[userid]$session[sessionid]">PM box: $userinfo[pmtotal] / <if condition="$userinfo[usergroupid]==x">y</if> <if condition="$userinfo[usergroupid]==x">y</if> <if condition="$userinfo[usergroupid]==x">y</if> <if condition="$userinfo[usergroupid]==x">y</if> </a></if></div> Replace x with the usergroup id number eg 2 for members 6 for admins etc Replace y with the PM box size you have allocated to the usergroup with the usergroup manager This takes account of the action of having PM's turned on or off and will not show if a user has PM's off. It also supplies a link to the members PM inbox regardless of which users PM Box Status link they click on. If you install this please click install. Important information regarding support - 20/04/06 Due to time constraints and the amount of things that are being planned for future modifications, priority support will now be provided http://www.peterska2.co.uk/index.php?t=19687. Support provided in this thread will be on an as and when basis. Download No files for download. |
Similar Mods
My Physical Stats In Postbit | vBulletin 3.5 Template Modifications |