|
|
#1 |
|
Graphic / Web Desginer
Join Date: Nov 2008
Location: London, England
Posts: 70
Rep Power: 3 ![]() |
My client wants to display ads depending on what country is selected, and I know full well that this is a bad idea as I'm sure a lot of categories with (0) next to it
.The only way I can think to make this happen is to make the countries as parent categories (23 of them!) and make a set of child/parent categories under each of them (64 I think). So that makes it about 138 or categories. Will this seize the site up, or should I just advise them to buy a very very good dedicated server? |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,337
Rep Power: 40 ![]() ![]() |
The number of categories that you have isn't really going have much affect on the server or the script. I wouldn't be concerned there.
-Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0.9, 4.1 Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds. Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#3 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,780
Rep Power: 110 ![]() |
Really the only affect I have seen with tons and tons of categories is to turn of the number of category listings. The way these are pulled out is pretty intensive. Of course if you are getting a lot of ads it may be wise to use some type of server caching and so forth.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#4 |
|
Graphic / Web Desginer
Join Date: Nov 2008
Location: London, England
Posts: 70
Rep Power: 3 ![]() |
Is there an easier way to duplicate a batch of categories and setting them to a different parent?
At the moment I'm pressing the duplicate button, changing the slug to make it unique and changing the parent. Is there an SQL solution to this? |
|
|
|
|
|
#5 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,780
Rep Power: 110 ![]() |
I am sure that is possible. Although if you know a little php the best way may be to have your main categories but limit the listings displayed based off the country the selected. To go that route you would just look in the Listings class "getAllListings()" and modify the query.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#6 |
|
Graphic / Web Desginer
Join Date: Nov 2008
Location: London, England
Posts: 70
Rep Power: 3 ![]() |
I wouldn't know how to do that.
I'll carry on with this method then, 1200 to go :| |
|
|
|
|
|
#7 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,337
Rep Power: 40 ![]() ![]() |
The easiest method would be if you have access to the mysql database directly with phpMyadmin. Just make the list in Excel. Save as a csv file. Import it in phpMyAdmin.
That's how I always set up new classifieds sites, because it's so much faster and easier to work with in Excel. -Mike
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0.9, 4.1 Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds. Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|