vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   display options template (https://vborg.vbsupport.ru/showthread.php?t=180562)

tercede 05-26-2008 02:34 PM

display options template
 
In forum display template there should be a way to change the look of the table where it says "Display Options" near the bottom of the forum. Obviously its the part of the forum where one can sort threads in different ways.

I can't seem to find the file to edit that part of the template..any help would be appreciated. I have looked inside the forum display template..

Lynne 05-26-2008 03:40 PM

Go to vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

PyroNET 05-26-2008 09:28 PM

It's in there (In the FORUMDISPLAY template). Look for the comment "<!-- Active Users in this Forum (and sub-forums) and Moderators -->". The table holding the sorting options looks like

Code:

<table cellpadding="0" cellspacing="1" border="0">
<tr valign="bottom">
        <td class="smallfont" style="padding-$stylevar[right]:$stylevar[cellpadding]px">
                <div><label for="sel_sort">$vbphrase[sorted_by]</label></div>
                <select name="sort" id="sel_sort">
                        <option value="title" $sort[title]>$vbphrase[thread_title]</option>
                        <option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
                        <option value="dateline" $sort[dateline]>$vbphrase[thread_start_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-$stylevar[right]:$stylevar[cellpadding]px">
                <div><label for="sel_order">$vbphrase[sort_order]</label></div>
                <select name="order" id="sel_order">
                        <option value="asc" $order[asc]>$vbphrase[ascending]</option>
                        <option value="desc" $order[desc]>$vbphrase[descending]</option>
                </select>
        </td>
        <td class="smallfont">
                <div><label for="sel_daysprune">$vbphrase[from_the]</label></div>
                <select name="daysprune" id="sel_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>
</tr>
<tr valign="bottom">
        <td class="smallfont" colspan="2">
        <if condition="$prefix_options">
                <div><label for="sel_prefixid">$vbphrase[prefix]</label></div>
                <select name="prefixid" id="sel_prefixid">
                        <option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option>
                        <option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option>
                        $prefix_options
                </select>
        <else />
                &nbsp;
        </if>
        </td>
        <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px">
                <input type="submit" class="button" value="$vbphrase[show_threads]" />
        </td>
</tr>
</table>



All times are GMT. The time now is 09:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00933 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete