Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Top Forum Display Options Details »»
Top Forum Display Options
Version: 1.00, by BRimagination BRimagination is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.x.x Rating:
Released: 12-05-2010 Last Update: Never Installs: 7
Template Edits
Re-useable Code Code Changes Translations Is in Beta Stage  
No support by the author.

This is my first template mod that I am submitting publicly. Using what little HTML and CSS I know with my programming knowhow, I put this together. This isn't the best coding and looking to improve on it. Let me know how I did!

Tested on Vbulletin 4.0.7

Why was this mod made?

This mod was inspired by kira's Display Options Above Threads - as seen on vbulletin.org. I decide to make this mod since I could not find one for Vbulletin 4.


What does this mod do?

This mod simply places the Forum Display Options dropdowns that were originally placed towards the bottom of the forums and moves them above the forum threads. I find it easier to to have the Forum Display Options at the top so that users can easily sort topics, especially if prefixes are used like VBulletin.org. See attachments for preview.


Instructions

1. Go to the FORUMDISPLAY Template. To get to this, follow directions below:
Admin CP -> Styles & Templates -> Style Manager -> Click << >> on the theme -> Forum Display Templates -> FORUMDISPLAY

2. When inside FORUMDISPLAY, look for the following code:
Code:
<div class="collapse">
		<a class="collapse" id="collapse_forum_options" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
		<h4 class="forumoptiontitle"><span class="optiontitle">{vb:rawphrase thread_display_options}</span></h4>
	</div>

3. Delete code beginning at
Code:
<div class="collapse">
		<a class="collapse" id="collapse_forum_options" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
		<h4 class="forumoptiontitle"><span class="optiontitle">{vb:rawphrase thread_display_options}</span></h4>
	</div>
...

all the way to

Code:
...
<div class="options_input_wrapper">
				<div class="options_input_block">
					<div class="group">
						<input type="submit" class="button" value="{vb:rawphrase show_threads}" />
					</div>
				</div>
			</div>
		</form>
	</div>

4. After deleting the above code, find the following code:
Code:
<div id="pagetitle" class="pagetitle">
	<h1>{vb:rawphrase forum}: <span class="forumtitle">{vb:raw foruminfo.title}</span></h1>
	<vb:if condition="$foruminfo['description']"><p class="description">{vb:raw foruminfo.description}</p></vb:if>
</div>

5. Next, add the following code above <div id="pagetitle" class="pagetitle"> :
Note: This includes a <style> tag, so if your theme uses one already, just place that part in the code into your <style> tag.
Code:
<!----   Top Forum Display Options  ---->
<style>
#top_display_options {
  width: 550px ;
  margin-left: auto ;
  margin-right: auto ;
}
</style>

<div id="top_display_options">
	<form id="forum_display_options" action="forumdisplay.php" method="get">
		<table>
		<tbody>
		<tr>
		<td><div>
				<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
				<input type="hidden" name="f" value="{vb:raw forumid}" />
				<input type="hidden" name="page" value="{vb:raw pagenumber}" />
				<input type="hidden" name="pp" value="{vb:raw perpage}" />
				<vb:if condition="$prefix_options">
					<div class="options_input_block">
						<select name="prefixid" class="primary" id="sel_prefixid">
							<option value="" {vb:raw prefix_selected.anythread}>{vb:rawphrase any_thread_meta}</option>
							<!--
							<option value="-2" {vb:raw prefix_selected.anyprefix}>{vb:rawphrase any_prefix_meta}</option>
							<option value="-1" {vb:raw prefix_selected.none}>{vb:rawphrase no_prefix_meta}</option>
							-->
							{vb:raw prefix_options}
						</select>
						</div>
				</vb:if>
			</div></td>
			<td><div>
				<div class="options_input_block">
					<select class="primary" id="sel_daysprune" name="daysprune">
						<option value="1" {vb:raw daysprunesel.1}>{vb:rawphrase last_day}</option>
						<option value="2" {vb:raw daysprunesel.2}>{vb:rawphrase last_2_days}</option>
						<option value="7" {vb:raw daysprunesel.7}>{vb:rawphrase last_week}</option>
						<option value="10" {vb:raw daysprunesel.10}>{vb:rawphrase last_10_days}</option>
						<option value="14" {vb:raw daysprunesel.14}>{vb:rawphrase last_2_weeks}</option>
						<option value="30" {vb:raw daysprunesel.0}>{vb:rawphrase last_month}</option>
						<option value="45" {vb:raw daysprunesel.45}>{vb:rawphrase last_45_days}</option>
						<option value="60" {vb:raw daysprunesel.60}>{vb:rawphrase last_2_months}</option>
						<option value="75" {vb:raw daysprunesel.75}>{vb:rawphrase last_75_days}</option>
						<option value="100" {vb:raw daysprunesel.100}>{vb:rawphrase last_100_days}</option>
						<option value="365" {vb:raw daysprunesel.365}>{vb:rawphrase last_year}</option>
						<option value="-1" {vb:raw daysprunesel.all}>{vb:rawphrase beginning}</option>
					</select>
					</div></td>
				<td><div class="options_input_block">
					<select class="primary" id="sel_sort" name="sort">
						<option value="title" {vb:raw sort.title}>{vb:rawphrase thread_title}</option>
						<option value="lastpost" {vb:raw sort.lastpost}>{vb:rawphrase last_post_time}</option>
						<option value="dateline" {vb:raw sort.dateline}>{vb:rawphrase thread_start_time}</option>
						<option value="replycount" {vb:raw sort.replycount}>{vb:rawphrase number_of_replies}</option>
						<option value="views" {vb:raw sort.views}>{vb:rawphrase number_of_views}</option>
						<option value="postusername" {vb:raw sort.postusername}>{vb:rawphrase thread_starter}</option>
						<vb:if condition="$show['threadratings']"><option value="voteavg" {vb:raw sort.voteavg}>{vb:rawphrase thread_rating}</option></vb:if>
					</select>
					</div></td>
				<!-- Converting Radio to Dropdown -->
				<td><div class="options_input_block">
					<select class="primary" id="sel_order" name="order">
						<option value="ascending" {vb:raw order.asc}>{vb:rawphrase ascending}</option>
						<option value="descending" {vb:raw order.asc}>{vb:rawphrase descending}</option>
						</select>
					</div>
			</div></td>
			<td><div class="options_input_wrapper">
				<div class="options_input_block">
					<div class="group">
						<input type="submit" class="button" value="{vb:rawphrase show_threads}" />
					</div>
				</div>
			</div></td>
			</tr>
			</table>
	</form>
