[ADDON] cinq's vbArticles Latest Featured Articles on ForumHome
This modification is in the archives.
A small addon to show the latest featured articles on your Forum Home page.
This add on is for cinq's vbArticles Hack v2.0 Hack version 1.0 Install instructions =========================================== 1. In your 'FORUMHOME' template FIND : Code:
<!-- main --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Code:
<!-- vbArticles Featured Articles --> <thead> <tr> <td class="thead" colspan="5"> <span style="float:$stylevar[right]"><a href="articles.php">More articles here</a></span> Featured Articles in the $vbphrase[vbarticles] </td></tr> <tr> <td class="alt1" colspan="5"> <table cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%"> <tr> $featuredbitonforumhome </tr> </table> </td></tr> </thead> <!-- /vbArticles Featured Articles --> 2. Create a new template : 'vbArticles_featuredbitonforumhome' Code:
<td valign="top" align="center" class="alt2" width="33%"> <br>$articonimg<br> <a href="articles.php?action=viewarticle&artid=$artid"> <span class="smallfont"><b>$title</b></span></a> <br>$starrating<br><br></td> 3. Make the following code changes to your forum index.php FIND: PHP Code:
$specialtemplates = array(
PHP Code:
$specialtemplates = array(
PHP Code:
require_once('./includes/functions_forumlist.php');
PHP Code:
$vbart_options = unserialize($datastore['vbart_options']);
FIND : PHP Code:
// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTA HERE... ###
PHP Code:
########################### vbArticles Hack by cinq ##############################
4. Done - cinq Download No files for download. |
Similar Mods
[ADDON] cinq's vbArticles Latest 3 Featured Articles CMPS Module | vBulletin 3.0 Full Releases |
[ADDON] cinq's vbArticles Latest 3 Articles VBIndex Block | vBulletin 3.0 Full Releases |
[Addon] cinq's vbArticles Hack v2.0 - Show number of articles per category | vBulletin 3.0 Full Releases |