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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old August 26th, 2005, 01:25 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
Bogus selling prices in pp_classifieds

Apparently I have some clown on my site posting bogus ads with real high dollar amounts and then marking them as being sold to screw up my statistics display of total value of animals sold on the site. How can I track down who is doing this without having to scan through every ad to try to pick him out of the crowd?
Rich Z is offline   Reply With Quote
Old August 26th, 2005, 02:44 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
You would need to view one of the ads and get the userid of the individual and track him down. Any sold ad can be viewed in the expired que in approve ads in admin
__________________
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 August 26th, 2005, 06:20 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
The expired queu in my system doesn't show SOLD ads.......
Rich Z is offline   Reply With Quote
Old August 26th, 2005, 08:01 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
Are you running the cron task sendnotice.php to expire ads?
__________________
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 August 26th, 2005, 09:44 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
Beats me. You installed the script on my server. Were you supposed to set that up or was I? First I've heard of it......
Rich Z is offline   Reply With Quote
Old August 26th, 2005, 09:55 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
Cron task setup would be something you would setup. On most shared setups you may need your host to assist you

Cron Job: sendnotice.php
__________________
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 August 27th, 2005, 11:33 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
Well I installed the cron job, but I must be doing something wrong. I set it up to run the job every 15 minutes. So, every 15 minutes I was getting a notice about the test auction I had set up. Come to find out, the person helping me with this auction was also getting an email, every 15 minutes.

I know I may be jumping to a conclusion here (which is why I deleted that cron job), but am I reading this right that any user who set up an auction (and maybe has an ad that has closed as well) will get a notice like this for all eternity? If so, I'm going to rename that script from "sendnotices.php" to "solicit_hatemail.php"..........

Even setting it to run only every 24 hours is still going to be a problem if people with closed ads or running auctions gets a notice everytime that cron job runs. So what am I doing wrong or interpretting incorrectly about this process?
Rich Z is offline   Reply With Quote
Old August 27th, 2005, 05:17 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
They should only get one notice.
__________________
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 August 27th, 2005, 06:52 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
No, I got a notice every 15 minutes, both from my FaunaClassifieds site as well as my GunWantAds site. Any idea on how to keep that from happening so I can run that script like it is supposed to?
Attached Images
File Type: jpg pp_class_notify01.jpg (46.6 KB, 3 views)
Rich Z is offline   Reply With Quote
Old August 29th, 2005, 08:45 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
Any resolution to this problem? Is there something I can do to keep those messages from being generated with every CRON run?
Rich Z is offline   Reply With Quote
Old August 29th, 2005, 09:07 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
What version of the software you have?? The code is pretty specific its only going to send out emails for ads that expire in 3 days.

I would suggest you go to your approve ads expired section and delete those ads if you never have deleted anything

then if your running a version other than the latest code upgrade your files

Code:
Content visible to verified customers only.
__________________
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; August 29th, 2005 at 09:09 PM.
Chuck S is offline   Reply With Quote
Old August 29th, 2005, 09:28 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
This happens in both my FaunaClassifieds site as well as my GunWantAds site. You just upgraded the GunWantAds site very recently, so this should have the latest code.

I've got the options set in both sites to retain closed ads for 180 days after they are closed. Does the sendnotify code continue sending out notices on those ads for that length of time?
Rich Z is offline   Reply With Quote
Old August 29th, 2005, 09:35 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
what do you mean to retain ads 180 days after they are closed??

If an ad expires it should be marked like so which means it will not show

// Close out expired ads
$query = "UPDATE {$Globals['pp_db_prefix']}products SET approved=2,status='$today' WHERE enddate < $today AND isauction=0";
$result = ppmysql_query($query,$link);


then in showcat where ads are shown see approved=1

$query .= "WHERE approved=1 $catcheck AND date > $searchdate $exclude_cat $sortcode";

So your losing me here saying you have it set to show 180 days after. Once an ad expires you should delete it or relist it
__________________
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 August 29th, 2005, 09:43 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
Your gunwantads thing works fine. I ran sendnotice and the ads are in the expired section waiting for you to reapprove them or delete them. I saw one email getting sent to users.

As stated I would suggest you update your other site
__________________
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 August 29th, 2005, 11:39 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
Quote:
Originally Posted by omegatron
what do you mean to retain ads 180 days after they are closed??

If an ad expires it should be marked like so which means it will not show

// Close out expired ads
$query = "UPDATE {$Globals['pp_db_prefix']}products SET approved=2,status='$today' WHERE enddate < $today AND isauction=0";
$result = ppmysql_query($query,$link);


then in showcat where ads are shown see approved=1

$query .= "WHERE approved=1 $catcheck AND date > $searchdate $exclude_cat $sortcode";

So your losing me here saying you have it set to show 180 days after. Once an ad expires you should delete it or relist it
In the admin section, under the Show Ads Options, there is this selection:

Number of days to show sold/closed ads?

I have this set to 180 days. This is because some users have asked that those old ads remain for a period of time in case there is any question about the details listed in them later on. Not everyone who sells their items will take the time to mark it as such. I assumed that option is accomodated for within the sendnotice code.

As for updating the FaunaClassifieds pp_classifieds, that is going to be more complicated then for the GunWantAds site. You did some custom coding there for me as well as my vBulletin guy modifying the feedback screeen to utilize one I already have in vBulletin. I want to have this done, but I know you are going to need some details that I just have not had the time to pull together yet to be able to provide to you. I'm sure you probabably don't remember the coding you did on that site for me so I am going to have to find those old emails to give you those details to incorporate into the upgrade.
Rich Z is offline   Reply With Quote
Old August 29th, 2005, 11:41 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,665
Yes I think I did layout to you what modifications you would need to do when upgrading and nope I dont keep old code.

You could safely update sendnotice.php on the other site
__________________
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
Bogus value for Value of items sold in Statistics. Rich Z Photopost Pro How Do I...? 3 August 17th, 2005 09:39 AM
PP_Classifieds/vBulletin server questions Rich Z Before You Buy 2 March 15th, 2005 03:49 PM
Setting ad prices spadbuoy Classifieds Installation & Upgrades 1 January 15th, 2005 01:59 PM


All times are GMT -5. The time now is 07:18 PM.

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