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
Coloring Title Sticky Threads Details »»
Coloring Title Sticky Threads
Version: 1.00, by Dr.osamA Dr.osamA is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.3 Rating:
Released: 05-15-2010 Last Update: Never Installs: 38
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

Coloring Title Sticky Threads

hi guys

sorry for bad English

description:

With this modification you can make title of sticky threads in color font what you like

see pic in attachment

who to do that ?

in template THREADBIT find :

PHP Code:
                                        <class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a
replace it with :

PHP Code:
                                        <class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}"><vb:if condition="$thread['sticky']"><font color="#FF0000">{vb:raw thread.threadtitle}</font><vb:else />{vb:raw thread.threadtitle}</vb:if></a
Save

Demo : alra7ba.info


Note : if you wont other color then RED you can find in the code above
PHP Code:
<font color="#FF0000"
and change color to what you like

that is all



don't click Mark as Installed i don't ask for that

----------

للاخوة العرب تجدون الشرح بالعربي في المرفقات

Download Now

File Type: txt Arabic.txt (1.1 KB, 52 views)

Screenshots

File Type: jpg aha.jpg (110.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-18-2010, 11:45 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tafreeh View Post
hey Dr. Osama can you please add something for Unread thread title like change color or giving background color for unread thread title ... Thannks
i will try to do this for you .... but for unread thread there is bold font !!!
if i understand you wont color too

Right ?
If yes
just give me sometime plzz .... i am lose between my clinic my forum and VB.Org
Reply With Quote
  #13  
Old 05-19-2010, 02:44 AM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes exactly i want different color, but i m most interested in different backgroun color... just like skitcky topic have different background color ... If you can do that for me I will be really thankful to you habibi.
Reply With Quote
  #14  
Old 05-19-2010, 06:31 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tafreeh View Post
yes exactly i want different color, but i m most interested in different backgroun color... just like skitcky topic have different background color ... If you can do that for me I will be really thankful to you habibi.
https://vborg.vbsupport.ru/showthrea...=238890&page=3

^^^^^^^^^^^^^^^^^ that works brill mate :up:
Reply With Quote
  #15  
Old 05-19-2010, 10:49 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
yes exactly i want different color, but i m most interested in different backgroun color... just like skitcky topic have different background color ... If you can do that for me I will be really thankful to you habibi.

Quote:
Originally Posted by COL NIL SATIS View Post
https://vborg.vbsupport.ru/showthrea...=238890&page=3

^^^^^^^^^^^^^^^^^ that works brill mate :up:
right

exactly her

https://vborg.vbsupport.ru/showpost....8&postcount=31

and you are welcome habibi
Reply With Quote
  #16  
Old 05-20-2010, 12:25 AM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks both of you.. but this is for Hot, sticky and lock thread title... and I want normal unread thread title... that includes.. normal hot unread thread plus regular unread thread title... I hope you got me now....
Reply With Quote
  #17  
Old 05-20-2010, 06:55 AM
pdfbooks pdfbooks is offline
 
Join Date: Apr 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

الف شكر وتقدير
Reply With Quote
  #18  
Old 05-22-2010, 01:36 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tafreeh View Post
thanks both of you.. but this is for Hot, sticky and lock thread title... and I want normal unread thread title... that includes.. normal hot unread thread plus regular unread thread title... I hope you got me now....
for coloring unread threads look attachment

to do that follow me:

in Template threadlist.css find:

PHP Code:
.threadbit .threadtitle_unread {
    
font-weightbold;

and replace with:

PHP Code:
.threadbit .threadtitle_unread {
    
font-weightbold;
        
colorBlue;

you can change color to what you wish , as default in code i have Blue replace it with....

DarkGreen
Blue
Red
Yellow
Indigo

Demo alra7ba

i hop i help you
Attached Images
File Type: gif 1200.gif (37.1 KB, 0 views)
Reply With Quote
  #19  
Old 05-22-2010, 01:40 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pdfbooks View Post
الف شكر وتقدير
حيااك الله حبيبي منوور


Quote:
Originally Posted by funmasti View Post
nice info sharing
thank you you are welcome
Reply With Quote
  #20  
Old 05-24-2010, 04:40 AM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
for coloring unread threads look attachment

to do that follow me:

in Template threadlist.css find:

PHP Code:
.threadbit .threadtitle_unread {
    
font-weightbold;

and replace with:

PHP Code:
.threadbit .threadtitle_unread {
    
font-weightbold;
        
colorBlue;

you can change color to what you wish , as default in code i have Blue replace it with....

DarkGreen
Blue
Red
Yellow
Indigo

Demo alra7ba

i hop i help you
Thank you soo much Habibi... This exactly what i wanted.. but I still have a lil problem... I actually wanted to give unread thread title a different background.. so I tried this code...

Code:
.threadbit .threadtitle_unread {    
font-weight: bold;
background-color:#b0c4de;
}
But it doesnt seems to be working.... Can you please help me out with the background color too.. Thanks man.. I really appreciate your help.
Ma-Salama
Reply With Quote
  #21  
Old 05-25-2010, 10:56 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I actually wanted to give unread thread title a different background
let me see habibi what can i do

BRB
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 06:27 PM.


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.05370 seconds
  • Memory Usage 2,364KB
  • 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
  • (1)bbcode_code
  • (7)bbcode_php
  • (9)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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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