vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Add a check box in the admin cp, reading from a mysql database (https://vborg.vbsupport.ru/showthread.php?t=97023)

pyro.699 09-27-2005 08:21 PM

Add a check box in the admin cp, reading from a mysql database
 
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,
PHP Code:

$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


All times are GMT. The time now is 05:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00986 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete