[FF] Classifieds Enhancements (+ Fixes)

[FF] Classifieds Enhancements (+ Fixes) 1.1.4

No permission to download
Author jessy
Creation date
For some reason, the advert counts in the categories will sometimes just go totally wrong.

I thought this was due to incorrectly expiring adverts in the default crons, but it just happened again to me.

In the interim until I have time to look for the real problem, I've added a new option in the admin panel which will automatically rebuild the counts every hour.
  • FIX: Errors when deleting a category.
I've added this as a separate release as this is BETA - I don't use a payment system myself so I can't test if that part works (so please check before you set it live and let me know)

However for free packages this should be all gravy.

This update:
  • Makes expired listings visible (for the listing poster and any moderator with the "Edit any listing" permission) in the category listing pages and the "Your listings" page.
  • Adds a "Renew listing" button to the action bar (obviously only shows up if the listing is expired)
    1673117628199.png
If the package is free, then clicking that button will instantly unlock the listing, change the status to active and set the expiry date appropriately (starting from right now, not the date it originally expired).

If the package is a paid one, it will unlock the listing, change the status to awaiting payment, set expiry to 0 and then forward to the payment page. Once payment is made, the correct expiry date will be set.

And now, I really must go to bed xD
Back
Top