Back to General Articles

How-To Enable Random News Posts on vBAdvanced
by Guest210212002 18 Jan 2006

I searched and didn't see this here, apologies if it's in the wrong spot. With so many of us running vBA, I believe it's appropriate.

This is for vBA 2.x running on 3.5.3, untested otherwise.

To enable random news posts from your news forum:

Edit: news.php

Find:

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]
Replace With:
Code:
ORDER BY RAND()
Save and you're done. Demo if you must, simply visit my website in my sig and refresh the page a few times.

Similar Mods

Random Arcade for vbAdvanced CMPS vBulletin 3.0 Full Releases
Add-On Releases Show Random or Last Uploaded Pic on vbadvanced Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024