</div>

<!----   End Top Forum Display Options  ---->
6. You are done! Reload the theme and the Forum Display Option dropdowns will now be at the top.


Issues
  • The positioning isn't the greatest. I will try to see if I can make it look better.
  • The spacing between the dropdowns could be a bit further apart. I will try to fix it.

I will support this as best I can. Again, I do not know a lot of CSS or HTML.

Download Now

File Type: txt Code for Top Display Options.txt (3.8 KB, 34 views)

Screenshots

File Type: jpg Before.jpg (72.9 KB, 0 views)
File Type: jpg After.jpg (61.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-04-2013, 07:49 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maupassant View Post
O.K. You lost me right from the start. I don't have
PHP Code:
<div id="forum_options" class="forum_info_form_block"
I have
PHP Code:
<div id="forum_info_options" class="forum_info block"
look like the version is diifferent, but that is not a big deal...

in your code, do you see <form>?? if yes, then you are in the right place,,

take a full copy of your template before changes, then save it on your computer then make the changes on your vb...

try it and see if it works for you...
Reply With Quote
  #13  
Old 07-04-2013, 09:40 PM
maupassant maupassant is offline
 
Join Date: Feb 2009
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I have :

PHP Code:
<div id="forum_options" class="forum_info_form_block">
        <
form id="forum_display_options" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php" method="get" class="forum_info_form blockbody formcontrols floatcontainer">
            <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
            <
input type="hidden" name="f" value="{vb:raw forumid}" />
            <
input type="hidden" name="page" value="{vb:raw pagenumber}" />
            <
input type="hidden" name="pp" value="{vb:raw perpage}" />
            <
div>
                <
div class="options_input_block">
                    <
label for="sel_daysprune">{vb:rawphrase show_threads_from_the}</label>
                    <
select class="primary" id="sel_daysprune" name="daysprune">
                        <
option value="1" {vb:raw daysprunesel.1}>{vb:rawphrase last_day}</option>
                        <
option value="2" {vb:raw daysprunesel.2}>{vb:rawphrase last_2_days}</option>
                        <
option value="7" {vb:raw daysprunesel.7}>{vb:rawphrase last_week}</option>
                        <
option value="10" {vb:raw daysprunesel.10}>{vb:rawphrase last_10_days}</option>
                        <
option value="14" {vb:raw daysprunesel.14}>{vb:rawphrase last_2_weeks}</option>
                        <
option value="30" {vb:raw daysprunesel.30}>{vb:rawphrase last_month}</option>
                        <
option value="45" {vb:raw daysprunesel.45}>{vb:rawphrase last_45_days}</option>
                        <
option value="60" {vb:raw daysprunesel.60}>{vb:rawphrase last_2_months}</option>
                        <
option value="75" {vb:raw daysprunesel.75}>{vb:rawphrase last_75_days}</option>
                        <
option value="100" {vb:raw daysprunesel.100}>{vb:rawphrase last_100_days}</option>
                        <
option value="365" {vb:raw daysprunesel.365}>{vb:rawphrase last_year}</option>
                        <
option value="-1" {vb:raw daysprunesel.all}>{vb:rawphrase beginning}</option>
                    </
select>
                    <
class="description">{vb:rawphrase use_control_to_limit_threads}</p>
                </
div>
                <
div class="options_input_block">
                    <
label for="sel_sort">{vb:rawphrase sort_threads_by}</label>
                    <
select class="primary" id="sel_sort" name="sort">
                        <
option value="title" {vb:raw sort.title}>{vb:rawphrase thread_title}</option>
                        <
option value="lastpost" {vb:raw sort.lastpost}>{vb:rawphrase last_post_time}</option>
                        <
option value="dateline" {vb:raw sort.dateline}>{vb:rawphrase thread_start_time}</option>
                        <
option value="replycount" {vb:raw sort.replycount}>{vb:rawphrase number_of_replies}</option>
                        <
option value="views" {vb:raw sort.views}>{vb:rawphrase number_of_views}</option>
                        <
option value="postusername" {vb:raw sort.postusername}>{vb:rawphrase thread_starter}</option>
                        <
vb:if condition="$show['threadratings']"><option value="voteavg" {vb:raw sort.voteavg}>{vb:rawphrase thread_rating}</option></vb:if>
                    </
select>
                    <
class="description">{vb:rawphrase sort_threads_by_description}</p>
                </
div>
                <
vb:if condition="$prefix_options">
                <
div class="options_input_block">
                    <
label for="sel_prefixid">{vb:rawphrase prefix}</label>
                    <
select name="prefixid" class="primary" id="sel_prefixid">
                        <
option value="" {vb:raw prefix_selected.anythread}>{vb:rawphrase any_thread_meta}</option>
                        <
option value="-2" {vb:raw prefix_selected.anyprefix}>{vb:rawphrase any_prefix_meta}</option>
                        <
option value="-1" {vb:raw prefix_selected.none}>{vb:rawphrase no_prefix_meta}</option>
                        {
vb:raw prefix_options}
                    </
select>
                    <
class="description">{vb:rawphrase select_threads_with_prefix_description}</p>
                </
div>
                </
vb:if>
                <!-- 
Group of Radio Buttons -->
                <
div class="options_input_block">
                    <
class="label">{vb:rawphrase order_threads_in}</p>
                    <
ul class="checkradio group">
                        <
li><label for="radio_asc"><input type="radio" name="order" id="radio_asc" value="asc" {vb:raw order.asc} /> {vb:rawphrase ascending}</label></li>
                        <
li><label for="radio_dsc"><input type="radio" name="order" id="radio_dsc" value="desc" {vb:raw order.desc} /> {vb:rawphrase descending}</label></li>
                    </
ul>
                    <
class="description">{vb:rawphrase order_threads_note}</p>
                </
div>
                {
vb:raw template_hook.forumdisplay_filters}
            </
div>
            <
div class="options_input_wrapper">
                <
div class="options_input_block">
                    <
div class="group">
                        <
input type="submit" class="button" value="{vb:rawphrase show_threads}" />
                    </
div>
                </
div>
            </
div>
        </
form>
    </
div>
    </
vb:if>
    <
div class="options_block_container">
    <
vb:if condition="$show['threadslist']">
        <
div class="options_block">
        <
div class="collapse options_correct">
            <
class="collapse" id="collapse_forum_icon_legend" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
            <
h4 class="blockhead">{vb:rawphrase icon_legend}</h4>
        </
div>
        <
div id="forum_icon_legend" class="forum_info_block blockbody formcontrols options_correct">
            <
dl id="icon_legends" class="forum_info_subblock icon_legends">
                <
dt><img src="{vb:stylevar imgdir_statusicon}/thread_new-16.png" alt="{vb:rawphrase new_posts}" /></dt><dd>{vb:rawphrase new_posts}</dd>
                <
dt><img src="{vb:stylevar imgdir_statusicon}/thread-16-{vb:stylevar right}.png" alt="{vb:rawphrase no_new_posts}" /></dt><dd>{vb:rawphrase no_new_posts}</dd>
                <
vb:if condition="$vboptions['usehotthreads']">
                <
dt><img src="{vb:stylevar imgdir_statusicon}/thread_hot_new-16.png" alt="{vb:rawphrase more_than_x_replies_or_y_views, {vb:raw vboptions.hotnumberposts}, {vb:raw vboptions.hotnumberviews}}" /></dt><dd>{vb:rawphrase hot_thread_with_new_posts}</dd>
                <
dt><img src="{vb:stylevar imgdir_statusicon}/thread_hot-16.png" alt="{vb:rawphrase more_than_x_replies_or_y_views, {vb:raw vboptions.hotnumberposts}, {vb:raw vboptions.hotnumberviews}}" /></dt><dd>{vb:rawphrase hot_thread_with_no_new_posts}</dd>
                </
vb:if>
                <
dt><img src="{vb:stylevar imgdir_statusicon}/thread_lock-16.png" alt="{vb:rawphrase closed_thread}" /></dt><dd>{vb:rawphrase thread_is_closed}</dd>
                <
dt><img src="{vb:stylevar imgdir_statusicon}/thread_dot-16-{vb:stylevar right}.png" alt="{vb:rawphrase thread_contains_a_message_written_by_you}" /></dt><dd>{vb:rawphrase you_have_posted_in_this_thread}</dd>
            </
dl>
        </
div>
    </
div>
    <
div class="options_block2">
        <
div class="collapse options_correct">
            <
class="collapse" id="collapse_posting_rules" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
            <
h4 class="blockhead">{vb:rawphrase posting_rules}</h4>
        </
div>
        <
div id="posting_rules" class="forum_info_block blockbody formcontrols floatcontainer options_correct">
            {
vb:raw forumrules}
        </
div>
    </
div>
    </
vb:if>
    </
div>
</
div>
<
script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}";
init_forum_readmarker_system();
//-->
</script>
{
vb:raw footer}

