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)
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