Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
YJD - Change color of notice Details »»
YJD - Change color of notice
Version: 1.00, by foudu1030 foudu1030 is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.x Rating:
Released: 02-04-2012 Last Update: Never Installs: 14
Template Edits
Re-useable Code  
No support by the author.

Demo:



Open template additional.css and add:

Code:
#notices .restore {
	background-color: #D0EDFE;
	border: 1px solid black;
        font-family:arial, verdana, sans-serif;  
        margin-bottom: 10px;  
        font-size:13px; 
        font-weight: bold;
        text-align:center;
	line-height:16px;
	padding: 5px;
	-moz-border-radius: 5px; 
        -webkit-border-radius: 5px; 
        border-radius: 5px;
}
#notices .restore a:link, #notices .restore a:visited {
	color:{vb:stylevar lastposttitle_link_color};
	font-weight: bold;
}
Finish ! =)

Screenshots

File Type: jpg notice1.jpg (29.9 KB, 0 views)
File Type: png notice.png (41.3 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-05-2012, 04:05 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your title suggests that you can control the color of your notice background by applying your code in additional css template.

4.1.10 stylevar notices_background all ready does this!
Reply With Quote
4 благодарности(ей) от:
foudu1030, FReeSTER, K4GAP, puertoblack2003
  #3  
Old 02-06-2012, 04:11 PM
foudu1030 foudu1030 is offline
 
Join Date: Jul 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I'm not english.
I'm from Belgium and I speak not good english.
Can you described your comment?
Thanks
Reply With Quote
  #4  
Old 02-06-2012, 05:48 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by foudu1030 View Post
Sorry, I'm not english.
I'm from Belgium and I speak not good english.
Can you described your comment?
Thanks
basically this edit is useless
stylevar notices_background (stylvar controls this)
Reply With Quote
  #5  
Old 02-06-2012, 06:53 PM
foudu1030 foudu1030 is offline
 
Join Date: Jul 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah ! Okay !
I did not know
Reply With Quote
  #6  
Old 02-10-2012, 08:18 PM
PakStarTv.com PakStarTv.com is offline
 
Join Date: Nov 2011
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome !!!!!
changed
Reply With Quote
  #7  
Old 02-13-2012, 09:00 AM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you...
Reply With Quote
  #8  
Old 02-14-2012, 03:48 AM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code works just fine for those who don't wanna mess with style variables... my comment is remove the text-align:center; in the code... you can use html when making a notice and add an image using html also...
Reply With Quote
  #9  
Old 02-15-2012, 03:17 PM
foudu1030 foudu1030 is offline
 
Join Date: Jul 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by faisaly.com View Post
The code works just fine for those who don't wanna mess with style variables... my comment is remove the text-align:center; in the code... you can use html when making a notice and add an image using html also...
Of course
Reply With Quote
  #10  
Old 03-06-2012, 07:12 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rated = Excellent
installed
tank you bro
keep it up bro
Reply With Quote
Reply

Thread Tools

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:17 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.05128 seconds
  • Memory Usage 2,316KB
  • 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
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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