How to Reject pending links via phpmyadmin ?

Discussion in 'Directories' started by jezza chan, Oct 20, 2007.

  1. #1
    Hi,

    I have a lot of spam submissions in my directory, Im currently running 2.1 and it will take me a very long time to delete them.

    Is there a quicker way to delete pending links via phpmyadmin?
    Which table is it in?

    Thanks.
     
    jezza chan, Oct 20, 2007 IP
  2. Red_Virus

    Red_Virus Well-Known Member

    Messages:
    3,756
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Well If u are trying to delete all the pending links with that method if possible, then you will also be deleting some of the good links also !
     
    Red_Virus, Oct 20, 2007 IP
    jezza chan likes this.
  3. jezza chan

    jezza chan Active Member

    Messages:
    1,488
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Do you think i havent already figured that out?
    I have already, approved all the non-spammy links. Theres about 200 or so spam links left.
     
    jezza chan, Oct 20, 2007 IP
  4. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #4
    I remember that few times back i have done this for one of my directory where i got few spam submissions in little quantity :D Forgot that code.

    Do one thing that leave a PM to our senior an0n (Rob) because that time he given me that simple code which you have to run through phpmyadmin. Its easy :p

    DON.
     
    deluxdon, Oct 20, 2007 IP
    jezza chan likes this.
  5. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you need to run this query in phpmyadmin

     
    enQuira, Oct 20, 2007 IP
    jezza chan likes this.
  6. jezza chan

    jezza chan Active Member

    Messages:
    1,488
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    90
    #6
    Thank you. :)
     
    jezza chan, Oct 20, 2007 IP
  7. sizzler_chetan

    sizzler_chetan Prominent Member

    Messages:
    7,838
    Likes Received:
    664
    Best Answers:
    0
    Trophy Points:
    390
    #7
    The same does for 3x version too mhamdi?
     
    sizzler_chetan, Oct 20, 2007 IP
  8. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #8
    yes chetan.
     
    enQuira, Oct 20, 2007 IP
  9. Red_Virus

    Red_Virus Well-Known Member

    Messages:
    3,756
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    135
    #9
    Thanks mhamdi, for the code, I just made a blog post on the same as It is working both on the 2.x & 3.x versions.

     
    Red_Virus, Oct 21, 2007 IP
  10. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I suggest you edit your post as this deletes pending links not spam links. just add a sentence or 2 to clarify that you need to approve first all good submissions.
     
    enQuira, Oct 21, 2007 IP
  11. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #11
    BTW mhamdi which code to use for approve all pending links :confused: and which code to use for delete only pending featured listings :confused:
     
    deluxdon, Oct 21, 2007 IP
  12. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #12
    1. which code to use for approve all pending links
    2. delete only pending featured listings
     
    enQuira, Oct 21, 2007 IP
  13. Red_Virus

    Red_Virus Well-Known Member

    Messages:
    3,756
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    135
    #13
    Thanks mhamdi, for pointing that I have edited the blogpost. :)
    I have also included these two codes in the original blog post, thanks so much for sharing.

     
    Red_Virus, Oct 21, 2007 IP
  14. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #14
    Thanks a lot mhamdi for these codes. NoteD down to my notepad.

    Some greens on your way for this help.

    DON.
     
    deluxdon, Oct 21, 2007 IP
  15. procrastinator

    procrastinator Peon

    Messages:
    1,718
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    0
    #15
    good stuff mhamdi , thanks for sharing
     
    procrastinator, Nov 6, 2007 IP