The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hey im working on my first mod and i need some help. im using on and off button and when you choose 1 alternative it stands yes/no and i wonder how i can fix so it stands something else like alt1/alt2
here is the php code: Code:
<phpcode><![CDATA[print_table_header($vbphrase['subforumlist_title']); print_yes_no_row($vbphrase['subforumslistonoff'], 'forum[subforumslistonoff]', $forum['subforumslistonoff']);]]> </phpcode> |
|
#2
|
||||
|
||||
|
I'm not quite sure what you're asking. Can you rephrase the question and explain exactly what it is you'd like to accomplish?
|
|
#3
|
|||
|
|||
|
okey gonna try to explain it better.
im working on a mod that give you an option in each forum so subforums will be shown different and i have succed to fix this so its work but the option is yes/no when you edit the forum and i want it to say something else. here is a ss so you see what its look like now. ![]() i hope you understand what i mean now
|
|
#4
|
||||
|
||||
|
Yes, now I understand. Why don't you use a dropdown list to display the two options (alt1 or 2)?
|
|
#5
|
|||
|
|||
|
did not think of that. im not so good in this but how do i fix so it is a dropdown?
|
|
#6
|
||||
|
||||
|
Use print_select_row
|
|
#7
|
|||
|
|||
|
okey now i only have 1 more question. how do i get the option in there?
|
|
#8
|
||||
|
||||
|
|
|
#9
|
|||
|
|||
|
i don´t really understand that so i stick with yes and no option. thanks anyway.
|
|
#10
|
|||
|
|||
|
print_radio_row() might be more suitable.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|