+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Are there a "delete" day for expired listings ?

  1. #1

    Are there a "delete" day for expired listings ?

    Just a simple question, wondering if there are any "delete" day for expired listings ?

  2. #2
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    Hello,

    No, you can delete expired listings in admin panel.

  3. #3
    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?
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    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.

  5. #5
    Hello Peter Jonsson,

    You should delete account from Trash Box too in admin panel and Then user can add account with same email
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    Hello Peter Jansson,

    Please go to ftp:cron>>index.php

    and after his code at line ~ 69:
    Code:
    Only registered members can view the code.
    add this code:

    Code:
    Only registered members can view the code.
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    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!
    Last edited by Peter Jonsson; December 11, 2012 at 01:34 PM.

  8. #8
    Quote Originally Posted by Viktor View Post

    Please go to ftp:cron>>index.php

    and after his code at line ~ 69:
    Code:
    Only registered members can view the code.
    add this code:

    Code:
    Only registered members can view the code.
    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

  9. #9
    Hello Chris,

    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
    Yes you are right you can change only $in_days = 5; this variable.
    Viktor,
    Flynax technical department,
    Best wishes.

  10. #10
    Hello Peter,

    About the account thing, i do delete account from trashcan aswell but it dont get deleted from database even after updating
    Would you please send me access for your cpanel in PM I will check it ASAP.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread