This is a discussion on Power User - Whos ads never expire within the v3.1 Modules & Modifications forums, part of the v3.1 Legacy Help & Support category; My site has exploded into a MASSIVE project that will have literally 10's of thousands listings. I need to find ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
My site has exploded into a MASSIVE project that will have literally 10's of thousands listings.
I need to find a way to have some select users whos ads never expire. IS this possible? The reason is I will have basically two types of end users on this site. 1- Regular users who will use he standard features of ad placement. 2 - "POWER" Users whos ads will need to be "permanent" with minimal intervention required in keeping them, live. These are large multinationals with huge catalogs. Once I get all their listings on the site,(another challenge I face) I need to keep them there. Billing them does not need to be automated, I will be billing them annually. I think that this site will possibly be the largest ever site built using this software, so get used me posting on this site as this has become my full time job. I will try and contribute as much as possible as well as use this site for my own needs.
__________________
Greg Version 3.1.9 Developer Last edited by Greg H; 11-28-2007 at 04:21 PM. |
|
#2
|
||||
|
||||
|
Im sure there are a few ways something like this could be handled, but I am not sure of the best way. The first thing that comes to mind would be to add a new user group for the power users.
Then create a small script to query the database for ads, checking the expiration date and the user group of the ad owner. If the ad owner is a member of the power user group and the ad is about to expire, have the script set the expiration date of the ad to a date farther in the future. Have this little utility script run once a day or so at off peak hours via a cron job.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User checkout and verification of cat/subcat.. | margaretm | v3.1 Questions & Support | 1 | 08-30-2007 04:16 PM |
| phpbb user share | angler | Pre Sales Questions | 0 | 03-23-2007 11:42 AM |
| View user name when not logged in | redmtnex | v3.1 Questions & Support | 3 | 01-29-2007 12:03 PM |
| User: See's Membership listing package | garysr | v3.1 Questions & Support | 23 | 11-04-2006 02:08 PM |
| Direct link to user listing in contact email | SkGold | v3.1 Questions & Support | 2 | 07-10-2006 03:42 PM |