![]() |
Total Posts and Threads of the User in Navbar
I have done a search on the whole forum but all I found was this, so I decided to publish this mod here.
ABOUT THE MOD: This mod adds to navbar how many posts the user posted and how many threads the user opened in total. You may check the screenshot. This hack will work with 3.5.x and 3.6.x. HOW TO INSTALL THE MOD: 1) Upload the plugin through your AdminCP -> Plugin System -> Download / Upload Plugin. 2) Go to your navbar and find: HTML Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> HTML Code:
<br />You have <a href="search.php?do=finduser&u=$bbuserinfo[userid]">$totalpost posts</a> and <a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">$totalthread threads</a>. That's all. :) Good luck. Update Informations: - No queries for counting user's post. |
Thanks will check it out.
edit: for some reason it give me the totally wrong figures |
great ,,,, works fine . thanks
|
Thanks, looks good! :)
EDIT: Install was easy and it works fine. |
Cool :)
|
Installed but giving me wrong info of posts. plus my forum become slow and as soon i uninstall forum speed was normal like before. i try 2 time and both time forum become slow.
on My forum avg online users are around 350+ at one time. |
It seems to be working for me! 3.6.5 Just installed and marked it installed BTW!! I love it!! Nice work!
|
Quote:
|
There is a little bug in this mod. Whenever I have it enabled and a user goes to register, it shows up the username Unregistered in the username field.
|
nice idea.thank you.
İnstalled;) |
All times are GMT. The time now is 09:50 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:
|