![]() |
Anyone know how to count your pm's and add them to the post count at the top? is it a hack?
|
upin'
|
|
maybe.. dunno.. cant enter the forum without joining
|
well join and see
|
put this in your index.php
find: Code:
$allpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] $ignoreusers"); Code:
$allpmcount=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage"); FIND: Code:
$totalposts=$countposts['posts']; Code:
$totalposts=$countposts['posts']+$allpmcount; edit the template forumhome and put a text there like: Quote:
|
Thanks a lot. I'll try it in a bit.
|
Doesn't work. Gives weird errors.
|
anyone help?
|
I would really like to have this
A next addon would be under their post.. it lists their postcount and pm count! |
All times are GMT. The time now is 04:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|