The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Get number of new posts from a forum
How can I fetch the number of new posts from a specific forum? I doubt this can be done with templates alone, so I'm expecting a bit of php is required. How could I achieve this?
|
#2
|
||||
|
||||
You would do a query in a plugin - but which plugin would depend on where you want to use this count. You would also need to define 'new' - do you mean new in the last 24 hours, new since the user was last online, new in that the user has never read it, etc.
|
#3
|
|||
|
|||
The plugin would be the hook called when the board index is viewed. By "new" I mean the new posts since the user was last online
|
#4
|
||||
|
||||
You might want to see if this hack would do what you want since it's alreay written: https://vborg.vbsupport.ru/showthread.php?t=122995
|
#5
|
|||
|
|||
With a bit of editing, that should work out fine! Thanks for your help
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|