vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Different Cell Color for Stickies (https://vborg.vbsupport.ru/showthread.php?t=123939)

anywares 03-09-2007 12:41 PM

Quote:

Originally Posted by ericgtr (Post 1052875)
Neat, I have a slightly different use for this utilizing your code. I want unanswered topics to be highlighted, so I changed
Code:

<if condition="$thread['sticky'] == 1">
to
Code:

<if condition="$thread[replycount] == 0">
And walla! :)

Thanks, installed.

same here :D

*installed*

Tri@de 03-16-2007 08:41 AM

There's a way to have this working for all forums/thread/posts?

DiSpy 03-24-2007 06:33 PM

I found this code in threadbit in v 3.6.5:

Code:

<td class="alt1Active" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
and replaced it with this:

Code:

<if condition="$thread['sticky'] == 1">
        <td class="stickybg" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="alt1Active" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
</if>

...and don't forget to add:

Code:

.stickybg
{
        background-color: #hex;
        color: #000000;
}

to your CSS style definitions (and replace #hex with a color).

Atakan KOC 03-26-2007 06:41 AM

Thanks....

mikewiemholt 04-24-2007 06:08 AM

Thanks a bunch - instead of using a bg color I used an image which was nice ;)

Thanks again,

iorkara 04-25-2007 03:21 AM

Great Thanks Clicks Install

Billspaintball 04-27-2007 03:25 AM

Handy little idea :)

dbembibre 05-18-2007 08:43 AM

To extend the background in 3.6.x to announce as in the image Attachment 35356

In ACP -> Styles & Templates -> Style Manager -> [desired style] -> Edit Templates -> threadbit_announcement

Find
Code:

<td class="alt2" colspan="$announcecolspan">
Change to
Code:

<td class="stickybg" colspan="$announcecolspan">

For 3.5 versi?n see the following post
https://vborg.vbsupport.ru/showpost....1&postcount=13

obmob 06-13-2007 03:13 PM

Easy to use, thanks! :D

BTW: i think there is a typo in the install file it is this:

Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
instead of this:

Code:

<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">

rooney72 06-15-2007 03:53 AM

I modified advanced .css

.stickybg
{
background-color: #hex;
color: #750B10;
}

But the color is still light blue and NOT red as I want it


All times are GMT. The time now is 02:12 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.01089 seconds
  • Memory Usage 1,738KB
  • 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
  • (9)bbcode_code_printable
  • (1)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