vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Thread Title Coloring (https://vborg.vbsupport.ru/showthread.php?t=238890)

Kaleem 03-22-2010 10:00 PM

Thread Title Coloring
 
1 Attachment(s)
This will change your thread title colors.

Screen-shot is attached with installation text file.

DEMO: Screenshot and also >> LIVE DEMO

1.01

Strikeout the Closed thread.
Change Hot Thread Color.
Change Sticky Prefix.
Change Poll Prefix.

1.00

Change Sticky Thread Color
Change Closed Thread Color

Pepito =) 03-23-2010 05:20 AM

thankz men , the Mod is Cool :D

Juggernaut 03-23-2010 05:33 AM

Nice, it does what it says :D

Barakat 03-23-2010 06:33 AM

very nice ,,, thanks

Charlie98902 03-23-2010 09:57 AM

What about when you have a sticky & locked title what's the beginning phrase?

wayne.richards@ 03-23-2010 11:06 AM

Nice One! Thank You!!!!!!

cindy helmond 03-23-2010 11:21 AM

Great one installed !!

Dr.osamA 03-23-2010 12:34 PM

100%

installed

tanxxx man

dimthan 03-23-2010 06:19 PM

What about the sticky thread to be in bold font ?

Kaleem 03-23-2010 07:58 PM

Quote:

Originally Posted by dimthan (Post 2008895)
What about the sticky thread to be in bold font ?

Well when it is unread its bold anyways but you can add this line.

Code:

.sticky a.title {font-weight: bold;}
Regards

Charlie98902 03-23-2010 10:54 PM

What about when you have a sticky & locked title what's the beginning phrase?

You use - .sticky a.title for a sticky and then .locked a.title for a locked thread but what if it is both?

FReeSTER 03-23-2010 11:01 PM

what about the [Sticky:] prefix. how can I color that together with the thread title?

Kaleem 03-23-2010 11:21 PM

Quote:

Originally Posted by El Intocable (Post 2009052)
what about the [Sticky:] prefix. how can I color that together with the thread title?

You can search in in phrases for sticky_thread_prefix and then you can change the color or whtever you want to do with it.

Kaleem 03-23-2010 11:22 PM

Quote:

Originally Posted by Charlie98902 (Post 2009047)
What about when you have a sticky & locked title what's the beginning phrase?

You use - .sticky a.title for a sticky and then .locked a.title for a locked thread but what if it is both?

When its sticky and locked it uses the lock on.

I guess you can use if statement to use different color on that.

vicelover 03-24-2010 01:24 AM

1 Attachment(s)
Hi, LightInClouds.
I'm new to vb, alougth I had read your .txt file, I still cannot open the Additional.css.
can you give more detail to install this great Mod.

---- add a screenshot ----
I search the Additional.css in this way, do I search it in right way?
Attachment 114627


----- [success] ------
Sorry, there are some glitch in my vb, and now your mod works well.

If a thread (always the announcement, let's named it asAlice) is both sticky and lock, which color should be, red or green? At now, it seems, Alice is red. So, maybe the priority of lock is greater than sticky. Please view the below image.
Attachment 114630

Another advice, can we use improve this mod, not only fit for sticky and lock threads, but also Poll, Hot Threads. just like the function of KirK Y's Mod .

vicelover 03-24-2010 02:43 AM

Quote:

Originally Posted by LightInClouds (Post 2009067)
When its sticky and locked it uses the lock on.

I guess you can use if statement to use different color on that.

How to write the if statement in additional.css file ?
Can u give me a hint.

I had tried this way, but failed.

PHP Code:

[if sticky lock]
   .
sticky a.title {font-weightbold;  colorblue;} 


Kaleem 03-24-2010 05:14 AM

I have updated the file.

1.01

Strikeout the Closed thread.
Change Hot Thread Color.
Change Sticky Prefix.
Change Poll Prefix.

Kaleem 03-24-2010 05:20 AM

Quote:

Originally Posted by vicelover (Post 2009141)
How to write the if statement in additional.css file ?
Can u give me a hint.

I had tried this way, but failed.

PHP Code:

[if sticky lock]
   .
sticky a.title {font-weightbold;  colorblue;} 


I think that can be achieved in the forumdisplay, but I will work on it and let you know :)

