PDA

View Full Version : [release] 3.0.0 beta 7 show PM box status in postbit


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]

Schorsch
11-08-2003, 03:03 PM
can't reach your site!! can you attach a screenshot?

MindTrix
11-08-2003, 05:26 PM
Screenie would be nice, i would like to see this

peterska2
11-08-2003, 09:39 PM
Here we go then.

One screenie attached of selected postbits from a randomly selected thread.

MindTrix
11-08-2003, 09:41 PM
Ah nice one looks good. Can members see over members inbox status?

peterska2
11-08-2003, 09:47 PM
yeah. you can see everyones. Thats the idea behind it so that you dont try to PM someone with a full inbox.

MindTrix
11-08-2003, 09:51 PM
Ohh well done, could prove useful. I cant install or test myself as i dont have vB3 yet :p Well done ne wayz

Floris
11-09-2003, 09:52 PM
I rather not have members check eachother out, so on vbulletin.nl I have made it so that only YOU see in YOUR post the status of YOUR pm box :) The other version of what this hack can do :P

Nice job peterska2

peterska2
11-09-2003, 10:38 PM
I rather not have members check eachother out, so on vbulletin.nl I have made it so that only YOU see in YOUR post the status of YOUR pm box :) The other version of what this hack can do :P

Nice job peterska2
I did say that some of it was by you and adapted by me.

Nice work with the original Xiphoid