</
body>
</
html
But I still don't understand what I have to do next (I'm sorry).
Reply With Quote
  #14  
Old 07-05-2013, 09:39 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, this is the correct code I took from your code above:

PHP Code:
<div id="forum_options" class="forum_info_form_block">
        <
form id="forum_display_options" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php" method="get" class="forum_info_form blockbody formcontrols floatcontainer">
            <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
            <
input type="hidden" name="f" value="{vb:raw forumid}" />
            <
input type="hidden" name="page" value="{vb:raw pagenumber}" />
            <
input type="hidden" name="pp" value="{vb:raw perpage}" />
            <
div>
                <
div class="options_input_block">
                    <
label for="sel_daysprune">{vb:rawphrase show_threads_from_the}</label>
                    <
select class="primary" id="sel_daysprune" name="daysprune">
                        <
option value="1" {vb:raw daysprunesel.1}>{vb:rawphrase last_day}</option>
                        <
option value="2" {vb:raw daysprunesel.2}>{vb:rawphrase last_2_days}</option>
                        <
option value="7" {vb:raw daysprunesel.7}>{vb:rawphrase last_week}</option>
                        <
option value="10" {vb:raw daysprunesel.10}>{vb:rawphrase last_10_days}</option>
                        <
option value="14" {vb:raw daysprunesel.14}>{vb:rawphrase last_2_weeks}</option>
                        <
option value="30" {vb:raw daysprunesel.30}>{vb:rawphrase last_month}</option>
                        <
option value="45" {vb:raw daysprunesel.45}>{vb:rawphrase last_45_days}</option>
                        <
option value="60" {vb:raw daysprunesel.60}>{vb:rawphrase last_2_months}</option>
                        <
option value="75" {vb:raw daysprunesel.75}>{vb:rawphrase last_75_days}</option>
                        <
option value="100" {vb:raw daysprunesel.100}>{vb:rawphrase last_100_days}</option>
                        <
option value="365" {vb:raw daysprunesel.365}>{vb:rawphrase last_year}</option>
                        <
option value="-1" {vb:raw daysprunesel.all}>{vb:rawphrase beginning}</option>
                    </
select>
                    <
class="description">{vb:rawphrase use_control_to_limit_threads}</p>
                </
div>
                <
div class="options_input_block">
                    <
label for="sel_sort">{vb:rawphrase sort_threads_by}</label>
                    <
select class="primary" id="sel_sort" name="sort">
                        <
option value="title" {vb:raw sort.title}>{vb:rawphrase thread_title}</option>
                        <
option value="lastpost" {vb:raw sort.lastpost}>{vb:rawphrase last_post_time}</option>
                        <
option value="dateline" {vb:raw sort.dateline}>{vb:rawphrase thread_start_time}</option>
                        <
option value="replycount" {vb:raw sort.replycount}>{vb:rawphrase number_of_replies}</option>
                        <
option value="views" {vb:raw sort.views}>{vb:rawphrase number_of_views}</option>
                        <
option value="postusername" {vb:raw sort.postusername}>{vb:rawphrase thread_starter}</option>
                        <
vb:if condition="$show['threadratings']"><option value="voteavg" {vb:raw sort.voteavg}>{vb:rawphrase thread_rating}</option></vb:if>
                    </
select>
                    <
class="description">{vb:rawphrase sort_threads_by_description}</p>
                </
div>
                <
vb:if condition="$prefix_options">
                <
div class="options_input_block">
                    <
label for="sel_prefixid">{vb:rawphrase prefix}</label>
                    <
select name="prefixid" class="primary" id="sel_prefixid">
                        <
option value="" {vb:raw prefix_selected.anythread}>{vb:rawphrase any_thread_meta}</option>
                        <
option value="-2" {vb:raw prefix_selected.anyprefix}>{vb:rawphrase any_prefix_meta}</option>
                        <
