The Arcive of vBulletin Modifications Site. |
|
#1
|
||||
|
||||
![]()
I swear I've taken stupid pills this morning.
*sees vb people coming with a cup to drug test me* Yeeks. Anyways today I decided to get rid of html in sigs since people were abusing. Problem being that 1 out of every 4 people use drop down menu's. So I go to the custom vb code area and start to work on a drop down menu code. So with my limited intellegence I make 3 different codes. Here they are. VB Code Tag #1 is: select VB Code Replacement: <select name=which style="font-family: tahoma; font-size: 8pt; background-color: black; font-weight: ; color: white">{param}</select> VB Code Tag #2 is: option VB Code Replacement: <option value="Y2A">{param}</option> VB Code Tag #3 is: br VB Code Replacement: <br> So it'd go something like this. [select] [option]Name: Brad[/option[br] [option]Height: 10 ft[/option[br] [option]Weight: 500 pounds[/option[br] [/select] Sounds simple enough. So I look over everything and for some uknown reason instead of displaying text all I get is a nice thin long column on a drop down menu with black bg and I'm guessing the only thing that isn't working is the option area which has me completely confused. *hits head on table again* Dang stupid pills must hurt ya... |
#2
|
|||
|
|||
![]()
Don't use any <br> tag, you don't need them in dropdowns. Also you're never closing the ] in the [/option] tag.
|
#3
|
||||
|
||||
![]()
BR tags are useless in posts, vB automatically adds <BR> tags to the message with bbcodeparse.
|
#4
|
||||
|
||||
![]()
My last question is how would I be able to make it so that normal users could like edit the font color on drop down menu as well as background color?
|
#5
|
|||
|
|||
![]()
Add an option to the tag that works as the color.
|
#6
|
||||
|
||||
![]()
What I mean turtle man
![]() Quote:
[SELECT COLOR=RED BACKGROUND-COLOR=WHITE] [OPTION]Hello[/OPTION] [OPTION]Filburt[/OPTION] [OPTION]How[/OPTION] [OPTION]Are[/OPTION] [OPTION]You[/OPTION] [OPTION]Today?[/OPTION] [/SELECT] |
#7
|
|||
|
|||
![]()
IIRC there's a hack that lets you use multiple options in BB Codes, try that.
|
#8
|
||||
|
||||
![]()
What is IIRC?
|
#9
|
|||
|
|||
![]()
If I recall correctly.
|
#10
|
||||
|
||||
![]()
That's what happens when you get old.
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|