Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2008, 08:13 PM
cmstheme's Avatar
Pligg Donor
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Posts: 248
Thanks: 28
Thanked 40 Times in 30 Posts
[SOLVED] Fix: Sub Categories Total Count

Description: A fix to get the correct total number of subcategories in each parent category.
Pligg Version Affected: Beta 9.8.2, 9.9.0 and 9.9.5

Open /libs/dbtree.php, go to LINE 170 and find:
PHP Code:
if($cat->category_parent == $catid && $cat->category__auto_id <> && $cat->category_lang == $dblang
Replace the above code with:
PHP Code:
if($cat->category_parent == $catid && $cat->category__auto_id <> 0
__________________
Join our Pligg Template Club now while prices are still cheap!
Reply With Quote
The Following User Says Thank You to cmstheme For This Useful Post:
  #2 (permalink)  
Old 08-24-2008, 08:25 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,398
Thanks: 171
Thanked 439 Times in 278 Posts
Thanks cmstheme
Added to the svn
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] error: &quot;There is a problem with the categories table. Error CA:001.&quo lacasuela Installation and Upgrade Help 7 08-06-2008 06:57 AM
[SOLVED] Error While adding categories slick33 General Help 1 08-01-2008 11:58 AM
[SOLVED] How to disable default rss feed for categories ? goopopp General Help 2 08-19-2007 02:08 PM
[SOLVED] 9.6 - Problem with Categories and Friendly URL latin Bug Report 5 08-07-2007 07:49 AM
[SOLVED] White space in my categories side panel AshMCairo General Help 5 07-20-2007 10:48 AM


Search Engine Friendly URLs by vBSEO 3.2.0