![]() |
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;) |
can't be without manual template edit ?
|
Auto template edits may cause problems in your custom templates, that's why it's better for you to edit manually.
|
Thanks - Teşekkürler.
|
This plugin works with 3.7, so 3.7 users can use it.
|
works fine on 3.7
is there any way to show the numbers of replies too? thanks for the nice work... |
OK, installed and works fine -at least most of the time- because I have a small issue with it
when I visit some pages in the forum the numbers of threads and posts disappear, if there is anyway to fix this? and I have vbadvanced portal, when I'm in the homepage of the vbadvanced portal, the numbers of threads and posts disappear too! I hope and I think you can fix this small problem because this hack is very good and I really like it and users like it too thans :) |
any ideas how to make this works with VBA please?
the number of threads and posts doesn't show up in the vbadvanced portal, any help? |
this thread is supported, isn't it?
my issue with this is that threads and posts number appear in some pages but in some pages of the forums they don't show up, just the word threads and post without numbers, how to fix this, please? |
anyway, I think this doesn't work well with 3.7
I think it is needed to be updated to work fine with 3.7 gold |
I don't get how to install this, any assistance would be welcome :(
Do PM if you feel the need. |
Quote:
|
I've gone to the navbar after installing it, but it doesn't have that code written 0.o
Odd? Rather it has Quote:
|
nice one ,,,
work good with 3.7 :) |
Quote:
|
Yes, I did it all.
I went to the Top statistics navbar option, there's navbar 1 and navbar. Here's the code for Top statistics Navbar: Quote:
Quote:
|
it won't show in the navbar block
it will be under the welcome message.. so you should add the code: 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>. 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> |
Thank You...
|
All times are GMT. The time now is 04:54 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:
|