![]() |
How many posts did a user make in which forum
What does it do?
OK, this is one off my many hack I made a long time ago, it was very bad as my sql was very bad. Today I improved it a little bit as I learned some more sql :D Some time ago I needed to get some new mods and wanted a fast way to find out where a specific user posted most. So I created this little stats script which shows up the number of posts in very forum. I took the function from forum.php and modified it a little bit. For better understanding see screenshot in next post. https://vborg.vbsupport.ru/attachment.php?postid=311900 Installation Edit /admin/user.php Find: PHP Code:
PHP Code:
Put countposts.php in your admin folder. You will find a new link on the CP under edit user called: [Show in which forum USERNAME posted] When you click on it, you will see a page which shows a statistic in which forum the user posts how many posts. EDIT Protection I limited this function to the admins added under the config.php file. If you want this hack to be used be any admin just do this: Find: PHP Code:
PHP Code:
|
Screenshot
|
Some screenshots plz ?!
|
Very Nice job!
|
Ohh.. sorry... I`ll post before you attach it .. :) :lol:
|
Tested on 2.2.5 only but should work on any version above and below.
|
My members might have an interest in this being a public page. Is that possible? Or does that include some security issue? like showing forums they shouldn't see?
I'd love such an overview (public) |
Yes I agree... :D
|
public would be great !!!! :p
|
Yeah public would be great :)
|
All times are GMT. The time now is 08:19 PM. |
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:
|