Support Forums

Only allowing sub categories to have listings

This is a discussion on Only allowing sub categories to have listings within the Technical Support forums, part of the Technical Support Forums category; Hi, On my site i have over 500 categories and is growing. I do not want people posting in the ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 06-22-2008, 05:17 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,058
Rep Power: 31
bowers01 is on a distinguished road
Default Only allowing sub categories to have listings

Hi,
On my site i have over 500 categories and is growing. I do not want people posting in the main categories only sub ones.
For example on my site i have Construction � Boring & Drilling and in boring & drilling i have 4 sub categories, i dont want people to be able to post ads in boring and drilling. So really i want people to be only allowed to post in the end category.

Although you can deselect the main categories in manage products it doesnt say anything to the user if they select it, it just says no package avalible.
Is it possible for a message to display if they select a main category saying "You must choose a sub category"?

Cheers
bowers01 is offline  
Old 06-22-2008, 08:19 AM   #2
Member
 
Mango's Avatar
 
Join Date: Mar 2007
Posts: 18
Rep Power: 15
Mango is on a distinguished road
Default

Hello,

To change the text in the popup window that appears when a user selects a category that is not active, open up your language.php file and locate the //user checkout section. The last line in that section should handle the text you�re looking for, simply change it to whatever you want.

Code:
define("LANG_JS_SELECT_DIF_CAT", "Please select another category. This category can not have ads placed in it.");
__________________
Regards,

Mango
v4.0.9
Mango is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort listings by... crystal Technical Support 4 06-02-2008 03:43 PM
V4 Changes Eric Barnes Technical Support 24 11-12-2007 01:35 AM


All times are GMT -4. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0