68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Expired ads showing as "Active" on userbrowselistings
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#1)
Old
civ civ is offline
Senior Member
civ will become famous soon enough
 
Posts: 402
Join Date: Mar 2006
Location: Greer, SC
Default Expired ads showing as "Active" on userbrowselistings - 08-21-2006, 11:30 AM

I just reset a password for one of my advertisers and logged into her account to test it. I noticed that her expired listing was showing up as active on userbrowselistings, and there was no renew link! I checked it in the admincp and it shows there as "Expired".

Can anyone else confirm this? This is a serious hindrance to profitability if left unsolved, so I need to fix this ASAP.

3.1.5 Developer
Reply With Quote
(#2)
Old
civ civ is offline
Senior Member
civ will become famous soon enough
 
Posts: 402
Join Date: Mar 2006
Location: Greer, SC
Default 08-22-2006, 12:09 PM

Anyone mind logging in as a customer and checking this on 3.1.5?
Reply With Quote
(#3)
Old
SkGold SkGold is offline
Senior Member
SkGold has a spectacular aura about
 
Posts: 363
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Default 08-22-2006, 03:55 PM

I checked it. Here what I did:
My renewal setting in admin is 5 days.
I was manually changing expiration date for one of my ad.
The renewal link is there but only appear 5 days before and 5 days after expiration date. I guess it is Okay.
More than 5 days after expiration date the renewal link disappears.
What is not Okay that the ad status is showing Active after renewal link disappears. I think it should be changed to Expired. Maybe it a bug?


Thanks,
Sergey

Bargain Finder in Calgary, Alberta, Canada.
Calgary Classifieds V3.1.5 Dev - Calgary Used Cars V3.1.5 Dev - Calgary Dating V3.1.5 Dev

Website without well-done Internet Marketing and Search Engine Optimization as good as a nice picture in your family photo album.
Reply With Quote
(#4)
Old
civ civ is offline
Senior Member
civ will become famous soon enough
 
Posts: 402
Join Date: Mar 2006
Location: Greer, SC
Default 08-22-2006, 10:59 PM

Yep, that's what I'm seeing as well. Definitely a bug - I'll file a report.

Thanks for checking Sergey!
Reply With Quote
(#5)
Old
civ civ is offline
Senior Member
civ will become famous soon enough
 
Posts: 402
Join Date: Mar 2006
Location: Greer, SC
Default 09-16-2006, 11:22 AM

Sorry for digging this old thread up, but we are missing lots of renewals due to this bug. I just got another email from a customer today trying unsuccessfully to renew his listing, so I was reminded to come back here and check onthe status.

Here is the bugtracker entry I entered last month - anyone found a solution to this problem yet?
http://www.68classifieds.com/issues/...md=view&id=122

Here is a screenshot from a customer's userbrowselistings.php (note the expiration date but the 'Active' status, as well as the lack of a 'Renew' link):

Last edited by civ : 09-16-2006 at 11:24 AM.
Reply With Quote
(#6)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,684
Join Date: Mar 2006
Location: NJ/NYC Area
Default 09-17-2006, 04:47 PM

I think this is a bug, what I think is happening is the smarty comparsion isn't taking place due to the date not being a time stamp.

Open userbrowselistings.tpl.php:

find:

Code:
{if $entry.expiration > $smarty.now} {$smarty.const.LANG_EXPIRED} {elseif $entry.display == "Y"} {$smarty.const.LANG_YES} {else} {$smarty.const.LANG_NO} {/if}
Try replacing with this:

Code:
{if $entry.expiration|date_format > $smarty.now|date_format} {$smarty.const.LANG_EXPIRED} {elseif $entry.display == "Y"} {$smarty.const.LANG_YES} {else} {$smarty.const.LANG_NO} {/if}


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote
(#7)
Old
civ civ is offline
Senior Member
civ will become famous soon enough
 
Posts: 402
Join Date: Mar 2006
Location: Greer, SC
Default 09-17-2006, 05:17 PM

Hi John, that didn't make any difference.
Reply With Quote
(#8)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,684
Join Date: Mar 2006
Location: NJ/NYC Area
Default 09-17-2006, 06:07 PM

Replace:
Code:
{if $entry.expiration > $smarty.now}
With:
Code:
{if $entry.expiration|date_format:"%Y/%m/%d" < $smarty.now|date_format:"%Y/%m/%d"}


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton

Last edited by juven14 : 09-17-2006 at 06:10 PM.
Reply With Quote
(#9)
Old
civ civ is offline
Senior Member
civ will become famous soon enough
 
Posts: 402
Join Date: Mar 2006
Location: Greer, SC
Default 09-17-2006, 10:20 PM

Thanks John! That corrected the 'Active' column - it now displays 'Expired' as expected.

There is still no Renew link however.
Reply With Quote
(#10)
Old
juven14 juven14 is offline
Moderator
juven14 has a spectacular aura about
 
Posts: 1,684
Join Date: Mar 2006
Location: NJ/NYC Area
Default 09-17-2006, 10:29 PM

That is strange, I am getting the renewal link, though I tested it with an expired ad. I'll look at it again in the am.


Regards,

John
mods.auscity.com
v3.1.5 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton
Reply With Quote


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ads showing as 'Not Completed' Bucketman v3.0 Questions & Support 35 01-23-2007 12:49 PM
Searching for expired ads yields no results? bgordon v3.1 Questions & Support 3 12-31-2006 12:05 AM
Changing status of expired listings. gabs v3.1 Questions & Support 2 12-01-2006 05:12 PM
Ads showing as "expired" before expiry date turkeygeorge v3.1 Questions & Support 5 09-26-2006 11:23 AM
"Featured Ad" choice not showing... garysmith v3.1 Questions & Support 2 05-10-2006 07:28 AM



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com