The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok.. 5 minute hack based on a request by Craig.
put this in a file called activejs.php in your forum directory. PHP Code:
Code:
<html> <head> </head> <body> <script LANGUAGE="JavaScript" src="http://www.hkindians.com/forum/activejs.php"> </script> </body> </html> |
#2
|
|||
|
|||
![]()
Nice one!! It'll be put to good use - thanks!
![]() |
#3
|
||||
|
||||
![]()
Nice and easy! The only reason I wouldn't use this is because it includes messages in my private forums. Can this be modifed to ignore privtae forums?
|
#4
|
|||
|
|||
![]()
Play with the select statement.
|
#5
|
||||
|
||||
![]()
[QUOTE]Originally posted by shri
Play with the select statement. |
#6
|
|||
|
|||
![]() Quote:
Additionally if you have lots of threads (I have over 30K on one of my forums) you can limit the number of rows scanned by doing something like this in your php code. (You need to add an index on the field 'lastpost' for the table thread). [php] $twentyfourhours= 24*60*60; $date1 = time() - $twentyfourhours * 1; [php] Make your select statement ... Quote:
|
#7
|
|||
|
|||
![]()
Any idea how to add the date of the post ? One of my partner sites is asking for this to harmonise with the rest of their data on their site
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|