![]() |
PM Statistics bar in thread view
This hack was requested by SgtSling.
This is a very simple hack that displays the PM statistics of a user in the thread view screen. It requires no template modifications because it appends itself on to $post[posts]. ;) Here is how to implement this hack. In showthread.php look for the following code: PHP Code:
PHP Code:
|
Great hack, nice idea. I might install this a little later.
|
Thank you. You are too kind. :)
|
I get this when i install it.
PHP Parse error: parse error, unexpected T_STRING in C:\Inetpub\webhotel\xxxxxxxx\forum\showthread.php on line 435 |
Quote:
I copied and pasted this from my editor and it copied the "\" along with the line breaks. It's fixed now. :) |
I like that a lot! Is there any way I can get instructions and code if possible so I can add that to my site?
Thanks Dennis |
Quote:
|
Who is the person who rated "1" this thread?
If you think is really worth nothing, why don't you write up one similar... better? /me just rated the thread 5 |
Nice idea, I may install it soon. And yes, I'm not sure why this has a thread rating so low...
|
Can this be made to work with private messages in the privmsg template?
Also, I want that spoiler vbcode, can I have it? Please? :) |
Quote:
And the link for the spoiler tag is in Post #7 of this thread. ;) |
oh ho.. daddy likes this hack :) i will install it soon
|
If you are interested inseeing the PM stats in the private message view screen do the make the following changes.
In private.php: Look for the following code: PHP Code:
PHP Code:
|
Hey,
This looks good, I'm gonna install it :D |
Is there a way to have it only show up for Admins and Supermods? Great job, by the way! Works execellent. :)
Anything on the other that we talked about? ;) |
Here is the supermod/admin version ;)
PHP Code:
|
Um, sorry if I'm missing the boat but what stats is it reading? How many PMs someone has received or what excatly?
|
It is the total number of PM's a user has in their inbox and sent items folder.
|
Thank you very much! Works great! :)
BTW: Will this count messages that they have in another folder? Like if they create a folder and move messages to it? |
You're very welcome. :)
It counts all the messages that belong to a particular userid. |
Thanks for clarifying that for me. Not sure if I can use it but it's great idea. :)
|
Great works fine now :)
Thx. |
If I have certain PM quota's for different usergroups, how do I get the numbers to display the amount each user HAS in the statistics column under their usergroup ... viewable to everyone?
Right now, I can get it to show the amount that the logged in user has but when I view everyone's PM count, it displays the amount that I set for the admin under everyone. If I login under a regular user's account, it displays the right amount that they are authorized, but eveyone else has the same numbers as well! |
hey Friends and sorry for my english. How can i this Creat Hack to Place on another Place into the showthread, also I want to see this on the last Place, behind (level, MemberID,Age etc.)
can you help me? thanks friends |
huhu???? *g*
|
All times are GMT. The time now is 05:02 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:
|