Archive for the ‘Uncategorized’ Category

Events Calendar Update

Monday, April 5th, 2010

Hello everyone. First off let me apologize for not having any updates or fixes for the events calendar in recent times. I have lost touch with others that have worked on the plugin for reasons that I do not know. I too have had many things that have been taking precedence over working on projects. I am starting back work today on Events Calendar. To help with sorting through the bugs and reports that have been made, I need everyone’s help. I will be updating the svn trunk for the plugin while working on it. I would appreciate anyone that wants to play around with it to email me any issue to luke (at) wp-eventscalendar (dot) com.

If is something quick and you have a patch you will be credited with the solution. Any help is appreciated as I want to get the plugin where it should be and make it useful for everyone that needs it.

SVN Trunk is http://svn.wp-plugins.org/events-calendar/trunk

Feel free to email me with any concerns or questions.

PHP Form Select for States and Provinces

Tuesday, March 23rd, 2010

I put this together and thought I would share it. Uses php to select the current drop down for state. Line 2 is where $state is set. You can set this based on anything you need.

<?php
$state = '';
?>
<select id="state" name="state">
<option value="">Select One</option>
<optgroup label="Canadian Provinces">
<option <?php echo $state=='AB' ? 'selected="selected" ' : '';?>value="AB">Alberta</option>
<option <?php echo $state=='BC' ? 'selected="selected" ' : '';?>value="BC">British Columbia</option>
<option <?php echo $state=='MB' ? 'selected="selected" ' : '';?>value="MB">Manitoba</option>
<option <?php echo $state=='NB' ? 'selected="selected" ' : '';?>value="NB">New Brunswick</option>
<option <?php echo $state=='NF' ? 'selected="selected" ' : '';?>value="NF">Newfoundland</option>
<option <?php echo $state=='NT' ? 'selected="selected" ' : '';?>value="NT">Northwest Territories</option>
<option <?php echo $state=='NS' ? 'selected="selected" ' : '';?>value="NS">Nova Scotia</option>
<option <?php echo $state=='NU' ? 'selected="selected" ' : '';?>value="NU">Nunavut</option>
<option <?php echo $state=='ON' ? 'selected="selected" ' : '';?>value="ON">Ontario</option>
<option <?php echo $state=='PE' ? 'selected="selected" ' : '';?>value="PE">Prince Edward Island</option>
<option <?php echo $state=='QC' ? 'selected="selected" ' : '';?>value="QC">Quebec</option>
<option <?php echo $state=='SK' ? 'selected="selected" ' : '';?>value="SK">Saskatchewan</option>
<option <?php echo $state=='YT' ? 'selected="selected" ' : '';?>value="YT">Yukon Territory</option>
</optgroup>

