Events Manager 1.0.1 released and fighting The Green Screen of DeathTM
Hello folks,
I have just released Events Manager 1.1.
It’s a minor release, but it contains a couple of important bug fixes, so you are all encouraged to upgrade.
Bug fixes:
- There was a bug which made caused Events Manager to overwrite all loops in the events page; very stupid by my part, but I needed some testing to spot it.
- The events page list was not included between
<ul>elements, and thus the Events page didn’t validate. Now all of that has been fixed. -
The default list widget format missed a crucial
<li>element at the beginning; again, pages using the widget did not validate. If you haven’t changed the widget default format and are using the list widget, you’d better change the format in the widget options, setting it to:<li>#_LINKEDNAME<ul><li>#j #M #y</li><li>#_TOWN</li></ul></li> -
I added some CSS styling to make sure custom style sheet doesn’t interfere with the Google Maps style.
Minor features added:
-
I have added four conditional template tags, which allow theme designers to style accurately the events page template. Now you can tweak your template to events pages and plan an alternative layout if no events are available; see the Conditional Template Tags section of the plugin documentation.
-
I have added a “no events message” option, to let users customise the message displayed when no events are available.
Important note
A couple of users signalled a weird behaviour. A green background appeared in the place of their maps. I’ll call this the Green Screen of DeathTM. If your Google Map key is correct, you should see the map in the admin section; if so, in all likelihood, there’s a problem with your theme. Open the header.php file, which should contain the <head> section of your template; if you haven’t any header.php file, just find out where the <head> section is. Check if the <head> section contains this:
<link rel="alternate" type="application/rss+xml" title="Nutsmuggling » Events Manager 1.0.1 released and fighting <em>The Green Screen of Death<sup>TM</sup></em> Comments Feed" href="http://davidebenini.it/2008/08/13/events-manager-101-released-and-fighting-the-green-screen-of-deathtm/feed/" />
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-1008744-3");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<!-- begin lightbox scripts -->
<script type="text/javascript">
//<![CDATA[
document.write('<link rel="stylesheet" href="http://davidebenini.it/wp-content/plugins/lightbox-2/Themes/Brown/lightbox.css" type="text/css" media="screen" />');
//]]>
</script>
<script type="text/javascript" src="http://davidebenini.it/wp-content/plugins/lightbox-2/lightbox2/prototype.js"></script>
<script type="text/javascript" src="http://davidebenini.it/wp-content/plugins/lightbox-2/lightbox2/scriptaculous.js"></script>
<script type="text/javascript" src="http://davidebenini.it/wp-content/plugins/lightbox-2/lightbox2/lightbox.js"></script>
<!-- end lightbox scripts -->
If the previous line isn’t there, add it before </head>. Now the map should work allright. If this is a theme of yours, you’re done; if not, you would do the theme designer a kind service signalling the problem with an e-mail.
Enjoy,
Davide
Notes
- “https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(“%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E” [↩]







2008-08-13 at 9.41 pm
Your header “fix” did the trick – the maps are there!
Where do we DL the 1.01? Haven’t been able to find it on the WP site and the tinyURLS link brings me to your “green screen of death” page.
Thanks for everything!!!
2008-08-13 at 11.35 pm
Nevermind….saw the upgrade link in my admin plugin area. blush
2008-08-16 at 4.40 am
Hello,
I have a question about the display of the Google map. The map displays OK in the Admin area, and most times displays in the event page, but sometimes the green field is displayed. It appears that this is occuring when a non commercial venue is named. For instance, someone’s house (Kenny’s House). If the venue is cleared, then the map displays OK. You can see an example at the URL provided above.
The pHp header action hook is in place.
Do you have a suggestion how to correct this?
Very nice plugin!
Thanks,
Pat
2008-08-16 at 2.12 pm
If the map displays correctly in the admin area, and your theme contains the
wp_head()call, then it’ probably Google Maps’s fault. Sometimes Google Maps server is overloaded and no map is sent; thence the green screen. Anyway, the green screen is there for debug purposes; I might consider change this and just make the div transparent, not to ruin your themes’ appearence. I’ll think about it.Also, as I said in the other page, the address is given priority over the venue; since Google Maps is very particulr abpout venue names, you’d better specify an address. Cheers, Davide
2009-01-16 at 12.33 am
Hey. Nice work on this plugin. I am having troubles with your plugin. It is only showing 10 of the events I have entered and there is no ‘next page >’ buttons or anything. Any idea what could be doing this?
2009-01-16 at 12.38 am
My bad… please disregard my post. I didn’t see the page you have laid out answering this very question. Sorry to trouble you.