PortalParts.com Site

 Forum Index > Geeklog > Misc Projects New Topic Post Reply
 GLEventMgr on 1.5.1
 |  Printable Version
mstewartga
 December 14 2008 17:11 PM (Read 1681 times)  
Forum Junior
Junior

Status: offline

Registered: 12/13/08
Posts: 5

Does this work on v1.5.1?
Just installed it and I cant get it to work.
Something I need to do differently?
Thanks
Mike


 
Profile Email PM
Quote
Blaine
 December 14 2008 17:16 PM  
Forum Admin
Admin

Status: offline

Registered: 03/01/02
Posts: 3576

It should work - what problems are you having?


Please consider contributing to support my efforts ..
 
Profile Email Website PM
Quote
mstewartga
 December 14 2008 17:46 PM  
Forum Junior
Junior

Status: offline

Registered: 12/13/08
Posts: 5

The registerme link is not up on the calendar/
The Event Registration is in the admin, none of the tabs doing anything.

I have not attempted to run anything to ground yet. Just thought Id do a quick check to see if there was a 1.5.1 issue.
Mike
teamrv.us


 
Profile Email PM
Quote
mstewartga
 December 15 2008 06:53 AM  
Forum Junior
Junior

Status: offline

Registered: 12/13/08
Posts: 5

OK I found the problem.
The main problem was setting the event ist to track in the variable $CONF_REG['regEventType']
I did a cut and paste from my list in the calendar config.php and that list does not have quotes around each item in the list. Once I put the quotes in I was good to go. There have been some changes in 1.5.1 that render the install.txt file to not work. I have pasted my notes in here for you. The main change in the movement of the event list for the calendar from the main geeklog config to the pluging calendar config file.
Mike
======
Installation Steps

For more details, review the Geeklog plugin installation overview
http://wiki.geeklog.net/wiki/index.php/Plugins

As of Version 1.1 - This plugin is supported with Register Globals Off on your WebServer.

1) Restore the archive under your /plugins directory. You will have a staticpages folder there already. This directory is normally at the same
level as your sites main config.php file

2) Create 2 new directories
- public_html/registration
- admin/plugins/registration
Note: I dont have an admin directory in the root. I have one in public_html. I assume due to #4 you meant public_html/admin/plugins/registration

3) Copy the files under the plugins/registration/public_html to the first directory you created -- these are the public files.
So there will be a public_html/registration/index.php and 2 image files
Note: There are 3 image files

4) Copy the files under the plugins/registration/admin to the second directory you created -- these are the admin files.
So there will be a public_html/admin/plugins/registration/index.php and install.php file

5) Pre GL 1.4 sites: Add the new CSS to your theme style.css if you don't already have these CSS declarations.
New CSS is in the file 'plugins/registration/themefiles/additional.css'
Just add the new CSS to the end of the theme's style.css file.

Note: As of GL 1.4 - the CSS is part of the default theme - no need to add anything

6) Pre GL 1.4 sites - should also update the navbar theme files.
I have provided a copy under the themefiles folder in the archive.

7) Update the calendar template file to now have the [register me] link

GL 1.4.1 Sites:
As of GL 1.4.1 the GL calendar feature is a plugin.
The template file to be changed is located with the plugin
Replace the plugins/calendar/templates/eventdetails.thtml with the one in the registration plugin
> registration/themefiles/calendar/eventdetails.thtml
GL 1.4 and earlier Sites
If you have multiple themes then you wil need to update each theme
Update the template file {theme}/calendar/eventdetails.thtml with the one on the registration plugin
> registration/themefiles/calendar/eventdetails.thtml

8) Now we have to modify one Core GL program. This will integrate the registration links when a user is viewing an event.

GL 1.4.1 Sites:
As of GL 1.4.1 the GL calendar feature is a plugin and the file to be changed as a new name
Modify public_html/calendar/event.php

GL 1.4 and earlier sites
Modify public_html/calendar_event.php

Instructions to modify calendar event script
The new code to be added is in the base folder of the registration plugin - file 'code_to_add.txt'
It should be added near the end of the program -
After the line containing:
$cal_templates->set_var('event_description', stripslashes ($A['description']));
Before the line containing:
$cal_templates->parse('event_details', 'details', true);

That's the end of the hard stuff

9) From the plugin Editor, you should now see the new Registration plugin listed
Install the plugin

10) We need to add any new event types to the main geeklog config.php
You can add new event types to $_CONF['event_types']
Note: There is no $_CONF['event_types']in my main geeklog config. I do have that in my plugins/calendar/config.php
Mine looked like this
$_CA_CONF['event_types'] = "Airshow, Clinic, Fly-in, Just Flying Around, Meeting, Miscellaneous,"
."Performance, Practice, Seminar, Special Occasion, Trip";
Yours has quotes around each one.




11) Now setup the Registration plugin to tell it what events will be managed by the registration plugin
This allows you to not have the "Register Me" links appear for events like Birthdays.

Under plugins/registration - edit the config.php for the plugin
Set this variable to the event types you want to track using the registration feature.
$CONF_REG['regEventType'] = array ('Car Club Meeting','Rally/Race','Workshop');

12) As admin, you will see the "Event Registration" link in the admin menu
It will automatically show any events that are in the allowable type and are in the event calendar

13) The plugin also has security so that you can only allow members that are in a certain group to be able to register for events.
We don't want anonymous users to register and you may not want all members.
You have 2 options here:
i) Create a new group called "anything" and add the security right "registration.user"
Now add any members to this group you want to grant access

ii) Download my GroupAccess tool and add the "registration.user" permission to one of the core groups such as "Logged-in Users"
Then anyone logged in would have access to register and view registration.


Regards,
Blaine


 
Profile Email PM
Quote
mstewartga
 December 15 2008 07:15 AM  
Forum Junior
Junior

Status: offline

Registered: 12/13/08
Posts: 5

When sending an event mailing to attendees, where are you getting the reply to address from?
Mine is showing up as kahuna@www.teamrv.us which is my username and the sites URL. Its not the email address of the person logged in who is sending the reminder like I would expect.
Thanks
Mike


 
Profile Email PM
Quote
Content generated in: 0.16 seconds
New Topic Post Reply



 All times are CDT. The time is now 03:54 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content