The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Custom Admincp page help needed
Hi
I'm creating a custom admin page that allows the admin of my site to add urls to a database table. With this url, is other specific information, such as who was involved in the development of the pages and files within. This "add" page would be to allow additions to this site's "world list" http://www.friendship-cafe.com/ then scroll down to the middle of the page. I've attached an image of what I have so far but I'd like to be able to construct something with check boxes that looks like this: [ ] Developer1 [ ] Developer2 [ ] Developer3 [ ] Developer4 [ ] Developer5 [ ] Developer6 [ ] Developer7 [ ] Developer8 [ ] Developer9 [ ] Developer10 [ ] Developer11 [ ] Developer12 Each one of these is the name of a developer or specific user in the users table. I'm not sure if this is the best way to "assign" users or developers to a url though. I would also be keeping track of url and developer since this is a many to many relationship with a join table. Any help on this would be appreciated, Jim |
#2
|
||||
|
||||
I would suggest handling it with a print_input_select_row funcrion as opposed to many check boxes.
PHP Code:
|
#3
|
||||
|
||||
Quote:
Thanks for the tip! I'll give that a shot. I'm running into a situation where I have a section of code similar to what I listed below and for some reason, processing falls through all of the code prior to the form being displayed. Does anyone have a simple example of doing this? Code:
if ($_REQUEST['do']== "add" || $_REQUEST['do']== "edit" ) { // display form here } if ($_POST['do'] == "doAddSave") { // Save form data to database } Thanks, Jim |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|