<optgroup label="U.S. States">
<option <?php echo $state=='AK' ? 'selected="selected" ' : '';?>value="AK">Alaska</option>
<option <?php echo $state=='AL' ? 'selected="selected" ' : '';?>value="AL">Alabama</option>
<option <?php echo $state=='AZ' ? 'selected="selected" ' : '';?>value="AZ">Arizona</option>
<option <?php echo $state=='AR' ? 'selected="selected" ' : '';?>value="AR">Arkansas</option>
<option <?php echo $state=='CA' ? 'selected="selected" ' : '';?>value="CA">California</option>
<option <?php echo $state=='CO' ? 'selected="selected" ' : '';?>value="CO">Colorado</option>
<option <?php echo $state=='CT' ? 'selected="selected" ' : '';?>value="CT">Connecticut</option>
<option <?php echo $state=='DE' ? 'selected="selected" ' : '';?>value="DE">Delaware</option>
<option <?php echo $state=='DC' ? 'selected="selected" ' : '';?>value="DC">District of Columbia</option>
<option <?php echo $state=='FL' ? 'selected="selected" ' : '';?>value="FL">Florida</option>
<option <?php echo $state=='GA' ? 'selected="selected" ' : '';?>value="GA">Georgia</option>
<option <?php echo $state=='HI' ? 'selected="selected" ' : '';?>value="HI">Hawaii</option>
<option <?php echo $state=='ID' ? 'selected="selected" ' : '';?>value="ID">Idaho</option>
<option <?php echo $state=='IL' ? 'selected="selected" ' : '';?>value="IL">Illinois</option>
<option <?php echo $state=='IN' ? 'selected="selected" ' : '';?>value="IN">Indiana</option>
<option <?php echo $state=='IA' ? 'selected="selected" ' : '';?>value="IA">Iowa</option>
<option <?php echo $state=='KS' ? 'selected="selected" ' : '';?>value="KS">Kansas</option>
<option <?php echo $state=='KY' ? 'selected="selected" ' : '';?>value="KY">Kentucky</option>
<option <?php echo $state=='LA' ? 'selected="selected" ' : '';?>value="LA">Louisiana</option>
<option <?php echo $state=='ME' ? 'selected="selected" ' : '';?>value="ME">Maine</option>
<option <?php echo $state=='MD' ? 'selected="selected" ' : '';?>value="MD">Maryland</option>
<option <?php echo $state=='MA' ? 'selected="selected" ' : '';?>value="MA">Massachusetts</option>
<option <?php echo $state=='MI' ? 'selected="selected" ' : '';?>value="MI">Michigan</option>
<option <?php echo $state=='MN' ? 'selected="selected" ' : '';?>value="MN">Minnesota</option>
<option <?php echo $state=='MS' ? 'selected="selected" ' : '';?>value="MS">Mississippi</option>
<option <?php echo $state=='MO' ? 'selected="selected" ' : '';?>value="MO">Missouri</option>
<option <?php echo $state=='MT' ? 'selected="selected" ' : '';?>value="MT">Montana</option>
<option <?php echo $state=='NE' ? 'selected="selected" ' : '';?>value="NE">Nebraska</option>
<option <?php echo $state=='NV' ? 'selected="selected" ' : '';?>value="NV">Nevada</option>
<option <?php echo $state=='NH' ? 'selected="selected" ' : '';?>value="NH">New Hampshire</option>
<option <?php echo $state=='NJ' ? 'selected="selected" ' : '';?>value="NJ">New Jersey</option>
<option <?php echo $state=='NM' ? 'selected="selected" ' : '';?>value="NM">New Mexico</option>
<option <?php echo $state=='NY' ? 'selected="selected" ' : '';?>value="NY">New York</option>
<option <?php echo $state=='NC' ? 'selected="selected" ' : '';?>value="NC">North Carolina</option>
<option <?php echo $state=='ND' ? 'selected="selected" ' : '';?>value="ND">North Dakota</option>
<option <?php echo $state=='OH' ? 'selected="selected" ' : '';?>value="OH">Ohio</option>
<option <?php echo $state=='OK' ? 'selected="selected" ' : '';?>value="OK">Oklahoma</option>
<option <?php echo $state=='OR' ? 'selected="selected" ' : '';?>value="OR">Oregon</option>
<option <?php echo $state=='PA' ? 'selected="selected" ' : '';?>value="PA">Pennsylvania</option>
<option <?php echo $state=='PR' ? 'selected="selected" ' : '';?>value="PR">Puerto Rico</option>
<option <?php echo $state=='RI' ? 'selected="selected" ' : '';?>value="RI">Rhode Island</option>
<option <?php echo $state=='SC' ? 'selected="selected" ' : '';?>value="SC">South Carolina</option>
<option <?php echo $state=='SD' ? 'selected="selected" ' : '';?>value="SD">South Dakota</option>
<option <?php echo $state=='TN' ? 'selected="selected" ' : '';?>value="TN">Tennessee</option>
<option <?php echo $state=='TX' ? 'selected="selected" ' : '';?>value="TX">Texas</option>
<option <?php echo $state=='UT' ? 'selected="selected" ' : '';?>value="UT">Utah</option>
<option <?php echo $state=='VT' ? 'selected="selected" ' : '';?>value="VT">Vermont</option>
<option <?php echo $state=='VA' ? 'selected="selected" ' : '';?>value="VA">Virginia</option>
<option <?php echo $state=='WA' ? 'selected="selected" ' : '';?>value="WA">Washington</option>
<option <?php echo $state=='WV' ? 'selected="selected" ' : '';?>value="WV">West Virginia</option>
<option <?php echo $state=='WI' ? 'selected="selected" ' : '';?>value="WI">Wisconsin</option>
<option <?php echo $state=='WY' ? 'selected="selected" ' : '';?>value="WY">Wyoming</option>
</optgroup>
</select>

Events Calendar Announcements

Friday, May 22nd, 2009
Hello everyone.  There are a few exciting announcements to make regarding the Events Calendar plugin.

First off I would like to welcome a couple of new members to the Events Calendar team.

  • Louis Lapointe has joined our team and has been a big help in getting collaboration going and sharing ideas to help with support of the plugin.  With Louis’ suggestion we will be having a bug tracker to help with the development of the plugin.  Louis is also putting together to major tests to bring the plugin to it’s knees.  This is good for us because the more bugs we catch the better it is for you.  Louis is setting up his site at http://www.laplix.com.  Be sure to visit him.
  • The next addition is Coe Gwathney.  Coe is a long time friend of mine and is a very talented graphics artist.  He is working on a logo for us and will be very beneficial in the development of the plugin.  Coe is getting his feet wet with coding and WordPress.  Visit him at http://www.gwathneydesign.com to see some of his work.

The support for the plugin will be moved to http://www.wp-eventscalendar.com.  There you will find a blog on the front page that will be used for announcements and to hear your comments.  There is also a forum at http://forum.wp-eventscalendar.com.  This forum will be used as you would expect.  General comments, questions and suggestions will be handled here.  There will be a bug tracker at http://tracker.wp-eventscalendar.com.  This is powered by Mantis and will be up and running in the next day or two.

Lastly, with the popularity of Twitter, we decided that it would be beneficial to have a presence there.  You can find us at http://www.twitter.com/wpec.  This will give you immediate access to anything that we think needs to be pushed out.  So whether you are online at your computer or using a mobile client you will be able to see updates pertaining to the Events Calendar.

Hope to see everyone at the new site for support.  I will still be posting some announcements and other things here but support will be handled at the new site.

Follow me on Twitter

Sunday, April 26th, 2009

I added an image in the sidebar that will allow you to follow me on twitter.  I don’t expect nor am I trying to reach the ranks or Ashton or Diddy, but I’ll take as many as I can get.  Just for your information, there might be some tweets that have non-PG language so if you follow me be prepared.  I will used it for updates about the site as well, but there are personal ones as well.
Also, a big thanks to my buddy Coe for the design of the Follow Me icon.  Thanks Coe.  Don’t forget to check out his site.

New Site to Check Out

Tuesday, April 21st, 2009

A friend of mine has started a site now to show off some of his graphic design work.  He is self taught and very talented.  Check out Coe’s site, Gwathney Design for some top notch work.