The Arcive of vBulletin Modifications Site. |
|
New Posts & Threads x2 Details »»
|
|||||||||||||||||||||||||
All this does is simply retrieve the amount of new posts, so I made it add the count in Navbar, and in Statistics down the bottom.
In the navbar it is global, you can see it next to "New Posts". I also made it so if there is more then one post it add's the "S" at the end, note the "[snos]". It is also found down the bottom of your page in "Statistics". Hope you like it. There is also a "New threads" feature in the statistics part, where it shows new threads. Index.php find: PHP Code:
PHP Code:
Add: PHP Code:
Find: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
Statistics screenshot: ![]() Navbar screenshot: ![]() Enjoy! ![]() Update 12:53 AM EST. - Moved uneeded global query to index.php. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Funnily enough, just made the same modification myself because it didn't have that info and didn't want the welcome panel hack. I'm sure others would find it useful. Good job.
|
|
#3
|
||||
|
||||
|
You notice that this will add two extra queries on every single page?
|
|
#4
|
|||
|
|||
|
Yep and those 2 more queries hurt. If you got a populated forum this hack will lag it to death.
Nice idea but it results into a too heavy load :/ |
|
#5
|
|||
|
|||
|
When I get some time I'll move the second query.
EDIT - I just moved the index query to index.php, so now there is only one global query added, I'll try get rid of the index.php query tomorrow after some sleep. Nite' people! :squareeyed: |
|
#6
|
||||
|
||||
|
Good work!
|
|
#7
|
|||
|
|||
|
Thanks man.
|
|
#8
|
|||
|
|||
|
any other version?
|
|
#9
|
|||
|
|||
|
Only use the new threads function and thats works great
|
|
#10
|
|||
|
|||
|
Nice hack, is there a way to exclude private forums from the search?
Or better still, base them on each users priviledges (Probably server intensive and not worth the bother )Thanks for the hack anyway. |
![]() |
|
|