![]() |
|
#1
|
|||
|
|||
|
There's another post on this, but in the 3.0 forum.
On 3.5.3, I'd like to get the news module to pull random threads from the forum that I use for new posts. I believe this is the query in news.php: Code:
ORDER BY " . iif($mod_options['portal_news_sticky'], 'sticky DESC,') . iif($mod_options['portal_news_orderby'] == 'postdateline', 'dateline', $mod_options['portal_news_orderby']) . " $mod_options[portal_news_direction]
__________________
http://www.metalguitarist.org |
|
#2
|
||||
|
||||
|
Just change that entire line to this:
ORDER BY RAND() |
|
#3
|
|||
|
|||
|
Edit: That did it, thanks!
(problem was corrupt file from my FTP program). Much appreciated.
__________________
http://www.metalguitarist.org Last edited by Chris-777; 01-17-2006 at 02:49 PM. |
![]() |
| 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 News Thread | Gary Bolton | "How Do I..." Questions | 5 | 01-17-2006 02:40 PM |
| vBa CMPS edit news threads in news options | SNW | Troubleshooting & Problems | 4 | 11-03-2005 05:27 PM |
| Single RANDOM news item from specified forum | Milorad | Add-On Modules & Modifications | 10 | 04-17-2005 03:55 PM |
| Can I do that (random news) | hani | Troubleshooting / "How do I..." Questions | 1 | 10-10-2004 02:09 PM |