option value="-1" {vb:raw prefix_selected.none}>{vb:rawphrase no_prefix_meta}</option>
                        {
vb:raw prefix_options}
                    </
select>
                    <
class="description">{vb:rawphrase select_threads_with_prefix_description}</p>
                </
div>
                </
vb:if>
                <!-- 
Group of Radio Buttons -->
                <
div class="options_input_block">
                    <
class="label">{vb:rawphrase order_threads_in}</p>
                    <
ul class="checkradio group">
                        <
li><label for="radio_asc"><input type="radio" name="order" id="radio_asc" value="asc" {vb:raw order.asc} /> {vb:rawphrase ascending}</label></li>
                        <
li><label for="radio_dsc"><input type="radio" name="order" id="radio_dsc" value="desc" {vb:raw order.desc} /> {vb:rawphrase descending}</label></li>
                    </
ul>
                    <
class="description">{vb:rawphrase order_threads_note}</p>
                </
div>
                {
vb:raw template_hook.forumdisplay_filters}
            </
div>
            <
div class="options_input_wrapper">
                <
div class="options_input_block">
                    <
div class="group">
                        <
input type="submit" class="button" value="{vb:rawphrase show_threads}" />
                    </
div>
                </
div>
            </
div>
        </
form>
    </
div
now you need to cut the code above and paste it below this code down here:

PHP Code:
<div id="threadpagestats" class="threadpagestats">{vb:rawphrase showing_threads_x_to_y_of_z, {vb:raw limitlower}, {vb:raw limitupper}, {vb:raw totalthreads}}</div>
    </
div>
    </
vb:if>
</
div
And then save your work!
Reply With Quote
  #15  
Old 07-05-2013, 03:27 PM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my FORUMDISPLAY template and not a lot of the above is working for me

PHP Code:
{vb:stylevar htmldoctype}
<
html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<
head>
    {
vb:raw headinclude}
    <
title>{vb:raw foruminfo.title_clean}<vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
    <
vb:if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v={vb:raw vboptions.simpleversion}"></script></vb:if>
    <
script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
    <
vb:if condition="$show['ajax_js']">
           <
script type="text/javascript" src="clientscript/vbulletin-ajax-threadlist.js?v={vb:raw vboptions.simpleversion}"></script>
           <
script type="text/javascript">
        <!--
            var 
titlemaxchars parseInt("{vb:raw vboptions.titlemaxchars}"),
            
input_padding parseInt("{vb:stylevar input_padding}");
        
//-->
        
</script>
       </
vb:if>
    <
vb:if condition="$vboptions['storecssasfile']">
        {
vb:cssfile forumdisplay-rollup.css}
    <
vb:else />
        {
vb:cssfile toolsmenu.css,forumbits.css,forumdisplay.css,threadlist.css,options.css}
    </
vb:if>

    <!--[if 
lt IE 8]>
    <
script type="text/javascript" src="clientscript/vbulletin-threadlist-ie.js?v={vb:raw vboptions.simpleversion}"></script>
        {
vb:cssfile toolsmenu-ie.css,forumbits-ie.css,forumdisplay-ie.css,threadlist-ie.css,options-ie.css}
    <![endif]-->
    {
vb:raw headinclude_bottom}
</
head>

<
body>

{
vb:raw header}

{
vb:raw navbar}

<
vb:if condition="$announcebits">
<
ol id="announcements" class="announcements">
    {
vb:raw announcebits}
</
ol>
</
vb:if>

<
div id="above_threadlist" class="above_threadlist">
<
vb:if condition="$show['newthreadlink']"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
    <
vb:if condition="$show['threadslist']">
    <
div class="threadpagenav">
        {
vb:raw pagenav}
        <
div id="threadpagestats" class="threadpagestats">{vb:rawphrase showing_threads_x_to_y_of_z, {vb:raw limitlower}, {vb:raw limitupper}, {vb:raw totalthreads}}</div>
    </
div>
    </
vb:if>
</
div>
<
div id="pagetitle" class="pagetitle">
    <
h1>{vb:rawphrase forum}: <span class="forumtitle">{vb:raw foruminfo.title}</span></h1>
    <
vb:if condition="$foruminfo['description']"><class="description">{vb:raw foruminfo.description}</p></vb:if>
</
div>

    <
vb:if condition="$show['threadslist']">
    <
div id="above_threadlist_controls" class="above_threadlist_controls toolsmenu">
        <
div>
        <
ul class="popupgroup forumdisplaypopups" id="forumdisplaypopups">
            <
li class="popupmenu nohovermenu" id="forumtools">
                <
h6><a href="javascript://" class="popupctrl" rel="nofollow">{vb:rawphrase forum_tools}</a></h6>
                <
ul class="popupbody popuphover">
                    <
vb:if condition="$show['newthreadlink']">
                        <
li>
                            <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">
                                {
vb:rawphrase post_a_new_thread}&hellip;
                            </
a>
                        </
li>
                    </
vb:if>
                        <
li>
                            <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;f={vb:raw foruminfo.forumid}&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow" onclick="return mark_forum_and_threads_read({vb:raw foruminfo.forumid});">
                                {
vb:rawphrase mark_this_forum_read}
                            </
a>
                        </
li>
                        <
vb:if condition="$show['member'] AND $foruminfo['allowposting']">
                        <
li>
                            <
vb:if condition="$show['subscribed_to_forum']">
                                <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
                            <
vb:else />
                                <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase subscribe_to_this_forum}&hellip;</a>
                            </
vb:if>
                        </
li>
                    </
vb:if>
                    <
li><a href="<vb:if condition="$foruminfo['parentid'] == -1">{vb:link forumhome}<vb:else />{vb:link forum, {vb:raw foruminfo}, null, 'parentid', 'parenttitle'}</vb:if>" rel="nofollow">{vb:rawphrase view_parent_forum}</a></li>
                </
ul>
            </
li>
                        <
vb:if condition="$show['adminoptions']">
            <
li class="popupmenu nohovermenu" id="admintools">
                <
h6><a href="javascript://" class="popupctrl">{vb:rawphrase administrative}</a></h6>
                <
ul class="popupbody popuphover">
                    <
vb:if condition="$show['post_queue']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=modposts&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase view_posts_queue}</a></li></vb:if>
                    <
vb:if condition="$show['attachment_queue']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=modattach&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase view_attachment_queue}</a></li></vb:if>
                    <
vb:if condition="$show['mass_move']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=move&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase massmove_threads}&hellip;</a></li></vb:if>
                    <
vb:if condition="$show['mass_prune']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=prune&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase massprune_threads}&hellip;</a></li></vb:if>
                    <
vb:if condition="$show['addmoderator']">
                    <
li><a href="moderator.php?{vb:raw session.sessionurl}do=addmoderator&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase add_moderator}&hellip;</a></li>
                    </
vb:if>
                    <
vb:if condition="$show['post_new_announcement']">
                    <
li><a href="moderator.php?{vb:raw session.sessionurl}do=postannouncement&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase post_new_announcement}&hellip;</a></li>
                    </
vb:if>
                </
ul>
            </
li>
                        </
vb:if>
            <
li class="popupmenu nohovermenu forumsearch menusearch" id="forumsearch">
                <
h6><a href="javascript://" class="popupctrl">{vb:rawphrase search_this_forum}</a></h6>
                <
form action="search.php?do=process" method="get">
                <
ul class="popupbody popuphover">
                    <
li>
                        <
input type="text" class="searchbox" name="q" value="{vb:rawphrase search_dots}" />
                        <
input type="submit" class="button" value="{vb:rawphrase search}" />
                    </
li>
                    <
li class="formsubmit" id="popupsearch">
                        <
div class="submitoptions">
                            <
label><input type="radio" name="showposts" value="0" checked="checked" /> {vb:rawphrase show_threads}</label>
                            <
label><input type="radio" name="showposts" value="1" /> {vb:rawphrase show_posts}</label>
                        </
div>
                        <
div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}search_type=1&amp;contenttype=vBForum_Post&amp;forumchoice[]={vb:raw forumid}" rel="nofollow">{vb:rawphrase advanced_search}</a></div>

                    </
li>
                </
ul>
                <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
                <
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                <
input type="hidden" name="do" value="process" />
                <
input type="hidden" name="contenttype" value="vBForum_Post" />
                <
input type="hidden" name="forumchoice[]" value="{vb:raw forumid}" />
                <
input type="hidden" name="childforums" value="1" />
                <
input type="hidden" name="exactname" value="1" />
                </
form>
            </
li>
            {
vb:raw threadadmin_imod_menu_thread}



        </
ul>
            <
vb:if condition="$show['inlinemod']">
            <
script type="text/javascript">
            <!--
                
vB_XHTML_Ready.subscribe(function() { register_inlinemod("thread_inlinemod_form""li""threadbit""thread"); });
            
//-->
            
</script>
            </
vb:if>
        </
div>
    </
div>
    </
vb:if>




<
vb:if condition="$show['threadslist']">
{
vb:raw template_hook.forumdisplay_above_threadlist}
<
div id="threadlist" class="threadlist">
    <
form id="thread_inlinemod_form" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}inlinemod.php?forumid={vb:raw forumid}" method="post">
        <
h2 class="hidden">{vb:rawphrase threads_in_forum}</h2>

        <
div>
            <
div class="threadlisthead table">
                <
div>
                <
span class="threadinfo">
                    <
span class="threadtitle">
                        <
a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_title}}" rel="nofollow">{vb:rawphrase title}{vb:raw sortarrow.title}</a> /
                        <
a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_postusername}}" rel="nofollow">{vb:rawphrase thread_starter}{vb:raw sortarrow.postusername}</a>
                    </
span>
                </
span>
                <
vb:if condition="$show['search_engine']">

                    <
span class="threadstats td">{vb:rawphrase replies} {vb:raw sortarrow.replycount} / {vb:rawphrase views}</span>
                    <
span class="threadlastpost td">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</span>
                <
vb:else />

                    <
span class="threadstats td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_replycount}}" rel="nofollow">{vb:rawphrase replies}{vb:raw sortarrow.replycount}</a> / <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_views}}" rel="nofollow">{vb:rawphrase views}{vb:raw sortarrow.views}</a></span>
                    <
span class="threadlastpost td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_flastpost}}" rel="nofollow">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</a></span>
                    <
vb:if condition="$show['inlinemod']"><span class="threadimodimod td"></span></vb:if>
                </
vb:if>
                </
div>
            </
div>

            <
vb:if condition="$show['stickies']">
                <
ol id="stickies" class="stickies">
                    {
vb:raw threadbits_sticky}
                </
ol>
            </
vb:if>
            <
vb:if condition="$show['threads']">
                <
ol id="threads" class="threads">
                    {
vb:raw threadbits}
                </
ol>
            <
vb:else />
                <
div class="threadbit">
                    <
class="nonthread">
                    <
vb:if condition="$show['noposts']">
                        <
strong>{vb:rawphrase no_posts_in_this_forum}</strong>
                    <
vb:else />
                        <
strong>{vb:rawphrase no_posts_last_x_days_forum, {vb:raw daysprune}}</strong>
                        <
span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
                    </
vb:if>
                    </
p>
                </
div>
            </
vb:if>
        </
div>
        <
hr />

        <
div class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>forumfoot">
        <
vb:if condition="$show['inlinemod']">
            <
div id="inlinemod_formctrls" class="popupmenu nohovermenu">
                <
a href="javascript://" class="popupctrl"><span class="ctrlcontainer">{vb:rawphrase moderation_tools} (<span id="thread_inlinemod_count">0</span>)</span></a>
                <
ul class="popupbody popuphover">
                    <
vb:if condition="$show['deletethread']">
                        <
li><label><input type="radio" name="do" value="deletethread" checked="checked" /> {vb:rawphrase delete_threads}&hellip;</label></li>
                        <
li><label><input type="radio" name="do" value="undeletethread" /> {vb:rawphrase undelete_threads}</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['spamctrls']">
                        <
li><label><input type="radio" name="do" value="spamthread" /> {vb:rawphrase delete_threads_as_spam}&hellip;</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['openthread']">
                        <
