The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
How many threads and posts since your last visit! Details »» | |||||||||||||||||||||||||||
How many threads and posts since your last visit!
Developer Last Online: Jun 2020
PLEASE CLICK ON THE INSTALL BUTTON IF YOU INSTALLED THIS! THANKS!
What does this hack do? This hack basically shows the number of new threads and posts since your last visit, in the navbar (under your nick.) Check out the attached screenshot for more information Installation This is a pretty simple hack to install. Instructions are as follows: FILE MODIFICATIONS global.php TEMPLATE MODIFICATIONS navbar PHRASES navbar_sincelastvisit OPEN global.php AND FIND PHP Code:
UNDER IT, ADD PHP Code:
UNDER IT, ADD PHP Code:
HTML Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if> HTML Code:
<br /><phrase 1="$getnewthread[threads]" 2="$getnewpost[posts]" />$vbphrase[navbar_sincelastvisit]</phrase> WITH THE FOLLOWING CONTENT: Code:
There have been {1} threads and {2} posts since your last visit! Screenshots Attached Show Your Support
|
Comments |
#122
|
||||
|
||||
Gary, M1th made a post here suggesting a change that would account for not counting posts/threads that the user didn't have permission for.
Have you looked at this? If so, what's your opinion on it? And if anyone else has tried it - can you tell me how well it works, as well as how much added load it puts on the Server? Thanks, all! |
#123
|
||||
|
||||
Quote:
|
#124
|
||||
|
||||
Quote:
|
#125
|
||||
|
||||
Quote:
|
#126
|
||||
|
||||
Quote:
|
#127
|
||||
|
||||
We are using Gold! and only has 5 hacks installed
HTL -- has 3 file edits VB Trader (Full) -- has NO file edits Members Choice Voting -- has NO file edits On line Today (yours) and this one |
#128
|
||||
|
||||
Quote:
|
#129
|
||||
|
||||
nope ... another site that i am co admin for http://www.usodja.com/forums/index.php?
|
#130
|
||||
|
||||
Hi!
Quick question - the Instructions at some point tell you to look for: Code:
****************************** OPEN UP THE navbar TEMPLATE AND FIND ****************************** <if condition="$show['pmstats']"><br /><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a>: $vbphrase[unread] <if condition="$bbuserinfo['pmunread']"><strong>$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if> ****************************** However, I couldn't find that code anywhere in my navbar template. Am I blind? Or has there been a change for vB 3.0 Gold? |
#131
|
|||
|
|||
Find:
Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if> |
#132
|
||||
|
||||
Thank you, Hellburn. That did the trick.
|
#133
|
||||
|
||||
Quote:
|
#134
|
|||
|
|||
I got strange characters...
íæÌÜÏ 1 ãæÇÖíÚ æ 30 ãÔÇÑßÇÊ ãõäÐ ÃÎÑ ÒíÇÑÉ áß on vB 3.0 gold... |
#135
|
||||
|
||||
The problem with the hack listing so many posts and threads might have something to do with the fact that it seems to continually add threads and posts made since you came back, in other words it shows threads and posts made while you were gone plus continues to add whatever is going on while you're currently there until you leave or mark all forums read.
At least that's what it does for me... |
#136
|
||||
|
||||
Quote:
It will reset once it passes the cookie timeout setting you chose in your admin cp. Also, for that vB3 Gold problem with strange characters, works fine for me on vBulletin 3 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|