The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
The idea is from SitePoint Forums.
I think a lot of people really want this hack, and I've even seen a released version of it here, but it used cronjobs and stuff like that I'm sure not all of use want to mess with. So, here's my version of the hack, completely crobjob-less and 100% working. The hack also includes an easy way for the admins to change the member of the day at any given time. (see note below) You can see it in action in this board, on the main page in the stats box. To install this hack download the attached file (memberofday.hack.php), upload to your /admin folder and use vbHacker. A couple of notes:
That's it, have fun. Show Your Support
|
Comments |
#197
|
||||
|
||||
Sweet. Thanks, Boofo. Even more random than random? Can't beat that! *lol*
[high]* Rose installs fix, edits as needed, and is mucho greatful[/high] |
#198
|
||||
|
||||
Rose, you don't need to install the fix with this code I gave you. The $seed part is not necessary with the RAND(NOW()), the way I have it in the code. That takes care of the seed already. If you just install the code (no fix) the way it is and adjust the lines to who you want to include or exclude, that will be all you need to do. With the newer versions of mySQL, they need a seed or otherwise you get a randomizing that is close to the last one. The seed allows for a more random randomizing. Does that make any sense? Anyway, enjoy and let me know if the 30 days feature is working ok. And you're very welcome.
|
#199
|
||||
|
||||
Quote:
Makes enough sense to go over me little head. When I said "fix", I meant I changed the chunk of code as you posted previous to mine. I don't mean I went back in the thread and installed any of the rest of it. Just your most recent update. Sorry if I mislead/misunderstood. [high]* Rose sings "It's a small world" [/high] That was random. Thanks again and I'll be sure to keep an eye on it and let you know how things go. So far I've had seven MOTD's and not a single one awarded a free Sunday Brunch. |
#200
|
||||
|
||||
So I guess there's an extra free Sunday Brunch now that needs a home?
|
#201
|
|||
|
|||
I have Vbulletin 2.2.9, It shows the member of the day, but it never changes. It show the same member all the time every time.
What could my problem be. http://www.byuboyz.com |
#202
|
||||
|
||||
*hehe* Hey Boofo - I've got a dupe motd. It's not a biggie, but I wanted to let you know. The dupe was motd on 3/17 and 3/22.
Raptor - look back a page or two in this thread and I believe there's a fix for your problem. |
#203
|
||||
|
||||
Quote:
|
#204
|
|||
|
|||
Rather than have it choose a member at random, how can I make it so that the member of the day is the person with the highest amount of posts that day?
|
#205
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthrea...threadid=50733 You might want to try that. Boofo - Not a problem at all. I'm thinking of adding some way to track the past X members of the day in a list of sorts. Like five days. Wanna point me in a direction? I keep track for reasons of giving away a free brunch, as established, but I keep an Excel sheet. I'm only afraid to miss weekends or when I'm not at the work computer which is why keeping track of the most recent 2-5 members or so might be nice. |
#206
|
||||
|
||||
Is this compatible with 2.3.0? I notice it's no longer in use here....
|
#207
|
||||
|
||||
It looks like a few have been removed and a few added here and there.
|
#208
|
|||
|
|||
nice
|
#209
|
||||
|
||||
But will it work with 2.3.0?
|
#210
|
|||
|
|||
Is there a way this can work with vbHome lite 4.2? I'd really like to add this, but that is where I'd want it to be.
|
#211
|
|||
|
|||
OKay, I've installed this but even with all the different versions of lastactivity in the query, it still pulls people who haven't been active in months on my site. Anyone with a working query?
Also, I have modified it slightly to add the posts and title so they show up on my main page and it works fine with the manual reset, but doesn't work when it is automatically reset. What do I need to do to make sure it works with that as well? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|