Any way of approving all links at once in phpld v2.1 ?

Discussion in 'Directories' started by leet, Jun 11, 2007.

  1. #1
    Is there any way of approving all links at once in phpld v2.1? I've thousands of links to approve and I'm a bit lazy so I just wanna take a look at all submissions and submit them all at once and maybe later delete the ones I don't want. To cut it short, can I simply approve all of submissions at once?
     
    leet, Jun 11, 2007 IP
  2. terryuk

    terryuk Notable Member

    Messages:
    3,962
    Likes Received:
    319
    Best Answers:
    0
    Trophy Points:
    255
    #2
    Just goto phpmyadmin, i think it's 'active' = 1. So run a line of mySQL;
    
    UPDATE TABLE_NAME SET `active`='1'
    Code (markup):
    Hope that helps.
     
    terryuk, Jun 11, 2007 IP
    leet likes this.
  3. banless

    banless Peon

    Messages:
    1,745
    Likes Received:
    217
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I recommend that you take the time needed to review all of the sites that are submitted instead of just approving everything that comes in the box. You could easily find yourself linking out to some bad sites. Morever, it would not show that you are concerned with quality but quanity and that is not good.

    Just mo though.
     
    banless, Jun 11, 2007 IP
  4. leet

    leet Notable Member

    Messages:
    3,423
    Likes Received:
    369
    Best Answers:
    0
    Trophy Points:
    250
    #4

    I will review them. But I don't wanna click an approve button for each submission.

    Didn't work. Says there is no "active" field. I'm looking for the right variable now.
     
    leet, Jun 11, 2007 IP
  5. jetbrains

    jetbrains Well-Known Member

    Messages:
    1,747
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    133
    #5
    You can't do it from admin panel, otherwise, nobody will purchase 3.* . :)
     
    jetbrains, Jun 11, 2007 IP
  6. leet

    leet Notable Member

    Messages:
    3,423
    Likes Received:
    369
    Best Answers:
    0
    Trophy Points:
    250
    #6
    Well, if there was a way to do it from admin panel, I'd have found it till now anyway :)
     
    leet, Jun 11, 2007 IP
  7. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #7
    pretty close terry :)

    added the where clause, just in case there are some some to inactive(e.g. 0) so only those pending get the approval.
     
    an0n, Jun 11, 2007 IP
    newbie191 and leet like this.
  8. leet

    leet Notable Member

    Messages:
    3,423
    Likes Received:
    369
    Best Answers:
    0
    Trophy Points:
    250
    #8
    UPDATE PLD_LINK SET `status`='2'

    I did with this. But yours is more logical with the where clause. Thanks everyone, reps are on the way ;)
     
    leet, Jun 11, 2007 IP
  9. terryuk

    terryuk Notable Member

    Messages:
    3,962
    Likes Received:
    319
    Best Answers:
    0
    Trophy Points:
    255
    #9
    hehe :)

    I'm in a rush to do things today lol, so that explains the wrong answer :p
     
    terryuk, Jun 11, 2007 IP
  10. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #10
    we all live and learn right ;)
     
    an0n, Jun 11, 2007 IP