{"id":20453,"date":"2012-10-22T05:55:03","date_gmt":"2012-10-22T05:55:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/emc2-alert-boxes\/"},"modified":"2012-10-29T00:02:50","modified_gmt":"2012-10-29T00:02:50","slug":"emc2-alert-boxes","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/emc2-alert-boxes\/","author":7938513,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3","stable_tag":"1.3","tested":"3.4.2","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"EMC2 Alert Boxes","header_author":"Eric McNiece","header_description":"","assets_banners_color":"7abdbc","last_updated":"2012-10-29 00:02:50","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/emc2innovation.com","header_plugin_uri":"http:\/\/emc2innovation.com","header_author_uri":"http:\/\/emc2innovation.com","rating":3,"author_block_rating":0,"active_installs":40,"downloads":5293,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial Release<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"615476","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566920","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566920","resolution":"1","location":"plugin"}},"screenshots":{"1":"Theme-side box view.","2":"TinyMCE shortcode creation interface."}},"plugin_section":[],"plugin_tags":[2566,27036,203,491,2708],"plugin_category":[],"plugin_contributors":[84868],"plugin_business_model":[],"class_list":["post-20453","plugin","type-plugin","status-closed","hentry","plugin_tags-alert","plugin_tags-emc2","plugin_tags-html5","plugin_tags-popup","plugin_tags-warning","plugin_contributors-emcniece","plugin_committers-emcniece"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/emc2-alert-boxes_7abdbc.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/emc2-alert-boxes\/trunk\/screenshot-1.png?rev=1566920","caption":"Theme-side box view."},{"src":"https:\/\/ps.w.org\/emc2-alert-boxes\/trunk\/screenshot-2.png?rev=1566920","caption":"TinyMCE shortcode creation interface."}],"raw_content":"<!--section=description-->\n<p>EMC2 Alert Boxes uses jQuery and HTML5 animations to provide a great-looking, simple and functional alerting system. Alert boxes can be placed using the <code>[emc2alert]<\/code> shortcode or by calling the <code>$().emc2alert()<\/code> jQuery function!<\/p>\n\n<p>Check the demo at http:\/\/alert.emc2innovation.com !<\/p>\n\n<p>Easy to use! Insert a shortcode on any page using a quick-create TinyMCE icon, or create alerts on the fly using jQuery:<\/p>\n\n<p>Shortcode: <code>[emc2alert]This is some text![\/emc2alert]<\/code><br \/>\n -or-<br \/>\njQuery:  <code>$('body').emc2alert({ text:\"This is some text!\" });<\/code><\/p>\n\n<p><strong>Advanced Usage<\/strong><\/p>\n\n<p><em>Shortcode<\/em><\/p>\n\n<p>[emc2alert type=\"success\" style=\"normal\" width=\"300px\" position=\"top\" wpbar=\"auto\" visible=\"visible\" closebtn=\"1\" title=\"Introducing...\" animate=\"true\"]A great way to alert your visitors![\/emc2alert]<\/p>\n\n<p>Defaults:<\/p>\n\n<ul>\n<li><strong>type<\/strong>: \"info\" - \"success\", \"warning\", \"error\" also available<\/li>\n<li><strong>style<\/strong>: NULL - \"normal\" displays as block at shortcode location, or \"fixed\" for top or bottom of page<\/li>\n<li><strong>width<\/strong>: NULL - accepts position with units, ie \"300px\", \"100%\" or \"5em\"<\/li>\n<li><strong>position<\/strong>: \"top\" - If style=\"fixed\", position can be set to top or \"bottom\" of page<\/li>\n<li><strong>wpbar<\/strong>: \"auto\" - Auto-detects WP Admin Bar. Can be set to TRUE or FALSE as well to set compensation.<\/li>\n<li><strong>visible<\/strong>: TRUE - Set to FALSE to hide<\/li>\n<li><strong>closebtn<\/strong>: FALSE - Set to TRUE to add a close button to the box<\/li>\n<li><strong>title<\/strong>: \"Alert Title\" - Box title<\/li>\n<li><strong>animate<\/strong>: FALSE - Set to TRUE to enable slideUp() and slideDown() jQuery animations on open and close!<\/li>\n<\/ul>\n\n<p><em>jQuery<\/em><\/p>\n\n<pre><code>$('body').emc2alert({            \/\/ Prepends Alert Box to 'body' element\n    title: \"Your Title\",          \/\/ or $('myTitleDiv').html()\n    text: \"Your Message\",         \/\/ or $('myMsgDiv').html()\n    type: \"info\",                 \/\/ 'info', 'warning', 'error', 'success' - determines bg colors\n    style: \"normal\",              \/\/ 'normal', 'fixed' - in page or fixed to top or bottom\n    visible: true,              \/\/ true, false - hides if necessary\n    position: \"top\",              \/\/ 'top', 'bottom' - positions box on page\n    width: null,                \/\/ '100%', '960px' - specify units\n    closebtn: false,            \/\/ true, false - displays close button in corner\n    wpbar: false,               \/\/ true, false, 'auto' - adds top margin to avoid admin bar, with auto-detect\n    animate: false              \/\/ true, false - adds open\/close animation\n});\n<\/code><\/pre>\n\n<p>BIG thanks to <a href=\"http:\/\/www.red-team-design.com\/cool-notification-messages-with-css3-jquery\">Red Team Design's work<\/a>!<\/p>\n\n<p>To Do list:<\/p>\n\n<ul>\n<li>Add <em>animate<\/em> argument to TinyMCE shortcode generator<\/li>\n<li>Add custom class field to shortcode<\/li>\n<li>Add a settings page<\/li>\n<li>Make plugin child-theme compatible<\/li>\n<li>Add !important styles to CSS<\/li>\n<\/ul>\n\n<p>Known bugs:<\/p>\n\n<ul>\n<li>None yet! Please post at http:\/\/alert.emc2innovation.com if you find one.<\/li>\n<\/ul>\n\n<h3>Configuration<\/h3>\n\n<p>EMC2 Alert Boxes will work straight out of the box. Everything is configured from the shortcode or jQuery call! Post in the forums if you want to see a feature added.<\/p>\n\n<p>If you are editing with the TinyMCE WYSIWYG interface, you will notice an orange triangle icon appear. This is a quick-build shortcode generator in case you forget exactly<\/p>\n\n<!--section=installation-->\n<p>Installation is straighforward:<\/p>\n\n<ol>\n<li>Upload the <code>\/emc2-alert-boxes\/<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add shortcode to page or call function with jQuery<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why do you take forever to respond?<\/dt>\n<dd><p>I work to eat. If you want a faster response, consider donating or hiring me for a job!<\/p><\/dd>\n<dt>Are you available for help?<\/dt>\n<dd><p>I might be able to help you - it totally depends on my schedule and workload. Send me an email! hello@emc2innovation.com. You could also post here on the forums.<\/p>\n\n<p>If you want to jump the gun, make me a temporary user (with that email up there) and I will be more inclined to give you a hand. In return for my help, all I ask for is a rating! :)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Helloooooo World.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added register_activation hook<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Goofed on an SVN update<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fixed a remote call to make plugin standards-compliant<\/li>\n<\/ul>","raw_excerpt":"EMC2 Alert Boxes make a great way to notify your visitors of anything!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20453"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/emcniece"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20453"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20453"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20453"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20453"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20453"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}