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)
-   -   Different Cell Color for Stickies (https://vborg.vbsupport.ru/showthread.php?t=94328)

LJR 10-15-2005 04:47 PM

Okay, and taking into consideration that I am thicker than a whale omlette, where can I find the sticky_thread_prefix bit?

Cheers

Andrew111888 10-15-2005 06:35 PM

....

Quote:

Originally Posted by Andrew111888
It's a phrase as stated.


LJR 10-15-2005 11:25 PM

Okay, so we've established it's a phrase.

Now...where is it?

I can't find any reference to it in the templates or style sheets. So I am somewhat bemused. Mind you, this is only my first day with vBulletin.

Andrew111888 10-16-2005 02:18 AM

As it's a phrase, Admin CP -> Languages & Phrases -> Phrases would probably be a good place to look ;).

LJR 10-16-2005 10:19 AM

Doh!

Thank you so much. I found it. I'm sorry but I just didn't realise the meaning of "it's a phrase". So I have learned two things here.

Great mod/hack/whatever they call them here.

Thanks!!!!

Andrew111888 10-16-2005 12:14 PM

No problem :).

TOZ 11-22-2005 10:30 PM

quick question.



This code:

PHP Code:

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


Will only change the Sticky font color, but not the background. I need to change the background.

By the way everything works on 3.5.1 exept this.

I wanted to do something like this:
http://www.ls1tech.com/forums//forumdisplay.php?f=80

Andrew111888 11-23-2005 02:53 AM

Are you changing #hex to a numerical hexcode value? Like #000000.

manguish 11-26-2005 08:51 AM

3.5.1 - same here - background goes white, and text goes to the colour defined in the css.

da420 11-26-2005 06:31 PM

Its not working for me for some reason in my v3.5.1...

I replace this line in threadbit:

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

With this line:

<if condition="$thread['sticky'] == 1">
<td class="alt2" id="td_title_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">
</if>

and then I go to the CSS definitions, and add this to the code at the bottom:

.stickybg
{
background-color: #00FF00;
color: #000000;
}

I would much appreciate some help, Thanks!


All times are GMT. The time now is 11:36 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.01205 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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