Just a simple question, wondering if there are any "delete" day for expired listings ?
Printable View
Just a simple question, wondering if there are any "delete" day for expired listings ?
Hello,
No, you can delete expired listings in admin panel.
Hello Peter Jonsson,
Vladimir meant now no code for it :) but you can create it in cron>> index.php
Do you want me to send you code for delete listings after expiration?
Yes please Viktor.
I also noticed that even if i delete a account from the adminpanel and then from the trashcan it will still be.
Example for what i mean:
I made an account with mail "mymail@hotmail.com" and then delete it.
Then i try to add another account with the same mail. I cant because it says it's already in use.
Isnt the account getting deleted from the database ?
If i delete an account from the site then that person should be able to make a new account with the same mail.
Hello Peter Jonsson,
You should delete account from Trash Box too in admin panel and Then user can add account with same email :)
Hello Peter Jansson,
Please go to ftp:cron>>index.php
and after his code at line ~ 69:
add this code:Code:Only registered members can view the code.
Code:Only registered members can view the code.
About the account thing, i do delete account from trashcan aswell but it dont get deleted from database even after updating
Thanks for the code Viktor!
Hi Viktor
I too want to do this, just a quick question. By the looks of this code it deletes expired listings after 5 days is that correct? I f i wanted to change this to 30 days do i just change the $in_days = 5
and do i leave the $in_days * 86400) <= time() ) as it is, by the looks of this, this is seconds in a day if i am right
Chris
Hello Chris,
Yes you are right you can change only $in_days = 5; this variable.Quote:
I too want to do this, just a quick question. By the looks of this code it deletes expired listings after 5 days is that correct? I f i wanted to change this to 30 days do i just change the $in_days = 5
and do i leave the $in_days * 86400) <= time() ) as it is, by the looks of this, this is seconds in a day if i am right
Hello Peter,
Would you please send me access for your cpanel in PM I will check it ASAP.Quote:
About the account thing, i do delete account from trashcan aswell but it dont get deleted from database even after updating