I'm considering using the 68C script for an inventory management system and was wondering if there is a way to over-ride the listing expiration. I see that you can set the expiry up to 10 years, which would be sufficient, though I would prefer to be able to have a no expiry option if easy to accomplish. Any thoughts would be great...thanks
You would have to make some core file changes or edit your database and give it a date further in the future.
Thanks John, I could definitely see this as a good option via the admin in a future release as there could be many uses for it.
Yes, I agree. I see what can be done for the next major version. If you want to do a core file change I can point you in the right direction.
Basically my sites run as inventories - well publicly accessible. I just set the expiration date out to 10 years. You can even force the date in a core file so whatever you put into the admin panel or front end it gets ignored.
why not just change the core file setting for expiration as John proposes. I believe it is in orders.php
Actually it isn't the Orders.php, it's the Listings.php. The function called, "setExpiration", however there is already a module call hook there in the appropriate spot that could be used instead, which would always be preferable then changing core.php files. At approximately line #959: ($modules->call_hook('bypass_expiration', $listingid)) ? $set_expiration = FALSE : FALSE;