Support Forums

Old 03-25-2009, 08:41 PM   #1
Junior Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 1
rhound is on a distinguished road
Default Limit Number of Featured Ads per Category

Developer 4.1.1

Is there a way to limit the number of featured ads to X for each category so that once a category reaches X, then the user will be prompted with a message and not able to make that choice?

For example, I am the 21st person who wants to make my ad featured. But, darn, they only have 20 slots in each category. So, when I go to the "Options" and choose featured, the message says something like "sorry, the featured listings section in this category is full. You can place your ad and if a featured spot appears, you can modify your ad later."

Then, in the "modify ad" section, the user would also be checked to see if there were more than X featured listings in a category. If < X, they would be able to modify their ad. If not, they'd see the same message.

Thanks.
rhound is offline   Reply With Quote
Old 03-25-2009, 11:00 PM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,305
Rep Power: 39
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

There is nothing built in that would this for you.

I'm sure that it could be done. It would require a separate sql query that counts the total active listings that are in a specific category. Then you would have to add logic into the step in the checkout to call that function.

Why would you want to do this though? You don't like collecting extra $$ from too many people?
__________________
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
Mike-N-Tosh is offline   Reply With Quote

Bookmarks

Tags
category, featured ads, limit

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
Limit number of accounts per email address UME v4 Questions & Support 4 08-05-2008 02:24 PM
Number of ads in Sub Category Kev v4 Questions & Support 3 04-30-2008 12:08 PM
Limit Listings to Category View [email protected] v3.1 Questions & Support 1 01-18-2008 10:28 AM
Limit the number of "New Listing" displays (re-visited) brw9532 v3.1 Modules & Modifications 8 05-12-2007 09:10 PM
Limit number of ads by usergroups? z0rg v3.1 Questions & Support 2 11-28-2006 09:39 AM


All times are GMT -4. The time now is 03:04 AM.


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