Do not show avatars isnt working?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joe Gronlund
    Senior Member
    • Nov 2001
    • 5789
    • 3.8.x

    Do not show avatars isnt working?

    When ppl on my board choose not to show avatars in their UserCP,
    It resets itself and turns that option back on..

    Is there a way to fix that problem?

    VB ver is 3.5.0 beta 4

    Thanks

    Joe
    MCSE, MVP, CCIE
    Microsoft Beta Team

  • Zonex
    Senior Member
    • Dec 2004
    • 1127

    #2

    Comment

    • Joe Gronlund
      Senior Member
      • Nov 2001
      • 5789
      • 3.8.x

      #3
      Thanks for your help, but that still didnt work for me..

      I have no hacks on the board, all templates are default....
      MCSE, MVP, CCIE
      Microsoft Beta Team

      Comment

      • Zonex
        Senior Member
        • Dec 2004
        • 1127

        #4
        you did all this and it still doesn't work?
        - means u remove that line
        + means it's a new line



        Code:
         [LEFT]--- vb3/profile.php 2005/07/12 14:18:20 1.360
        +++ vb3/profile.php 2005/07/13 13:55:00 1.361
        @@ -1091,6 +1091,7 @@ if ($_POST['do'] == 'updateoptions')
        'invisible' => TYPE_INT,
        'autosubscribe' => TYPE_INT,
        'options' => TYPE_ARRAY_BOOL,
        + 'set_options' => TYPE_ARRAY_BOOL,
        'modifyavatar' => TYPE_NOCLEAN,
        'userfield' => TYPE_ARRAY
        ));
        @@ -1107,15 +1108,11 @@ if ($_POST['do'] == 'updateoptions')
        // options bitfield
        foreach ($vbulletin->bf_misc_useroptions AS $key => $val)
        {
        - if (isset($vbulletin->GPC['options']["$key"]))
        + if (isset($vbulletin->GPC['options']["$key"]) OR isset($vbulletin->GPC['set_options']["$key"]))
        {
        $value = $vbulletin->GPC['options']["$key"];
        + $userdata->set_bitfield('options', $key, $value);
        }
        - else
        - {
        - $value = $vbulletin->userinfo["$key"];
        - }
        - $userdata->set_bitfield('options', $key, $value);
        }
        \ No newline at end of file 
         
        
        [/LEFT]


        TEMPLATE

        modifyoptions

        Whereever there is an <input type="checkbox" name="options[x]" ... /> there is now also <input type="hidden" name="set_options[x]" value="1" /> as well.

        Requires revert? Yes, very important.


        Last edited by Zonex; Sat 16 Jul '05, 9:47am.

        Comment

        • Zonex
          Senior Member
          • Dec 2004
          • 1127

          #5
          here, i did it on mine

          modifyoptions template
          Code:
          <script type="text/javascript">
          <!--
          function toggle_disabled(status, objid)
          {
          	obj = fetch_object(objid);
          	if (obj)
          	{
          		obj.disabled = (status ? false : true);
          	}
          }
          //-->
          </script>
           
          <form action="profile.php" method="post">
          <input type="hidden" name="s" value="$session[dbsessionhash]" />
          <input type="hidden" name="do" value="updateoptions" />
           
          <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
          <thead>
          <tr>
          	<td class="tcat">$vbphrase[edit_options]<span class="normal">: $bbuserinfo[username]<span></td>
          </tr>
          <tr>
          	<td class="thead">
          		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_login')"><img id="collapseimg_uopt_login" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_login].gif" alt="" border="0" /></a>
          		$vbphrase[login_privacy]
          	</td>
          </tr>
          </thead>
          <tbody id="collapseobj_uopt_login" style="$vbcollapse[collapseobj_uopt_login]">
          	<tr>
          		<td class="panelsurround" align="center">
          		<div class="panel">
          			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
           
          				<if condition="$show['invisibleoption']">
          				<fieldset class="fieldset">
          					<legend><label for="cb_invisible">$vbphrase[use_invisible_mode]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>$vbphrase[invisible_mode_allows]</td>
          					</tr>
          					<tr>
          						<td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
          					</tr>
          					</table>
          				</fieldset>
          				</if>
           
          				<if condition="$show['reputationoption']">
          				<fieldset class="fieldset">
          					<legend><label for="cb_showreputation">$vbphrase[show_my_reputation_level]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>
          							<phrase 1="$bbuserinfo[reputation]">$vbphrase[current_reputation_level_is_displayed]</phrase>
          						</td>
          					</tr>
          					<tr>
          						<td><label for="cb_showreputation"><input type="checkbox" name="options[showreputation]" value="1" id="cb_showreputation" $checked[showreputation] />$vbphrase[show_my_reputation_level]</label><input type="hidden" name="set_options[showreputation]" value="1" /></td>
          					</tr>
          					</table>
          				</fieldset>
          				</if>
           
          				<fieldset class="fieldset">
          					<legend><label for="cb_showvcard">$vbphrase[allow_vcard_download]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>
          							$vbphrase[may_allow_users_tdownload_vcard]
          						</td>
          					</tr>
          					<tr>
          						<td><label for="cb_showvcard"><input type="checkbox" name="options[showvcard]" value="1" id="cb_showvcard" $checked[showvcard] />$vbphrase[allow_vcard_download]</label><input type="hidden" name="set_options[showvcard]" value="1" /></td>
          					</tr>
          					</table>
          				</fieldset>
           
          				$customfields[login]
           
          			</div>
          		</div>
          		</td>
          	</tr>
          </tbody>
          </table>
           
          <br />
           
          <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
          <thead>
          <tr>
          	<td class="thead">
          		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_msg')"><img id="collapseimg_uopt_msg" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_msg].gif" alt="" border="0" /></a>
          		$vbphrase[messaging_notification]
          	</td>
          </tr>
          </thead>
          <tbody id="collapseobj_uopt_msg" style="$vbcollapse[collapseobj_uopt_msg]">
          	<tr>
          		<td class="panelsurround" align="center">
          		<div class="panel">
          			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
           
          				<fieldset class="fieldset">
          					<legend>$vbphrase[receive_email]</legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>
          							$vbphrase[administrators_may_send_email]
          						</td>
          					</tr>
          					<tr>
          						<td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checked[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label><input type="hidden" name="set_options[adminemail]" value="1" /></td>
          					</tr>
          					<if condition="$vboptions['enableemail']">
          					<tr>
          						<td><br />$vbphrase[allow_members_send_you_email]</td>
          					</tr>
          					<tr>
          						<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checked[showemail] />$vbphrase[receive_email_from_other_members]</label><input type="hidden" name="set_options[showemail]" value="1" /></td>
          					</tr>
          					</if>
          					</table>
          				</fieldset>
          				<if condition="!$vboptions['enableemail']">
          				<input type="hidden" name="options[showemail]" value="$bbuserinfo[showemail]" />
          				</if>
           
          				<fieldset class="fieldset">
          					<legend><label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td><phrase 1="subscription.php$session[sessionurl_q]">$vbphrase[can_automatically_subscribe]</phrase></td>
          					</tr>
          					<tr>
          						<td>
          							<span style="float:$stylevar[right]">
          							<select name="autosubscribe" id="sel_autosubscribe">
          								<option value="-1" $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>
          							</span>
          							<label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]:</label>
          						</td>
          					</tr>
          					</table>
          				</fieldset>
           
          				<if condition="$show['pmoptions']">
          				<fieldset class="fieldset">
          					<legend><label for="cb_receivepm">$vbphrase[private_messaging]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>
          							<phrase 1="private.php$session[sessionurl_q]">$vbphrase[features_private_messaging_system]</phrase>
          						</td>
          					</tr>
          					<tr>
          						<td><label for="cb_receivepm"><input type="checkbox" name="options[receivepm]" value="1" id="cb_receivepm" onclick="toggle_disabled(this.checked, 'pmoptions')" $checked[receivepm] />$vbphrase[enable_private_messaging]</label><input type="hidden" name="set_options[receivepm]" value="1" /></td>
          					</tr>
          					<tbody id="pmoptions"<if condition="!$bbuserinfo[receivepm]"> disabled="disabled"</if>>
          						<tr>
          							<td><br />$vbphrase[can_email_when_sends_you_pm]</td>
          						</tr>
          						<tr>
          							<td><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></td>
          						</tr>
          						<tr>
          							<td><br />$vbphrase[browsing_when_receive_pm_popup]</td>
          						</tr>
          						<tr>
          							<td><label for="cb_pmpopup"><input type="checkbox" name="pmpopup" value="1" id="cb_pmpopup" $checked[pmpopup] />$vbphrase[show_pm_popup]</label></td>
          						</tr>
          					</tbody>
          					</table>
          				</fieldset>
          				<else />
          				<input type="hidden" name="options[receivepm]" value="$bbuserinfo[receivepm]" />
          				<input type="hidden" name="options[emailonpm]" value="$bbuserinfo[emailonpm]" />
          				<input type="hidden" name="pmpopup" value="$bbuserinfo[pmpopup]" />
          				</if>
           
          				$customfields[messaging]
           
          			</div>
          		</div>
          		</td>
          	</tr>
          </tbody>
          </table>
           
          <br />
           
          <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
          <thead>
          	<tr>
          		<td class="thead">
          			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_thrd')"><img id="collapseimg_uopt_thrd" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_thrd].gif" alt="" border="0" /></a>
          			$vbphrase[thread_display_options]
          		</td>
          	</tr>
          </thead>
          <tbody id="collapseobj_uopt_thrd" style="$vbcollapse[collapseobj_uopt_thrd]">
          	<tr>
          		<td class="panelsurround" align="center">
          		<div class="panel">
          			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
           
          				<fieldset class="fieldset">
          					<legend>$vbphrase[visible_post_elements]</legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>$vbphrase[option_to_hide_elements]</td>
          					</tr>
          					<tr>
          						<td>
          							<div><label for="cb_showsignatures"><input type="checkbox" name="options[showsignatures]" value="1" id="cb_showsignatures" $checked[showsignatures] />$vbphrase[show_signatures]</label><input type="hidden" name="set_options[showsignatures]" value="1" /></div>
          							<div><label for="cb_showavatars"><input type="checkbox" name="options[showavatars]" value="1" id="cb_showavatars" $checked[showavatars] />$vbphrase[show_avatars]</label><input type="hidden" name="set_options[showavatars]" value="1" /></div>
          							<div><label for="cb_showimages"><input type="checkbox" name="options[showimages]" value="1" id="cb_showimages" $checked[showimages] />$vbphrase[show_images] ($vbphrase[including_attached_and_img_code])</label><input type="hidden" name="set_options[showimages]" value="1" /></div>
          						</td>
          					</tr>
          					</table>
          				</fieldset>
           
          				<fieldset class="fieldset">
          					<legend><label for="sel_threadedmode">$vbphrase[thread_display_mode]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td><phrase 1="faq.php?$session[sessionurl]faq=vb_board_usage#faq_vb_threadedmode">$vbphrase[choose_thread_display_mode]</phrase></td>
          					</tr>
          					<tr>
          						<td>
          							<span style="float:$stylevar[right]">
          							<select name="threadedmode" id="sel_threadedmode">
          								<option value="0" $threaddisplaymode[0]>$vbphrase[linear] - $vbphrase[oldest_first]</option>
          								<option value="3" $threaddisplaymode[3]>$vbphrase[linear] - $vbphrase[newest_first]</option>
          								<if condition="$vboptions['allowthreadedmode']">
          								<option value="1" $threaddisplaymode[1]>$vbphrase[threaded]</option>
          								<option value="2" $threaddisplaymode[2]>$vbphrase[hybrid]</option>
          								</if>
          							</select>
          							</span>
          							<label for="sel_threadedmode">$vbphrase[thread_display_mode]:</label>
          						</td>
          					</tr>
          					</table>
          				</fieldset>
           
          				<fieldset class="fieldset">
          					<legend><label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>$vbphrase[use_set_posts_before_splitting]</td>
          					</tr>
          					<tr>
          						<td>
          							<span style="float:$stylevar[right]">
          							<select name="umaxposts" id="sel_umaxposts">
          								<option value="-1" $postsdefaultselected>$vbphrase[use_forum_default]</option>
          								$maxpostsoptions
          							</select>
          							</span>
          							<label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]:</label>
          						</td>
          					</tr>
          					</table>
          				</fieldset>
           
          				<fieldset class="fieldset">
          					<legend><label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>$vbphrase[time_period_to_display_threads]</td>
          					</tr>
          					<tr>
          						<td>
          							<span style="float:$stylevar[right]">
          							<select name="prunedays" id="sel_prunedays">
          								<option value="0" $daysdefaultselected>$vbphrase[use_forum_default]</option>
          								<option value="1" $days1selected>$vbphrase[show_threads_from_last_day]</option>
          								<option value="2" $days2selected><phrase 1="2">$vbphrase[show_threads_from_last_x_days]</phrase></option>
          								<option value="7" $days7selected>$vbphrase[show_threads_from_last_week]</option>
          								<option value="10" $days10selected><phrase 1="10">$vbphrase[show_threads_from_last_x_days]</phrase></option>
          								<option value="14" $days14selected><phrase 1="2">$vbphrase[show_threads_from_last_x_weeks]</phrase></option>
          								<option value="30" $days30selected>$vbphrase[show_threads_from_last_month]</option>
          								<option value="45" $days45selected><phrase 1="45">$vbphrase[show_threads_from_last_x_days]</phrase></option>
          								<option value="60" $days60selected><phrase 1="2">$vbphrase[show_threads_from_last_x_months]</phrase></option>
          								<option value="75" $days75selected><phrase 1="75">$vbphrase[show_threads_from_last_x_days]</phrase></option>
          								<option value="100" $days100selected><phrase 1="100">$vbphrase[show_threads_from_last_x_days]</phrase></option>
          								<option value="365" $days365selected>$vbphrase[show_threads_from_last_year]</option>
          								<option value="-1" $daysallselected>$vbphrase[show_all_threads]</option>
          							</select>
          							</span>
          							<label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]:</label>
          						</td>
          					</tr>
          					</table>
          				</fieldset>
           
          				$customfields[threadview]
           
          			</div>
          		</div>
          		</td>
          	</tr>
          </tbody>
          </table>
           
          <br />
           
          <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
          <thead>
          	<tr>
          		<td class="thead">
          			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_date')"><img id="collapseimg_uopt_date" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_date].gif" alt="" border="0" /></a>
          			$vbphrase[date_time_options]
          		</td>
          	</tr>
          </thead>
          <tbody id="collapseobj_uopt_date" style="$vbcollapse[collapseobj_uopt_date]">
          	<tr>
          		<td class="panelsurround" align="center">
          		<div class="panel">
          			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
           
          				$timezoneoptions
           
          				<fieldset class="fieldset">
          					<legend><label for="sel_startofweek">$vbphrase[start_of_the_week]</label></legend>
          					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          					<tr>
          						<td>$vbphrase[parts_use_different_start_of_week]</td>
          					</tr>
          					<tr>
          						<td>
          							<span style="float:$stylevar[right]">
          							<select name="startofweek" id="sel_startofweek">
          								<option value="1" $day1selected>$vbphrase[sunday]</option>
          								<option value="2" $day2selected>$vbphrase[monday]</option>
          								<option value="3" $day3selected>$vbphrase[tuesday]</option>
          								<option value="4" $day4selected>$vbphrase[wednesday]</option>
          								<option value="5" $day5selected>$vbphrase[thursday]</option>
          								<option value="6" $day6selected>$vbphrase[friday]</option>
          								<option value="7" $day7selected>$vbphrase[saturday]</option>
          							</select>
          							</span>
          							<label for="sel_startofweek">$vbphrase[start_of_the_week]:</label>
          						</td>
          					</tr>
          					</table>
          				</fieldset>
           
          				$customfields[datetime]
           
          			</div>
          		</div>
          		</td>
          	</tr>
          </tbody>
          </table>
           
          <br />
           
          <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
          <tr>
          	<td class="thead">
          		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
          		$vbphrase[miscellaneous_options]
          	</td>
          </tr>
          <tr>
          	<td class="panelsurround" align="center">
          	<div class="panel" id="collapseobj_uopt_misc" style="$vbcollapse[collapseobj_uopt_misc]">
          		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
           
          			<fieldset class="fieldset">
          				<legend><label for="sel_showvbcode">$vbphrase[message_editor_interface]</label></legend>
          				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          				<tr>
          					<td>$vbphrase[entering_message_three_interface]</td>
          				</tr>
          				<tr>
          					<td>
          						<span style="float:$stylevar[right]">
          						<select name="showvbcode" id="sel_showvbcode">
          							<option value="0" $selectvbcode[0]>$vbphrase[basic_editor_simple_text_box]</option>
          							<option value="1" $selectvbcode[1]>$vbphrase[standard_editor_extra_formatting]</option>
          							<option value="2" $selectvbcode[2]>$vbphrase[enhanced_interface_wysiwyg]</option>
          						</select>
          						</span>
          						<label for="sel_showvbcode">$vbphrase[message_editor_interface]:</label>
          					</td>
          				</tr>
          				</table>
          			</fieldset>
           
          			<if condition="$show['styleoption']">
          			<fieldset class="fieldset">
          				<legend><label for="sel_newstyleset">$vbphrase[board_skin]</label></legend>
          				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          				<tr>
          					<td>
          						$vbphrase[switch_skin_select]
          					</td>
          				</tr>
          				<tr>
          					<td>
          						<span style="float:$stylevar[right]">
          						<select name="newstyleset" id="sel_newstyleset">
          							$stylesetlist
          						</select>
          						</span>
          						<label for="sel_newstyleset">$vbphrase[board_skin]:</label>
          					</td>
          				</tr>
          				</table>
          			</fieldset>
          			</if>
           
          			<if condition="$show['languageoption']">
          			<fieldset class="fieldset">
          				<legend><label for="sel_languageid">$vbphrase[board_language]</label></legend>
          				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
          				<tr>
          					<td>$vbphrase[board_can_be_shown_any_language]</td>
          				</tr>
          				<tr>
          					<td>
          						<span style="float:$stylevar[right]">
          						<select name="languageid" id="sel_languageid">
          							<option value="0">$vbphrase[use_forum_default]</option>
          							$languagelist
          						</select>
          						</span>
          						<label for="sel_languageid">$vbphrase[board_language]:</label>
          					</td>
          				</tr>
          				</table>
          			</fieldset>
          			</if>
           
          			$customfields[other]
           
          		</div>
          	</div>
           
          	<div style="margin-top:$stylevar[cellpadding]px">
          		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
          		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
          	</div>
          	</td>
          </tr>
          </table>
           
          </form>
          profile.php on or around line 1076

          replace this chunk of code...
          Code:
          // ############################### start update options ###############################
          if ($_POST['do'] == 'updateoptions')
          {
          	require_once(DIR . '/includes/functions_misc.php');
          	$vbulletin->input->clean_array_gpc('p', array(
          		'newstyleset' => TYPE_INT,
          		'dst' => TYPE_INT,
          		'showvbcode' => TYPE_INT,
          		'pmpopup' => TYPE_INT,
          		'umaxposts' => TYPE_INT,
          		'prunedays' => TYPE_INT,
          		'timezoneoffset' => TYPE_NUM,
          		'startofweek' => TYPE_INT,
          		'languageid' => TYPE_INT,
          		'threadedmode' => TYPE_INT,
          		'invisible' => TYPE_INT,
          		'autosubscribe' => TYPE_INT,
          		'options' => TYPE_ARRAY_BOOL,
          		'modifyavatar' => TYPE_NOCLEAN,
          		'userfield' => TYPE_ARRAY
          	));
          with this chunk of code
          Code:
          // ############################### start update options ###############################
          if ($_POST['do'] == 'updateoptions')
          {
          	require_once(DIR . '/includes/functions_misc.php');
          	$vbulletin->input->clean_array_gpc('p', array(
          		'newstyleset' => TYPE_INT,
          		'dst' => TYPE_INT,
          		'showvbcode' => TYPE_INT,
          		'pmpopup' => TYPE_INT,
          		'umaxposts' => TYPE_INT,
          		'prunedays' => TYPE_INT,
          		'timezoneoffset' => TYPE_NUM,
          		'startofweek' => TYPE_INT,
          		'languageid' => TYPE_INT,
          		'threadedmode' => TYPE_INT,
          		'invisible' => TYPE_INT,
          		'autosubscribe' => TYPE_INT,
          		'options' => TYPE_ARRAY_BOOL,
          		'set_options' => TYPE_ARRAY_BOOL,
          		'modifyavatar' => TYPE_NOCLEAN,
          		'userfield' => TYPE_ARRAY
          	));
          on or around line 1108
          replace this chunk of code

          Code:
          	// options bitfield
          	foreach ($vbulletin->bf_misc_useroptions AS $key => $val)
          	{
          		if (isset($vbulletin->GPC['options']["$key"]))
          		{
          			$value = $vbulletin->GPC['options']["$key"];
          		}
          		else
          		{
          			$value = $vbulletin->userinfo["$key"];
          		}
          		$userdata->set_bitfield('options', $key, $value);
          	}
          whis this...
          Code:
          	// options bitfield
          	foreach ($vbulletin->bf_misc_useroptions AS $key => $val)
          	{
          		if (isset($vbulletin->GPC['options']["$key"]) OR isset($vbulletin->GPC['set_options']["$key"]))
          		{
          			$value = $vbulletin->GPC['options']["$key"];
          			$userdata->set_bitfield('options', $key, $value);
          		}
          	}
          Last edited by Zonex; Wed 20 Jul '05, 12:54am.

          Comment

          • Joe Gronlund
            Senior Member
            • Nov 2001
            • 5789
            • 3.8.x

            #6
            Thank you so much for you help, it now works.
            But what about when the next vBulletin release comes out, with the new profile.php?

            Is it going to stop working again???

            Thanks Again

            Much Appreciated...
            MCSE, MVP, CCIE
            Microsoft Beta Team

            Comment

            • Zonex
              Senior Member
              • Dec 2004
              • 1127

              #7
              np
              no it should work
              the new profile.php will have those changes already added

              edit: forgot to mention
              when the new version comes out, click on find updated templates under style manager
              it will show the modifyoptions template as needing a revert
              click on revert
              Last edited by Zonex; Sat 16 Jul '05, 10:23am.

              Comment

              • Joe Gronlund
                Senior Member
                • Nov 2001
                • 5789
                • 3.8.x

                #8
                Ok will do..

                Thanks again..
                MCSE, MVP, CCIE
                Microsoft Beta Team

                Comment

                • .Tim
                  Member
                  • Feb 2005
                  • 94
                  • 3.6.x

                  #9
                  Originally posted by Zonex
                  here, i did it on mine

                  modifyoptions template
                  Code:
                  <script type="text/javascript">
                  <!--
                  function toggle_disabled(status, objid)
                  {
                  	obj = fetch_object(objid);
                  	if (obj)
                  	{
                  		obj.disabled = (status ? false : true);
                  	}
                  }
                  //-->
                  </script>
                   
                  <form action="profile.php" method="post">
                  <input type="hidden" name="s" value="$session[dbsessionhash]" />
                  <input type="hidden" name="do" value="updateoptions" />
                   
                  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                  <thead>
                  <tr>
                  	<td class="tcat">$vbphrase[edit_options]<span class="normal">: $bbuserinfo[username]<span></td>
                  </tr>
                  <tr>
                  	<td class="thead">
                  		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_login')"><img id="collapseimg_uopt_login" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_login].gif" alt="" border="0" /></a>
                  		$vbphrase[login_privacy]
                  	</td>
                  </tr>
                  </thead>
                  <tbody id="collapseobj_uopt_login" style="$vbcollapse[collapseobj_uopt_login]">
                  	<tr>
                  		<td class="panelsurround" align="center">
                  		<div class="panel">
                  			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                   
                  				<if condition="$show['invisibleoption']">
                  				<fieldset class="fieldset">
                  					<legend><label for="cb_invisible">$vbphrase[use_invisible_mode]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>$vbphrase[invisible_mode_allows]</td>
                  					</tr>
                  					<tr>
                  						<td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
                  					</tr>
                  					</table>
                  				</fieldset>
                  				</if>
                   
                  				<if condition="$show['reputationoption']">
                  				<fieldset class="fieldset">
                  					<legend><label for="cb_showreputation">$vbphrase[show_my_reputation_level]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>
                  							<phrase 1="$bbuserinfo[reputation]">$vbphrase[current_reputation_level_is_displayed]</phrase>
                  						</td>
                  					</tr>
                  					<tr>
                  						<td><label for="cb_showreputation"><input type="checkbox" name="options[showreputation]" value="1" id="cb_showreputation" $checked[showreputation] />$vbphrase[show_my_reputation_level]</label><input type="hidden" name="set_options[showreputation]" value="1" /></td>
                  					</tr>
                  					</table>
                  				</fieldset>
                  				</if>
                   
                  				<fieldset class="fieldset">
                  					<legend><label for="cb_showvcard">$vbphrase[allow_vcard_download]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>
                  							$vbphrase[may_allow_users_tdownload_vcard]
                  						</td>
                  					</tr>
                  					<tr>
                  						<td><label for="cb_showvcard"><input type="checkbox" name="options[showvcard]" value="1" id="cb_showvcard" $checked[showvcard] />$vbphrase[allow_vcard_download]</label><input type="hidden" name="set_options[showvcard]" value="1" /></td>
                  					</tr>
                  					</table>
                  				</fieldset>
                   
                  				$customfields[login]
                   
                  			</div>
                  		</div>
                  		</td>
                  	</tr>
                  </tbody>
                  </table>
                   
                  <br />
                   
                  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                  <thead>
                  <tr>
                  	<td class="thead">
                  		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_msg')"><img id="collapseimg_uopt_msg" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_msg].gif" alt="" border="0" /></a>
                  		$vbphrase[messaging_notification]
                  	</td>
                  </tr>
                  </thead>
                  <tbody id="collapseobj_uopt_msg" style="$vbcollapse[collapseobj_uopt_msg]">
                  	<tr>
                  		<td class="panelsurround" align="center">
                  		<div class="panel">
                  			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                   
                  				<fieldset class="fieldset">
                  					<legend>$vbphrase[receive_email]</legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>
                  							$vbphrase[administrators_may_send_email]
                  						</td>
                  					</tr>
                  					<tr>
                  						<td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checked[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label><input type="hidden" name="set_options[adminemail]" value="1" /></td>
                  					</tr>
                  					<if condition="$vboptions['enableemail']">
                  					<tr>
                  						<td><br />$vbphrase[allow_members_send_you_email]</td>
                  					</tr>
                  					<tr>
                  						<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checked[showemail] />$vbphrase[receive_email_from_other_members]</label><input type="hidden" name="set_options[showemail]" value="1" /></td>
                  					</tr>
                  					</if>
                  					</table>
                  				</fieldset>
                  				<if condition="!$vboptions['enableemail']">
                  				<input type="hidden" name="options[showemail]" value="$bbuserinfo[showemail]" />
                  				</if>
                   
                  				<fieldset class="fieldset">
                  					<legend><label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td><phrase 1="subscription.php$session[sessionurl_q]">$vbphrase[can_automatically_subscribe]</phrase></td>
                  					</tr>
                  					<tr>
                  						<td>
                  							<span style="float:$stylevar[right]">
                  							<select name="autosubscribe" id="sel_autosubscribe">
                  								<option value="-1" $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>
                  							</span>
                  							<label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]:</label>
                  						</td>
                  					</tr>
                  					</table>
                  				</fieldset>
                   
                  				<if condition="$show['pmoptions']">
                  				<fieldset class="fieldset">
                  					<legend><label for="cb_receivepm">$vbphrase[private_messaging]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>
                  							<phrase 1="private.php$session[sessionurl_q]">$vbphrase[features_private_messaging_system]</phrase>
                  						</td>
                  					</tr>
                  					<tr>
                  						<td><label for="cb_receivepm"><input type="checkbox" name="options[receivepm]" value="1" id="cb_receivepm" onclick="toggle_disabled(this.checked, 'pmoptions')" $checked[receivepm] />$vbphrase[enable_private_messaging]</label><input type="hidden" name="set_options[receivepm]" value="1" /></td>
                  					</tr>
                  					<tbody id="pmoptions"<if condition="!$bbuserinfo[receivepm]"> disabled="disabled"</if>>
                  						<tr>
                  							<td><br />$vbphrase[can_email_when_sends_you_pm]</td>
                  						</tr>
                  						<tr>
                  							<td><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></td>
                  						</tr>
                  						<tr>
                  							<td><br />$vbphrase[browsing_when_receive_pm_popup]</td>
                  						</tr>
                  						<tr>
                  							<td><label for="cb_pmpopup"><input type="checkbox" name="pmpopup" value="1" id="cb_pmpopup" $checked[pmpopup] />$vbphrase[show_pm_popup]</label></td>
                  						</tr>
                  					</tbody>
                  					</table>
                  				</fieldset>
                  				<else />
                  				<input type="hidden" name="options[receivepm]" value="$bbuserinfo[receivepm]" />
                  				<input type="hidden" name="options[emailonpm]" value="$bbuserinfo[emailonpm]" />
                  				<input type="hidden" name="pmpopup" value="$bbuserinfo[pmpopup]" />
                  				</if>
                   
                  				$customfields[messaging]
                   
                  			</div>
                  		</div>
                  		</td>
                  	</tr>
                  </tbody>
                  </table>
                   
                  <br />
                   
                  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                  <thead>
                  	<tr>
                  		<td class="thead">
                  			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_thrd')"><img id="collapseimg_uopt_thrd" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_thrd].gif" alt="" border="0" /></a>
                  			$vbphrase[thread_display_options]
                  		</td>
                  	</tr>
                  </thead>
                  <tbody id="collapseobj_uopt_thrd" style="$vbcollapse[collapseobj_uopt_thrd]">
                  	<tr>
                  		<td class="panelsurround" align="center">
                  		<div class="panel">
                  			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                   
                  				<fieldset class="fieldset">
                  					<legend>$vbphrase[visible_post_elements]</legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>$vbphrase[option_to_hide_elements]</td>
                  					</tr>
                  					<tr>
                  						<td>
                  							<div><label for="cb_showsignatures"><input type="checkbox" name="options[showsignatures]" value="1" id="cb_showsignatures" $checked[showsignatures] />$vbphrase[show_signatures]</label><input type="hidden" name="set_options[showsignatures]" value="1" /></div>
                  							<div><label for="cb_showavatars"><input type="checkbox" name="options[showavatars]" value="1" id="cb_showavatars" $checked[showavatars] />$vbphrase[show_avatars]</label><input type="hidden" name="set_options[showavatars]" value="1" /></div>
                  							<div><label for="cb_showimages"><input type="checkbox" name="options[showimages]" value="1" id="cb_showimages" $checked[showimages] />$vbphrase[show_images] ($vbphrase[including_attached_and_img_code])</label><input type="hidden" name="set_options[show_images]" value="1" /></div>
                  						</td>
                  					</tr>
                  					</table>
                  				</fieldset>
                   
                  				<fieldset class="fieldset">
                  					<legend><label for="sel_threadedmode">$vbphrase[thread_display_mode]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td><phrase 1="faq.php?$session[sessionurl]faq=vb_board_usage#faq_vb_threadedmode">$vbphrase[choose_thread_display_mode]</phrase></td>
                  					</tr>
                  					<tr>
                  						<td>
                  							<span style="float:$stylevar[right]">
                  							<select name="threadedmode" id="sel_threadedmode">
                  								<option value="0" $threaddisplaymode[0]>$vbphrase[linear] - $vbphrase[oldest_first]</option>
                  								<option value="3" $threaddisplaymode[3]>$vbphrase[linear] - $vbphrase[newest_first]</option>
                  								<if condition="$vboptions['allowthreadedmode']">
                  								<option value="1" $threaddisplaymode[1]>$vbphrase[threaded]</option>
                  								<option value="2" $threaddisplaymode[2]>$vbphrase[hybrid]</option>
                  								</if>
                  							</select>
                  							</span>
                  							<label for="sel_threadedmode">$vbphrase[thread_display_mode]:</label>
                  						</td>
                  					</tr>
                  					</table>
                  				</fieldset>
                   
                  				<fieldset class="fieldset">
                  					<legend><label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>$vbphrase[use_set_posts_before_splitting]</td>
                  					</tr>
                  					<tr>
                  						<td>
                  							<span style="float:$stylevar[right]">
                  							<select name="umaxposts" id="sel_umaxposts">
                  								<option value="-1" $postsdefaultselected>$vbphrase[use_forum_default]</option>
                  								$maxpostsoptions
                  							</select>
                  							</span>
                  							<label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]:</label>
                  						</td>
                  					</tr>
                  					</table>
                  				</fieldset>
                   
                  				<fieldset class="fieldset">
                  					<legend><label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>$vbphrase[time_period_to_display_threads]</td>
                  					</tr>
                  					<tr>
                  						<td>
                  							<span style="float:$stylevar[right]">
                  							<select name="prunedays" id="sel_prunedays">
                  								<option value="0" $daysdefaultselected>$vbphrase[use_forum_default]</option>
                  								<option value="1" $days1selected>$vbphrase[show_threads_from_last_day]</option>
                  								<option value="2" $days2selected><phrase 1="2">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                  								<option value="7" $days7selected>$vbphrase[show_threads_from_last_week]</option>
                  								<option value="10" $days10selected><phrase 1="10">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                  								<option value="14" $days14selected><phrase 1="2">$vbphrase[show_threads_from_last_x_weeks]</phrase></option>
                  								<option value="30" $days30selected>$vbphrase[show_threads_from_last_month]</option>
                  								<option value="45" $days45selected><phrase 1="45">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                  								<option value="60" $days60selected><phrase 1="2">$vbphrase[show_threads_from_last_x_months]</phrase></option>
                  								<option value="75" $days75selected><phrase 1="75">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                  								<option value="100" $days100selected><phrase 1="100">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                  								<option value="365" $days365selected>$vbphrase[show_threads_from_last_year]</option>
                  								<option value="-1" $daysallselected>$vbphrase[show_all_threads]</option>
                  							</select>
                  							</span>
                  							<label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]:</label>
                  						</td>
                  					</tr>
                  					</table>
                  				</fieldset>
                   
                  				$customfields[threadview]
                   
                  			</div>
                  		</div>
                  		</td>
                  	</tr>
                  </tbody>
                  </table>
                   
                  <br />
                   
                  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                  <thead>
                  	<tr>
                  		<td class="thead">
                  			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_date')"><img id="collapseimg_uopt_date" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_date].gif" alt="" border="0" /></a>
                  			$vbphrase[date_time_options]
                  		</td>
                  	</tr>
                  </thead>
                  <tbody id="collapseobj_uopt_date" style="$vbcollapse[collapseobj_uopt_date]">
                  	<tr>
                  		<td class="panelsurround" align="center">
                  		<div class="panel">
                  			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                   
                  				$timezoneoptions
                   
                  				<fieldset class="fieldset">
                  					<legend><label for="sel_startofweek">$vbphrase[start_of_the_week]</label></legend>
                  					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  					<tr>
                  						<td>$vbphrase[parts_use_different_start_of_week]</td>
                  					</tr>
                  					<tr>
                  						<td>
                  							<span style="float:$stylevar[right]">
                  							<select name="startofweek" id="sel_startofweek">
                  								<option value="1" $day1selected>$vbphrase[sunday]</option>
                  								<option value="2" $day2selected>$vbphrase[monday]</option>
                  								<option value="3" $day3selected>$vbphrase[tuesday]</option>
                  								<option value="4" $day4selected>$vbphrase[wednesday]</option>
                  								<option value="5" $day5selected>$vbphrase[thursday]</option>
                  								<option value="6" $day6selected>$vbphrase[friday]</option>
                  								<option value="7" $day7selected>$vbphrase[saturday]</option>
                  							</select>
                  							</span>
                  							<label for="sel_startofweek">$vbphrase[start_of_the_week]:</label>
                  						</td>
                  					</tr>
                  					</table>
                  				</fieldset>
                   
                  				$customfields[datetime]
                   
                  			</div>
                  		</div>
                  		</td>
                  	</tr>
                  </tbody>
                  </table>
                   
                  <br />
                   
                  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                  <tr>
                  	<td class="thead">
                  		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
                  		$vbphrase[miscellaneous_options]
                  	</td>
                  </tr>
                  <tr>
                  	<td class="panelsurround" align="center">
                  	<div class="panel" id="collapseobj_uopt_misc" style="$vbcollapse[collapseobj_uopt_misc]">
                  		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                   
                  			<fieldset class="fieldset">
                  				<legend><label for="sel_showvbcode">$vbphrase[message_editor_interface]</label></legend>
                  				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  				<tr>
                  					<td>$vbphrase[entering_message_three_interface]</td>
                  				</tr>
                  				<tr>
                  					<td>
                  						<span style="float:$stylevar[right]">
                  						<select name="showvbcode" id="sel_showvbcode">
                  							<option value="0" $selectvbcode[0]>$vbphrase[basic_editor_simple_text_box]</option>
                  							<option value="1" $selectvbcode[1]>$vbphrase[standard_editor_extra_formatting]</option>
                  							<option value="2" $selectvbcode[2]>$vbphrase[enhanced_interface_wysiwyg]</option>
                  						</select>
                  						</span>
                  						<label for="sel_showvbcode">$vbphrase[message_editor_interface]:</label>
                  					</td>
                  				</tr>
                  				</table>
                  			</fieldset>
                   
                  			<if condition="$show['styleoption']">
                  			<fieldset class="fieldset">
                  				<legend><label for="sel_newstyleset">$vbphrase[board_skin]</label></legend>
                  				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  				<tr>
                  					<td>
                  						$vbphrase[switch_skin_select]
                  					</td>
                  				</tr>
                  				<tr>
                  					<td>
                  						<span style="float:$stylevar[right]">
                  						<select name="newstyleset" id="sel_newstyleset">
                  							$stylesetlist
                  						</select>
                  						</span>
                  						<label for="sel_newstyleset">$vbphrase[board_skin]:</label>
                  					</td>
                  				</tr>
                  				</table>
                  			</fieldset>
                  			</if>
                   
                  			<if condition="$show['languageoption']">
                  			<fieldset class="fieldset">
                  				<legend><label for="sel_languageid">$vbphrase[board_language]</label></legend>
                  				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                  				<tr>
                  					<td>$vbphrase[board_can_be_shown_any_language]</td>
                  				</tr>
                  				<tr>
                  					<td>
                  						<span style="float:$stylevar[right]">
                  						<select name="languageid" id="sel_languageid">
                  							<option value="0">$vbphrase[use_forum_default]</option>
                  							$languagelist
                  						</select>
                  						</span>
                  						<label for="sel_languageid">$vbphrase[board_language]:</label>
                  					</td>
                  				</tr>
                  				</table>
                  			</fieldset>
                  			</if>
                   
                  			$customfields[other]
                   
                  		</div>
                  	</div>
                   
                  	<div style="margin-top:$stylevar[cellpadding]px">
                  		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
                  		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
                  	</div>
                  	</td>
                  </tr>
                  </table>
                   
                  </form>
                  profile.php on or around line 1076

                  replace this chunk of code...
                  Code:
                  // ############################### start update options ###############################
                  if ($_POST['do'] == 'updateoptions')
                  {
                  	require_once(DIR . '/includes/functions_misc.php');
                  	$vbulletin->input->clean_array_gpc('p', array(
                  		'newstyleset' => TYPE_INT,
                  		'dst' => TYPE_INT,
                  		'showvbcode' => TYPE_INT,
                  		'pmpopup' => TYPE_INT,
                  		'umaxposts' => TYPE_INT,
                  		'prunedays' => TYPE_INT,
                  		'timezoneoffset' => TYPE_NUM,
                  		'startofweek' => TYPE_INT,
                  		'languageid' => TYPE_INT,
                  		'threadedmode' => TYPE_INT,
                  		'invisible' => TYPE_INT,
                  		'autosubscribe' => TYPE_INT,
                  		'options' => TYPE_ARRAY_BOOL,
                  		'modifyavatar' => TYPE_NOCLEAN,
                  		'userfield' => TYPE_ARRAY
                  	));
                  with this chunk of code
                  Code:
                  // ############################### start update options ###############################
                  if ($_POST['do'] == 'updateoptions')
                  {
                  	require_once(DIR . '/includes/functions_misc.php');
                  	$vbulletin->input->clean_array_gpc('p', array(
                  		'newstyleset' => TYPE_INT,
                  		'dst' => TYPE_INT,
                  		'showvbcode' => TYPE_INT,
                  		'pmpopup' => TYPE_INT,
                  		'umaxposts' => TYPE_INT,
                  		'prunedays' => TYPE_INT,
                  		'timezoneoffset' => TYPE_NUM,
                  		'startofweek' => TYPE_INT,
                  		'languageid' => TYPE_INT,
                  		'threadedmode' => TYPE_INT,
                  		'invisible' => TYPE_INT,
                  		'autosubscribe' => TYPE_INT,
                  		'options' => TYPE_ARRAY_BOOL,
                  		'set_options' => TYPE_ARRAY_BOOL,
                  		'modifyavatar' => TYPE_NOCLEAN,
                  		'userfield' => TYPE_ARRAY
                  	));
                  on or around line 1108
                  replace this chunk of code

                  Code:
                  	// options bitfield
                  	foreach ($vbulletin->bf_misc_useroptions AS $key => $val)
                  	{
                  		if (isset($vbulletin->GPC['options']["$key"]))
                  		{
                  			$value = $vbulletin->GPC['options']["$key"];
                  		}
                  		else
                  		{
                  			$value = $vbulletin->userinfo["$key"];
                  		}
                  		$userdata->set_bitfield('options', $key, $value);
                  	}
                  whis this...
                  Code:
                  	// options bitfield
                  	foreach ($vbulletin->bf_misc_useroptions AS $key => $val)
                  	{
                  		if (isset($vbulletin->GPC['options']["$key"]) OR isset($vbulletin->GPC['set_options']["$key"]))
                  		{
                  			$value = $vbulletin->GPC['options']["$key"];
                  			$userdata->set_bitfield('options', $key, $value);
                  		}
                  	}
                  I'm having the same problem and doing this fixed it for everything except the images box. Everything else saves just fine but that one.
                  Serious Internets

                  Comment

                  • brinnie

                    #10
                    Originally posted by Zonex
                    Requires revert? Yes, very important.
                    Zonex, what does that mean?

                    Comment

                    • brinnie

                      #11
                      Originally posted by .Tim
                      I'm having the same problem and doing this fixed it for everything except the images box. Everything else saves just fine but that one.
                      same here. Images box = no go.

                      Comment

                      • Zonex
                        Senior Member
                        • Dec 2004
                        • 1127

                        #12
                        Originally posted by .Tim
                        I'm having the same problem and doing this fixed it for everything except the images box. Everything else saves just fine but that one.
                        sorry, i had show_images instead of showimages

                        heres the fixed one...
                        Code:
                        <script type="text/javascript">
                        <!--
                        function toggle_disabled(status, objid)
                        {
                        	obj = fetch_object(objid);
                        	if (obj)
                        	{
                        		obj.disabled = (status ? false : true);
                        	}
                        }
                        //-->
                        </script>
                         
                        <form action="profile.php" method="post">
                        <input type="hidden" name="s" value="$session[dbsessionhash]" />
                        <input type="hidden" name="do" value="updateoptions" />
                         
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <thead>
                        <tr>
                        	<td class="tcat">$vbphrase[edit_options]<span class="normal">: $bbuserinfo[username]<span></td>
                        </tr>
                        <tr>
                        	<td class="thead">
                        		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_login')"><img id="collapseimg_uopt_login" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_login].gif" alt="" border="0" /></a>
                        		$vbphrase[login_privacy]
                        	</td>
                        </tr>
                        </thead>
                        <tbody id="collapseobj_uopt_login" style="$vbcollapse[collapseobj_uopt_login]">
                        	<tr>
                        		<td class="panelsurround" align="center">
                        		<div class="panel">
                        			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                         
                        				<if condition="$show['invisibleoption']">
                        				<fieldset class="fieldset">
                        					<legend><label for="cb_invisible">$vbphrase[use_invisible_mode]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>$vbphrase[invisible_mode_allows]</td>
                        					</tr>
                        					<tr>
                        						<td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
                        					</tr>
                        					</table>
                        				</fieldset>
                        				</if>
                         
                        				<if condition="$show['reputationoption']">
                        				<fieldset class="fieldset">
                        					<legend><label for="cb_showreputation">$vbphrase[show_my_reputation_level]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>
                        							<phrase 1="$bbuserinfo[reputation]">$vbphrase[current_reputation_level_is_displayed]</phrase>
                        						</td>
                        					</tr>
                        					<tr>
                        						<td><label for="cb_showreputation"><input type="checkbox" name="options[showreputation]" value="1" id="cb_showreputation" $checked[showreputation] />$vbphrase[show_my_reputation_level]</label><input type="hidden" name="set_options[showreputation]" value="1" /></td>
                        					</tr>
                        					</table>
                        				</fieldset>
                        				</if>
                         
                        				<fieldset class="fieldset">
                        					<legend><label for="cb_showvcard">$vbphrase[allow_vcard_download]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>
                        							$vbphrase[may_allow_users_tdownload_vcard]
                        						</td>
                        					</tr>
                        					<tr>
                        						<td><label for="cb_showvcard"><input type="checkbox" name="options[showvcard]" value="1" id="cb_showvcard" $checked[showvcard] />$vbphrase[allow_vcard_download]</label><input type="hidden" name="set_options[showvcard]" value="1" /></td>
                        					</tr>
                        					</table>
                        				</fieldset>
                         
                        				$customfields[login]
                         
                        			</div>
                        		</div>
                        		</td>
                        	</tr>
                        </tbody>
                        </table>
                         
                        <br />
                         
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <thead>
                        <tr>
                        	<td class="thead">
                        		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_msg')"><img id="collapseimg_uopt_msg" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_msg].gif" alt="" border="0" /></a>
                        		$vbphrase[messaging_notification]
                        	</td>
                        </tr>
                        </thead>
                        <tbody id="collapseobj_uopt_msg" style="$vbcollapse[collapseobj_uopt_msg]">
                        	<tr>
                        		<td class="panelsurround" align="center">
                        		<div class="panel">
                        			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                         
                        				<fieldset class="fieldset">
                        					<legend>$vbphrase[receive_email]</legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>
                        							$vbphrase[administrators_may_send_email]
                        						</td>
                        					</tr>
                        					<tr>
                        						<td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checked[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label><input type="hidden" name="set_options[adminemail]" value="1" /></td>
                        					</tr>
                        					<if condition="$vboptions['enableemail']">
                        					<tr>
                        						<td><br />$vbphrase[allow_members_send_you_email]</td>
                        					</tr>
                        					<tr>
                        						<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checked[showemail] />$vbphrase[receive_email_from_other_members]</label><input type="hidden" name="set_options[showemail]" value="1" /></td>
                        					</tr>
                        					</if>
                        					</table>
                        				</fieldset>
                        				<if condition="!$vboptions['enableemail']">
                        				<input type="hidden" name="options[showemail]" value="$bbuserinfo[showemail]" />
                        				</if>
                         
                        				<fieldset class="fieldset">
                        					<legend><label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td><phrase 1="subscription.php$session[sessionurl_q]">$vbphrase[can_automatically_subscribe]</phrase></td>
                        					</tr>
                        					<tr>
                        						<td>
                        							<span style="float:$stylevar[right]">
                        							<select name="autosubscribe" id="sel_autosubscribe">
                        								<option value="-1" $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>
                        							</span>
                        							<label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]:</label>
                        						</td>
                        					</tr>
                        					</table>
                        				</fieldset>
                         
                        				<if condition="$show['pmoptions']">
                        				<fieldset class="fieldset">
                        					<legend><label for="cb_receivepm">$vbphrase[private_messaging]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>
                        							<phrase 1="private.php$session[sessionurl_q]">$vbphrase[features_private_messaging_system]</phrase>
                        						</td>
                        					</tr>
                        					<tr>
                        						<td><label for="cb_receivepm"><input type="checkbox" name="options[receivepm]" value="1" id="cb_receivepm" onclick="toggle_disabled(this.checked, 'pmoptions')" $checked[receivepm] />$vbphrase[enable_private_messaging]</label><input type="hidden" name="set_options[receivepm]" value="1" /></td>
                        					</tr>
                        					<tbody id="pmoptions"<if condition="!$bbuserinfo[receivepm]"> disabled="disabled"</if>>
                        						<tr>
                        							<td><br />$vbphrase[can_email_when_sends_you_pm]</td>
                        						</tr>
                        						<tr>
                        							<td><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></td>
                        						</tr>
                        						<tr>
                        							<td><br />$vbphrase[browsing_when_receive_pm_popup]</td>
                        						</tr>
                        						<tr>
                        							<td><label for="cb_pmpopup"><input type="checkbox" name="pmpopup" value="1" id="cb_pmpopup" $checked[pmpopup] />$vbphrase[show_pm_popup]</label></td>
                        						</tr>
                        					</tbody>
                        					</table>
                        				</fieldset>
                        				<else />
                        				<input type="hidden" name="options[receivepm]" value="$bbuserinfo[receivepm]" />
                        				<input type="hidden" name="options[emailonpm]" value="$bbuserinfo[emailonpm]" />
                        				<input type="hidden" name="pmpopup" value="$bbuserinfo[pmpopup]" />
                        				</if>
                         
                        				$customfields[messaging]
                         
                        			</div>
                        		</div>
                        		</td>
                        	</tr>
                        </tbody>
                        </table>
                         
                        <br />
                         
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <thead>
                        	<tr>
                        		<td class="thead">
                        			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_thrd')"><img id="collapseimg_uopt_thrd" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_thrd].gif" alt="" border="0" /></a>
                        			$vbphrase[thread_display_options]
                        		</td>
                        	</tr>
                        </thead>
                        <tbody id="collapseobj_uopt_thrd" style="$vbcollapse[collapseobj_uopt_thrd]">
                        	<tr>
                        		<td class="panelsurround" align="center">
                        		<div class="panel">
                        			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                         
                        				<fieldset class="fieldset">
                        					<legend>$vbphrase[visible_post_elements]</legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>$vbphrase[option_to_hide_elements]</td>
                        					</tr>
                        					<tr>
                        						<td>
                        							<div><label for="cb_showsignatures"><input type="checkbox" name="options[showsignatures]" value="1" id="cb_showsignatures" $checked[showsignatures] />$vbphrase[show_signatures]</label><input type="hidden" name="set_options[showsignatures]" value="1" /></div>
                        							<div><label for="cb_showavatars"><input type="checkbox" name="options[showavatars]" value="1" id="cb_showavatars" $checked[showavatars] />$vbphrase[show_avatars]</label><input type="hidden" name="set_options[showavatars]" value="1" /></div>
                        							<div><label for="cb_showimages"><input type="checkbox" name="options[showimages]" value="1" id="cb_showimages" $checked[showimages] />$vbphrase[show_images] ($vbphrase[including_attached_and_img_code])</label><input type="hidden" name="set_options[showimages]" value="1" /></div>
                        						</td>
                        					</tr>
                        					</table>
                        				</fieldset>
                         
                        				<fieldset class="fieldset">
                        					<legend><label for="sel_threadedmode">$vbphrase[thread_display_mode]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td><phrase 1="faq.php?$session[sessionurl]faq=vb_board_usage#faq_vb_threadedmode">$vbphrase[choose_thread_display_mode]</phrase></td>
                        					</tr>
                        					<tr>
                        						<td>
                        							<span style="float:$stylevar[right]">
                        							<select name="threadedmode" id="sel_threadedmode">
                        								<option value="0" $threaddisplaymode[0]>$vbphrase[linear] - $vbphrase[oldest_first]</option>
                        								<option value="3" $threaddisplaymode[3]>$vbphrase[linear] - $vbphrase[newest_first]</option>
                        								<if condition="$vboptions['allowthreadedmode']">
                        								<option value="1" $threaddisplaymode[1]>$vbphrase[threaded]</option>
                        								<option value="2" $threaddisplaymode[2]>$vbphrase[hybrid]</option>
                        								</if>
                        							</select>
                        							</span>
                        							<label for="sel_threadedmode">$vbphrase[thread_display_mode]:</label>
                        						</td>
                        					</tr>
                        					</table>
                        				</fieldset>
                         
                        				<fieldset class="fieldset">
                        					<legend><label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>$vbphrase[use_set_posts_before_splitting]</td>
                        					</tr>
                        					<tr>
                        						<td>
                        							<span style="float:$stylevar[right]">
                        							<select name="umaxposts" id="sel_umaxposts">
                        								<option value="-1" $postsdefaultselected>$vbphrase[use_forum_default]</option>
                        								$maxpostsoptions
                        							</select>
                        							</span>
                        							<label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]:</label>
                        						</td>
                        					</tr>
                        					</table>
                        				</fieldset>
                         
                        				<fieldset class="fieldset">
                        					<legend><label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>$vbphrase[time_period_to_display_threads]</td>
                        					</tr>
                        					<tr>
                        						<td>
                        							<span style="float:$stylevar[right]">
                        							<select name="prunedays" id="sel_prunedays">
                        								<option value="0" $daysdefaultselected>$vbphrase[use_forum_default]</option>
                        								<option value="1" $days1selected>$vbphrase[show_threads_from_last_day]</option>
                        								<option value="2" $days2selected><phrase 1="2">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                        								<option value="7" $days7selected>$vbphrase[show_threads_from_last_week]</option>
                        								<option value="10" $days10selected><phrase 1="10">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                        								<option value="14" $days14selected><phrase 1="2">$vbphrase[show_threads_from_last_x_weeks]</phrase></option>
                        								<option value="30" $days30selected>$vbphrase[show_threads_from_last_month]</option>
                        								<option value="45" $days45selected><phrase 1="45">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                        								<option value="60" $days60selected><phrase 1="2">$vbphrase[show_threads_from_last_x_months]</phrase></option>
                        								<option value="75" $days75selected><phrase 1="75">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                        								<option value="100" $days100selected><phrase 1="100">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                        								<option value="365" $days365selected>$vbphrase[show_threads_from_last_year]</option>
                        								<option value="-1" $daysallselected>$vbphrase[show_all_threads]</option>
                        							</select>
                        							</span>
                        							<label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]:</label>
                        						</td>
                        					</tr>
                        					</table>
                        				</fieldset>
                         
                        				$customfields[threadview]
                         
                        			</div>
                        		</div>
                        		</td>
                        	</tr>
                        </tbody>
                        </table>
                         
                        <br />
                         
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <thead>
                        	<tr>
                        		<td class="thead">
                        			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_date')"><img id="collapseimg_uopt_date" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_date].gif" alt="" border="0" /></a>
                        			$vbphrase[date_time_options]
                        		</td>
                        	</tr>
                        </thead>
                        <tbody id="collapseobj_uopt_date" style="$vbcollapse[collapseobj_uopt_date]">
                        	<tr>
                        		<td class="panelsurround" align="center">
                        		<div class="panel">
                        			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                         
                        				$timezoneoptions
                         
                        				<fieldset class="fieldset">
                        					<legend><label for="sel_startofweek">$vbphrase[start_of_the_week]</label></legend>
                        					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        					<tr>
                        						<td>$vbphrase[parts_use_different_start_of_week]</td>
                        					</tr>
                        					<tr>
                        						<td>
                        							<span style="float:$stylevar[right]">
                        							<select name="startofweek" id="sel_startofweek">
                        								<option value="1" $day1selected>$vbphrase[sunday]</option>
                        								<option value="2" $day2selected>$vbphrase[monday]</option>
                        								<option value="3" $day3selected>$vbphrase[tuesday]</option>
                        								<option value="4" $day4selected>$vbphrase[wednesday]</option>
                        								<option value="5" $day5selected>$vbphrase[thursday]</option>
                        								<option value="6" $day6selected>$vbphrase[friday]</option>
                        								<option value="7" $day7selected>$vbphrase[saturday]</option>
                        							</select>
                        							</span>
                        							<label for="sel_startofweek">$vbphrase[start_of_the_week]:</label>
                        						</td>
                        					</tr>
                        					</table>
                        				</fieldset>
                         
                        				$customfields[datetime]
                         
                        			</div>
                        		</div>
                        		</td>
                        	</tr>
                        </tbody>
                        </table>
                         
                        <br />
                         
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <tr>
                        	<td class="thead">
                        		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
                        		$vbphrase[miscellaneous_options]
                        	</td>
                        </tr>
                        <tr>
                        	<td class="panelsurround" align="center">
                        	<div class="panel" id="collapseobj_uopt_misc" style="$vbcollapse[collapseobj_uopt_misc]">
                        		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                         
                        			<fieldset class="fieldset">
                        				<legend><label for="sel_showvbcode">$vbphrase[message_editor_interface]</label></legend>
                        				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        				<tr>
                        					<td>$vbphrase[entering_message_three_interface]</td>
                        				</tr>
                        				<tr>
                        					<td>
                        						<span style="float:$stylevar[right]">
                        						<select name="showvbcode" id="sel_showvbcode">
                        							<option value="0" $selectvbcode[0]>$vbphrase[basic_editor_simple_text_box]</option>
                        							<option value="1" $selectvbcode[1]>$vbphrase[standard_editor_extra_formatting]</option>
                        							<option value="2" $selectvbcode[2]>$vbphrase[enhanced_interface_wysiwyg]</option>
                        						</select>
                        						</span>
                        						<label for="sel_showvbcode">$vbphrase[message_editor_interface]:</label>
                        					</td>
                        				</tr>
                        				</table>
                        			</fieldset>
                         
                        			<if condition="$show['styleoption']">
                        			<fieldset class="fieldset">
                        				<legend><label for="sel_newstyleset">$vbphrase[board_skin]</label></legend>
                        				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        				<tr>
                        					<td>
                        						$vbphrase[switch_skin_select]
                        					</td>
                        				</tr>
                        				<tr>
                        					<td>
                        						<span style="float:$stylevar[right]">
                        						<select name="newstyleset" id="sel_newstyleset">
                        							$stylesetlist
                        						</select>
                        						</span>
                        						<label for="sel_newstyleset">$vbphrase[board_skin]:</label>
                        					</td>
                        				</tr>
                        				</table>
                        			</fieldset>
                        			</if>
                         
                        			<if condition="$show['languageoption']">
                        			<fieldset class="fieldset">
                        				<legend><label for="sel_languageid">$vbphrase[board_language]</label></legend>
                        				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                        				<tr>
                        					<td>$vbphrase[board_can_be_shown_any_language]</td>
                        				</tr>
                        				<tr>
                        					<td>
                        						<span style="float:$stylevar[right]">
                        						<select name="languageid" id="sel_languageid">
                        							<option value="0">$vbphrase[use_forum_default]</option>
                        							$languagelist
                        						</select>
                        						</span>
                        						<label for="sel_languageid">$vbphrase[board_language]:</label>
                        					</td>
                        				</tr>
                        				</table>
                        			</fieldset>
                        			</if>
                         
                        			$customfields[other]
                         
                        		</div>
                        	</div>
                         
                        	<div style="margin-top:$stylevar[cellpadding]px">
                        		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
                        		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
                        	</div>
                        	</td>
                        </tr>
                        </table>
                         
                        </form>

                        Comment

                        • Zonex
                          Senior Member
                          • Dec 2004
                          • 1127

                          #13
                          Originally posted by brinnie
                          Zonex, what does that mean?
                          that means when the new version comes out you need to click on revert template if you have modified it

                          if you have applied the fix you should still revert it even though it may be the same as the updated one

                          Comment

                          • .Tim
                            Member
                            • Feb 2005
                            • 94
                            • 3.6.x

                            #14
                            Originally posted by Zonex
                            sorry, i had show_images instead of showimages

                            heres the fixed one...
                            Code:
                            <script type="text/javascript">
                            <!--
                            function toggle_disabled(status, objid)
                            {
                            	obj = fetch_object(objid);
                            	if (obj)
                            	{
                            		obj.disabled = (status ? false : true);
                            	}
                            }
                            //-->
                            </script>
                             
                            <form action="profile.php" method="post">
                            <input type="hidden" name="s" value="$session[dbsessionhash]" />
                            <input type="hidden" name="do" value="updateoptions" />
                             
                            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                            <thead>
                            <tr>
                            	<td class="tcat">$vbphrase[edit_options]<span class="normal">: $bbuserinfo[username]<span></td>
                            </tr>
                            <tr>
                            	<td class="thead">
                            		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_login')"><img id="collapseimg_uopt_login" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_login].gif" alt="" border="0" /></a>
                            		$vbphrase[login_privacy]
                            	</td>
                            </tr>
                            </thead>
                            <tbody id="collapseobj_uopt_login" style="$vbcollapse[collapseobj_uopt_login]">
                            	<tr>
                            		<td class="panelsurround" align="center">
                            		<div class="panel">
                            			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                             
                            				<if condition="$show['invisibleoption']">
                            				<fieldset class="fieldset">
                            					<legend><label for="cb_invisible">$vbphrase[use_invisible_mode]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>$vbphrase[invisible_mode_allows]</td>
                            					</tr>
                            					<tr>
                            						<td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
                            					</tr>
                            					</table>
                            				</fieldset>
                            				</if>
                             
                            				<if condition="$show['reputationoption']">
                            				<fieldset class="fieldset">
                            					<legend><label for="cb_showreputation">$vbphrase[show_my_reputation_level]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>
                            							<phrase 1="$bbuserinfo[reputation]">$vbphrase[current_reputation_level_is_displayed]</phrase>
                            						</td>
                            					</tr>
                            					<tr>
                            						<td><label for="cb_showreputation"><input type="checkbox" name="options[showreputation]" value="1" id="cb_showreputation" $checked[showreputation] />$vbphrase[show_my_reputation_level]</label><input type="hidden" name="set_options[showreputation]" value="1" /></td>
                            					</tr>
                            					</table>
                            				</fieldset>
                            				</if>
                             
                            				<fieldset class="fieldset">
                            					<legend><label for="cb_showvcard">$vbphrase[allow_vcard_download]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>
                            							$vbphrase[may_allow_users_tdownload_vcard]
                            						</td>
                            					</tr>
                            					<tr>
                            						<td><label for="cb_showvcard"><input type="checkbox" name="options[showvcard]" value="1" id="cb_showvcard" $checked[showvcard] />$vbphrase[allow_vcard_download]</label><input type="hidden" name="set_options[showvcard]" value="1" /></td>
                            					</tr>
                            					</table>
                            				</fieldset>
                             
                            				$customfields[login]
                             
                            			</div>
                            		</div>
                            		</td>
                            	</tr>
                            </tbody>
                            </table>
                             
                            <br />
                             
                            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                            <thead>
                            <tr>
                            	<td class="thead">
                            		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_msg')"><img id="collapseimg_uopt_msg" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_msg].gif" alt="" border="0" /></a>
                            		$vbphrase[messaging_notification]
                            	</td>
                            </tr>
                            </thead>
                            <tbody id="collapseobj_uopt_msg" style="$vbcollapse[collapseobj_uopt_msg]">
                            	<tr>
                            		<td class="panelsurround" align="center">
                            		<div class="panel">
                            			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                             
                            				<fieldset class="fieldset">
                            					<legend>$vbphrase[receive_email]</legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>
                            							$vbphrase[administrators_may_send_email]
                            						</td>
                            					</tr>
                            					<tr>
                            						<td><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checked[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label><input type="hidden" name="set_options[adminemail]" value="1" /></td>
                            					</tr>
                            					<if condition="$vboptions['enableemail']">
                            					<tr>
                            						<td><br />$vbphrase[allow_members_send_you_email]</td>
                            					</tr>
                            					<tr>
                            						<td><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checked[showemail] />$vbphrase[receive_email_from_other_members]</label><input type="hidden" name="set_options[showemail]" value="1" /></td>
                            					</tr>
                            					</if>
                            					</table>
                            				</fieldset>
                            				<if condition="!$vboptions['enableemail']">
                            				<input type="hidden" name="options[showemail]" value="$bbuserinfo[showemail]" />
                            				</if>
                             
                            				<fieldset class="fieldset">
                            					<legend><label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td><phrase 1="subscription.php$session[sessionurl_q]">$vbphrase[can_automatically_subscribe]</phrase></td>
                            					</tr>
                            					<tr>
                            						<td>
                            							<span style="float:$stylevar[right]">
                            							<select name="autosubscribe" id="sel_autosubscribe">
                            								<option value="-1" $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>
                            							</span>
                            							<label for="sel_autosubscribe">$vbphrase[default_thread_subscription_mode]:</label>
                            						</td>
                            					</tr>
                            					</table>
                            				</fieldset>
                             
                            				<if condition="$show['pmoptions']">
                            				<fieldset class="fieldset">
                            					<legend><label for="cb_receivepm">$vbphrase[private_messaging]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>
                            							<phrase 1="private.php$session[sessionurl_q]">$vbphrase[features_private_messaging_system]</phrase>
                            						</td>
                            					</tr>
                            					<tr>
                            						<td><label for="cb_receivepm"><input type="checkbox" name="options[receivepm]" value="1" id="cb_receivepm" onclick="toggle_disabled(this.checked, 'pmoptions')" $checked[receivepm] />$vbphrase[enable_private_messaging]</label><input type="hidden" name="set_options[receivepm]" value="1" /></td>
                            					</tr>
                            					<tbody id="pmoptions"<if condition="!$bbuserinfo[receivepm]"> disabled="disabled"</if>>
                            						<tr>
                            							<td><br />$vbphrase[can_email_when_sends_you_pm]</td>
                            						</tr>
                            						<tr>
                            							<td><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></td>
                            						</tr>
                            						<tr>
                            							<td><br />$vbphrase[browsing_when_receive_pm_popup]</td>
                            						</tr>
                            						<tr>
                            							<td><label for="cb_pmpopup"><input type="checkbox" name="pmpopup" value="1" id="cb_pmpopup" $checked[pmpopup] />$vbphrase[show_pm_popup]</label></td>
                            						</tr>
                            					</tbody>
                            					</table>
                            				</fieldset>
                            				<else />
                            				<input type="hidden" name="options[receivepm]" value="$bbuserinfo[receivepm]" />
                            				<input type="hidden" name="options[emailonpm]" value="$bbuserinfo[emailonpm]" />
                            				<input type="hidden" name="pmpopup" value="$bbuserinfo[pmpopup]" />
                            				</if>
                             
                            				$customfields[messaging]
                             
                            			</div>
                            		</div>
                            		</td>
                            	</tr>
                            </tbody>
                            </table>
                             
                            <br />
                             
                            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                            <thead>
                            	<tr>
                            		<td class="thead">
                            			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_thrd')"><img id="collapseimg_uopt_thrd" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_thrd].gif" alt="" border="0" /></a>
                            			$vbphrase[thread_display_options]
                            		</td>
                            	</tr>
                            </thead>
                            <tbody id="collapseobj_uopt_thrd" style="$vbcollapse[collapseobj_uopt_thrd]">
                            	<tr>
                            		<td class="panelsurround" align="center">
                            		<div class="panel">
                            			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                             
                            				<fieldset class="fieldset">
                            					<legend>$vbphrase[visible_post_elements]</legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>$vbphrase[option_to_hide_elements]</td>
                            					</tr>
                            					<tr>
                            						<td>
                            							<div><label for="cb_showsignatures"><input type="checkbox" name="options[showsignatures]" value="1" id="cb_showsignatures" $checked[showsignatures] />$vbphrase[show_signatures]</label><input type="hidden" name="set_options[showsignatures]" value="1" /></div>
                            							<div><label for="cb_showavatars"><input type="checkbox" name="options[showavatars]" value="1" id="cb_showavatars" $checked[showavatars] />$vbphrase[show_avatars]</label><input type="hidden" name="set_options[showavatars]" value="1" /></div>
                            							<div><label for="cb_showimages"><input type="checkbox" name="options[showimages]" value="1" id="cb_showimages" $checked[showimages] />$vbphrase[show_images] ($vbphrase[including_attached_and_img_code])</label><input type="hidden" name="set_options[showimages]" value="1" /></div>
                            						</td>
                            					</tr>
                            					</table>
                            				</fieldset>
                             
                            				<fieldset class="fieldset">
                            					<legend><label for="sel_threadedmode">$vbphrase[thread_display_mode]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td><phrase 1="faq.php?$session[sessionurl]faq=vb_board_usage#faq_vb_threadedmode">$vbphrase[choose_thread_display_mode]</phrase></td>
                            					</tr>
                            					<tr>
                            						<td>
                            							<span style="float:$stylevar[right]">
                            							<select name="threadedmode" id="sel_threadedmode">
                            								<option value="0" $threaddisplaymode[0]>$vbphrase[linear] - $vbphrase[oldest_first]</option>
                            								<option value="3" $threaddisplaymode[3]>$vbphrase[linear] - $vbphrase[newest_first]</option>
                            								<if condition="$vboptions['allowthreadedmode']">
                            								<option value="1" $threaddisplaymode[1]>$vbphrase[threaded]</option>
                            								<option value="2" $threaddisplaymode[2]>$vbphrase[hybrid]</option>
                            								</if>
                            							</select>
                            							</span>
                            							<label for="sel_threadedmode">$vbphrase[thread_display_mode]:</label>
                            						</td>
                            					</tr>
                            					</table>
                            				</fieldset>
                             
                            				<fieldset class="fieldset">
                            					<legend><label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>$vbphrase[use_set_posts_before_splitting]</td>
                            					</tr>
                            					<tr>
                            						<td>
                            							<span style="float:$stylevar[right]">
                            							<select name="umaxposts" id="sel_umaxposts">
                            								<option value="-1" $postsdefaultselected>$vbphrase[use_forum_default]</option>
                            								$maxpostsoptions
                            							</select>
                            							</span>
                            							<label for="sel_umaxposts">$vbphrase[posts_to_show_per_page]:</label>
                            						</td>
                            					</tr>
                            					</table>
                            				</fieldset>
                             
                            				<fieldset class="fieldset">
                            					<legend><label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>$vbphrase[time_period_to_display_threads]</td>
                            					</tr>
                            					<tr>
                            						<td>
                            							<span style="float:$stylevar[right]">
                            							<select name="prunedays" id="sel_prunedays">
                            								<option value="0" $daysdefaultselected>$vbphrase[use_forum_default]</option>
                            								<option value="1" $days1selected>$vbphrase[show_threads_from_last_day]</option>
                            								<option value="2" $days2selected><phrase 1="2">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                            								<option value="7" $days7selected>$vbphrase[show_threads_from_last_week]</option>
                            								<option value="10" $days10selected><phrase 1="10">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                            								<option value="14" $days14selected><phrase 1="2">$vbphrase[show_threads_from_last_x_weeks]</phrase></option>
                            								<option value="30" $days30selected>$vbphrase[show_threads_from_last_month]</option>
                            								<option value="45" $days45selected><phrase 1="45">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                            								<option value="60" $days60selected><phrase 1="2">$vbphrase[show_threads_from_last_x_months]</phrase></option>
                            								<option value="75" $days75selected><phrase 1="75">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                            								<option value="100" $days100selected><phrase 1="100">$vbphrase[show_threads_from_last_x_days]</phrase></option>
                            								<option value="365" $days365selected>$vbphrase[show_threads_from_last_year]</option>
                            								<option value="-1" $daysallselected>$vbphrase[show_all_threads]</option>
                            							</select>
                            							</span>
                            							<label for="sel_prunedays">$vbphrase[default_thread_age_cut_off]:</label>
                            						</td>
                            					</tr>
                            					</table>
                            				</fieldset>
                             
                            				$customfields[threadview]
                             
                            			</div>
                            		</div>
                            		</td>
                            	</tr>
                            </tbody>
                            </table>
                             
                            <br />
                             
                            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                            <thead>
                            	<tr>
                            		<td class="thead">
                            			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_date')"><img id="collapseimg_uopt_date" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_date].gif" alt="" border="0" /></a>
                            			$vbphrase[date_time_options]
                            		</td>
                            	</tr>
                            </thead>
                            <tbody id="collapseobj_uopt_date" style="$vbcollapse[collapseobj_uopt_date]">
                            	<tr>
                            		<td class="panelsurround" align="center">
                            		<div class="panel">
                            			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                             
                            				$timezoneoptions
                             
                            				<fieldset class="fieldset">
                            					<legend><label for="sel_startofweek">$vbphrase[start_of_the_week]</label></legend>
                            					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            					<tr>
                            						<td>$vbphrase[parts_use_different_start_of_week]</td>
                            					</tr>
                            					<tr>
                            						<td>
                            							<span style="float:$stylevar[right]">
                            							<select name="startofweek" id="sel_startofweek">
                            								<option value="1" $day1selected>$vbphrase[sunday]</option>
                            								<option value="2" $day2selected>$vbphrase[monday]</option>
                            								<option value="3" $day3selected>$vbphrase[tuesday]</option>
                            								<option value="4" $day4selected>$vbphrase[wednesday]</option>
                            								<option value="5" $day5selected>$vbphrase[thursday]</option>
                            								<option value="6" $day6selected>$vbphrase[friday]</option>
                            								<option value="7" $day7selected>$vbphrase[saturday]</option>
                            							</select>
                            							</span>
                            							<label for="sel_startofweek">$vbphrase[start_of_the_week]:</label>
                            						</td>
                            					</tr>
                            					</table>
                            				</fieldset>
                             
                            				$customfields[datetime]
                             
                            			</div>
                            		</div>
                            		</td>
                            	</tr>
                            </tbody>
                            </table>
                             
                            <br />
                             
                            <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                            <tr>
                            	<td class="thead">
                            		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
                            		$vbphrase[miscellaneous_options]
                            	</td>
                            </tr>
                            <tr>
                            	<td class="panelsurround" align="center">
                            	<div class="panel" id="collapseobj_uopt_misc" style="$vbcollapse[collapseobj_uopt_misc]">
                            		<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
                             
                            			<fieldset class="fieldset">
                            				<legend><label for="sel_showvbcode">$vbphrase[message_editor_interface]</label></legend>
                            				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            				<tr>
                            					<td>$vbphrase[entering_message_three_interface]</td>
                            				</tr>
                            				<tr>
                            					<td>
                            						<span style="float:$stylevar[right]">
                            						<select name="showvbcode" id="sel_showvbcode">
                            							<option value="0" $selectvbcode[0]>$vbphrase[basic_editor_simple_text_box]</option>
                            							<option value="1" $selectvbcode[1]>$vbphrase[standard_editor_extra_formatting]</option>
                            							<option value="2" $selectvbcode[2]>$vbphrase[enhanced_interface_wysiwyg]</option>
                            						</select>
                            						</span>
                            						<label for="sel_showvbcode">$vbphrase[message_editor_interface]:</label>
                            					</td>
                            				</tr>
                            				</table>
                            			</fieldset>
                             
                            			<if condition="$show['styleoption']">
                            			<fieldset class="fieldset">
                            				<legend><label for="sel_newstyleset">$vbphrase[board_skin]</label></legend>
                            				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            				<tr>
                            					<td>
                            						$vbphrase[switch_skin_select]
                            					</td>
                            				</tr>
                            				<tr>
                            					<td>
                            						<span style="float:$stylevar[right]">
                            						<select name="newstyleset" id="sel_newstyleset">
                            							$stylesetlist
                            						</select>
                            						</span>
                            						<label for="sel_newstyleset">$vbphrase[board_skin]:</label>
                            					</td>
                            				</tr>
                            				</table>
                            			</fieldset>
                            			</if>
                             
                            			<if condition="$show['languageoption']">
                            			<fieldset class="fieldset">
                            				<legend><label for="sel_languageid">$vbphrase[board_language]</label></legend>
                            				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                            				<tr>
                            					<td>$vbphrase[board_can_be_shown_any_language]</td>
                            				</tr>
                            				<tr>
                            					<td>
                            						<span style="float:$stylevar[right]">
                            						<select name="languageid" id="sel_languageid">
                            							<option value="0">$vbphrase[use_forum_default]</option>
                            							$languagelist
                            						</select>
                            						</span>
                            						<label for="sel_languageid">$vbphrase[board_language]:</label>
                            					</td>
                            				</tr>
                            				</table>
                            			</fieldset>
                            			</if>
                             
                            			$customfields[other]
                             
                            		</div>
                            	</div>
                             
                            	<div style="margin-top:$stylevar[cellpadding]px">
                            		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
                            		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
                            	</div>
                            	</td>
                            </tr>
                            </table>
                             
                            </form>
                            Thanks that fixed it.
                            Serious Internets

                            Comment

                            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                            Working...