+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Expired ad is wrong date

  1. #1
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    342

    Expired ad is wrong date

    Again, you failed to fix this part. Expired ad has a bad date in 4.9 as well.

    nevtelen.png

  2. #2
    I was concerned about this issue previously and had apply Jen temporary fix to stop cron from changing the expired ad date. I really hope Flynax would take a look at this, as it looks very ODD in admincp when you see all expired ads has the same weird payment date.

  3. #3
    You can fix it yourself via files. Open the file: ftp://admin>>tpl>>controllers>>listings.tpl

    at line~ 1529 find the code:
    Code:
    Only registered members can view the code.
    and replace it to:
    Code:
    Only registered members can view the code.
    See fragnet of the code here: https://prnt.sc/Q0abpdYrqmSL
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Cool, an official fix from Viktor!

    I don't have the new 4.9 yet so hopefully someone could test it out.

  5. #5
    Quote Originally Posted by Wei Hong View Post
    Cool, an official fix from Viktor!

    I don't have the new 4.9 yet so hopefully someone could test it out.
    But this solution will work with earlier versions too. Please try to use it lon your site.
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    342
    As soon as I have an ad that has expired I will see if it works properly.
    If it works, it could be officially included in the repair.

  7. #7
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    342
    I tried it and it's not good. I will attach the picture as well. He writes that he is unpaid and has no date.
    This way, cron can't even calculate when to delete the ad.
    nevtelen.png

  8. #8
    The cron removing listings by another field.
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Actually it not looking much better.

    Can we have the Payment Date AND Active till show the latest information.
    For example listing A has:
    Payment Date: 03 / 17 / 2022
    Active Till: 04 / 17 / 2022

    If user renewed it for another month then show the update info:
    Payment Date: 04 / 17 / 2022
    Active Till: 05 / 17 / 2022

    And once this listing is expired, please DO NOT REMOVE THE DATE. Keep Payment Date and Active Till as the latest date available.

    So when admin looking at the expired ads he know when was the last time it was updated, and tell customer that his/her was expired X time ago.
    It's not OK if customer as admin when did his/her ads expired and admin can't tell when.
    Last edited by Wei Hong; March 17, 2022 at 07:27 AM.

  10. #10
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    342
    Viktor, that's not good either. Here's a picture of him. There is no expiration date in the database, so the system will never know when to delete it.
    If I want to see the date, the picture also shows that the system is setting it as an incorrect date.

    I think that when the system switches the ad to expired, the Pay_date field in the database should not be ticked as it indicates the date of posting.

    nevtelen.png

    I tried the same solution as in 4.8.2, commenting on the following line on line 141 in cron.php: // $ action_update ['Pay_date'] = ''; so the date works well too. The only question is how good this is or whether it may affect something else.
    Last edited by Jenő Kocsi; March 17, 2022 at 08:10 AM.

+ Reply to Thread