vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - Display Options Above Threads - as seen on vbulletin.org (https://vborg.vbsupport.ru/showthread.php?t=178787)

Mike-D 02-01-2009 07:20 AM

Quote:

Originally Posted by KevinL (Post 1730282)
There is no XML to install :confused:

You should read the above info and the Text File "displayoptions_to_top3.7_0". It contains all infos you need ;)

KevinL 02-01-2009 01:02 PM

Quote:

Originally Posted by Mike-D (Post 1730669)
You should read the above info and the Text File "displayoptions_to_top3.7_0". It contains all infos you need ;)

I was talking to the person above me hahah

I guess thats what happens when you don't use the quote...

Mike-D 02-01-2009 04:11 PM

Quote:

Originally Posted by KevinL (Post 1730834)
I was talking to the person above me hahah

Ups, sorry Kevin but I didn't see that :o

Quote:

Originally Posted by KevinL (Post 1730834)
I guess thats what happens when you don't use the quote...

Yep that's always a popular misunderstanding in postings without quoting it :D

Scalemotorcars 02-05-2009 10:19 PM

Works perfectly. Super clean instructions with all the correct tags. Thanks.. :up:

sundarmobiles 02-07-2009 11:51 AM

after add this modification i got 2 announcement section here is the screen shot pls help me..................

sundarmobiles 02-11-2009 12:35 PM

any one help me to solve this one please

yingzhou 02-11-2009 11:52 PM

you should try delete $announcebits.

sundarmobiles 02-12-2009 03:53 AM

s problem solved thanks mr.yingzhou

JohorBahru 02-25-2009 03:21 PM

could this works for 3.7.5?? :)

Raptor 03-01-2009 10:07 AM

Works great for vb 3.8.1

Tourmeister 03-17-2009 08:59 PM

Quote:

Originally Posted by Raptor (Post 1757486)
Works great for vb 3.8.1

Are you still able to edit thread titles just by double clicking to the right of them?

Tourmeister 03-18-2009 02:37 AM

Quote:

Originally Posted by Tourmeister (Post 1770722)
Are you still able to edit thread titles just by double clicking to the right of them?

Nevermind... I found the bit in one of the posts about the ID=Threadlist. I had done this mod by myself without realizing someone else had already figured it out. However, I missed that bit about the threadlist thing and my inline editing wasn't working. Works perfect now!

Arkham 03-21-2009 10:05 PM

Thanks so much. After discovering that you had updated the last one (the hard way, oops), this is working perfectly. It's a mod that's saved me a lot of time as what you've done here I was trying to do on my own, minus the prefix drop down.

Marked enthusiastically as installed, and nominated. Dude, thanks.

doa24uk 05-05-2009 03:56 PM

Here's how to make the box collapsible.

Instead of point 3 in the instructions - use this code instead

Code:

<!-- Modified Thread Search Layout -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
$announcebits
</tbody>
</table>

<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />

<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('filter')"><img id="collapseimg_filter" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
</tr>
<tbody id="collapseobj_filter" style="$vbcollapse[collapseobj_filter]">
 <tr valign="top">
        <td class="alt1">
                <table cellpadding="3" cellspacing="0" border="0" align="center">
                <tr>
                        <if condition="$prefix_options">
                        <td><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></td>
                        </if>
                        <td><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><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><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>
                        <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px">
                                <input type="submit" class="button" value="$vbphrase[show_threads]" />
                        </td>
</tr>
                </table>       
        </td>
  </tr>
</table>
</form>

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="forumid" value="$forumid" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
<!-- / Modified Thread Search Layout -->


Milez 05-06-2009 07:50 PM

I love this hack but am desperate to get it to work for just one of my forums rather than all of them. Could anyone lend some insight into how to do this with an if forum ='x' if statement?

Milez 05-06-2009 08:48 PM

I tried it with this but it breaks the table:

Code:

<if condition="$forum[forumid] != X">
...
</if>

Can anyone help please?

cynthetiq 05-14-2009 11:47 PM

marked installed!

thanks! I'd like to make this just like here, where you can't see what the prefixes are for the threads, but you can sort by them.

what do I need to remove from which template?

Oblivion Knight 05-22-2009 11:32 AM

This is brilliant, makes logical sense for the display options to be up there!

Installed, thanks.

cellarius 07-17-2009 03:06 PM

The code in step No. 3 did not validate against xhtml for me. Instead I used the following:
Code:

<!-- Modified Thread Search Layout -->

<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
</tr>
 <tr valign="top">
    <td class="alt1">
        <table cellpadding="3" cellspacing="0" border="0" align="center">
        <tr>
            <if condition="$prefix_options">
            <td><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></td>
            </if>
            <td><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><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><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>
            <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px">
                <input type="submit" class="button" value="$vbphrase[show_threads]" />
            </td>
</tr>
        </table>   
    </td>
  </tr>
</table>
</form>

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="forumid" value="$forumid" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
<!-- / Modified Thread Search Layout -->


Wird0 10-01-2009 11:13 AM

Does this work on vBulletin Version 3.8.4 with prefix on?

hollosch 02-24-2010 08:27 AM

Will there be a version for vB 4.0.x ?

henrikhansen 01-01-2011 02:45 PM

Thanks, working fine on 3.8.4.

nit233 02-25-2012 07:38 PM

for vbulletin 4 please...do update this mod

www.nofal 09-17-2012 01:32 PM

Good Work


All times are GMT. The time now is 01:04 PM.

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.01381 seconds
  • Memory Usage 1,835KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete