Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Title Coloring Details »»
Thread Title Coloring
Version: 1.01, by Kaleem Kaleem is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 03-22-2010 Last Update: 03-23-2010 Installs: 256
Template Edits
Re-useable Code Translations  
No support by the author.

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

Download Now

File Type: txt threadtitlecoloring.txt (1.6 KB, 2209 views)

Screenshots

File Type: png ThreadTitleColor.png (27.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
CharlesEdwards

Comments
  #12  
Old 03-23-2010, 10:54 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #13  
Old 03-23-2010, 11:01 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about the [Sticky:] prefix. how can I color that together with the thread title?
Reply With Quote
  #14  
Old 03-23-2010, 11:21 PM
Kaleem's Avatar
Kaleem Kaleem is offline
 
Join Date: May 2006
Location: New Jersey
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by El Intocable View Post
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.
Reply With Quote
  #15  
Old 03-23-2010, 11:22 PM
Kaleem's Avatar
Kaleem Kaleem is offline
 
Join Date: May 2006
Location: New Jersey
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
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.
Reply With Quote
  #16  
Old 03-24-2010, 01:24 AM
vicelover's Avatar
vicelover vicelover is offline
 
Join Date: Dec 2009
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 .
Reply With Quote
  #17  
Old 03-24-2010, 02:43 AM
vicelover's Avatar
vicelover vicelover is offline
 
Join Date: Dec 2009
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LightInClouds View Post
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;} 
Reply With Quote
  #18  
Old 03-24-2010, 05:14 AM
Kaleem's Avatar
Kaleem Kaleem is offline
 
Join Date: May 2006
Location: New Jersey
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have updated the file.

1.01

Strikeout the Closed thread.
Change Hot Thread Color.
Change Sticky Prefix.
Change Poll Prefix.
Reply With Quote
  #19  
Old 03-24-2010, 05:20 AM
Kaleem's Avatar
Kaleem Kaleem is offline
 
Join Date: May 2006
Location: New Jersey
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vicelover View Post
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
Reply With Quote
  #20  
Old 03-24-2010, 10:31 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LightInClouds View Post
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
Reply With Quote
  #21  
Old 03-25-2010, 01:37 PM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx i was looking for it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10837 seconds
  • Memory Usage 2,345KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete