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

Reply
 
Thread Tools
[CM] Fancy Admin Notice [BBCODE] (Animated + CSS3) Details »»
[CM] Fancy Admin Notice [BBCODE] (Animated + CSS3)
Version: 2.00, by ChiNa ChiNa is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.0 Rating:
Released: 10-29-2012 Last Update: 10-30-2012 Installs: 13
Additional Files Is in Beta Stage  
No support by the author.

Updated 31-OKT-2012 to Version 2.00 - 7 New BBCODES & Colors Added
Version 2.00 comes with
10 different BBCODES & COLORS


Please notice, This is a BETA Version 2 - Not Fully Finished

Brought to you by

After I was done making this ADDON, I realised that Internet Explorer does not support CSS3, So it will sadly not work on Internet Explorer!

Works almost on any vBulletin Version

Chrome Browser: Supports CSS3 / Works
Firefox Browser: Supports CSS3 / Works

Opera Browser: Supports CSS3 / Works
Internet Explorer: No CSS3 Support / Not working

Credits for the Source
:
Tympanus.net


Fancy Admin Notice BBCODDES



The Addon comes with 10 Different BBCODES & 10 Different COLORS

Lets Start


I will add all 10 different BBCODES with 10 Different Colors below eachother, Starting with Purple BBCODE Notice!

1) Download the "Upload.zip" file from the attachments below, and upload the folder called "cmain" to your forum root! Thats it for the file-upload!

Ps, I have added and Extra TXT File with all the Codes Inside.

2) Go to ADMINCP and scroll down till you see Custom BBCODE Section
Click on Add New BBCODE. And follow the steps below for the "Purple BBCODE Notice"!

Purple Notice (BBCODE)



Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
<link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="cmain/modernizr.custom.39460.js"></script> 
                    <div class="cmain">
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
                
                <div class="Color-Box Color-3">
<p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png

Important Notice: If you put use a "Button Image" then everyone is going to see the NOTICE TAG in your forum Text-Editor!

Else, I have Attached an IMAGE below for the Button for your Notice Tage, simply upload the "notice.png" to your forums images/buttons folder..

If you like to have it secret and only use it within admins, then keep it between the admins and mods..! Thats it, and below in the Optional Section you will find rest of the BBCODES Colors! Green & Yellow!

Dont forget to CLICK on INSTALLED if you use this, thank you!



Rest of the 9
BBCODES


Green Notice (BBCODE)



Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
                
                <div class="Color-Box Color-2">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png

Thats it, this was the Green Notice BBCODE! Below you will find the YELLOW BBCODE!



Yellow Notice (BBCODE)



Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-1">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png




Brown Notice (BBCODE)




Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-4">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png




DarkCyan Notice (BBCODE)




Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-5">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png





Dark-Gray
N
otice (BBCODE)





Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-6">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png


Bordeaux Notice (BBCODE)




Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-7">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png



Orange Notice (BBCODE)




Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-8">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>
Example: [NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png




Crimson Notice (BBCODE)




Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-9">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>


Example:
[NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png




Green Notice (BBCODE)




Title: Notice

BB Code Tag Name: notice

Replacement:
Code:
 <link rel="stylesheet" type="text/css" href="cmain/cmain.css" />
        <link rel="stylesheet" type="text/css" href="cmain/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
        <script type="text/javascript" src="js/modernizr.custom.39460.js"></script> 

        <div class="cmain">
                    
            <input type="checkbox" class="fire-check" />
            <button class="fire">Admin Notice</button>
            
            <section>
            
                <div class="Color-Box Color-0">
                    <p>{param}</p>
                    <div class="tn-progress"></div>
                </div>
                                
            </section>
        </div>


Example:
[NOTICE]Type your notice here[/NOTICE]

Description: Allows members to add a notice box with time limit!

Button Image: images/buttons/notice.png


Download Now

File Type: zip Upload.zip (36.1 KB, 62 views)
File Type: txt All Colors - TXT.txt (9.8 KB, 37 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
goxy63, megabink

Comments
  #12  
Old 11-02-2012, 05:24 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ChiNa-Man

heres an idea

BBCode : NOTICE

replacement

PHP Code:
<link rel="stylesheet" type="text/css" href="{vb:cssfile notices-cmain.css}" />
        <
link rel="stylesheet" type="text/css" href="{vb:cssfile notices-style.css}" />
        <
link rel="stylesheet" type="text/css" href="{vb:cssfile notices-normalize.css}" />
<
link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400italic' rel='stylesheet' type='text/css' />
<
script type="text/javascript" src="js/modernizr.custom.39460.js"></script>

        <
div class="cmain">
            <
input type="checkbox" class="fire-check" />
            <
button class="fire">Admin Notice</button>
            
            <
section>
            
                <
div class="ColorBox Color-9">
                    <
p>{param}</p>
                    <
div class="tn-progress"></div>
                </
div>
                                
            </
section>
        </
div
that way


[NOTICE]this message is viewable by admins only[/NOTICE]

this way minimal upload, no need to upload 3 css files just create them as templates
for example using my idea

Code:
notices-style.css
notices-cmain.css
notices-normalize.css
then you would do this

Code:
<link rel="stylesheet" type="text/css" href="{vb:cssfile notices-cmain.css}" />
<link rel="stylesheet" type="text/css" href="{vb:cssfile notices-normalize.css}" />
<link rel="stylesheet" type="text/css" href="{vb:cssfile notices-style.css}" />
Reply With Quote
Благодарность от:
ChiNa
  #13  
Old 11-02-2012, 08:55 PM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simonhind, Mr TheSupportForums,,

First of all thanks for your help "THUMBS UP".. I guess that no one knows your politics out of vBulletin.org!
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 01:50 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.03927 seconds
  • Memory Usage 2,299KB
  • Queries Executed 20 (?)
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
  • (12)bbcode_code
  • (1)bbcode_php
  • (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
  • (3)post_thanks_box
  • (3)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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