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)

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


All times are GMT. The time now is 02:37 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.01163 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_php_printable
  • (5)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