vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Better Anouncements (https://vborg.vbsupport.ru/showthread.php?t=191392)

TilkiBey 09-20-2008 11:44 AM

Quote:

Originally Posted by GWLiaR (Post 1626259)
You Can use.


Add Style CSS
Code:

.warning,
.attention,
.notice,
.help,
.information
{
    color: #000;
    border: 1px solid #000;
    -moz-border-radius: 5px;
    background-color: #FCF8C7;
    padding: 6px;
    text-align:left;
}

.warning img,
.attention img,
.help img,
.notice img,
.information img
{
    float:left;
    margin-top: 10px;
    margin-right: 5px;
    vertical-align:middle;
    border: 0px;
}

.warning h2,
.warning p,
.notice h2,
.notice p,
.attention h2,
.attention p,
.help h2,
.help p,
.information h2,
.information p
{
    padding: 0px;
    margin:  0px;
    margin-left: 60px;
}

.warning h2,
.attention h2,
.notice h2,
.help h2,
.information h2
{
    padding-bottom: 4px;
    font-size: 14px;
    border-bottom: 1px solid #000;
}

.warning h1,
.attention h1,
.notice h1,
.help h1,
.information h1
{
    padding: 0px;
    margin:  0px;
    margin-left: 60px;
    font-size: 12px;
        font-weight:normal;
}

.warning h6,
.attention h6,
.notice h6,
.help h6,
.information h6
{

    margin:  20px;
    padding: 0px;
    margin-left: 60px;
    font-size: 12px;
        font-weight:normal;
}

.warning
{
    background-color: #FFCCCC;
}

.help
{
    background-color: #d5eeb6;
}

.warning ul,
.attention ul,
.notice ul,
.help ul,
.information ul
{
    margin-left: 30px;
}

Add BBCode:
Tag:warning (e.g notice,information...)
Code:

<div class='warning(e.g notice,information)'>
 <img src='images/misc/warning(e.g information,notice).gif' alt='image' />
 <h2><strong>Warning</strong></h2>
<h1><font color="#000000">{param}</font></h1>
<br /><br /></div>


thx :up:
installed

puertoblack2003 09-20-2008 05:15 PM

this will be great to incorporate it with the alert box hack

EuK 09-20-2008 08:19 PM

thanks

exel 09-20-2008 08:26 PM

thanks *installed*

GWLiaR 09-21-2008 04:35 AM

Thanks Everybody...

GaiLoan 09-21-2008 05:50 PM

this nice thanks

GWLiaR 09-22-2008 03:46 AM

Thanks Gailoan :)

iyihost 09-23-2008 10:12 AM

installed ;)

GWLiaR 09-23-2008 10:14 AM

Thanks iyihost :)

tom212 09-25-2008 07:19 PM

Any suggestion on how you could write a conditional to go with this so that the announcement only appears once per user session?

Thanks!

Tom


All times are GMT. The time now is 01:55 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.01773 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (1)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