| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  How can i change the thread subscription options to text links or input fields ? 
			
			Hi, I am trying to customize the newthread page and i would like to use text links or input fields for each option of the thread subscription. Since the current/default one is in dropdown box, i am not sure if that is possible or not... Default : Code: <if condition="$show['member']"> <fieldset class="fieldset"> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td>$vbphrase[notification_type]:<br /> <select name="emailupdate" tabindex="1"> <option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option> <option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option> <option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option> <option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option> <option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option> </select> </td> <if condition="$show['subscribefolders']"> <td>$vbphrase[folder]:<br /> <select name="folderid" tabindex="1">$folderbits</select> </td> </if> </tr> </table> </fieldset> </if> Is that possible to do something like below ? Code: <input type="checkbox" name="emailupdate" value="0" tabindex="1" $emailchecked[0] /> <input type="checkbox" name="emailupdate" value="1" tabindex="1" $emailchecked[1] /> <input type="checkbox" name="emailupdate" value="2" tabindex="1" $emailchecked[2] /> | 
| 
			 
			#2  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			I think if you use type="radio" instead (so that only one can be selected) then it will work. But there's a problem with the $emailchecked values since they are either selected="selected" for the selected choice or null, and a radio button needs checked="checked" instead.  But something like this might work: Code: <input type="radio" name="emailupdate" value="0" tabindex="1" <if condition="$emailchecked[0]">checked="checked"</if> /> <input type="radio" name="emailupdate" value="1" tabindex="1" <if condition="$emailchecked[1]">checked="checked"</if> /> <input type="radio" name="emailupdate" value="2" tabindex="1" <if condition="$emailchecked[2]">checked="checked"</if> /> Did you mean to leave out the "no email notification" choice? | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |