Eve Calendar
By Jamin Colley

Contents

Features

Demo

Program Installation Instructions
One
In your site's FTP server, create a new folder called evecalendar, and CHMOD this directory to 0777.
In most FTP clients, you can access a folder's CHMOD settings by right-clicking the folder and selecting the menu option that says something along the lines of "Permissions" or "Attributes." If your FTP client only provides checkboxes without a number box (WS-FTP is one example), make sure all Read/Write/Execute boxes are checked for all three groups.


Two
Upload evecalendar.php and evecalendar_install.php to your the evecalendar folder you just created.


Three
In your browser, visit http://yoursite.com/evecalendar/evecalendar_install.php. Fill in all the settings and options, and then submit the form.
The installer file will automatically create a file called evecalendar_config.php with all your database and display settings. If you ever want to change how your Calendar works, edit this file to change the options. After the installer has finished, it also automatically deletes itself for security reasons.


Four
If you chose to use the cache, you need to leave your calendar folder with a CHMOD of 0777. If you don't want to use the cache, and have successfully gotten to the "That's All, Folks!" page in the installer, you can now change the folder's CHMOD back to 0755.
For you checkbox-only people, Read/Write/Execute should be checked for Owner, and Read/Execute (not write) should be checked for Group and Other.


Five
This step is optional. It is necessary only if you set the New Event permission option to "Power Group & Superadmins," and only if you want users other than superadmins (for example, forum moderators, or your best IRL friend who keeps bugging you that he wants special perks for being on your site) to be able to add/edit calendar events. Don't create the group, or just don't add any users to it, if you want only superadmins to be able to post events. Note that superadmins do not have to be added to the group - they can post events regardless.

In your Eve CP, create a new Power Group called EVECALENDAR. Add any users who you want to have event add/edit priviledges to this group.

This power user group is the trade-off that allows non-superadmins to add events, but without the large number of queries that would be generated by checking every user for moderator status in every forum. It takes more effort on your part, but it's much nicer on the server.


Six
In your Eve control panel, go to Eve > Master Settings > Advanced, and check the Only permit requests from This Domain option in the Authentication Requests section.


Seven
You're done installing the main program. Now you need to install the HTML to display it. Normally this is the place I'd give you lots of HTML code to baby-step you through the rest of the install. However, I'm really not sure exactly how most people are going to end up using the calendar. As such, I've given you the basic iframe. But you'll need to work it into your pages in the best way you see fit. See the readme file in my Eve Shoutbox package for some basic table layout HTML.
<iframe src="http://yourdomain.com/evecalendar/evecalendar.php" name="cal" width="100%" height="100%" frameborder="0" id="cbox">
Your browser does not support inline frames! The calendar will not be available until you upgrade to a newer 
<a href="http://www.mozilla.org/products/firefox" target="_new">browser</a>.
</iframe>