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 |
#137
|
||||
|
||||
That's kinda odd, but it does make sense. Maybe I'll add something to my FAQ about it because people are already getting confused.
It's funny how every new thread also counts as one new post, it's gonna take me awhile to get used to finding logical explanations, seems like such a rare occurence with other software. :laugh: |
#138
|
||||
|
||||
Quote:
|
#139
|
||||
|
||||
[high]* SaN-DeeP installed [/high]
|
#140
|
||||
|
||||
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> ****************************** UNDER IT, ADD ****************************** <br /><phrase 1="$getnewthread[threads]" 2="$getnewpost[posts]" />$vbphrase[navbar_sincelastvisit]</phrase> I am unable to find that line in navbar need help pls. Thxn. Sandy... |
#141
|
||||
|
||||
Quote:
|
#142
|
||||
|
||||
Gary W thnx for quick reply
works Sandy... |
#143
|
|||
|
|||
clicking install!
|
#144
|
||||
|
||||
OPEN UP THE navbar TEMPLATE 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]">$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! I cant find that line in my navbar template 0_o also the PRivate Messages link on navbar is not visible after installing this hack. I am sure. something i did wrong somewhere. Please help Thnx. |
#145
|
|||
|
|||
Just curious. Does the count of new posts and threads since their last visit INCLUDE new posts/threads in forums from which they do not have access? Thanks!
|
#146
|
||||
|
||||
Illuvatar installs this one again on VB Gold!
Modified the phrase just a tad...but hey. lol http://www.warofthering.net/forums/v...oad/index.php? |
#147
|
||||
|
||||
Quote:
|
#148
|
|||
|
|||
When there are 0 threads and 0 new posts it shows this;
There have been threads and posts since your last visit! Wait... it's showing that for everything. :surprised: |
#149
|
|||
|
|||
i dont get the actuall #post and #threads ... I just get the phrase
|
#150
|
|||
|
|||
thanks bud...works great!
|
#151
|
|||
|
|||
Has anyone managed to code this so that it only counts threads/posts that the user has permission to view.
Members are constantly enquiring why the counts don't match the "new posts" search results.Feels awkward explaining to them that the totals include forums they don't have access to. :disappointed: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|