Tuesday 24th June 2008
by Sajith M.R
Do you wanna inform any important news or message to your readers ? Here is a simple plugin, WordPress Announcement Plugin.
Download the plugin from : http://downloads.wordpress.org/plugin/announcement.zip
Go to Admin > Plugin > and activate announcement plugin. After that, go to options and select Announcement. By default the plugin will be inactive. You have to set your announcement and activate the announcement by checking ‘Active’ checkbox.
Never Forgot to Run the Announcement. By Default the Announcement will be inactive

Enough !!! You visitors can now see your announcement. It will be displayed only one time for a particular user .
(If you want to see the announcement again, for testing purpose, Clear browser cookies, or atleast cookies from your blog. Otherwise you have to wait another 24 hours to play the announcement again)

The plugin is created with cute design and animation. It will never interrupt your blog reader.
Regards
Sajith
Tags: announcement, featured, flash, message, news, plugin, wordpress
Nope – doesn’t work for me with WP 2.6 either – even after editing the php file. Pity.
[...] WordPress Announcement is a free WordPress plugin that produces a “pop up announcement” for your WordPress blog visitors. The only receive the announcement once every 24 hours. [...]
OK, I got this fixed. IE was just being retarded, as usual. In the activateWindow command, there is an option for title. FF, Safari and Chrome all recognize that if its not there, it should be left blank. But IE in it’s infinite wisdom, decided it should make it null. So I fixed it by adding “title: ”” to make th line look like this:
myLightWindow.activateWindow({href: ‘$plugin_path/content.php’, title: ”, width:600});
OK, so I got it working on my test site, http://s220873760.onlinehome.us, in IE by doing the following. In announcement.php, change line 80 from:
myLightWindow.activateWindow({href: ‘$plugin_path/content.php’, width:600, class: class=”lightwindow page-options”});
to:
myLightWindow.activateWindow({href: ‘$plugin_path/content.php’, width:600});
Doing that change, it works now, but the only problem is that in the top left corner it says “Null” but again, that is only in IE. It still works perfectly in Firefox, Safari and Chrome. If someone could help figure out why the “Null” is there that would be awesome. Thanks.
Plugin works great on Safari, Firefox and Chrome, but still errors out in IE. Any update on a fix? Don’t see any updates from the developer… Has he given up the development? I would, as I’m sure a lot of other people would much appreciate if there was a fix for IE. Thanks in advance.
thanks a lot for sharing. Good luck for you
Guys and girls plugin is working with Firefox 3 but in IE7 not so all of you who are killing ur self to get work if you are using IE to preview will not work,give it try with firefox and youll se it is working…but yeah i think I will remove plugin till author fix this problem.
Or maybe some of you knows how to do that?
Regards
I’ve tried this plugin and not working for me neither. I really think this is a great idea, but it needs some more finetuning. Time for an update!
I have tried everything and it is not working.
Just loaded the plugin, activated the plugin and check marked active and edited the announcement on the private page. Cleared all cookies in all 5 of my browsers, to include…Safari, IE5, FF3, Camino and Opera. I am still getting nothing. Any suggestions?
Thank you.
Oh, works here…
http://scareo.com
Thanks again!
Works for us.
Thanks for an excellent plugin.
BOO!
Jeff
nice plugin for listbuiling. thank you!
maybe because of the default Publish Status of Page created for this plugin is “Private”. Please uncheck Private status and Save
worked for me after I put this in footer.php
But now I have the problem how to style it?
Not showing for me.
http://www.the-deen.co.uk
Regards…
There is one major problem!
When I use this on a Scandinavian language WORDPRESS I get very weird characters….For example ØÅÆ dosent work…have you forgot to use the WP native language files?
Best regards
Henrik
It didn’t work for me either. I’m using 2.6. Looks great, I’d appreciate it if you could let me know if you do get it working.
Strange, it didn’t work while using Safari for my site (yes, cookies have been deleted before the try), but work fine while using firefox (which i usually never use…).
So i guess it means that the plugin works fine. Hope that my readers are using firefox :p
Great plugin, however ! An idea of developpement : perhaps some contextual announcements, depending on the way the person arrives to the site (from google, from a specific web site, directly, …) or the page the reader is trying to access !??
Well… didn’t work for me, either (WP 2.5.1). Looks like it’ll be great, though!
Hi again!
This looks sexier than the WWSGD plugin. I’ll try it on my blog. Thanks.
doesn’t work for me….I’m on wordpress 2.5, i tried everything mentioned to no avail. Bummer
Installs fine in wp 2.5.1 but i get this error message
I do not get this message on any other plugin on my site at ALL
so as far as i am concerned apache is set up properly
————————————————————————
Forbidden
You don’t have permission to access /website.ca/wp-admin/< on this server.
Hi there,
this plugin relly looks great and works on your site very well
But on my site it takes no effect: http://www.celtic-rock.de
Could this depend on the theme? I use k2
Best wishes
Daniel
@all:
it is working fine me.
please follow the below steps:
1)Download the plugin and extract it to ur computer.
2)upload the announcement folder to ur plugin directory of wordpress.
3)activate the plugin via plugin tab in ur admin area.
4)open “setting” tab there u will see “Announcement” click it.
5)in “Announcement” click “Edit Announcement” link then a page will open .
6)write whatever u want in that page and click save (don’t click publish).
7)after that again open “Announcement” tab(step 4) check the activate box and click save thats all.
8)now open ur home page to check the announcement .
thanks to the plugin author .
I thought it wasn’t working on my site as well but when I checked in FireFox it worked great. Love the plugin just needs to work with I.E. Oh and making it do what Prudat said would be a great feature. Thanks
No it didn’t work on my blog so i removed the plugin. It is a shame, but I think the release of the plugin was to soon.
well the plugin works fine but i needed some help from you m8 how can i contact you plzz in need of help urgent as possible
Hello friends,
The plugin is not working on IE. I will correct the bug and upload the new one soooon
Regards
Sajith
Hello FruityOaty,
What you have done, is a wonder full job. Yep, IE shows script error. I am now working on that. I used lightwindow js. But now switching into lightweight js. The problem will be resolved on this monday. Regards
Sajith. M.R
IS there anyway to trigger a box like this on a button (or link) press? I love the idea but am looking to have the pop-up supplement a banner on my site. Likw it would say click here for more info and the box would popup without taking them away from the page.
Does this plugin workd with WP 2.5.1? I did the installation & announcement page setup, save the page, cleared all cookies and cashe – Still Nothing Here.
I went one step further and de-activated all plug-ins except the Announcement plug-in – Still nothing.
Testing on YOUR site on 2 different computers (both Windows XP).
Upon visiting your site for 1st time using IE 7, script errors occur in IE 7):
Line: 914
Char: 124
Error: Expected identifier, string or number
However, it’s totally fine in Firefox 2 as well as new version 3.
working well in my blog, but i’m agree with #jake
Hi Hyperlook,
Here it is working well. And please do provide your website also, let me see what it shows here.
I can see nothing but script errors when i visit ur website.
That’s really what i saw in my blog after i use the annoucement.
Why?
Hello Jake,
Every visitor can see the announcement , not only the new visitors. But once it played, it will set a cookie which expires in 24 hours. So the same person can see the announcement next day also. It would be very disturbance if it plays always when one visit your each page. That why i put this limitation. Anyway , i will add the option for setting expiry with in a day and will let you know.
Thanks and Regards
Sajith.M.R
It would be nice if this works for EVERY visitor to the site, not just new visitors.
In other words, if the announcement is changed, the cookie will be refreshed, and even previous visitors will see the NEW announcement. Maybe it already works this way, but seem so from the description on the website.
Better yet, provide 2 checkboxes:
1. “Never Display Announcements”
2. “Dont Show This Announcement Again”
Should provide a link to show them how to reset the options.
That would be super cool.
yes its checked i also made sure i had the wordpress wp_footer call in my template as well the content.php file displays the announcement i had set
Hey Dade, what is your website url. Make sure your checked the active checkbox in option area.
doesn’t work for me either in 2.5 or 2.6b1
Hi Ahmed,
Thank you for your suggestions . Yep, i will add the options for views, and font selection soon. Will let you know when it finishes. Thanks and Regards
Sajith M.R
Sajith,
Just came across this: http://www.sajithmr.com/wordpress-announcement-plugin/ and thank you very much for developing it.
I wonder if you can add support for a couple of things:
1) The ability to track ‘views’ – how many people see the message? The counter could be reset each time the message was changed.
2) Automatically picking up things like font style and color scheme from the theme stylesheet. I know there’s a CSS file that can be messed with, but for novice users this would help integrate the plugin into their sites more effectively.
Anyway, top plugin mate.
cheers,
Ahmed
hi. Thanks for plugin
perfect.
Regards
Great plug-in!
Thank you very much for bring it to the scene.
You installation is ok. http://www.veronablog.com/wp-content/plugins/announcement/content.php
I think you did not start the announcement .
Nothing working here: http://www.veronablog.com/
Hello Piggy, You need to Run the plugin (Check the checkbox in plugin option window) after adding a proper announcement or news . The path is
Log in as admin & Option >> Announcement
No need for lightbox plugin. It is also included. It works for me. Do one thing, clear cookies from your browser and try again . Otherwise You can see only one time the announcement (within 24 hours)
Hmm.
Didn’t work for us.
Nothing is displayed at all. Using WP2.5.1
Does it require the Lightbox plugin, or anything similar?