Announcement

Collapse
No announcement yet.

Turn off Display Options

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Turn off Display Options

    Is there a way to turn off the Display Options section when viewing a forum ?

  • #2
    Do you mean 'Display Mode'? If so:

    Admin CP -> vBulletin Options -> Threaded / Hybrid Mode Options (showthread) -> Enable Threaded / Hybrid Mode -> No
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      I mean the section called "Display Options" below the "Threads in Forum" section. It contains things like Sorted By, Sort Order and a Show Threads button.

      Comment


      • #4
        You can remove them with this template modification. Go to:

        Admin CP --> Styles & Templates --> Style Manager --> « » --> Forum Display Templates --> FORUMDISPLAY

        Find and remove:

        HTML Code:
        	<td class="tcat">$vbphrase[display_options]</td>
        Find and remove:

        HTML Code:
        	<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
        Then find and remove:

        HTML Code:
        	<td class="alt1">
        	
        		<table cellpadding="0" cellspacing="1" border="0" width="auto">
        		<tr>
        			<td class="smallfont" style="padding-right:6px">$vbphrase[sorted_by]</td>
        			<td><select name="sort">
        				<option value="title" $sort[title]>$vbphrase[thread_title]</option>
        				<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
        				<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
        				<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
        				<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
        				<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
        			</select></td>
        			<td class="smallfont" style="padding-right:6px; padding-left:12px">$vbphrase[sort_order]</td>
        			<td><select name="order">
        				<option value="asc" $order[asc]>$vbphrase[ascending]</option>
        				<option value="desc" $order[desc]>$vbphrase[descending]</option>
        			</select></td>
        		</tr>
        		<tr>
        			<td class="smallfont" style="padding-right:6px">$vbphrase[from_the]</td>
        			<td><select name="daysprune">
        				<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
        				<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
        				<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
        				<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
        				<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
        				<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
        				<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
        				<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
        				<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
        				<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
        				<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
        				<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
        			</select></td>
        			<td colspan="2" align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[show_threads]" /></td>
        		</tr>
        		</table>
        	
        	</td>
        Save the template and that section will be gone.

        Note: if you find that a little line appears at the end of the forum listing after this modification, do this. In the same template as above:

        Find:

        HTML Code:
        <!-- Active Users in this Forum (and sub-forums) and Moderators -->
        Replace it with:

        HTML Code:
        <if condition="$show['activeusers'] OR $show['moderators']">
        <!-- Active Users in this Forum (and sub-forums) and Moderators -->
        Find:

        HTML Code:
        <!-- End Active Users in this Forum (and sub-forums) and Moderators -->
        Replace it with:

        HTML Code:
        <!-- End Active Users in this Forum (and sub-forums) and Moderators -->
        </if>
        Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

        Comment


        • #5
          There is no switch to turn that off. You will need to manually edit the appropriate templates to remove this.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment


          • #6
            Wow - thanks. Is it ok to mess around with the templates like that ? I don't want to do any damage. Can I restore the original easily ?

            General question - what is considered a 'hack' and hence unsupported ?

            Thanks.

            Comment


            • #7
              it's unsupported when you start changing the php files.

              Editing Templates should be fine.

              Comment


              • #8
                It's fine to modify templates as they can always be reverted by clicking the [Revert] button next to the template.

                Hacks are when you actually modify the .php files; changing templates is fine though.
                Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

                Comment

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