PDA

View Full Version : Is this possible?


Yuber
03-23-2003, 09:58 PM
I was wondering if it were possible to have check boxs next to each Style instead of having a drop down selection? If you are not sure what I mean. If you look at the image I got from the options at www.vbulletin.com/forum where it says

Post elements:
Select which user features you wish to appear in posts.

Signatures
Avatars
Attachments

I was wondering if you change the style selection drop down in your profile options to this where it says Style Select inplace of Post Elements and it would have eachstyle that you have available with a check box next to it and you can pick only one ofcourse?

Dpcows
03-24-2003, 05:37 AM
Yes, ofcourse that is possible.
But why check boxes ?
You can't display multiple skins can you ?

Yuber
03-24-2003, 07:41 PM
I just prefer an option like that instead of a drop down menu.

assassingod
03-24-2003, 08:11 PM
Ok, in the modifyoptions_stylecell template,
replace everything with:

<tr>
<td bgcolor="#F1F1F1"><normalfont><b>Style Set:</b><br>
<smallfont>You may pick a style set to browse with that may or may not override the default settings.</smallfont></normalfont></td>
<td bgcolor="#F1F1F1"><smallfont>

$stylesetlist

</smallfont></td>
</tr>


open the modifyoptions_styleset template,
replace everything with :

<input type="checkbox" value="$thisid" $selected> $thisstylename<BR>


Untested but should work - Though I wouldn't recommend it because check boxes can be multiply selected at one time. Using radio buttons would be safer

Yuber
03-24-2003, 08:22 PM
Thanks assasin. How would I use radio options?

assassingod
03-24-2003, 08:25 PM
Replace:
<input type="checkbox"

with;
<input type="radio"

Yuber
03-24-2003, 08:27 PM
Thank you very much.

assassingod
03-24-2003, 08:32 PM
No problem:)