![]() |
|
#1
|
||||
|
||||
|
This hack will change the poll that is displayed on your homepage from the most recent to a random one.
OPEN modules/currentpoll.php FIND PHP Code:
PHP Code:
That's it, you're done. Enjoy. EDIT - just did a search and found this already exists - doh! should have done that first :P
__________________
Kesomir "It's an undocumented feature, not a bug" Last edited by Kesomir; 08-12-2004 at 12:46 PM. |
|
#2
|
||||
|
||||
|
Um.... how is this different from entering RAND as the "Polls Forum ID" value?
|
|
#3
|
||||
|
||||
|
it draws a random poll from your specified forum.
entering RAND in forum id draws random poll from ALL forums.
__________________
Kesomir "It's an undocumented feature, not a bug" |
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
I'm getting polls pulled from years ago, is there a way to set this feature for only polls posted in the last x days? 30 or 60?
I've got a 'real' time sort of site (auto racing related) and pulling a poll from 2002 at Daytona and who will win is silly...
|
|
#6
|
|||
|
|||
|
is there a way to make it show unanswered polls first?
such as order by answered, RAND or something like that? |
|
#7
|
|||
|
|||
|
anyone?
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Random Image from 4images | y2krazy | Add-On Modules & Modifications | 18 | 04-07-2006 07:51 PM |
| Showing a single poll all the time | theMusicMan | Troubleshooting / "How do I..." Questions | 3 | 08-27-2004 01:07 PM |
| Random Poll | Kesomir | Troubleshooting / "How do I..." Questions | 2 | 07-09-2004 04:03 PM |
| Random Poll | tox | Troubleshooting / "How do I..." Questions | 6 | 07-02-2004 11:15 AM |
| Poll problem | contramontanum | Troubleshooting / "How do I..." Questions | 2 | 06-21-2004 12:46 PM |