Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Pligg Dev peppolone's Avatar
    Joined
    Dec 2006
    Posts
    187
    it is included in 9.9.5

  2. #12
    Casual Pligger Andreiii's Avatar
    Joined
    Aug 2007
    Posts
    84
    Hello! Many thanks for your work!
    If my site use Pligg 9.7, and the code:

    Code:
    		include_once('dbtree.php');
    		$array = tree_to_array(0, table_categories);
    		$var_smarty->assign('lastspacer', 0);
    		$var_smarty->assign('cat_array', $array);		
    	
    		// use the 'totals' table now 
    		$published_count = get_story_count('published');
    		
    		$var_smarty->assign('published_count', $published_count);
    		$categories = mysql_query("select *,  count(*) as count from " . table_links . ", " . table_categories . " where category_lang='$dblang' and category_id=link_category group by link_category ORDER BY category_name ASC");
    	
    		$categorylist = array();
    		while ($rows = mysql_fetch_array ($categories, MYSQL_ASSOC)) array_push ($categorylist, $rows);
    		$var_smarty->assign('categorylist', $categorylist);
    		$var_smarty->assign('category_url', getmyurl('maincategory'));
    What should I change?

  3. #13
    Casual Pligger mendim's Avatar
    Joined
    Jan 2008
    Posts
    38
    change just

    while ($rows = mysql_fetch_array ($categories, MYSQL_ASSOC)) array_push ($categorylist, $rows);
    $var_smarty->assign('categorylist', $categorylist);

  4. #14
    Banned wediggcouk's Avatar
    Joined
    Dec 2007
    Posts
    63
    Please anyone is this code still in place as i can not find it

  5. #15
    New Pligger interneteditor's Avatar
    Joined
    Dec 2008
    Posts
    1
    Hi Wediggcouk

    I am having a "first play" with Pligg at cash-bonus.co.uk.

    I have 9.9.5 installed but have also just implemented this hack, by following the first post in this thread. Certainly the code was there to be replaced

  6. #16
    Casual Pligger rethomas07's Avatar
    Joined
    Apr 2009
    Posts
    83
    Sorry for the noob question here but is this mod for jquery, db.php or the actual mysql db? RC2 here and I could not find the codes mentioned here in any of those files

Page 2 of 2 FirstFirst 12

Similar Threads

  1. How to improve Page Speed
    By tesurrajan in forum Questions & Comments
    Replies: 2
    Last Post: 09-07-2011, 10:12 AM
  2. site speed is terrible
    By wediggcouk in forum Questions & Comments
    Replies: 12
    Last Post: 07-04-2011, 03:20 PM
  3. HOW TO: speed up your pligg site?
    By sadegazoz in forum Questions & Comments
    Replies: 13
    Last Post: 05-23-2010, 06:44 PM
  4. A tip to speed up Pligg
    By swiper in forum Questions & Comments
    Replies: 46
    Last Post: 04-30-2008, 08:29 AM
  5. Testing the Speed of your Site
    By acidride in forum Questions & Comments
    Replies: 3
    Last Post: 04-09-2007, 10:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting