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.