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)

kira 05-09-2008 10:00 PM

Display Options Above Threads - as seen on vbulletin.org
 
This template mod, updated from my 3.6.x version, will streamline and relocate the "Display Options" dropdown menus to the top of your threads list on forumdisplay, as seen here at vbulletn.org in the modification areas.

As part of this move, we'll also change the look of the "Active Users"/Moderators panel remaining at the bottom of the page. ('Before' and 'after' screenshots are below.)

Note: In the 3.6.x version, there were two different versions of this mod -- the extra one being for those forums using the excellent Thread Prefixes mod by Mystics. Now that vB 3.7.0 has prefixes on its own, those extra set of instructions are no longer necessary.

Important: If you've installed or applied other mods that have altered the forumdisplay template, you may need to adjust the instructions accordingly.

I hope this mod is helpful! As always, many thanks to vbulletin.org for the inspiration, not to mention years of providing an amazingly helpful community.

veenuisthebest 05-10-2008 06:13 PM

reserved !! :)

cafenetland 05-10-2008 06:28 PM

lets try it.

thx for ur effort

rooban12 05-10-2008 06:28 PM

thanks!!!
nice hack

arena 05-10-2008 06:43 PM

Kira vey thaks nice.

Mike-D 05-10-2008 07:15 PM

Quote:

Originally Posted by kira (Post 1515047)
Thanks Mike! But I'm afraid those aren't quite correct. Couple of problems:

1. They seem to have been based on the instructions I included for people without Mystics prefix mod. But vb 3.7.0 has prefix code built in now. If you look at your examples -- and I just tested this on my test installation to verify -- the prefix dropdown is missing.

2. They break the "inline thread title editing" feature. This happened to me too, originally, but I uploaded a fix for this. The problem relates to the "announcebits" portion of the instructions and accidentally duplicating the table id "threadslist." In my fix, I first delete the ID in the table code right above announcebits.

So you might want to withdraw that file for now until that stuff is fixed. But thank you for working on this so quickly!

Yep you're right. I didn't see that. Now it works. You'll notice that I've deleted two small things inside the modification which are really not necessary. So then it looks now we'd like to have ;)

kira 05-10-2008 07:41 PM

Quote:

Originally Posted by Mike-D (Post 1515225)
Yep you're right. I didn't see that. Now it works. You'll notice that I've deleted two small things inside the modification which are really not necessary. So then it looks now we'd like to have ;)

Thanks again, but it's still not quite right I'm afraid! What do you think wasn't necessary?
Because unless I'm reading your XML wrong, your replacements eliminate the announcebits section completely, which means announcements won't show up. Plus, you still didn't take away the extra ID = threadslist from the table code above the announcebits section, which means the thread editing will still not work.

Here's the section I'm talking about:

PHP Code:

    <searchstr><![CDATA[$announcebits]]></searchstr>
    <
replacestr><![CDATA[<!-- Modified Thread Search Layout -->
</
tbody>
</
table

The searchstr must include this:

PHP Code:

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

And the replacestr should start with this:

PHP Code:

<!-- Modified Thread Search Layout -->

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

(Obviously this isn't the whole replacement code.) Note the removed id="threadslist' in the replacement stuff, and the inclusion of $announcebits. These are necessary otherwise announcements and inline thread title editing won't work.

I really do appreciate the help, Mike! I wish I could create TMS files on my own but I'm no php coder by any stretch. Plus I don't use TMS yet! However, I know the above stuff is important for the modification to work correctly.

Mike-D 05-10-2008 08:19 PM

Damn, seems to be not being my day :( I never would have guessed. Probaby I have mixed somethings. Never try to make some changes when your Editor does have 12 Template codes next to each other working. Yes you're absolutely right because I forgot the most important. Now I have fiixed it and it works. Gee, what a terrible day. Thank you, Kira :) You just made my day :D

BTW: I just saw your BDay. That's almost the same like mine of just 1 day difference :)

ThreeD 05-10-2008 09:36 PM

thanks for this updated release. The 3.6.x version wasn't working with 3.7!

cyberbob73 05-11-2008 08:14 AM

Thanks for the TMS File ===> Mike-D (alter Freund:D)


All times are GMT. The time now is 09:47 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.01282 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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