li><label><input type="radio" name="do" value="open" /> {vb:rawphrase open_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="close" /> {vb:rawphrase close_threads}</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['approvethread']">
                        <
li><label><input type="radio" name="do" value="approvethread" /> {vb:rawphrase approve_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="unapprovethread" /> {vb:rawphrase unapprove_threads}</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['movethread']">
                        <
li><label><input type="radio" name="do" value="stick" /> {vb:rawphrase stick_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="unstick" /> {vb:rawphrase unstick_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="movethread" /> {vb:rawphrase move_threads}&hellip;</label></li>
                        <
li><label><input type="radio" name="do" value="mergethread" /> {vb:rawphrase merge_threads}&hellip;</label></li>
                    </
vb:if>

                    {
vb:raw template_hook.inlinemod_thread_bottom}

                    <
li>&nbsp;</li>

                    <
li><label><input type="radio" name="do" value="viewthread" /> {vb:rawphrase view_selected_threads}</label></li>
                    <
li><label><input type="radio" name="do" value="clearthread" /> {vb:rawphrase clear_thread_list}</label></li>

                    <
li class="formsubmit">
                        <
input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" />
                    </
li>

                </
ul>
            </
div>
        </
vb:if>
        </
div>

        <
input type="hidden" name="url" value="{vb:raw url}" />
        <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
        <
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
        <
input type="hidden" name="forumid" value="{vb:raw forumid}" />
    </
form>
</
div>
{
vb:raw template_hook.forumdisplay_below_threadlist}
</
vb:if>

<
div id="below_threadlist" class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>below_threadlist">
    <
vb:if condition="$show['newthreadlink']">
        <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
    </
vb:if>
    <
div class="threadpagenav<vb:if condition="!$pagenav AND !$forumjump"> nopagenav</vb:if>">
        {
vb:raw pagenav}
        {
vb:raw forumjump}
    </
div>
</
div>
<
vb:if condition="$forumbits">
{
vb:raw template_hook.forumdisplay_above_subforums}
<
div id="forumbits" class="forumbits">
    <
div class="forumhead">
        <
h2>
            <
span class="forumtitle">{vb:rawphrase subforums}</span>
            <
span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
            <
span class="forumlastpost">{vb:rawphrase last_post}</span>
        </
h2>
    </
div>
    <
ol>
        {
vb:raw forumbits}
    </
ol>
</
div>
{
vb:raw template_hook.forumdisplay_below_subforums}
</
vb:if>
<
div id="forum_info_options" class="forum_info block">
    <
vb:if condition="$show['moderators'] OR $show['activeusers']">
    <
div class="collapse">
        <
class="collapse" id="collapse_forum_info" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
        <
h4 class="forumoptiontitle blockhead">{vb:rawphrase forum_information_and_options}</h4>
    </
div>
    <
div id="forum_info" class="forum_info_block blockbody formcontrols">
        <
vb:if condition="$show['moderators']">
        <
div id="forum_moderators" class="forum_info_subblock">
            <
h5>{vb:rawphrase moderators_of_this_forum}</h5>
            <
ul class="commalist">
                <
vb:each from="moderatorslist" value="row">
                    <
li><class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
                </
vb:each>
            </
ul>
        </
div>
        </
vb:if>
        <
vb:if condition="$show['activeusers']">
            <
div id="forum_onlineusers" class="forum_info_subblock">
                <
h5>{vb:rawphrase users_browsing_this_forum}</h5>
                <
div>
                    <
p>{vb:rawphrase there_are_currently_x_users_browsing_forum, {vb:raw totalonline}} ({vb:rawphrase x_members_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}})</p>
                    <
ol class="commalist">
                        <
vb:each from="activeusers" value="row">
                            <
li><class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.invisiblemark}{vb:raw row.buddymark}{vb:raw row.comma}</li>
                        </
vb:each>
                    </
ol>
                </
div>
            </
div>
        </
vb:if>
    </
div>
    </
vb:if>

    {
vb:raw ad_location.forum_below_threadlist}

</
div>
<
script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}";
init_forum_readmarker_system();
//-->
</script>
{
vb:raw footer}

</
body>
</
html
Reply With Quote
  #16  
Old 07-05-2013, 05:22 PM
maupassant maupassant is offline
 
Join Date: Feb 2009
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works !!! A thousand thanks to you !!!
Reply With Quote
  #17  
Old 07-08-2013, 03:14 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maupassant View Post
It works !!! A thousand thanks to you !!!
glad to hear that

Good luck
Reply With Quote
  #18  
Old 07-08-2013, 03:19 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toorak Times View Post
This is my FORUMDISPLAY template and not a lot of the above is working for me

PHP Code:
{vb:stylevar htmldoctype}
<
html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<
head>
    {
vb:raw headinclude}
    <
title>{vb:raw foruminfo.title_clean}<vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
    <
vb:if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v={vb:raw vboptions.simpleversion}"></script></vb:if>
    <
script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
    <
vb:if condition="$show['ajax_js']">
           <
script type="text/javascript" src="clientscript/vbulletin-ajax-threadlist.js?v={vb:raw vboptions.simpleversion}"></script>
           <
script type="text/javascript">
        <!--
            var 
titlemaxchars parseInt("{vb:raw vboptions.titlemaxchars}"),
            
input_padding parseInt("{vb:stylevar input_padding}");
        
//-->
        
</script>
       </
vb:if>
    <
vb:if condition="$vboptions['storecssasfile']">
        {
vb:cssfile forumdisplay-rollup.css}
    <
vb:else />
        {
vb:cssfile toolsmenu.css,forumbits.css,forumdisplay.css,threadlist.css,options.css}
    </
vb:if>

    <!--[if 
lt IE 8]>
    <
script type="text/javascript" src="clientscript/vbulletin-threadlist-ie.js?v={vb:raw vboptions.simpleversion}"></script>
        {
vb:cssfile toolsmenu-ie.css,forumbits-ie.css,forumdisplay-ie.css,threadlist-ie.css,options-ie.css}
    <![endif]-->
    {
vb:raw headinclude_bottom}
</
head>

<
body>

{
vb:raw header}

{
vb:raw navbar}

<
vb:if condition="$announcebits">
<
ol id="announcements" class="announcements">
    {
vb:raw announcebits}
</
ol>
</
vb:if>

<
div id="above_threadlist" class="above_threadlist">
<
vb:if condition="$show['newthreadlink']"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if>
    <
vb:if condition="$show['threadslist']">
    <
div class="threadpagenav">
        {
vb:raw pagenav}
        <
div id="threadpagestats" class="threadpagestats">{vb:rawphrase showing_threads_x_to_y_of_z, {vb:raw limitlower}, {vb:raw limitupper}, {vb:raw totalthreads}}</div>
    </
div>
    </
vb:if>
</
div>
<
div id="pagetitle" class="pagetitle">
    <
h1>{vb:rawphrase forum}: <span class="forumtitle">{vb:raw foruminfo.title}</span></h1>
    <
vb:if condition="$foruminfo['description']"><class="description">{vb:raw foruminfo.description}</p></vb:if>
</
div>

    <
vb:if condition="$show['threadslist']">
    <
div id="above_threadlist_controls" class="above_threadlist_controls toolsmenu">
        <
div>
        <
ul class="popupgroup forumdisplaypopups" id="forumdisplaypopups">
            <
li class="popupmenu nohovermenu" id="forumtools">
                <
h6><a href="javascript://" class="popupctrl" rel="nofollow">{vb:rawphrase forum_tools}</a></h6>
                <
ul class="popupbody popuphover">
                    <
vb:if condition="$show['newthreadlink']">
                        <
li>
                            <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">
                                {
vb:rawphrase post_a_new_thread}&hellip;
                            </
a>
                        </
li>
                    </
vb:if>
                        <
li>
                            <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;f={vb:raw foruminfo.forumid}&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow" onclick="return mark_forum_and_threads_read({vb:raw foruminfo.forumid});">
                                {
vb:rawphrase mark_this_forum_read}
                            </
a>
                        </
li>
                        <
vb:if condition="$show['member'] AND $foruminfo['allowposting']">
                        <
li>
                            <
vb:if condition="$show['subscribed_to_forum']">
                                <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
                            <
vb:else />
                                <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase subscribe_to_this_forum}&hellip;</a>
                            </
