![]() |
Thats what we are tryin to do now, the original hack does the last 24 hours, we are tryin to make it so it counts from midnight.
|
Paul's code in post 18 will do that. ;)
|
Yep, you are right Boofoo it works. Thanks Paul! :) and sorry for posting the wrong query up there guys I have to learn to label my code better in my index.php.
|
ok it works for you guys, im gettin a blank spot for some reason... i assume this will work when my forum passes midnight maybe..
|
You should still get a value of zero, I just registered and it still doesn't show. Try pasting it Paul's code above exactly if you haven't already I just tested on my site and it works.
|
i pasted that exactly replacing your original code... strange...
The segment in my index.php looks like this Code:
{ |
Any idea? i still get a blank spot..
|
Quote:
The two to change are hilighted below (on the WHERE line) ; Code:
{ Code:
WHERE joindate >= ' .$cutoff. ' |
I did this, still a blank... :-(
|
Hmm, I'm not sure how I've ended up supporting someone elses hack ;) - but yes, I can see the problem.
In the code I posted, change PHP Code:
PHP Code:
The reason is that the line changed in the FORUMHOME template is using the array value, not the subsequently created $newmembers variable; Code:
<div>$vbphrase[reged_today]: $newusers[count], $vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div> |
All times are GMT. The time now is 01:12 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:
|