peterska2
11-05-2003, 09:49 PM
OK so it ain't a pretty template hack but be gentle on me coz it is my first one.
<if condition="$userinfo['options'] & $_USEROPTIONS['receivepm']">
PM box:
</if>$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>
Replace the 'x' with the usergroup ID and insert in 'y' the PM quota for that usergroup. Add additional lines as required.
Pop it in the postbit_userinfo whereever you want it to appear.
Feedback welcome
peterska2
PS this is up and running at www.peterska2.co.uk if you want to see how it looks
edit] Floris has released something like this before. this is some of my own work and some isn't. Any credit for those bits (tweaked slightly admittedly) goes to floris/xiphoid [/edit]
<if condition="$userinfo['options'] & $_USEROPTIONS['receivepm']">
PM box:
</if>$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>
Replace the 'x' with the usergroup ID and insert in 'y' the PM quota for that usergroup. Add additional lines as required.
Pop it in the postbit_userinfo whereever you want it to appear.
Feedback welcome
peterska2
PS this is up and running at www.peterska2.co.uk if you want to see how it looks
edit] Floris has released something like this before. this is some of my own work and some isn't. Any credit for those bits (tweaked slightly admittedly) goes to floris/xiphoid [/edit]