FReeSTER 03-24-2010 10:31 PM

Quote:

Originally Posted by LightInClouds (Post 2009186)
I have updated the file.

1.01

Strikeout the Closed thread.
Change Hot Thread Color.
Change Sticky Prefix.
Change Poll Prefix.

nice bro you are the man :D

-=Leb=- 03-25-2010 01:37 PM

thx i was looking for it

pablete 03-26-2010 12:52 PM

Thank's. Installed!

nci 03-27-2010 06:45 AM

Excellent work.

Sancipa 03-29-2010 02:06 PM

how about if i want to change the color for each prefix

is it poisible ?

Charlie98902 03-29-2010 02:43 PM

Quote:

Originally Posted by Sancipa (Post 2012273)
how about if i want to change the color for each prefix

is it poisible ?

Yes you can do this in the making or editing the thread prefix:

Code:

Where it says Title (Rich Text) I have different colors for different things but here is one of mine I use - <span style="color: #008000;"><b>[Resolved]</b></span>

Sancipa 03-29-2010 05:43 PM

Quote:

Originally Posted by Charlie98902 (Post 2012295)
Yes you can do this in the making or editing the thread prefix:

Code:

Where it says Title (Rich Text) I have different colors for different things but here is one of mine I use - <span style="color: #008000;"><b>[Resolved]</b></span>

i know what you mean...

but what im asking is not that...

i want to color up the whole title not just the prefix name :)

Charlie98902 03-29-2010 07:33 PM

Ah, A new color when it is a new post only right?

dimthan 03-30-2010 04:10 PM

Thx Men !

vicelover 04-04-2010 01:41 PM

Quote:

Originally Posted by LightInClouds (Post 2009186)
I have updated the file.

1.01

Strikeout the Closed thread.
Change Hot Thread Color.
Change Sticky Prefix.
Change Poll Prefix.

Thanks for updating, LightInClounds, this mod is great

tafreeh 04-07-2010 03:44 AM

hey bud, do u know code for regular thread... if I wanna change regular thread colors.

Thanks

Kaleem 04-09-2010 08:43 PM

Quote:

Originally Posted by tafreeh (Post 2017226)
hey bud, do u know code for regular thread... if I wanna change regular thread colors.

Thanks

Regular threads are I guess using Link colors for the style they use. I will double check it.

AURFSCAN 04-11-2010 04:36 AM

1 Attachment(s)
you can use color codes too. nice mod :up:

Code:


.sticky a.title {color: black;}
.lock a.title {color: #5F5A59; font-weight: bold;}
.hot a.title {color: IndianRed;}



:)

Hall of Famer 04-11-2010 06:58 AM

Looks excellent! ^^

mactelesis 04-16-2010 02:46 AM

Quote:

Originally Posted by tafreeh (Post 2017226)
hey bud, do u know code for regular thread... if I wanna change regular thread colors.

Thanks

Light, I would like to know the answer to this question as well.

Many thanks!

COL NIL SATIS 05-17-2010 09:50 PM

Quote:

Originally Posted by AURFSCAN (Post 2019288)
you can use color codes too. nice mod :up:

Code:


.sticky a.title {color: black;}
.lock a.title {color: #5F5A59; font-weight: bold;}
.hot a.title {color: IndianRed;}



:)

that looks cool with the yellow in threads ...how is that done???

COL NIL SATIS 05-17-2010 09:59 PM

installed by the way ....very good ...top work guys

AURFSCAN 05-18-2010 06:35 AM

1 Attachment(s)
Quote:

Originally Posted by COL NIL SATIS (Post 2038809)
that looks cool with the yellow in threads ...how is that done???

To change the color of the background of the the stickied threads, see attachment.

https://vborg.vbsupport.ru/attachmen...3&d=1270964164

COL NIL SATIS 05-18-2010 09:35 PM

cheers mate ....will try that now ...nice one

COL NIL SATIS 05-18-2010 10:19 PM

sorted....works a1!!!!! cheers mate

Madpoodle 06-05-2010 09:26 PM

NICE mod's, thanks!!

merk_aus 06-06-2010 01:20 AM

Thanks does exactly what it says


All times are GMT. The time now is 05:32 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,800KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)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
  • (40)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