PDA

View Full Version : Users awaiting moderation is default ON, how to switch default OFF


leon2u
08-30-2002, 07:05 AM
Hai there,

I have a lot of users awaiting in the awaiting....queue default validation is ON but I want to have it OFF for all users that are in the queue and for new users. I want to selectively validate users....can someone help me?

Thanx

Logician
08-30-2002, 07:52 AM
if what you want is to disable moderation for new users, you can do it via AdminCP/vb settings..

leon2u
08-30-2002, 08:13 AM
No I do not want to disable it but I want that all the radio buttons are as a default settin to NO, they are now all YES so I have to click everybody to no (not validate) except the one I want to validate.....

Logician
08-30-2002, 08:30 AM
edit admin/user.php find:


echo "<tr class='".getrowbg()."'><td><p> Yes<input type=\"radio\" checked name=\"validate[$user[userid]]\" value=\"1\"> No <input type=\"radio\" name=\"validate[$user[userid]]\" value=\"0\"></p></td>";


Replace it as:


echo "<tr class='".getrowbg()."'><td><p> Yes<input type=\"radio\" name=\"validate[$user[userid]]\" value=\"1\"> No <input type=\"radio\" checked name=\"validate[$user[userid]]\" value=\"0\"></p></td>";

leon2u
08-30-2002, 08:36 AM
Strange I tried to look in that file also for 'validate' but it gave me no result an search however THANX MAN!!!

See snapshot!