![]() |
Installed to phpinclude_start.
Thanks. :) |
Quote:
SELECT threadid FROM thread WHERE dateline > $pmlastvisit Or something like that. |
really easy to install!! great mod, i installed it at www.macshrine.com/forums/index.php
thanks alot :) |
Quote:
|
installed :) thanks for the mod Gary
|
I added something to it, phrases to be exact.
Enter the following phrases on GLOBAL: home_sincelastvisit = since your last visit home_newthreadssincelastvisit = new threads home_newpostsssincelastvisit = new posts and then use this code in the navbar-template: Code:
<br /><b>$getnewthread[threads]</b> $vbphrase[home_newthreadssincelastvisit], <b>$getnewpost[posts]</b> $vbphrase[home_newpostsssincelastvisit] $vbphrase[home_sincelastvisit] |
All you need is one phrase.
Just call it "home_sincelastvisit" "There have been {1} threads and {2} posts since your last visit!" Then use this in navbar: Code:
<phrase 1="$getnewthread[threads]" 2="$getnewpost[posts]" />$vbphrase[home_sincelastvisit]</phrase> |
true... I still have to get used to some things on the new system. Thanks Link :)
|
Which one do I use if I don't want the thread count to go up if someone posts into a thread?
|
This is also possible to be done in one query instead of two.
And you should also give credit to the orignal author for the vb2 one as the query has barley changed. |
All times are GMT. The time now is 08:44 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:
|