![]() |
Add the hack after require('./global.php');
|
that's a great hack, but i think it would be much more better if we limit only members have to post say, 100 posts before he can enter to the member of the day automatically, how can we do that? =)
|
Sure ckevin, just replace this in the code:
Code:
WHERE userid<>$daybits[1] Code:
WHERE userid<>$daybits[1] AND posts>99 |
wonderful, FireFly! :D
Thanks, Kevin |
What about having activity recently...say, the active within the past 2 weeks?
|
Huh? You mean only to select members that were active in the last 2 weeks?
|
Yes...that way it won't have a MoTD that hasn't been to the forums in 6 months :)
|
Replace:
Code:
WHERE userid<>$daybits[1] Code:
WHERE userid<>$daybits[1] AND lastactivity>".time()-(86400*14)." By the way, I'm not sure myself whether it's lastactivity or lastvisit we need to check, so I'm open for corrections here. :) |
Works. Thumbs up.
|
Great work my friend!
|
All times are GMT. The time now is 08:41 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:
|