View Full Version : HoTM type thing
sabret00the
04-16-2004, 07:07 PM
i was hoping that someone could make something that made a weekly poll based on threads made that week, so that i could have a thread of the week running on my forums.
Ryan Ashbrook
04-16-2004, 07:21 PM
I'd like something like this too. :)
AN-net
04-16-2004, 07:32 PM
im not saying ill make this hack but to further clarifiy, would it be random threads from that week?
sabret00the
04-16-2004, 09:37 PM
preferbly the ones with the most replies but excluding XX forums, on and any i mark to be included would be cool too :)
James T Brock
11-01-2004, 12:28 AM
Has this request ever been filled?
Would be cool if the system was automatic and based on either replies or thread views. Similiar to the HOTM thing already on this site.
Xenon
11-01-2004, 12:20 PM
To bad, that i won't give out my code ;)
but seriously: the technic isn't that hard
a vbcron and a datastorevarible
the vbcron runs once a month, closed the old poll (pollid is within the datastore) then creates a new thread with a new poll, based on a query that selects the possible threads :)
the hardest thing was just the testing ^^
James T Brock
11-01-2004, 11:04 PM
That's above my level of ability. Anybody up for making what he said? Only set it for a week and base it on thread views, replies, or some combination of the two?
rex_b
11-02-2004, 12:32 AM
To bad, that i won't give out my code ;)
but seriously: the technic isn't that hard
a vbcron and a datastorevarible
the vbcron runs once a month, closed the old poll (pollid is within the datastore) then creates a new thread with a new poll, based on a query that selects the possible threads :)
the hardest thing was just the testing ^^
You could will to give the code, that would make your more Uber!
sabret00the
11-18-2004, 08:05 PM
:lol: if i had knowledge of the datastore i'd give it a go, sadly i don't :(
sabret00the
01-11-2005, 12:07 PM
does anyone wanna give this a go, i been way too busy to even try :(
Marco van Herwaarden
01-11-2005, 12:57 PM
Would like to give it a go. Hope i will have time to finish.
Here's how i think i should aproach:
Add a table with the following info:
- User to post poll as
- Forum to post in
- Forums to search for threads that are poll candidate
- Schedule (daily, weekly,...)
- Current poll id (so i can close when submitting new)
- Usergroup(s) to "borrow" permissions from when searching for candidates
- The number of poll options (threads)
- The "weight" for possible criteria (views, replies, .....?)
Multiple records possible, so you could have a auto poll for general areas of the bored and 1 for member only areas.
A page to enter these settings.
A cron job that will run daily and check the table if any polls need closing or new polls need to be created.
Am i forgetting anyhting?
sabret00the
01-11-2005, 01:14 PM
nope that sounds about right to me.
Marco van Herwaarden
01-20-2005, 03:05 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=74737" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=74737</a>
Hack released
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.