PDA

View Full Version : [REQUEST] Count PM's as posts


Fred
02 Jul 2001, 01:19
Anyone know how to count your pm's and add them to the post count at the top? is it a hack?

Fred
03 Jul 2001, 01:46
upin'

joebob
03 Jul 2001, 19:33
like on my board?

copyforum.com (http://www.copyforum.com)

Fred
04 Jul 2001, 07:29
maybe.. dunno.. cant enter the forum without joining

joebob
04 Jul 2001, 13:06
well join and see

G0D
04 Jul 2001, 13:19
put this in your index.php

find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


UNDER it add:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



and if you want to add your pm count to your post count do this:
FIND:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


REPLACE it with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



you can also display the pmcount like this:
edit the template forumhome and put a text there like: total PM's: $allpmcount[messages]

Fred
05 Jul 2001, 19:50
Thanks a lot. I'll try it in a bit.

Fred
05 Jul 2001, 23:28
Doesn't work. Gives weird errors.

Fred
07 Jul 2001, 06:41
anyone help?

Sarge
24 Jul 2001, 20:23
I would really like to have this


A next addon would be under their post.. it lists their postcount and pm count!