The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
is there any way to make a custom profile field's options in "edit profile" section a drop down menu instead of an empty text box? thnx
|
|
#2
|
||||
|
||||
|
PHP Code:
Code:
<tr>
<td bgcolor="{ firstaltcolor }"><normalfont><b>DropDown:</b></normalfont></td>
<td bgcolor="{ firstaltcolor }"><smallfont>
<select name="dropresult">
<option value="0" selected>Value One</option>
<option value="1">Value Two</option>
<option value="2">Value Three</option>
</select>
</smallfont></td>
</tr>
|
|
#3
|
|||
|
|||
|
thnx
how do I impliment this?
|
|
#4
|
||||
|
||||
|
Place PHP in admin/functions.php and member.php
Place HTML in User Option Templates ? modifyprofile Place HTML in Registration Templates ? registeradult Place $dropdown in Info Display Templates ? getinfo Create a field/row named dropdown in MySQL Code:
ALTER TABLE user ADD dropdown SMALLINT (6) not null |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|