![]() |
Well it counts the posts since your last visit, not the posts that you haven't viewed since your last visit.
|
Quote:
That way is better and more noticeable by the user!!! i didnt make alter to the sql tables.I must do that?the hack works ok tho... Nice hack! Thanks a lot! |
I slipped it down a bit to after this:
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> |
I'd like to install this plug-in, but is running that SQL query required? I know how to access phpMyAdmin, but I don't know where to run the query. I'd like to just not do it if at all possible.
|
If you don't run the query then you'll be scanning your entire post and thread tables each time you featch the data (load the page that shows the totals). I wouldn't reccomend not running the sql query if you have more then a few thousand threads and/or posts.
|
Quote:
|
Click the SQL link in phpmyadmin, or you can run sql queries from Maintenance >> Execute SQL Query in your forum's AdminCP.
|
great mod,works fine, even at vb3.5gold
|
find
PHP Code:
PHP Code:
|
~~~ removed ~~~
Just fixed it. Forgot to uninstall the other "New posts" hack before installing this one :) Thanks anyways :) Matt |
All times are GMT. The time now is 07:35 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:
|