View Full Version : Query to approve all pending links
Moncal
10-21-2005, 04:10 AM
Could someone please provide me with a query that would approve all the pending links in my database? I haven't been able to keep up and there are over 500 to check. There is no way I can approve all those and I would just like to go through and delete the obvious ones then worry about any that slip through latter.
Thanks
yktan
10-21-2005, 08:53 AM
Hi Moncal,
Pending links have a status of 1 and active links have a status of 2 in the database. So, to query all pending links, just do something like:
Content visible to registered users only.
Similarly, to set all pending links to be active, just do something like:
Content visible to registered users only.
I hope this is what you meant.
Regards,
yktan
Ap0s7le
10-21-2005, 06:28 PM
yktan is totally correct.
Ah, ain't it nice to be right? haha I'm goofy, someone please shoot me?
-Casey
Jim_Westergren
10-21-2005, 10:40 PM
If that is done, will the approval notification be sent as usual?
David
10-21-2005, 10:52 PM
Content visible to registered users only.
I would say "no" Jim
Moncal
10-22-2005, 12:19 AM
Content visible to registered users only.
Thankyou, that's exactly what I am looking for. I try that out as soon as I get my directory upgraded to RC5.2.
Moncal
10-28-2005, 04:44 AM
I finally got around to it. I just painlessly added 446 links to my directory! I'm almost to the 1000 mark.
Jim_Westergren
10-28-2005, 05:04 AM
Well done.
I just went through 100, about 250 more to go.
I never reach zero as tomorrow there are 50 more .... :)
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.