vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   How To Separate Sticky and Normal Threads (https://vborg.vbsupport.ru/showthread.php?t=93846)

Boofo 08-11-2005 03:24 PM

That was English. ;)

Herc 08-12-2005 04:50 AM

I don't see why you'd need the dropdown arrow on the sticky divider bar, one is enough and two become redundant in my opinion.....
The pupose for this hack seemed evident from the start, "a single divider bar between sticky's and regular threads"...!!

Nice job Xplorer4x4

Boofo 08-12-2005 06:21 AM

That's all I wanted. ;)

I just wanted it to allow for the right amount of columns depending on what was enabled for all usergroups. Hence, the if conditions. ;)

alwafi 08-13-2005 11:44 AM

thanks it's nice

m0nde 08-13-2005 02:12 PM

Quote:

Originally Posted by Xplorer4x4
How To Separate Sticky and Normal Threads

ewww...

- Sid

utw-Mephisto 08-14-2005 01:01 AM

Screenshot please !

MentaL 08-14-2005 03:38 PM

pefect!

Demo - http://forum.ragezone.com/forumdisplay.php?f=10

Clicked install

Oblivion Knight 08-16-2005 05:41 PM

Quote:

Originally Posted by Boofo
That still doesn't work for the line underneath. This will solve it.

HTML Code:

  <tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7</if><if condition="$show['threadicons'] AND !$show['inlinemod']">6</if><if condition="!$show['threadicons'] AND $show['inlinemod']">6</if><if condition="!$show['threadicons'] AND !$show['inlinemod']">5</if>">&nbsp;</td></tr>

Ouch! 4 if conditions just for that.?

Would this not be better (2 if conditions)?
HTML Code:

        <tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>">&nbsp;</td></tr>
Plus, if you feel that the separator is too thick, you could use this instead (see demo)..
HTML Code:

        <tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>"><img src="$vboptions[cleargifurl]" width="1" height="1" alt="" /></td></tr>
:)

Boofo 08-16-2005 05:57 PM

Quote:

Originally Posted by Oblivion Knight
Ouch! 4 if conditions just for that.?

Would this not be better (2 if conditions)?
HTML Code:

        <tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>">&nbsp;</td></tr>
Plus, if you feel that the separator is too thick, you could use this instead (see demo)..
HTML Code:

        <tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>"><img src="$vboptions[cleargifurl]" width="1" height="1" alt="" /></td></tr>
:)

The conditions work fine either way.

BamaStangGuy 08-18-2005 03:47 AM

Quote:

Originally Posted by Oblivion Knight
Ouch! 4 if conditions just for that.?

Would this not be better (2 if conditions)?
HTML Code:

        <tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>">&nbsp;</td></tr>
Plus, if you feel that the separator is too thick, you could use this instead (see demo)..
HTML Code:

        <tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>"><img src="$vboptions[cleargifurl]" width="1" height="1" alt="" /></td></tr>
:)

http://www.mustangevolution.com/forum/f99/

Using the thin one and it works great :)


All times are GMT. The time now is 10:38 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.01164 seconds
  • Memory Usage 1,749KB
  • 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
  • (7)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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