Hello Peter,
I don't know exactly.
If you want you can send me ftp access in PM and I will check it.
Viktor,
Flynax technical department,
Best wishes.
Hi Viktor,
Would you please help me making a cron jobs to do refresh listing for everyday please. So admin won't have to manually click on refresh.
Thank you
Hello Yung Yang,
I don't understand you. What does it mean refresh listings? Please explain in more details.
Viktor,
Flynax technical department,
Best wishes.
Hi
Sorry for not being clear.
The recount button in refresh section.
Category shows number of listings within, including expired listing.
For example: Electronic (9), but 4 has been expired, so when you click on the cat, you only see 5.
In order to make this show correctly, I have to click recount in admincp, so that it will show Electronic(5).
What i meant was I wanted an automate recount listing that rule out expired one.
Or may be making category only count active one.
Hope that make sense
Thanks
Hello Yung Yang,
Understand now.
Of course it's possible.
Go to ftp://cron>>index.php
find line: /* SAVED SEARCH CHECKING */
above add new code:
save and it should work correctly.PHP Code:
Only registered members can view the code.
Viktor,
Flynax technical department,
Best wishes.
Thank you
One question. Where do you adjust the time for this script? Is it going to run everyday? What if I want to change it to every week?
Yeah been looking for this for ages, hopefully this works as getting sick of deleting expired listings
Would be good for future versions of flynax to have this as a setting in admin, to turn on or off, and set days to delete after expiry
Hello Chris,
But needs to create cron command in cpanel or other panel on server for run file and I think twice a day will be excellent period for running cron file.
Viktor,
Flynax technical department,
Best wishes.
Yeah thanks, i already have cron set up. All seems to be working, expired listings amount going down.