PDA

View Full Version : PM Stats Question


dirgotronix
09 Nov 2001, 21:30
Ok, when I sign in, I see:

dirgotronix - You have 0 new message(s) since your last visit.
(You have 0 unread messages and 9 total messages, out of 400 allowed, in all your folders.)

How did you get the '400 allowed'? I'd like to toss the max pm's allowed on my forumhome as well.

FWC
09 Nov 2001, 21:40
I would think you could just edit your forumhome_pmloggedin template to add that. You just type in the 400 allowed stuff.

Chen
10 Nov 2001, 06:19
Use $pmquota in any of your templates.

FWC
10 Nov 2001, 06:25
Originally posted by FireFly
Use $pmquota in any of your templates. I should have known you had an extra trick up your sleeve. :)

Of course, I had to add this to my board...

Chen
10 Nov 2001, 06:33
lol :)

I'm surprised this isn't in the default templates, it's important to know how much messages you can keep!
Isn't it?

FWC
10 Nov 2001, 06:35
Originally posted by FireFly
lol :)

I'm surprised this isn't in the default templates, it's important to know how much messages you can keep!
Isn't it? My members know now! :D

fury
10 Nov 2001, 17:32
I put that thing on EVERY time I install a board! :)

otherwise the members get annoyed when they suddenly have a full pm box and they didn't know how much they can keep :o

dirgotronix
11 Nov 2001, 08:46
You know, someone should put together a list of available variables per template and what they do... I mean, I never knew about $pmquota or $postsperday or a lot of the other cool variables until I read here.

FWC
11 Nov 2001, 09:24
Originally posted by dirgotronix
You know, someone should put together a list of available variables per template and what they do... I mean, I never knew about $pmquota or $postsperday or a lot of the other cool variables until I read here. That's part of the fun of hanging out here. You can also look through the PHP code on the different pages and see what variables are created. Then you can experiment. Lot's of fun. :)

Chen
11 Nov 2001, 13:05
Originally posted by dirgotronix
You know, someone should put together a list of available variables per template and what they do... I mean, I never knew about $pmquota or $postsperday or a lot of the other cool variables until I read here.
One thing, -all- the settings you have in your Change Options screen are available trough $vars.
To get them, run this query:
SELECT title, varname FROM setting
The varname value is what you use in the $variable (for example, if the varname is ff it will be $ff), and the title is just the title of the setting.
You can also use $bbuserinfo[xxx] to show every field of the user table, for the user that's -viewing- the page.