The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is it possible to update a Single-Selection Menu with a save button in the Navbar rather than in User Control Panel > Edit Options.
If so could someone possibly give me some directions as to how to do this? |
#2
|
|||
|
|||
![]()
Hello.
Not quite sure I follow... Can you provide an example, please? Thanks. |
#3
|
|||
|
|||
![]()
Like this, I have it where I need just need some pointers as how to submit the new data to the correct place
Code:
<if condition="$show['member']"> <td class="vbmenu_control"><a>Member Mood Display:</a> <form action="profile.php?do=editoptions" method="submit"> <input type="hidden" name="userfield[field5_set]" value="1" /> <select name="userfield[field5]" id="csel_field5"> <option value="0" ></option> <option value="1" >accomplished</option><option value="2" >aggravated</option> ETC ETC... </select> <input type="submit" class="button" value="Save" accesskey="s" /> </form> </if> |
#4
|
|||
|
|||
![]()
Hello.
Before looking into this code deeper, I noticed something: in the following code, HTML Code:
<form action="profile.php?do=editoptions" method="submit">
|
#5
|
|||
|
|||
![]()
You would have to send that to a php file that will insert or update that field with the drop down value.
|
#6
|
|||
|
|||
![]()
Cheers, anyone be able to give me some pointers as to how to do that in php? unfortunitly its not one of the languages I know.
Another Q, seeing as there is a php file that does this [profile.php] cant I send it directly to it? |
#7
|
|||
|
|||
![]()
anyone willing to give me Any pointers?
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|