Resource icon

xF2 Add-on [FF] Classifieds Enhancements (+ Fixes) 1.1.4

No permission to download
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.

1675877325871.png
  • New widget "[FF] Classifieds Enhancements: Listing Filter" to show the filter drop down as a widget instead. Context sensitive (so if you go into a category, it will adjust to only filter the options available inside) - @ichpen
  • Refactored the prefix filter into a repository.
  • Fixed: When the expiry cron runs, the filter counts will also be updated.
  • FIX: Errors when deleting a category.

No other issues were reported about the renewing of ads, so I've remove the beta status of this.
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
730Threads
2,282Messages
62,953Members
luquinhasxxLatest member
Back