68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Slow Slow loading
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#1)
Old
pvisser pvisser is offline
Junior Member
pvisser is on a distinguished road
 
Posts: 21
Join Date: Mar 2006
Location: Netherlands
Send a message via MSN to pvisser
Default Slow Slow loading - 02-26-2007, 04:45 AM

Hello i have a problem. My site ad http://www.laptopmarkt.com is loading so slow. I downt understand. I have muts categories in it. What kan i do to prefent this. How can i speed up the Site please Advice..


Greetings,
Patrick Visser form the Netherlands...
Reply With Quote
(#2)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,814
Join Date: Mar 2006
Location: Belmont, NC
Default 02-26-2007, 07:39 AM

Hi Patrick,

Do you have the developer edition? If so you can comment out the portion where the number of listings are calculated and it will speed back up. Or if you want to submit a ticket with your ftp details we can change this for you.


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#3)
Old
pvisser pvisser is offline
Junior Member
pvisser is on a distinguished road
 
Posts: 21
Join Date: Mar 2006
Location: Netherlands
Send a message via MSN to pvisser
Thumbs up Re : Slow Loding - 02-26-2007, 09:47 AM

Oke Super suzkaw. and yes its the def. edition. Where can i Find the portion where the number of listings are calculated. Witch file i need to edit please advice me. thanks..


Greetings,
Patrick Visser form the Netherlands...
Reply With Quote
(#4)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,814
Join Date: Mar 2006
Location: Belmont, NC
Default 02-26-2007, 03:21 PM

Patrick,

If you would open the category.php file and locate the following two lines of code:
PHP Code:
get_ids($arr_childs);
$cat[$i]['total']=get_count($arr_childs);
Then just comment them out like this:
PHP Code:
//get_ids($arr_childs);
//$cat[$i]['total']=get_count($arr_childs);
This will remove the listing count and speed the site back up. Please note those same lines will be in three or four places in the category.php file. It will also be in the index.php file.


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#5)
Old
pvisser pvisser is offline
Junior Member
pvisser is on a distinguished road
 
Posts: 21
Join Date: Mar 2006
Location: Netherlands
Send a message via MSN to pvisser
Thumbs up Re Slow loading. - 02-26-2007, 03:57 PM

Oke tanks suzkaw. thats indeed speeding up but now i see ([[totaal]]) next to my categories. Is this meen that te counting is gone then. or what did i doe wrong. Hope you advice me soon


Greetings,
Patrick Visser form the Netherlands...
Reply With Quote
(#6)
Old
Lhotch Lhotch is offline
Moderator
Lhotch has a spectacular aura about
 
Posts: 1,471
Join Date: Mar 2006
Default 02-26-2007, 04:12 PM

You will want to go into the templates (ie home.tpl.php) and remove the part where the total is displayed.

For example in home.tpl.php you should have the plugin to ddisplay the query which looks like this....

HTML Code:
{html_table_adv loop=$data cols=$cols table_attr='width="100%"'} [[start_link]]<img src='[[image]]' border='0' alt='[[name]]' /></a> [[start_link]]<strong>[[name]]</strong></a> ([[total]]) <br /> [[subcats]] {/html_table_adv}
simply remove the ([[total]]) so it looks like this.....


HTML Code:
{html_table_adv loop=$data cols=$cols table_attr='width="100%"'} [[start_link]]<img src='[[image]]' border='0' alt='[[name]]' /></a> [[start_link]]<strong>[[name]]</strong></a> <br /> [[subcats]] {/html_table_adv}
Reply With Quote
(#7)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,814
Join Date: Mar 2006
Location: Belmont, NC
Default 02-26-2007, 04:53 PM

Yep Larry is right and I forgot to mention that.


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on loading images manilaboy v3.1 Questions & Support 2 10-26-2006 12:45 PM
user check out extremely slow after upgrade dawyatt v3.1 Questions & Support 6 07-28-2006 10:55 AM



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com