PDA

View Full Version : Add a check box in the admin cp, reading from a mysql database


pyro.699
09-27-2005, 08:21 PM
ok, im goign to go into as much detail as i can!

I recently made this script "resume" which alows a member to write up a resume, and submit it. After they submit it, it wriites a query,

$db->query_write("
UPDATE " . TABLE_PREFIX . "user
SET resume = '1'
WHERE userid = '" . $vbulletin->userinfo['userid'] . "'
LIMIT 1
");


It works... now, the script i would like ^^
-------------------------
In the Admin CP, i would like a checkbox on the right-hand side that tells me weather they have done the resume,
Check = they did it
No-Check = they dident do it

when i click on the check box, it changes weather they have done the resume or not.

I would also like a list of all suers that have done the resume! thanks!

Marco van Herwaarden
09-28-2005, 07:49 PM
Didn't you already have a thread running about this?

Where in your ACP you want this checkbox?

pyro.699
09-28-2005, 08:01 PM
no, that was a thread on how 2 make the mod its self, i got that done with a ton oh help from aj!

I would like it in the area where you can edit members. I think the file is admincp/user.php