vb:if>
                        </
li>
                    </
vb:if>
                    <
li><a href="<vb:if condition="$foruminfo['parentid'] == -1">{vb:link forumhome}<vb:else />{vb:link forum, {vb:raw foruminfo}, null, 'parentid', 'parenttitle'}</vb:if>" rel="nofollow">{vb:rawphrase view_parent_forum}</a></li>
                </
ul>
            </
li>
                        <
vb:if condition="$show['adminoptions']">
            <
li class="popupmenu nohovermenu" id="admintools">
                <
h6><a href="javascript://" class="popupctrl">{vb:rawphrase administrative}</a></h6>
                <
ul class="popupbody popuphover">
                    <
vb:if condition="$show['post_queue']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=modposts&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase view_posts_queue}</a></li></vb:if>
                    <
vb:if condition="$show['attachment_queue']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=modattach&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase view_attachment_queue}</a></li></vb:if>
                    <
vb:if condition="$show['mass_move']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=move&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase massmove_threads}&hellip;</a></li></vb:if>
                    <
vb:if condition="$show['mass_prune']"><li><a href="moderator.php?{vb:raw session.sessionurl}do=prune&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase massprune_threads}&hellip;</a></li></vb:if>
                    <
vb:if condition="$show['addmoderator']">
                    <
li><a href="moderator.php?{vb:raw session.sessionurl}do=addmoderator&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase add_moderator}&hellip;</a></li>
                    </
vb:if>
                    <
vb:if condition="$show['post_new_announcement']">
                    <
li><a href="moderator.php?{vb:raw session.sessionurl}do=postannouncement&amp;f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase post_new_announcement}&hellip;</a></li>
                    </
vb:if>
                </
ul>
            </
li>
                        </
vb:if>
            <
li class="popupmenu nohovermenu forumsearch menusearch" id="forumsearch">
                <
h6><a href="javascript://" class="popupctrl">{vb:rawphrase search_this_forum}</a></h6>
                <
form action="search.php?do=process" method="get">
                <
ul class="popupbody popuphover">
                    <
li>
                        <
input type="text" class="searchbox" name="q" value="{vb:rawphrase search_dots}" />
                        <
input type="submit" class="button" value="{vb:rawphrase search}" />
                    </
li>
                    <
li class="formsubmit" id="popupsearch">
                        <
div class="submitoptions">
                            <
label><input type="radio" name="showposts" value="0" checked="checked" /> {vb:rawphrase show_threads}</label>
                            <
label><input type="radio" name="showposts" value="1" /> {vb:rawphrase show_posts}</label>
                        </
div>
                        <
div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}search_type=1&amp;contenttype=vBForum_Post&amp;forumchoice[]={vb:raw forumid}" rel="nofollow">{vb:rawphrase advanced_search}</a></div>

                    </
li>
                </
ul>
                <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
                <
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                <
input type="hidden" name="do" value="process" />
                <
input type="hidden" name="contenttype" value="vBForum_Post" />
                <
input type="hidden" name="forumchoice[]" value="{vb:raw forumid}" />
                <
input type="hidden" name="childforums" value="1" />
                <
input type="hidden" name="exactname" value="1" />
                </
form>
            </
li>
            {
vb:raw threadadmin_imod_menu_thread}



        </
ul>
            <
vb:if condition="$show['inlinemod']">
            <
script type="text/javascript">
            <!--
                
vB_XHTML_Ready.subscribe(function() { register_inlinemod("thread_inlinemod_form""li""threadbit""thread"); });
            
//-->
            
</script>
            </
vb:if>
        </
div>
    </
div>
    </
vb:if>




<
vb:if condition="$show['threadslist']">
{
vb:raw template_hook.forumdisplay_above_threadlist}
<
div id="threadlist" class="threadlist">
    <
form id="thread_inlinemod_form" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}inlinemod.php?forumid={vb:raw forumid}" method="post">
        <
h2 class="hidden">{vb:rawphrase threads_in_forum}</h2>

        <
div>
            <
div class="threadlisthead table">
                <
div>
                <
span class="threadinfo">
                    <
span class="threadtitle">
                        <
a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_title}}" rel="nofollow">{vb:rawphrase title}{vb:raw sortarrow.title}</a> /
                        <
a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_postusername}}" rel="nofollow">{vb:rawphrase thread_starter}{vb:raw sortarrow.postusername}</a>
                    </
span>
                </
span>
                <
vb:if condition="$show['search_engine']">

                    <
span class="threadstats td">{vb:rawphrase replies} {vb:raw sortarrow.replycount} / {vb:rawphrase views}</span>
                    <
span class="threadlastpost td">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</span>
                <
vb:else />

                    <
span class="threadstats td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_replycount}}" rel="nofollow">{vb:rawphrase replies}{vb:raw sortarrow.replycount}</a> / <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_views}}" rel="nofollow">{vb:rawphrase views}{vb:raw sortarrow.views}</a></span>
                    <
span class="threadlastpost td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_flastpost}}" rel="nofollow">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</a></span>
                    <
vb:if condition="$show['inlinemod']"><span class="threadimodimod td"></span></vb:if>
                </
vb:if>
                </
div>
            </
div>

            <
vb:if condition="$show['stickies']">
                <
