[Addon] cinq's vbArticles Hack v2.0 - Show number of articles per category
This modification is in the archives.
A small addon to show the number of articles in each category.
This addon is for cinq's vbArticles Hack v2.0 Hack version 1.0 Files to edit: 1 articles.php Templates to edit: 2 vbArticles_categorybit vbArticles_childcatbit Install instructions =========================================== File Edits articles.php Find PHP Code:
$catlistbit='';
PHP Code:
$catlistbit='';
PHP Code:
if(!empty($cat_cache[$parentid]))
PHP Code:
if(!empty($cat_cache[$parentid]))
Template Edits vbArticles_categorybit Replace existing code with this PHP Code:
<if condition="$parentcat==0"><br>
Replace existing code with this PHP Code:
<li><span class="smallfont"><a href="articles.php?action=viewcat&catid=$subcatid">$subcatname</a> ($cattotal)</span></li>
You can see a demo of this mod here: http://www.vbaexpress.com/forum/articles.php Download No files for download. Screenshots |
Similar Mods
[ADDON] cinq's vbArticles Latest 3 Featured Articles CMPS Module | vBulletin 3.0 Full Releases |
[ADDON] cinq's vbArticles Latest Featured Articles on ForumHome | vBulletin 3.0 Full Releases |
[ADDON] cinq's vbArticles Latest 3 Articles VBIndex Block | vBulletin 3.0 Full Releases |