Back to vBulletin 3.6 Add-ons

Total Posts and Threads of the User in Navbar
Mod Version: 1.1, by WhaLberg

This modification is in the archives.
vB Version: 3.6.5 Rating: (1 vote - 5.00 average) Installs: 35
Released: 14 Apr 2007 Last Update: 05 Dec 2007 Downloads: 232
Not Supported DB Changes Uses Plugins Template Edits  

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>
Add after:
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>.
Please do not forget to update your counters from your AdminCP -> Maintenance -> Update Counters.

That's all.

Good luck.

Update Informations:
- No queries for counting user's post.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s youhavexpostsandythreads.xml (784 Bytes, 137 downloads)

Supporters / CoAuthors

  • WhaLberg

Screenshots

Click image for larger version
Name:	navbar.jpg
Views:	729
Size:	5.9 KB
ID:	63100  


vblts.ru supports vBulletin®, 2022-2024