PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 1st, 2010, 03:22 PM   #1 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Question Can I add to Edit Ad function?

I had a book seller create a bunch of ads and he didn't select "Never Expire"....

So, now his ads keep expiring even if they haven't sold and get marked SOLD, which means I have to go into each ad and do a RE-LIST all the time ....

Is there anyway I can add the capability to Edit Ad to turn ON the field (have it show) in order to change all his ads to "Never Exire"?

Thanks Chuck..

Regards,
Doug
Badger is offline   Reply With Quote
Old December 1st, 2010, 04:14 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
There is no ability to edit an expiration term. The duration is set on upload and is not editable to the user for obvious reasons which is why you do not see such a feature.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 1st, 2010, 04:34 PM   #3 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Thanks Chuck ..

So, even during the re-list function, the ad duration can't be changed or prompted for?

Regards,
Doug
Badger is offline   Reply With Quote
Old December 1st, 2010, 05:36 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
No if one relists it it is relisted for the duration one uploaded it with

I am sure you understand why duration is not changeable. Simply a user could simply just edit an ad and never have to rebuy to relist etc.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 2nd, 2010, 04:17 AM   #5 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Ahh... ok, for paying advertisers .. I see...

We don't charge, so it's academic to us ...

Is there any other way (or edit) on a temp basis I can get this seller's ads changed to "Never Expire", short of retyping every one of them into the system again?

Thanks Chuck..

Regards,
Doug
Badger is offline   Reply With Quote
Old December 2nd, 2010, 08:12 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
UPDATE cp_products SET duration=9999,enddate=2080101600;

Maybe something like that?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 4th, 2010, 12:13 PM   #7 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
UPDATE cp_products SET duration=9999,enddate=2080101600;

Maybe something like that?
Thanks Chuck ..

Appreciate that ....

I'll give it a try, but before I did, is there a way of just limiting the changes to specific user ID's?

Regards,
Doug
Badger is offline   Reply With Quote
Old December 4th, 2010, 01:20 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
UPDATE cp_products SET duration=9999,enddate=2080101600 WHERE userid=someuserid;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; December 9th, 2010 at 08:36 AM.
Chuck S is offline   Reply With Quote
Old December 9th, 2010, 07:46 AM   #9 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Hi Chuck ...

Ok, I've worked up the courage to execute this SQL command (never done it before) and I thought I'd check with you again, just to make sure you don't think that if I typed this:

UPDATE cp_products SET duration=9999,enddate=2080101600 WHERE userid=1129

.. that there would be anything you see that could affect our vBulletin database. The UserID I want to set his all his ads to "never expire" is 1129...

Thanks ...

Regards,
Doug

Last edited by Chuck S; December 9th, 2010 at 08:36 AM.
Badger is offline   Reply With Quote
Old December 9th, 2010, 08:36 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
issuing an update on a classifieds products table has nothing to do with your vbulletin database
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 9th, 2010, 08:47 AM   #11 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Ok ...

I guess I'll give it a shot then ...

Thanks Chuck ...

Regards,
Doug

Edit: Executed and the response was:

Affected Rows: 58 (0.0017s)

Which is how many ads that user had in the system, so I think it might have worked ..

So, now I are a programmer ...
Badger is offline   Reply With Quote
Old December 9th, 2010, 08:56 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
LOL yes that means it updated 58 records in your table.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 9th, 2010, 09:20 AM   #13 (permalink)
Member
 
Join Date: Jun 2007
Posts: 316
Quote:
Originally Posted by Chuck S View Post
LOL yes that means it updated 58 records in your table.
Thanks again Chuck ...

If I don't speak to you before, I'd like to wish you and yours a very Merry Christmas and best wishes for a successful and prosperous New Year ...

Regards,
Doug
Badger is offline   Reply With Quote
Old December 9th, 2010, 11:24 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Yep you too. It is almost that time isn't it how time flies when your having fun.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Add/Edit Subscriptions nogas Classifieds How do I...? 4 November 30th, 2008 07:43 AM
Add/Edit Subscriptions error skidpics Photopost Pro Bug Reports 2 May 7th, 2008 08:13 PM
Edit the price range on the search function tewkesburylocal Classifieds How do I...? 4 August 5th, 2007 10:50 AM
add vbgallery posts to vb 3.5.x getnew function TRR How Do I? - vBulletin 3.5.X 2 June 7th, 2006 11:54 AM


All times are GMT -5. The time now is 01:01 AM.

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