ol id="stickies" class="stickies">
                    {
vb:raw threadbits_sticky}
                </
ol>
            </
vb:if>
            <
vb:if condition="$show['threads']">
                <
ol id="threads" class="threads">
                    {
vb:raw threadbits}
                </
ol>
            <
vb:else />
                <
div class="threadbit">
                    <
class="nonthread">
                    <
vb:if condition="$show['noposts']">
                        <
strong>{vb:rawphrase no_posts_in_this_forum}</strong>
                    <
vb:else />
                        <
strong>{vb:rawphrase no_posts_last_x_days_forum, {vb:raw daysprune}}</strong>
                        <
span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
                    </
vb:if>
                    </
p>
                </
div>
            </
vb:if>
        </
div>
        <
hr />

        <
div class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>forumfoot">
        <
vb:if condition="$show['inlinemod']">
            <
div id="inlinemod_formctrls" class="popupmenu nohovermenu">
                <
a href="javascript://" class="popupctrl"><span class="ctrlcontainer">{vb:rawphrase moderation_tools} (<span id="thread_inlinemod_count">0</span>)</span></a>
                <
ul class="popupbody popuphover">
                    <
vb:if condition="$show['deletethread']">
                        <
li><label><input type="radio" name="do" value="deletethread" checked="checked" /> {vb:rawphrase delete_threads}&hellip;</label></li>
                        <
li><label><input type="radio" name="do" value="undeletethread" /> {vb:rawphrase undelete_threads}</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['spamctrls']">
                        <
li><label><input type="radio" name="do" value="spamthread" /> {vb:rawphrase delete_threads_as_spam}&hellip;</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['openthread']">
                        <
li><label><input type="radio" name="do" value="open" /> {vb:rawphrase open_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="close" /> {vb:rawphrase close_threads}</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['approvethread']">
                        <
li><label><input type="radio" name="do" value="approvethread" /> {vb:rawphrase approve_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="unapprovethread" /> {vb:rawphrase unapprove_threads}</label></li>
                    </
vb:if>
                    <
vb:if condition="$show['movethread']">
                        <
li><label><input type="radio" name="do" value="stick" /> {vb:rawphrase stick_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="unstick" /> {vb:rawphrase unstick_threads}</label></li>
                        <
li><label><input type="radio" name="do" value="movethread" /> {vb:rawphrase move_threads}&hellip;</label></li>
                        <
li><label><input type="radio" name="do" value="mergethread" /> {vb:rawphrase merge_threads}&hellip;</label></li>
                    </
vb:if>

                    {
vb:raw template_hook.inlinemod_thread_bottom}

                    <
li>&nbsp;</li>

                    <
li><label><input type="radio" name="do" value="viewthread" /> {vb:rawphrase view_selected_threads}</label></li>
                    <
li><label><input type="radio" name="do" value="clearthread" /> {vb:rawphrase clear_thread_list}</label></li>

                    <
li class="formsubmit">
                        <
input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" />
                    </
li>

                </
ul>
            </
div>
        </
vb:if>
        </
div>

        <
input type="hidden" name="url" value="{vb:raw url}" />
        <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
        <
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
        <
input type="hidden" name="forumid" value="{vb:raw forumid}" />
    </
form>
</
div>
{
vb:raw template_hook.forumdisplay_below_threadlist}
</
vb:if>

<
div id="below_threadlist" class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>below_threadlist">
    <
vb:if condition="$show['newthreadlink']">
        <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
    </
vb:if>
    <
div class="threadpagenav<vb:if condition="!$pagenav AND !$forumjump"> nopagenav</vb:if>">
        {
vb:raw pagenav}
        {
vb:raw forumjump}
    </
div>
</
div>
<
vb:if condition="$forumbits">
{
vb:raw template_hook.forumdisplay_above_subforums}
<
div id="forumbits" class="forumbits">
    <
div class="forumhead">
        <
h2>
            <
span class="forumtitle">{vb:rawphrase subforums}</span>
            <
span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
            <
span class="forumlastpost">{vb:rawphrase last_post}</span>
        </
h2>
    </
div>
    <
ol>
        {
vb:raw forumbits}
    </
ol>
</
div>
{
vb:raw template_hook.forumdisplay_below_subforums}
</
vb:if>
<
div id="forum_info_options" class="forum_info block">
    <
vb:if condition="$show['moderators'] OR $show['activeusers']">
    <
div class="collapse">
        <
class="collapse" id="collapse_forum_info" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
        <
h4 class="forumoptiontitle blockhead">{vb:rawphrase forum_information_and_options}</h4>
    </
div>
    <
div id="forum_info" class="forum_info_block blockbody formcontrols">
        <
vb:if condition="$show['moderators']">
        <
div id="forum_moderators" class="forum_info_subblock">
            <
h5>{vb:rawphrase moderators_of_this_forum}</h5>
            <
ul class="commalist">
                <
vb:each from="moderatorslist" value="row">
                    <
li><class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
                </
vb:each>
            </
ul>
        </
div>
        </
vb:if>
        <
vb:if condition="$show['activeusers']">
            <
div id="forum_onlineusers" class="forum_info_subblock">
                <
h5>{vb:rawphrase users_browsing_this_forum}</h5>
                <
div>
                    <
p>{vb:rawphrase there_are_currently_x_users_browsing_forum, {vb:raw totalonline}} ({vb:rawphrase x_members_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}})</p>
                    <
ol class="commalist">
                        <
vb:each from="activeusers" value="row">
                            <
li><class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.invisiblemark}{vb:raw row.buddymark}{vb:raw row.comma}</li>
                        </
vb:each>
                    </
ol>
                </
div>
            </
div>
        </
vb:if>
    </
div>
    </
vb:if>

    {
vb:raw ad_location.forum_below_threadlist}

</
div>
<
script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}";
init_forum_readmarker_system();
//-->
</script>
{
vb:raw footer}

</
body>
</
html
Hi there,

I guess yours is different. can you post url to your vb, plz

Reply With Quote
  #19  
Old 07-09-2013, 01:15 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fxdigi-cash View Post
Hi there,

I guess yours is different. can you post url to your vb, plz

www.tooraktimes.com.au
Reply With Quote
  #20  
Old 07-09-2013, 05:49 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toorak Times View Post
ok, I will check it and let you know soon.

Update: your site doesn't load on my side... is it on maintenance or down temp??
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11154 seconds
  • Memory Usage 3,043KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (7)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete