The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
im making an admin page to edit one of my hacks, how do i make a page get all the rows from a table in the database, and show yes/no boxes on my page with the defaults what they are currently in the database. also how would i go about updating the database with the updated options.
i know you start off with somthing like this PHP Code:
|
|
#2
|
|||
|
|||
|
print_radio_row()
|
|
#3
|
||||
|
||||
|
ah! thanks
still, ineed to know how to have those radio buttons update to the database... BTW marco i dont think there is a version 4.5.0 Beta3 of vbulletin
|
|
#4
|
|||
|
|||
|
Blaine,
Take a look in admincp/options.php Search for "if ($_POST['do'] == 'options')" - the code there displays the option rows and "if ($_POST['do'] == 'dooptions')" - the code there saves the options That should get you started. |
|
#5
|
||||
|
||||
|
just what i needed! thanks!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|