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 |
#182
|
||||
|
||||
Quote:
|
#183
|
|||
|
|||
I am unable to find that line in the navbar template.....has anyone else had this problem? Copying it and pasting it elsewhere and then searching brings up nothing.
|
#184
|
||||
|
||||
carwash;
Tip - this is something I do, just copy part of the code and search for that, it may just be one character different, then if you do find it, just check the original code and the one you have in your navbar. I find that sometimes works. If not, here's whereabouts it is on mine: 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> <br /><phrase 1="$getnewthread[threads]" 2="$getnewpost[posts]" />$vbphrase[navbar_sincelastvisit]</phrase> </div> </td> <else /> HTH Jason |
#185
|
|||
|
|||
This hack does not work at all! It just says: "There have been threads and posts since your last visit!" And it does not update any counters (Vbulletin 3.0.5).
- Mark |
#186
|
|||
|
|||
*cllicks the install button
nice hack, i like! |
#187
|
|||
|
|||
Quote:
|
#188
|
|||
|
|||
Quote:
Its the global.php that adds the counters. Works perfect for me on 3.0.6 |
#189
|
|||
|
|||
It is working fine within vB but it doesn't show the counts in my portal page (CMPS). Anyone got it working on a portal?
|
#190
|
|||
|
|||
Greate Mod *clicks install*
|
#191
|
|||
|
|||
it works!
|
#192
|
||||
|
||||
Thanks.
|
#193
|
|||
|
|||
No problems here. Great hack.
|
#194
|
||||
|
||||
Fatal error: Call to a member function on a non-object in c:\hosting\webhost4life\member\deyth\vbulletin\glo bal.php on line 727
|
#195
|
|||
|
|||
This hack still works even on VB 3.0.9.....you just have to change the placement of the lines in Global.php. You need to add them under
PHP Code:
|
#196
|
|||
|
|||
Yeah I couldnt find the lines in 3.0.7. But I think its mainly because I have the blinking PM indicator. Oh well.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|