Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: HoverClub on December 15, 2011, 02:30:46 PM

Title: Event Registration for SMF2
Post by: HoverClub on December 15, 2011, 02:30:46 PM
Link to Mod
(http://custom.simplemachines.org/mods/index.php?mod=3238)
Title: Re: Event Registration for SMF2
Post by: hcfwesker on December 15, 2011, 03:42:06 PM
Very Nice.  I'll probably check this out.  I have pftq's version installed, but it's producing a DateRegistered undefined error each time the event topic is viewed by anyone.  I get several hundred a day from it.  I'll try this version out and let you know if I run into any issues.  nice work

Quick Question.  does this use the same settings as the other.  I don't want to uninstall the other, then install this, cause we have events with registration currently going on right now.
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 16, 2011, 04:16:01 AM
Quote from: hcfwesker on December 15, 2011, 03:42:06 PM... does this use the same settings as the other.  I don't want to uninstall the other, then install this, cause we have events with registration currently going on right now.
You should be able to install both mods at the same time - they use different database column names.  If you wanted to convert then it might be possible by renaming database columns using PHPmyAdmin.  Obviously, as this mod doesn't offer guest registration or comments that data wouldn't be convertible.


Correction: you WON'T be able to install both mods at the same time (they use the same/similar patch locations in the templates).  However, they DO use different data so it should be safe to uninstall one then install the other.

Title: Re: Event Registration for SMF2
Post by: far2slow on December 16, 2011, 12:33:33 PM
the update looks good thanks for the hard work.

Is there a way I can turn off " Select the member groups that are allowed to register for this event:"   as i would like it to default to all member groups
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 16, 2011, 03:57:06 PM
I've added a "select all" checkbox to the registration editor to make it easy to allow all groups to register.   click here for latest version (http://custom.simplemachines.org/mods/index.php?mod=3238)
Title: Re: Event Registration for SMF2
Post by: OCJ on December 17, 2011, 02:05:18 AM
Looks good ... no errors in the log either. I was just going to suggest a click all groups option  ;D

One other thing is that we have quite a few groups - some not needed to be displayed and some that shouldn't be displayed.
An admin setting to restrict available groups displayed for registration would be nice ... but it does work as it is for use - would just simpler for members to use.

Thanks!

Title: Re: Event Registration for SMF2
Post by: HoverClub on December 19, 2011, 09:37:56 AM
Quote from: igirisjin on December 17, 2011, 02:05:18 AM
One other thing is that we have quite a few groups - some not needed to be displayed and some that shouldn't be displayed.
The latest version now uses the visibility setting for each membergroup to determine whether they should appear on the list for an event.
Title: Re: Event Registration for SMF2
Post by: doughboy99 on December 20, 2011, 07:55:43 PM
Many, many thanks for converting this SMF2. I have it installed and working fine in a test site. The subscription part looks like it may be a real help for us. I just need to get the Paypal Sandbox working for me.

I had a small issue with your last update (2.12). The Package Manager identified it as an older package and wouldnt install it. I made the changes manually do it wasn't a big deal.

We have a standard set of Terms for most events( trips). Would it be possible to have a default set of Terms and Conditions text to avoid the inevitable copy and paste cockups?

While I'm asking for more do you intend to add any of the extra admin functions that pftq added to the Event Registration Mod for SMF 1? In particular the ability for admins(or event organisers) to add event attendees to the event. Quite often members will agree to go a trip while we're in the pub or at the pool and to make sure the place aren't taken by other Admin Registration would be useful.

Title: Re: Event Registration for SMF2
Post by: hcfwesker on December 20, 2011, 08:57:35 PM
Quote from: doughboy99 on December 20, 2011, 07:55:43 PMI had a small issue with your last update (2.12). The Package Manager identified it as an older package and wouldnt install it. I made the changes manually do it wasn't a big deal.

When you uninstalled the older version, did you delete it from the package manager afterwards,  then upload the new one?
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 21, 2011, 05:04:35 AM
Quote from: hcfwesker on December 20, 2011, 08:57:35 PM
Quote from: doughboy99 on December 20, 2011, 07:55:43 PMI had a small issue with your last update (2.12). The Package Manager identified it as an older package and wouldnt install it. I made the changes manually do it wasn't a big deal.

When you uninstalled the older version, did you delete it from the package manager afterwards,  then upload the new one?

I've noticed that the Package manager has a habit of mis-interpreting mod version #'s.  Deleting the old one after removal and before installing the new one usually does the trick.

Quote from: doughboy99 on December 20, 2011, 07:55:43 PMWe have a standard set of Terms for most events( trips). Would it be possible to have a default set of Terms and Conditions text to avoid the inevitable copy and paste cockups?
Maybe - I'd need to think about the consequences first!

QuoteWhile I'm asking for more do you intend to add any of the extra admin functions that pftq added to the Event Registration Mod for SMF 1? In particular the ability for admins(or event organisers) to add event attendees to the event. Quite often members will agree to go a trip while we're in the pub or at the pool and to make sure the place aren't taken by other Admin Registration would be useful.
I did look at pftq's mods (this version was converted before he made changes) and some of the stuff could be useful although the guest and multiple registration bits won't work with payments - once I get some time I'll look at it all again.  Have your members never heard of smartphones  - they even work in pubs apparently :P
Title: Re: Event Registration for SMF2
Post by: doughboy99 on December 21, 2011, 05:12:46 AM
I didn't uninstall the 2.11 just tried to update it. I am using the Argentum 2 theme which has a display2.template.php file which needs the changes for display.template.php manually added; so it was just as easy to make all the changes manually as they weren't many of them. It's not a big deal, if there had been more changes I could have uninstalled 2.11 first.

Title: Re: Event Registration for SMF2
Post by: doughboy99 on December 21, 2011, 06:00:36 AM
My previous post crossed crossed with yours
Quote from: HoverClub on December 21, 2011, 05:04:35 AM
I've noticed that the Package manager has a habit of mis-interpreting mod version #'s.  Deleting the old one after removal and before installing the new one usually does the trick.
That is exactly what seems to have happened. The Package manager seems to think there some sort of white space in front on the version #. Next time I'll uninstall the old version first.

Quote from: HoverClub on December 21, 2011, 05:04:35 AM
QuoteQuote from: doughboy99 on Today at 12:55:43 AM

    We have a standard set of Terms for most events( trips). Would it be possible to have a default set of Terms and Conditions text to avoid the inevitable copy and paste cockups?

Maybe - I'd need to think about the consequences first!

Well thanks for even considering it. A string in the Modifications.english.php file that we could edit would be fine if you don't want to create new Admin features.

Quote from: HoverClub on December 21, 2011, 05:04:35 AM
Have your members never heard of smartphones  - they even work in pubs apparently :P

Well those with re-breathers have smartphones but they don't work inside the pub(built of stone in Cromwell's time). Those who believe that your not a proper man unless you dive with a converted butane gas regulator and war surplus aircraft oxygen cylinder think two bean tins connected with string are thoroughly modern method of communication.
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 21, 2011, 01:52:19 PM
Quote from: doughboy99 on December 21, 2011, 06:00:36 AM
Well thanks for even considering it. A string in the Modifications.english.php file that we could edit would be fine if you don't want to create new Admin features.
Try the attached version - it should do what you want.  This mod doesn't currently have any Admin options - if  (or when!) I need them for some other feature, I'll add the default string there rather than in the modifications.english file (variable is $txt['register_mod_terms'] in the attached version).
Title: Re: Event Registration for SMF2
Post by: doughboy99 on December 21, 2011, 06:18:59 PM
Thank you very much. I'll download and give it a go.
Title: Re: Event Registration for SMF2
Post by: doughboy99 on December 22, 2011, 04:38:03 AM
That was just the ticket. Working fine with 3 pages of Dos and Don'ts.
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 24, 2011, 01:25:51 PM
I've just carried out some fairly major logic changes to this mod (due to usability comments I've had).  It doesn't quite work in the same way as the SMF1 version in that confirmation or payment are now both optional and event registration/confirmation/payment all close a fixed number of days prior to the event (easier to understand for most users). 

An organiser could set an event to "registration only" as an easy way to gauge interest in a possible event.  If enough members register organiser can then "organise" the event officially and activate the confirmation or payment options if required.  I hope that makes sense (it seems to be the way most people want it to work!).
Title: Re: Event Registration for SMF2
Post by: doughboy99 on December 26, 2011, 04:21:54 PM
I like the changes, as you say it's easier for users to understand the flow.

I have a couple of points to ask about
One very minor thing which I suspect you may not be able to change easily. In the Linked Events section of the Post window the button label is "Pay Entry Fee" but in the subscription window the button is labelled "Order".

More importantly for our club at least is the fact that a user can only make one payment against an event. For dive trips we tend to take a deposit and one or more further payments. I suspect that allowing more than one payment against an event would be difficult but without this ability the mod won't work for us I'm afraid.
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 08, 2012, 04:37:49 PM
Another feature update (hopefully the last for some time unless any bugs are found!).  The mod now supports optional registration payment in addition to confirmation payment - this allows it to be used as a conventional deposit followed by a final payment model.
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on January 11, 2012, 05:17:06 AM
Will there be support for other languages?
(dutch for example?)
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 11, 2012, 05:29:54 AM
I'd be happy to include other language versions if someone volunteers to do the translation work (hint, hint  :)).
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on January 11, 2012, 05:37:43 AM
Quote from: HoverClub on January 11, 2012, 05:29:54 AM
I'd be happy to include other language versions if someone volunteers to do the translation work (hint, hint  :)).
I'm willing to translate to dutch.
Maybe you can make a list of words i should translate? Because i don't know anything about coding.

It's a damn nice mod!
Title: Re: Event Registration for SMF2
Post by: hcfwesker on January 11, 2012, 03:09:58 PM
Quote from: jan.van.gent on January 11, 2012, 05:37:43 AM
I'm willing to translate to dutch.
Maybe you can make a list of words i should translate? Because i don't know anything about coding.

here you go :)  I believe all you have to modify is the portion in red, for each line in the codes

$txt['register_mod_title'] = 'Registration Options';

languages/Modifications.english.php
$txt['register_mod_title'] = 'Registration Options';
$txt['register_mod_registered'] = 'Registered';
$txt['register_mod_unconfirmed'] = 'Unconfirmed';
$txt['register_mod_confirmed'] = 'Confirmed';
$txt['register_mod_notreg'] = 'not attending.';
$txt['register_mod_registerButtonValue'] = 'Register';
$txt['register_mod_confirmButton'] = 'Confirm';
$txt['register_mod_unconfirmButton'] = 'Unconfirm';
$txt['register_mod_unregisterButton'] = 'Unregister';
$txt['register_mod_unconfirmWarning'] = 'If you unconfirm you will lose your place at this event and may not be able to re-confirm!';
$txt['register_mod_areYouSure'] = 'Are you sure?';
$txt['register_mod_unregisterWarning'] = 'If you unregister you may not be able to re-register!';
$txt['register_mod_maxAttendants'] = 'Maximum places available ';
$txt['register_mod_alreadyRegistered'] = 'You have already registered for this event!';
$txt['register_mod_nameHeader'] = 'Name';
$txt['register_mod_statusHeader'] = 'Status';
$txt['register_mod_closed'] = 'Registration has closed for this event';
$txt['register_mod_fin'] = 'This event has finished ';
$txt['register_mod_logintext'] = 'Please <a href="' . $scripturl . '?action=login">login</a> or <a href="' . $scripturl . '?action=register">register</a> to sign up for this event.';
$txt['register_mod_pmAll'] = 'PM all';
$txt['register_mod_pmCon'] = 'PM confirmed';
$txt['register_mod_pmSel'] = 'PM selected';
$txt['register_mod_pmUnCon'] = 'PM unconfirmed';
$txt['register_mod_daysClosed'] = 'Event entry closes ';
$txt['register_mod_confirm'] = 'Requires confirmation ';
$txt['register_mod_iAgree'] = 'I Agree';
$txt['register_mod_iDisagree'] = 'I Disagree';
$txt['register_mod_termsAndConditions'] = 'Event entry terms and conditions (you can use BBcode to format the text):';
$txt['register_mod_termsAndConditionsHeader'] = 'Event Entry Terms and Conditions';
$txt['register_mod_daysbefore'] = ' day(s) before event';
$txt['register_mod_group'] = 'Sorry - your group is unable to attend this event.';
$txt['register_mod_waitpaid'] = 'Awaiting payment clearance - please check again later. ';
$txt['register_mod_paid'] = ' and paid';
$txt['register_mod_payButton'] = 'Pay Reg. Fee';
$txt['register_mod_payConfButton'] = 'Pay Confirmation Fee';
$txt['no_entry'] = 'No payment required';
$txt['register_mod_showatt'] = '[Show]';
$txt['register_mod_hideatt'] = '[Hide]';
$txt['register_mod_noplaces'] = 'Sorry - no more places are available, please try again later. ';

$txt['register_mod_selgroup'] = 'Member groups that can register for this event - use SHIFT and/or CTRL keys to select multiple groups (If no groups are selected then registration is not required for this event)';
$txt['register_mod_selsubs_reg'] = 'Event fee(s) that must be paid to register for this event (from the \'event\' paid subscriptions available on this forum) - any one of which may be used to pay the event registration fee. SHIFT and/or CTRL click to select more than one subscription.';
$txt['register_mod_confirm_opt'] = 'Confirmation options';
$txt['register_mod_selsubs'] = 'Event fee(s) payable to confirm for this event.';
$txt['register_mod_deleteUserWarning'] = 'You are about to remove the selected members from this event (if they have paid an entry fee then you may need to issue a refund)!';
$txt['register_mod_deleteusers'] = 'Remove selected';
$txt['register_mod_eventsub'] = 'Event subscription';
$txt['register_mod_eventsub_desc'] = 'Select to make this subscription available for event registration only (it won\'t be listed as a paid subscription to members).';

$txt['register_mod_you_are'] = 'You are ';
$txt['register_mod_you_may'] = 'You may ';
$txt['all_groups'] = 'Select all groups';

// default terms and conditions used on new event posts (leave blank for no default terms)
$txt['register_mod_terms'] = '';



@ HoverClub , you may want to include this in the first post, asking for language modification support :)

Title: Re: Event Registration for SMF2
Post by: jan.van.gent on January 12, 2012, 04:31:49 AM
I've translated the files to dutch.
Someone is also going to translate it to french for me.

I'll send to files to hoverclub
Title: Re: Event Registration for SMF2
Post by: hcfwesker on January 26, 2012, 05:38:11 AM
Is there a way to have the Registered members "Show" by default.
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 26, 2012, 01:02:15 PM
Quote from: hcfwesker on January 26, 2012, 05:38:11 AM
Is there a way to have the Registered members "Show" by default.

Not easily - you could hack the code if you know what you are doing.  The main reason why it's hidden by default is that the list could easily be HUGE with much scrolling needed to read the actual event post.
Title: Re: Event Registration for SMF2
Post by: hcfwesker on January 26, 2012, 01:24:11 PM
Makes Sense.  But, yeah, I'm sure I can go through and find where the settings are to Hide by default and try to change them.  thanx
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 26, 2012, 03:13:27 PM
In /Themes/your them/Display.template.php

change:
<div id="attends' . $event['id'] . '" style="display:none;">

to:
<div id="attends' . $event['id'] . '" style="display:block;">

change:
$txt['register_mod_showatt'] . '\';">' . $txt['register_mod_showeatt'] . '</a>';

to:
$txt['register_mod_showatt'] . '\';">' . $txt['register_mod_hideatt'] . '</a>';
Title: Re: Event Registration for SMF2
Post by: OCJ on January 26, 2012, 11:42:48 PM
Would be nice to have an option to show or hide by default in the settings ...
Title: Re: Event Registration for SMF2
Post by: Omniverse on January 27, 2012, 12:14:15 PM
I don't suppose you plan to add the ability for people to make a comment when they sign up as well (similar to the other event mod)?

We would need that so people signing up can relay information about what they are bringing for the event....

Currently using the other event mod, but it has security issues, and I would like to switch, but we need the comments as well.
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 01, 2012, 06:07:23 AM
Quote from: Omniverse on January 27, 2012, 12:14:15 PM
I don't suppose you plan to add the ability for people to make a comment when they sign up as well (similar to the other event mod)?
Done - Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3238)

Comments are not available for pay-on-registration events (they are for pay-on-confirmation though)   The comments can be viewed by the event poster and mods/admins that have event edit permissions.
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 01, 2012, 08:54:58 AM
Discovered a silly bug in the above version which is now fixed - apologies  :-[   

Please download it again if you have downloaded in the last hour or two (looks like only two people have?).
Title: Re: Event Registration for SMF2
Post by: Kindred on February 01, 2012, 10:14:00 AM
hmmm...   does your mod have an update capability or must it be uninstalled and reinstalled?

the reason that I ask is that it is one of the 150+ mods installed on my test site and was implemented somewhere around #80...    What that means, of course, is that it is unlikely to uninstall cleanly...
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 01, 2012, 10:30:16 AM
150+ mods  ::) ::)  ... is there any SMF code left  ;D.    I'm surprised you can install or uninstall anything !

Sorry - no updater for this mod....  just try it and see (but don't complete if there is an error  ;))
Title: Re: Event Registration for SMF2
Post by: Kindred on February 01, 2012, 10:53:17 AM
oh, heck no....   lol far too many errors on the uninstall due to overlapping mods.

I don't think I got the version that allows comments....   is that the only one with the bug?

And all those mods were set up on a test system to prove a point (originally) and now to try and see overlap and conflict between mods. :)
Title: Re: Event Registration for SMF2
Post by: hcfwesker on February 01, 2012, 11:19:07 AM
Thanx for the update.  60+ MOds, and everything uninstalled and installed without an error.
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 01, 2012, 11:57:17 AM
Quote from: Kindred on February 01, 2012, 10:53:17 AM
I don't think I got the version that allows comments....   is that the only one with the bug?
Yep..

I'd be interested in the conflict list please - I might be able to move some stuff around or change the searches to improve things at the next revision.
Title: Re: Event Registration for SMF2
Post by: Kindred on February 01, 2012, 12:54:26 PM
actually, your mod doesn't really have many conflicts (if at all)

I know there were some edits affecting the same areas of display.template and post.template... but they went in with only minor manual searching...

you can check out my test site with the event mod (without comments) in place:
http://test.turtleshellprod.com/index.php?topic=8.0
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 01, 2012, 01:18:27 PM
Quote from: Kindred on February 01, 2012, 12:54:26 PM
...you can check out my test site with the event mod (without comments) in place:
http://test.turtleshellprod.com/index.php?topic=8.0
I notice you are using an older version of my reminder mod (http://custom.simplemachines.org/mods/index.php?mod=2860) - it has had some bugs fixed ::) .
Title: Re: Event Registration for SMF2
Post by: Kindred on February 01, 2012, 02:03:34 PM
hmmm.... I just downloaded it from the mod site yesterday...
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 01, 2012, 02:11:50 PM
I updated it yesterday.... on your site the menu is visible to guests and it's showing the large clock icon from the previous version.
Title: Re: Event Registration for SMF2
Post by: Kindred on February 01, 2012, 05:04:20 PM
ok... did a manual update/replacement of the old code with the new for the registration mod and did an auto uninstall/install with the reminder mod. :)
Title: Re: Event Registration for SMF2
Post by: Omniverse on February 02, 2012, 11:37:49 AM
Thank you for adding the comments, very awesome of you.

If I may offer another (few) suggestion...

Having to click 'show' to see each comment makes it difficult to document who is bringing what, or if they need something known about their arrival. Would it be possible to just expand the comment area a bit (where the show button is), to display the comment and leave the 'show' out? Didn't like comments being below the entry on the other mod either. :)

I also notice a few asked about the 'show' to display the list initially. I have a possible solution, I don't mind it either way, and I can see your point about very large lists.... However, if you added a div max-height to the list display area, it would get scroll bars for the list instead, and be contained in a manageable area. This could also be easily changed (well, for some) to how long they can tolerate the list being before a scroll.

Just a final note. I am currently running a test of your mod, and didn't realize before... but you can't sign up with a different name than your display name like the other mod. We actually liked that functionality because people want to use real names for the events and not the name displayed in the forum.
Any chance to add that as well? That was actually our favorite thing about the other mod, was how it did the names for sign ups. If you inserted a name other than your forum name, it displayed it along with your forum name next to it.

Thank you again for your time developing this mod, I'm sure it is appreciated by many. :)
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 02, 2012, 12:55:26 PM
Thanks for the suggestions.

I've uploaded another update today that allows the event creator and admins to download the registrant list (including comments) in CSV form for remote use.

I'm not a big fan of scrolling boxes inside windows, etc. on basic usability grounds - if you scroll-wheel a page and hit the scrolling box it scrolls it instead of the page!  However, having to click a show button isn't all that great either - there is no simple solution I can see at the moment.

At the moment on non-pay events all a member has to do is click the register button - I'm not keen on complicating the signup process if at all possible.  The name used is the members real name which is consistent with the way SMF handles names (the real name is what the member wants to be known by - it's their choice).
Title: Re: Event Registration for SMF2
Post by: Omniverse on February 02, 2012, 01:32:25 PM
Perhaps use a 'show more' button instead.

Set the list to display up to a certain amount of entries, say 20 for instance. If the list goes beyond the set number, then a 'show more' button comes up to display the rest.

Could possibly make it settable by the user so they can tailor how many entries are listed (before the show more).

Just a thought. :)
Title: Re: Event Registration for SMF2
Post by: hcfwesker on February 02, 2012, 02:26:44 PM
Quote from: Omniverse on February 02, 2012, 01:32:25 PM
Perhaps use a 'show more' button instead.

Set the list to display up to a certain amount of entries, say 20 for instance. If the list goes beyond the set number, then a 'show more' button comes up to display the rest.

I REALLY like this suggestion.  like a default number, we can set, of participants to show in the registration table, then a [Show More] option for hosts and members to click to view more. 
Title: Re: Event Registration for SMF2
Post by: doughboy99 on February 02, 2012, 05:48:19 PM
Hi

I'm getting errors saving the csv file on my test site

xxxx.co.uk/gforum/index.php?action=registerEvent;eventid=467;topic=762.0
8: Undefined index: start_timestamp
File: /xxxx/gforum/Sources/RegisterEvent.php
Line: 321

xxxx.co.uk/gforum/index.php?action=registerEvent;eventid=467;topic=762.0
8: Undefined variable: UnconfCount
File: /xxxxl/gforum/Sources/RegisterEvent.php
Line: 398

xxxx.co.uk/gforum/index.php?action=registerEvent;eventid=467;topic=762.0
8: Undefined variable: csv
File: /xxxx/gforum/Sources/RegisterEvent.php
Line: 405

xxxx.co.uk/gforum/index.php?action=registerEvent;eventid=467;topic=762.0
2: Cannot modify header information - headers already sent by (output started at /xxxxl/gforum/Sources/RegisterEvent.php:451)
File: /xxxx/gforum/Sources/Subs.php
Line: 2829
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on February 12, 2012, 07:54:51 AM
Thanks a lot for your mod! I wanted to help you so I've tried to translate into french. Here the translation:

$txt['register_mod_title'] = 'Options d'inscription';
$txt['register_mod_registered'] = 'Inscrit';
$txt['register_mod_unconfirmed'] = 'Non confirmé';
$txt['register_mod_confirmed'] = 'Confirmé';
$txt['register_mod_notreg'] = 'non inscrit.';
$txt['register_mod_registerButtonValue'] = 'Inscription';
$txt['register_mod_confirmButton'] = 'Confirmer';
$txt['register_mod_unconfirmButton'] = 'Ne pas confirmer';
$txt['register_mod_unregisterButton'] = 'Se désinscrire';
$txt['register_mod_unconfirmWarning'] = 'Si vous ne confirmez pas, vous perdez votre place à l'évènement et vous pourrez ne pourrais peut-être pas le confirmer plus tard!';
$txt['register_mod_areYouSure'] = 'Êtes-vous sûr?';
$txt['register_mod_unregisterWarning'] = 'Si vous vous désinscrivez, vous ne serez peut-être plus vous inscrire pour cet évènement!';
$txt['register_mod_maxAttendants'] = 'Nombre de places maximal ';
$txt['register_mod_alreadyRegistered'] = 'Vous êtes déjà inscrit pour cet évènement!';
$txt['register_mod_nameHeader'] = 'Nom';
$txt['register_mod_statusHeader'] = 'Statut';
$txt['register_mod_closed'] = 'Les inscriptions sont fermées pour cet évènement';
$txt['register_mod_fin'] = 'Cet évènement est fini ';
$txt['register_mod_logintext'] = 'Veuillez vous <a href="' . $scripturl . '?action=login">connecter</a> ou vous <a href="' . $scripturl . '?action=register">inscrire</a> pour participer à cet évènement.';
$txt['register_mod_pmAll'] = 'Envoyer un message à tout le monde';
$txt['register_mod_pmCon'] = 'Message confirmé';
$txt['register_mod_pmSel'] = 'Message sélectionné';
$txt['register_mod_pmUnCon'] = 'Message non confirmé';
$txt['register_mod_daysClosed'] = 'L'évènement n'accepte plus de personnes supplémentaires ';
$txt['register_mod_confirm'] = 'Confirmation nécessaire ';
$txt['register_mod_iAgree'] = 'J'accepte';
$txt['register_mod_iDisagree'] = 'Je refuse
';
$txt['register_mod_termsAndConditions'] = 'Les termes et conditions de l'évènement (vous pouvez utiliser le format texte BBcode):';
$txt['register_mod_termsAndConditionsHeader'] = 'Entrez les termes et conditions de l'évènement';
$txt['register_mod_daysbefore'] = ' jour(s) avant l'évènement';
$txt['register_mod_group'] = 'Désolé - votre groupe ne peut pas s'inscrire.';
$txt['register_mod_waitpaid'] = 'Paiement en attendre de confirmation - veuillez vérifier plus tard. ';
$txt['register_mod_paid'] = ' et payer';
$txt['register_mod_payButton'] = 'Payer les frais d'inscription';
$txt['register_mod_payConfButton'] = 'Payer les frais de confirmation';
$txt['no_entry'] = 'Pas de paiement requis';
$txt['register_mod_showatt'] = '[Montrer]';
$txt['register_mod_hideatt'] = '[Cacher]';
$txt['register_mod_noplaces'] = 'Désolé - plus de place disponible, veuillez réessayer plus tard. ';

$txt['register_mod_selgroup'] = 'Groupes qui peuvent s'inscrire pour cet évènement - utiliser le bouton SHIFT et/ou CTRL pour sélectionner plusieurs groupes (si aucun groupe n'est sélectionné, l'inscription n'est pas requis pour l'évènement)';
$txt['register_mod_selsubs_reg'] = 'Les frais de l'évènement doivent être payés pour s'inscrire à l'évènement (des frais de souscription de l'évènement disponible pour ce forum) - dont n'importe quel peut être utilisé pour payer les frais d'inscription de l'événement. Utiliser la touche SHIFT et/ou CTRL pour sélectioner plus d'une souscription.';
$txt['register_mod_confirm_opt'] = 'Options de confirmation';
$txt['register_mod_selsubs'] = 'Les frais à confirmer pour participer à l'évènement.';
$txt['register_mod_deleteUserWarning'] = 'Vous êtes sur le point d'enlever les membres sélectionner pour cet évènement (si ils ont payés des frais, vous devez trouver un moyen de rembourser)!';
$txt['register_mod_deleteusers'] = 'Enlever les sélectionnés';
$txt['register_mod_eventsub'] = 'Inscription de l'évènement';
$txt['register_mod_eventsub_desc'] = 'Sélectionner pour que la souscription soit disponible que pour l'inscription à l'évènement (ce ne sera pas listé en tant que souscription payant pour les membres).';

$txt['register_mod_you_are'] = 'Vous êtes ';
$txt['register_mod_you_may'] = 'Vous pouvez vous ';
$txt['all_groups'] = 'Sélectionner tous les groupes';

// default terms and conditions used on new event posts (leave blank for no default terms)
$txt['register_mod_terms'] = '';

Title: Re: Event Registration for SMF2
Post by: HoverClub on February 12, 2012, 01:02:47 PM
Thanks- I'll add it at the next update.
Title: Re: Event Registration for SMF2
Post by: OCJ on February 12, 2012, 09:35:18 PM
Its looking good - you put a lot of work in so far I think - appreciated!

I also think its perhaps a good idea to show a bit more about registrations on the topic page. Having a setting to 'show x number of signups' by default. Its always an incentive for people to sign up if they see a list of names when they visit the topic page. Not everyone seems to notice the 'show' link and gives the impression the event is not so active.

Title: Re: Event Registration for SMF2
Post by: bbpiper on February 15, 2012, 10:08:58 AM
Hi ,

Just wondering if there is a way to see who cannot make an event?

Its great to see who can but would be nice to see who can't.

Thanks,
Barry
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on February 15, 2012, 10:12:30 AM
It works perfectly!

I'm currently making some changes to the dutch translation, I will post it here soon.

The .csv download doesn't work for me. Any suggestions?
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 15, 2012, 10:27:06 AM
QuoteIts great to see who can but would be nice to see who can't.
... depends on which groups are permitted to register - could be many thousands of members.  Or am I misunderstanding?

Quote from: jan.van.gent on February 15, 2012, 10:12:30 AMThe .csv download doesn't work for me. Any suggestions?
What happens? It should open another tab or a download save/open prompt.  What browser/version are you using?
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on February 15, 2012, 10:35:42 AM
Quote from: HoverClub on February 15, 2012, 10:27:06 AM
QuoteIts great to see who can but would be nice to see who can't.
... depends on which groups are permitted to register - could be many thousands of members.  Or am I misunderstanding?

Quote from: jan.van.gent on February 15, 2012, 10:12:30 AMThe .csv download doesn't work for me. Any suggestions?
What happens? It should open another tab or a download save/open prompt.  What browser/version are you using?

In chrome a .csv starts downloading but it is aborted every time.
In internet explorer, the link is dead.

the forum: www.bimmerboard.be
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 15, 2012, 12:58:48 PM
Works OK in Chrome/Opera/IE8-9/Firefox here.  I can't test that function on your board without correct permissions - maybe an uninstall and re-install will fix it?
Title: Re: Event Registration for SMF2
Post by: bbpiper on February 15, 2012, 02:46:42 PM
HI ,

Sorry meant to say who can't make an event, would be nice to have a list of ppl that can't make an event.

I belong to a band and members indicate their availabilty  to make events.

So would be good to be able to have a listing of members who are not able to make an event.
Title: Re: Event Registration for SMF2
Post by: Kindred on February 15, 2012, 02:55:34 PM
what he actually means is allow responses

Will Attend/Confirm
May Attend
Will Not Attend
Title: Re: Event Registration for SMF2
Post by: bbpiper on February 15, 2012, 07:30:31 PM
Quote from: Kindred on February 15, 2012, 02:55:34 PM
what he actually means is allow responses

Will Attend/Confirm
May Attend
Will Not Attend

Yes, Exactly.  But be able to show each members status for the event and download it.
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on February 16, 2012, 05:30:09 AM
Quote from: HoverClub on February 15, 2012, 12:58:48 PM
Works OK in Chrome/Opera/IE8-9/Firefox here.  I can't test that function on your board without correct permissions - maybe an uninstall and re-install will fix it?

I have the modification running on 2 forums and it doesn't work.
Maybe you can register on cadcamforum.be (a just started forum) and make an event and try to download it?
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on February 17, 2012, 03:42:18 AM
New update dutch translation:



$txt['register_mod_title'] = 'Registratie opties';
$txt['register_mod_registered'] = 'geregistreerd';
$txt['register_mod_unconfirmed'] = 'nog niet definitief ingeschreven';
$txt['register_mod_confirmed'] = 'ingeschreven';
$txt['register_mod_notreg'] = 'Niet deelnemen';
$txt['register_mod_registerButtonValue'] = 'u registreren';
$txt['register_mod_confirmButton'] = 'of de registratie bevestigen';
$txt['register_mod_unconfirmButton'] = 'je uitschrijven';
$txt['register_mod_unregisterButton'] = 'de registratie ongedaan maken';
$txt['register_mod_unconfirmWarning'] = 'Wanneer je de bevestiging ongedaan maakt verlies je uw plaats en kan het zijn dat het niet meer mogelijk is om niet opnieuw te bevestigen!';
$txt['register_mod_areYouSure'] = 'Bent u dit zeker?';
$txt['register_mod_unregisterWarning'] = 'Wanneer je de registratie ongedaan maakt verlies je uw plaats en kan het zijn dat het niet meer mogelijk is om je opnieuw in te schrijven!';
$txt['register_mod_maxAttendants'] = 'Maximum aantal deelnemers ';
$txt['register_mod_alreadyRegistered'] = 'U bent reeds geregistreerd voor dit evenement!';
$txt['register_mod_nameHeader'] = 'Naam';
$txt['register_mod_statusHeader'] = 'Status';
$txt['register_mod_closed'] = 'Registratie voor dit evenement is gesloten';
$txt['register_mod_fin'] = 'Dit evenement is voorbij';
$txt['register_mod_logintext'] = 'Gelieve in te  <a href="' . $scripturl . '?action=login">loggen</a> of te <a href="' . $scripturl . '?action=register">registreren</a> om u in te schrijven voor dit evenement.';
$txt['register_mod_pmAll'] = 'PM naar iedereen';
$txt['register_mod_pmCon'] = 'PM naar de geconfirmeerden';
$txt['register_mod_pmSel'] = 'PM naar de geselecteerden';
$txt['register_mod_pmUnCon'] = 'PM naar de nog niet geconfirmeerden';
$txt['register_mod_download'] = 'Download';
$txt['register_mod_daysClosed'] = 'Sluiting inschrijving ';
$txt['register_mod_confirm'] = 'Bevestiging vereist ';
$txt['register_mod_iAgree'] = 'Ik ga akkoord';
$txt['register_mod_iDisagree'] = 'Ik ga niet akkoord';
$txt['register_mod_comment'] = 'Reactie toevoegen';
$txt['register_mod_allowcomment'] = 'Commentaar bij registratie toestaan';
$txt['register_mod_tcomment'] = 'Reactie';
$txt['register_mod_termsAndConditions'] = 'Evenement voorwaarden en condities';
$txt['register_mod_termsAndConditionsHeader'] = 'Evenement voorwaarden en condities';
$txt['register_mod_daysbefore'] = ' dagen voor event';
$txt['register_mod_group'] = 'Sorry, u hebt geen toegang tot dit evenement';
$txt['register_mod_waitpaid'] = 'We wachten nog op de betaling, check later nog eens ';
$txt['register_mod_paid'] = ' en betaald';
$txt['register_mod_payButton'] = 'Gelieve te betalen';
$txt['register_mod_payConfButton'] = 'Betaal';
$txt['no_entry'] = 'Geen betaling noodzakelijk';
$txt['register_mod_showatt'] = '[Toon]';
$txt['register_mod_hideatt'] = '[Verberg]';
$txt['register_mod_noplaces'] = 'Sorry, er zijn geen plaatsen meer vrij, probeer later nog eens ';

$txt['register_mod_selgroup'] = 'Member groups die zich kunnen registreren voor dit evenement, gebruik SHIFT and/or CTRL knoppen om meerdere groepen te selecteren(Als geen groupen geselecteerd zijn is geen registratie vereist voor dit evenement)';
$txt['register_mod_selsubs_reg'] = 'Deelnemers prijs dat moet betaald worden om deel te nemen aan dit evenement (van de \'event\' betaling subscriptions beschikbaar on this forum). SHIFT en/of CTRL klikken om meerdere te selecteren.';
$txt['register_mod_confirm_opt'] = 'Bevestiging opties';
$txt['register_mod_selsubs'] = 'Mogelijke betalingen om te Bevestiging voor dit evenement.';
$txt['register_mod_deleteUserWarning'] = 'Opgelet, u staat op het punt de geselecteerde leden te verwijderen van dit evenement. ';
$txt['register_mod_deleteusers'] = 'Verwijder selectie';
$txt['register_mod_confirmusers'] = 'Bevestig selectie';
$txt['register_mod_eventsub'] = 'Evenement inschrijving';
$txt['register_mod_eventsub_desc'] = 'Selecteer om deze inschrijving enkel beschikbaar te maken voor registratie (niet voor betalende evenementen).';

$txt['register_mod_you_are'] = 'Je bent ';
$txt['register_mod_you_may'] = 'Je kan ';
$txt['all_groups'] = 'Selecteer alle groepen';
Title: Re: Event Registration for SMF2
Post by: Joe B on February 17, 2012, 02:51:05 PM
I have this problem to.
In chrome a .csv starts downloading but it is aborted every time.
In FF I get what the images says.
Title: Re: Event Registration for SMF2
Post by: West Coast on February 18, 2012, 07:25:16 AM
Very useful and excellent mod!!  Thank you.

Everything works except, like jan.van.gent and Joe B here, downloading .csv doesn't work.

I've tested on both Safari and Firefox.
On Safari, I get an error message - "bad server response"
On Firefox, I get an error message - "/path to my download folder/eRLsKarh.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator"

The latter may provide clues.  I'm not an expert but could this be due to this script trying to download from your PC as opposed to downloading from the server?  Obviously HoverClub is the developer thus you will have some sources on your PC hard drive so, when you test it, it appears fine.  I'm just guessing here, sorry if I'm wrong.

It would be so nice to get this function working.

Title: Re: Event Registration for SMF2
Post by: HoverClub on February 20, 2012, 11:35:33 AM
Very odd problem - I've tested on two different "live" servers and local servers with no issues (it isn't browser-dependent).  The "file" being downloaded is constructed on the fly by PHP - it isn't a "real" file.  Only thing I can think of is that it's a header or htaccess problem.  If anyone can PM me a copy of their PHPinfo it might help?  I'll do some more reading meantime .........
Title: Re: Event Registration for SMF2
Post by: West Coast on February 20, 2012, 11:50:11 AM
Hi,

Thank you for your reply.  I've now sent you a PM.  :)
Title: Re: Event Registration for SMF2
Post by: exteeyou on February 20, 2012, 11:57:51 AM
Odd thing I see is, what I see on my "Post Event" page looks different than what the screenshots show for the mod?

HoverClub - feel free to have a look, I PM'd you my site URL
Title: Re: Event Registration for SMF2
Post by: pierrelogic on February 21, 2012, 02:53:35 PM
Several errors attempting to uninstall previous (working well) version to get the latest version installed on 2.0.2 forum. 
May just stick with version 2.15 until I get more comfortable being able to manually deal with the errors.   ;D

Great mod otherwise!!
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 21, 2012, 04:40:06 PM
Quote from: pierrelogic on February 21, 2012, 02:53:35 PMSeveral errors attempting to uninstall previous (working well) version to get the latest version installed on 2.0.2 forum. 
The uninstall works OK provided no other conflicting mods have been installed since this one  - it's normal to have to uninstall mods in the reverse install order to get it all to work again (blame the clunky SMF mod system I'm afraid!)
Title: Re: Event Registration for SMF2
Post by: Kindred on February 21, 2012, 04:44:04 PM
meh... blame the clunky mod authors who write conflicting code :P   (just kidding)
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 21, 2012, 05:06:32 PM
Quote from: Kindred on February 21, 2012, 04:44:04 PM
meh... blame the clunky mod authors who write conflicting code :P   (just kidding)
True - but there are only so many places you can find to add stuff.  A couple of thousand more integration hooks would be handy  ;)

Title: Re: Event Registration for SMF2
Post by: pierrelogic on February 21, 2012, 09:52:40 PM
Quote from: HoverClub on February 21, 2012, 04:40:06 PM
Quote from: pierrelogic on February 21, 2012, 02:53:35 PMSeveral errors attempting to uninstall previous (working well) version to get the latest version installed on 2.0.2 forum. 
The uninstall works OK provided no other conflicting mods have been installed since this one  - it's normal to have to uninstall mods in the reverse install order to get it all to work again (blame the clunky SMF mod system I'm afraid!)

I understand that.  But with a lot of events already in the hopper I'm very hesitant to uninstall the mods in reverse sequential order only to find out I may lose all the current registrations and confirmations in place.  Like I said, the version I have is working perfectly.  I was just wanting that extra feature of remarks during registration to the mix.  I have no problem living without it until next Winter when we don't have so many events on the calendar already listed for people to register for. 

Great mod!  This event registration has been one of the best new features members talk about when we get together in person.   :)

webmaster: ohiospyderryders.org
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 22, 2012, 05:40:55 AM
An uninstall won't remove any data unless you tick the Remove all data associated with this modification option so it's perfectly safe to remove the mod (it would be wise to make a database backup before doing so just to be safe).
Title: Re: Event Registration for SMF2
Post by: pierrelogic on February 22, 2012, 11:00:32 PM
Quote from: HoverClub on February 22, 2012, 05:40:55 AM
An uninstall won't remove any data unless you tick the Remove all data associated with this modification option so it's perfectly safe to remove the mod (it would be wise to make a database backup before doing so just to be safe).

Hehe, unfortunately it is such a great mod it was one of the first I installed.  It is well down the pecking order by now.  Do I need all the mods I installed after that one?  Probably not.  But if I did a backup and started uninstalling mods in reverse order one of the main mods that really runs the show (tinyportal) is one I fear uninstalling because so many blocks and articles are currently in use.

I may just try to wittle down the mods over time and eliminate the ones I really don't need or use.  But there are some really good mods out there I've yet to even try out too!  It's a constant battle of balance.  Functionality and stability vs new mod popping up with cool features that look so tempting.   :).
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on February 23, 2012, 04:01:28 AM
Quote from: jan.van.gent on February 17, 2012, 03:42:18 AM
New update dutch translation:



$txt['register_mod_title'] = 'Registratie opties';
$txt['register_mod_registered'] = 'geregistreerd';
$txt['register_mod_unconfirmed'] = 'nog niet definitief ingeschreven';
$txt['register_mod_confirmed'] = 'ingeschreven';
$txt['register_mod_notreg'] = 'Niet deelnemen';
$txt['register_mod_registerButtonValue'] = 'u registreren';
$txt['register_mod_confirmButton'] = 'of de registratie bevestigen';
$txt['register_mod_unconfirmButton'] = 'je uitschrijven';
$txt['register_mod_unregisterButton'] = 'de registratie ongedaan maken';
$txt['register_mod_unconfirmWarning'] = 'Wanneer je de bevestiging ongedaan maakt verlies je uw plaats en kan het zijn dat het niet meer mogelijk is om niet opnieuw te bevestigen!';
$txt['register_mod_areYouSure'] = 'Bent u dit zeker?';
$txt['register_mod_unregisterWarning'] = 'Wanneer je de registratie ongedaan maakt verlies je uw plaats en kan het zijn dat het niet meer mogelijk is om je opnieuw in te schrijven!';
$txt['register_mod_maxAttendants'] = 'Maximum aantal deelnemers ';
$txt['register_mod_alreadyRegistered'] = 'U bent reeds geregistreerd voor dit evenement!';
$txt['register_mod_nameHeader'] = 'Naam';
$txt['register_mod_statusHeader'] = 'Status';
$txt['register_mod_closed'] = 'Registratie voor dit evenement is gesloten';
$txt['register_mod_fin'] = 'Dit evenement is voorbij';
$txt['register_mod_logintext'] = 'Gelieve in te  <a href="' . $scripturl . '?action=login">loggen</a> of te <a href="' . $scripturl . '?action=register">registreren</a> om u in te schrijven voor dit evenement.';
$txt['register_mod_pmAll'] = 'PM naar iedereen';
$txt['register_mod_pmCon'] = 'PM naar de geconfirmeerden';
$txt['register_mod_pmSel'] = 'PM naar de geselecteerden';
$txt['register_mod_pmUnCon'] = 'PM naar de nog niet geconfirmeerden';
$txt['register_mod_download'] = 'Download';
$txt['register_mod_daysClosed'] = 'Sluiting inschrijving ';
$txt['register_mod_confirm'] = 'Bevestiging vereist ';
$txt['register_mod_iAgree'] = 'Ik ga akkoord';
$txt['register_mod_iDisagree'] = 'Ik ga niet akkoord';
$txt['register_mod_comment'] = 'Reactie toevoegen';
$txt['register_mod_allowcomment'] = 'Commentaar bij registratie toestaan';
$txt['register_mod_tcomment'] = 'Reactie';
$txt['register_mod_termsAndConditions'] = 'Evenement voorwaarden en condities';
$txt['register_mod_termsAndConditionsHeader'] = 'Evenement voorwaarden en condities';
$txt['register_mod_daysbefore'] = ' dagen voor event';
$txt['register_mod_group'] = 'Sorry, u hebt geen toegang tot dit evenement';
$txt['register_mod_waitpaid'] = 'We wachten nog op de betaling, check later nog eens ';
$txt['register_mod_paid'] = ' en betaald';
$txt['register_mod_payButton'] = 'Gelieve te betalen';
$txt['register_mod_payConfButton'] = 'Betaal';
$txt['no_entry'] = 'Geen betaling noodzakelijk';
$txt['register_mod_showatt'] = '[Toon]';
$txt['register_mod_hideatt'] = '[Verberg]';
$txt['register_mod_noplaces'] = 'Sorry, er zijn geen plaatsen meer vrij, probeer later nog eens ';

$txt['register_mod_selgroup'] = 'Member groups die zich kunnen registreren voor dit evenement, gebruik SHIFT and/or CTRL knoppen om meerdere groepen te selecteren(Als geen groupen geselecteerd zijn is geen registratie vereist voor dit evenement)';
$txt['register_mod_selsubs_reg'] = 'Deelnemers prijs dat moet betaald worden om deel te nemen aan dit evenement (van de \'event\' betaling subscriptions beschikbaar on this forum). SHIFT en/of CTRL klikken om meerdere te selecteren.';
$txt['register_mod_confirm_opt'] = 'Bevestiging opties';
$txt['register_mod_selsubs'] = 'Mogelijke betalingen om te Bevestiging voor dit evenement.';
$txt['register_mod_deleteUserWarning'] = 'Opgelet, u staat op het punt de geselecteerde leden te verwijderen van dit evenement. ';
$txt['register_mod_deleteusers'] = 'Verwijder selectie';
$txt['register_mod_confirmusers'] = 'Bevestig selectie';
$txt['register_mod_eventsub'] = 'Evenement inschrijving';
$txt['register_mod_eventsub_desc'] = 'Selecteer om deze inschrijving enkel beschikbaar te maken voor registratie (niet voor betalende evenementen).';

$txt['register_mod_you_are'] = 'Je bent ';
$txt['register_mod_you_may'] = 'Je kan ';
$txt['all_groups'] = 'Selecteer alle groepen';


Hoverclub, don't forget to update the language file in the new update.

Any possible solutions for the .csv download problem?
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 23, 2012, 05:36:46 AM
Quote from: jan.van.gent on February 23, 2012, 04:01:28 AM
Any possible solutions for the .csv download problem?
Not yet - I can't replicate the problem without access to a server where this issue happens - anyone going to volunteer (I need a temporary FTP account giving access to the forum directory)?
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on February 23, 2012, 05:48:09 PM
Thank you for adding new languages but how we can active one of them? I delete the old version of the mod and install the new one. Everything is in place but is still in english. My forum is in french.
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 24, 2012, 03:27:27 AM
Is your forum set to UTF-8?  If not, check the <current theme dir>/languages/Modifications.french.php file has the mod language strings added (it will tell you it is adding them during installation).

This mod doesn't currently support UTF-8.  If you have access to a code editor you can convert the mod-language files yourself.
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on February 24, 2012, 03:39:56 AM
Quote from: HoverClub on February 24, 2012, 03:27:27 AM
Is your forum set to UTF-8?  If not, check the <current theme dir>/languages/Modifications.french.php file has the mod language strings added (it will tell you it is adding them during installation).

This mod doesn't currently support UTF-8.  If you have access to a code editor you can convert the mod-language files yourself.

Why not support UTF-8? You just need to copy the language file and add -utf8 to the name and it's ready for utf-8.
I run it on a UTF-8 board.
Title: Re: Event Registration for SMF2
Post by: impreza on February 24, 2012, 04:52:13 AM
Cool and useful, I have to translate the native language only, but worth it. thank you for it
Title: Re: Event Registration for SMF2
Post by: Dummbock on February 24, 2012, 07:37:19 AM
Quote from: jan.van.gent on January 11, 2012, 05:17:06 AM
Will there be support for other languages?
(dutch for example?)

German will be helpfull

Thanks
Title: Re: Event Registration for SMF2
Post by: jan.van.gent on February 24, 2012, 08:18:18 AM
Maybe hoverclub can put the latest translation language english file in the begin post, so people can start translating (like I did for dutch)
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on February 24, 2012, 10:04:58 AM
When I install the mod, english strings are added but not the french.
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 24, 2012, 01:06:43 PM
Please send me a screen shot of the pre-install check screen (just before you click "Install Now") - it should show a list of files and what it's going to do with each one.

Jan, anyone can extract the language strings from the installation ZIP file (they are inside the modification.xml file).
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on February 24, 2012, 01:15:03 PM
Here: https://lh4.googleusercontent.com/-yWTFnelLTQg/T0fTidXrxQI/AAAAAAAAAU4/hgYjCOkTfNA/s1024/eventfr.JPG
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 24, 2012, 01:42:36 PM
Thanks - looks like your forum must be UTF-8 (see previous post)?
Title: Re: Event Registration for SMF2
Post by: Kindred on February 24, 2012, 01:43:38 PM
Solid Orphan

As you can see from the install screen...   the system is not finding the file: modifications.french.php -- So no french settings are added because there is no file to add them to...
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on February 24, 2012, 04:05:09 PM
I'm sorry, it's because the translation is not very explicit. Now I found the problem but I did a mistake during the translation, I don't put a "/" behind all "'"...
Title: Re: Event Registration for SMF2
Post by: Deju on February 25, 2012, 03:21:08 PM
Wow.  This Mod is soooooo close to what I need.  And thank you for all the hard work you must have put in on this extremely helpful addition.

Is there any way you could add the ability for admin/event-creator to not only remove, but add participants?  So, in effect they can edit the list?  Being able to prime the list with participants when the event is created is of most importance. 

But being able to manipulate, edit, and/or recreate a list from scratch if something fatal happens is very important.

Thank you again for your consideration and work on this!
Title: Re: Event Registration for SMF2
Post by: Joe B on February 26, 2012, 08:20:15 AM
The download for 2.20 works now.. thanks for a great mod... It will be great for my fishing tournaments.....
Title: Re: Event Registration for SMF2
Post by: Deju on February 26, 2012, 11:53:33 AM
In line with my other comment I've noticed you can't edit the event details after you create it?  Would be very help so you could increase the limit, etc.
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 26, 2012, 01:01:31 PM
If you can't edit the event details then you don't have the correct calendar permissions set for that group.
Title: Re: Event Registration for SMF2
Post by: Deju on February 26, 2012, 01:25:51 PM
Yes, ofcourse. I wasn't toggling the "show/hide" on it. 

Hover, any ideas on my first comment?  Is any of that possible?
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 26, 2012, 01:43:56 PM
I don't have the  time for major stuff like that right now (allowing event creators to add/remove people may also be dubious if they haven't paid or agreed to the event terms&cond)
Title: Re: Event Registration for SMF2
Post by: Deju on February 26, 2012, 01:51:37 PM
I understand.  Must be a big undertaking. 

Too bad.  This one was really close to perfect.  Not having the ability  to edit, as an administrator though, relegates it relatively useless.  All of the major online event registration portals allow at the very least the administrator to edit. 

Thank you for getting it this far at least!
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on February 27, 2012, 10:41:31 AM
I made a update for the french translation, it works now:
$txt['register_mod_title'] = 'Options d\'inscription';
$txt['register_mod_registered'] = 'Inscrit';
$txt['register_mod_unconfirmed'] = 'Non confirmé';
$txt['register_mod_confirmed'] = 'Confirmé';
$txt['register_mod_notreg'] = 'non inscrit.';
$txt['register_mod_registerButtonValue'] = 'Inscription';
$txt['register_mod_confirmButton'] = 'Confirmer';
$txt['register_mod_unconfirmButton'] = 'Ne pas confirmer';
$txt['register_mod_unregisterButton'] = 'Se désinscrire';
$txt['register_mod_unconfirmWarning'] = 'Si vous ne confirmez pas, vous perdez votre place à l\'évènement et vous ne pourrez peut-être pas le confirmer plus tard!';
$txt['register_mod_areYouSure'] = 'Êtes-vous sûr?';
$txt['register_mod_unregisterWarning'] = 'Si vous vous désinscrivez, vous ne serez peut-être plus vous inscrire pour cet évènement!';
$txt['register_mod_maxAttendants'] = 'Nombre de places maximal ';
$txt['register_mod_alreadyRegistered'] = 'Vous êtes déjà inscrit pour cet évènement!';
$txt['register_mod_nameHeader'] = 'Nom';
$txt['register_mod_statusHeader'] = 'Statut';
$txt['register_mod_closed'] = 'Les inscriptions sont fermées pour cet évènement';
$txt['register_mod_fin'] = 'Cet évènement est fini ';
$txt['register_mod_logintext'] = 'Veuillez vous <a href="' . $scripturl . '?action=login">connecter</a> ou vous <a href="' . $scripturl . '?action=register">inscrire</a> pour participer à cet évènement.';
$txt['register_mod_pmAll'] = 'Envoyer un message à tout le monde';
$txt['register_mod_pmCon'] = 'Message confirmé';
$txt['register_mod_pmSel'] = 'Message sélectionné';
$txt['register_mod_pmUnCon'] = 'Message non confirmé';
$txt['register_mod_daysClosed'] = 'L\'évènement n\'accepte plus de personnes supplémentaires ';
$txt['register_mod_confirm'] = 'Confirmation nécessaire ';
$txt['register_mod_iAgree'] = 'J\'accepte';
$txt['register_mod_iDisagree'] = 'Je refuse';
$txt['register_mod_termsAndConditions'] = 'Les termes et conditions de l\'évènement (vous pouvez utiliser le format texte BBcode):';
$txt['register_mod_termsAndConditionsHeader'] = 'Entrez les termes et conditions de l\'évènement';
$txt['register_mod_daysbefore'] = ' jour(s) avant l\'évènement';
$txt['register_mod_group'] = 'Désolé - votre groupe ne peut pas s\'inscrire.';
$txt['register_mod_waitpaid'] = 'Paiement en attente de confirmation - veuillez vérifier plus tard. ';
$txt['register_mod_paid'] = ' et payer';
$txt['register_mod_payButton'] = 'Payer les frais d\'inscription';
$txt['register_mod_payConfButton'] = 'Payer les frais de confirmation';
$txt['no_entry'] = 'Pas de paiement requis';
$txt['register_mod_showatt'] = '[Montrer]';
$txt['register_mod_hideatt'] = '[Cacher]';
$txt['register_mod_noplaces'] = 'Désolé - plus de place disponible, veuillez réessayer plus tard. ';
$txt['register_mod_selgroup'] = 'Groupes qui peuvent s\'inscrire pour cet évènement - utiliser le bouton SHIFT et/ou CTRL pour sélectionner plusieurs groupes (si aucun groupe n\'est sélectionné, l\'inscription n\'est pas requis pour l\'évènement)';
$txt['register_mod_selsubs_reg'] = 'Les frais de l\'évènement doivent être payés pour s\'inscrire à l\'évènement (des frais de souscription de l\'évènement disponible pour ce forum) - dont n\'importe lequel peut être utilisé pour payer les frais d\'inscription de l\'événement. Utiliser la touche SHIFT et/ou CTRL pour sélectioner plus d\'une souscription.';
$txt['register_mod_confirm_opt'] = 'Options de confirmation';
$txt['register_mod_selsubs'] = 'Les frais à confirmer pour participer à l\'évènement.';
$txt['register_mod_deleteUserWarning'] = 'Vous êtes sur le point d\'enlever les membres sélectionner pour cet évènement (si ils ont payés des frais, vous devez trouver un moyen de les rembourser)!';
$txt['register_mod_deleteusers'] = 'Enlever les sélectionnés';
$txt['register_mod_eventsub'] = 'Inscription de l\'évènement';
$txt['register_mod_eventsub_desc'] = 'Sélectionner pour que la souscription soit disponible que pour l\'inscription à l\'évènement (ce ne sera pas listé en tant que souscription payante pour les membres).';
$txt['register_mod_you_are'] = 'Vous êtes ';
$txt['register_mod_you_may'] = 'Vous pouvez vous ';
$txt['all_groups'] = 'Sélectionner tous les groupes';

// default terms and conditions used on new event posts (leave blank for no default terms)
$txt['register_mod_terms'] = '';
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 29, 2012, 11:38:13 AM
Quote from: Deju on February 26, 2012, 01:51:37 PM
.... Not having the ability  to edit, as an administrator though, relegates it relatively useless. ...
The admin or creator CAN edit entries (they can confirm or delete users from the list) - the only thing they can't do is to register someone (which, as said wouldn't be acceptable without the registrants specific agreement to any T&C's and/or payment). 

There should never be any need to re-create a list - if something that bad happens then it's likely the entire forum database has been corrupted, in which case you will have other more pressing concerns  ::)
Title: Re: Event Registration for SMF2
Post by: Deju on February 29, 2012, 12:03:13 PM
There are instances you might be missing where it would be useful to register participants like: handicap participants, underage participants, and those wishing to register who may not have a computer.  Every part of an instance of SMF is editable by the Admin... I just think this should be too.  Just my 2cents mind you. 
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 29, 2012, 12:27:46 PM
OK - however, this mod is tightly integrated with SMF and was never intended to be a standalone free-access registration portal.  It uses the SMF user database and paid subscription system so it isn't possible for someone who isn't already a forum user to register for an event (if a forum user then they can very easily register themselves, if not, they can register on the forum (providing contact info) and then event register). 

If, for example, you wanted to allow family or group paid event registration then just make a paid subscription for that purpose (the person taking out the subscription would then be the family/group "leader" and the other group members would not require forum registration). 

You can also create multiple event entries for the same event (on the same day(s)), each "clone" event can have different subscription parameters or terms (for example, you could require payment from group attendees whilst allowing free entry for individuals, etc).
Title: Re: Event Registration for SMF2
Post by: OCJ on February 29, 2012, 11:29:05 PM
I guess really its moving towards something like guest registration ability... but you already said you were not going to go that way as the other registration mod does that. Still, a lot of mods do the same things but perhaps  in a slightly different way.

Its a case of 'consumer demand' pushing things ... guest registration would allow admin to register people as well. Its a nice selectable option to allow it (even if just admin).
In our club most events are for registered members on the board but sometimes we have open social events with limited seating or special events open to guests.  With a guest registration option I would see this as a complete registration mod.

Title: Re: Event Registration for SMF2
Post by: HoverClub on March 01, 2012, 01:24:22 PM
Maybe I'm not being clear enough - it will never be possible for guests to register and pay for events because this mod uses the SMF paid subscription system to take these payments. 

If a stand-alone payment processing module was written (callback, etc) then this mod would essentially become a stand-alone program rather than integrated with SMF (and a LOT more complicated to support).  Even then, for a guest to be able to make an event payment they would need to supply the same data they would need to enter if they registered on the forum so it seems pointless writing a stand alone registration and payment system when both already exists within SMF.

This mod was originally a simple port of the SMF1 version and modified to allow simple event registration payments for small clubs using SMF and, as such, it does that job perfectly.
Title: Re: Event Registration for SMF2
Post by: OCJ on March 01, 2012, 02:41:59 PM
Yes sorry, I meant having guest registration simply as a way of signing people up for events ... maybe not those with subscription payments being involved. If that was necessary, yes they would certainly have to register on the site to be able to use smf subscriptions.
Rather than have to use another mod to register guests it would be nice to have both options with this one - guest registration would of course be for events without subscription payment.
Title: Re: Event Registration for SMF2
Post by: Michael Pfaff on March 02, 2012, 08:35:58 AM
Simply amazing mod. Works perfectly and is perfect for our needs. Well done!

Two things:

How can I set it up so that the default for Registration Options "all groups" is already checked? (Nvm. Figured this out...

In post.template.php:

Replace:

<dd>
' . $txt['all_groups'] . '<input type="checkbox" class="input_check" onclick="checkUncheckAll(this);" ' .(count($context['member_groups']) == count(explode(',',$context['event']['hcc_groups'])) ? 'checked="checked"' : '' ) . ' /><br />


With:

<dd>
' . $txt['all_groups'] . '<input type="checkbox" class="input_check" onclick="checkUncheckAll(this);" ' .(count($context['member_groups']) == count(explode(',',$context['event']['hcc_groups'])) ? 'checked="checked"' : '' ) . ' checked="yes" /><br />


Can I set it so that the registered members are "shown" on default and the user has to select "Hide" to hide it? (Nvm. Found the answer on page 2 of this thread.)



Title: Re: Event Registration for SMF2
Post by: Michael Pfaff on March 02, 2012, 11:08:07 AM
Quote from: Michael Pfaff on March 02, 2012, 08:35:58 AM
How can I set it up so that the default for Registration Options "all groups" is already checked? (Nvm. Figured this out...

Argh. Actually, this doesn't work... The actual act of "checking the box" highlights the groups...

Hmmmm. Any way to have all groups highlighted on default I guess?
Title: Re: Event Registration for SMF2
Post by: HoverClub on March 02, 2012, 12:27:51 PM
.. quite tricky  :D ...

in Post.template.php change
echo ' <option value="' . $member_group['id'] .'" ' . (in_array($member_group['id'],explode(',',$context['event']['hcc_groups'])) ? 'selected= "selected"' : '') . ' title="' . $member_group['name'] . '">' . shorten_subject($member_group['name'],30) . '</option>';
... to

echo ' <option value="' . $member_group['id'] .'" ' . (empty($context['event']['hcc_groups']) ? 'selected= "selected"' : (in_array($member_group['id'],explode(',',$context['event']['hcc_groups'])) ? 'selected= "selected"' : '')) . ' title="' . $member_group['name'] . '">' . shorten_subject($member_group['name'],30) . '</option>';



... a lot easier just to tick "select all. 
Title: Re: Event Registration for SMF2
Post by: Michael Pfaff on March 02, 2012, 12:36:37 PM
Quote from: HoverClub on March 02, 2012, 12:27:51 PM
.. quite tricky  :D ...

Indeed!

Quote from: HoverClub on March 02, 2012, 12:27:51 PM
... a lot easier just to tick "select all.

Gotta set things up to be as easy as possible for my users. Setting it to All means one less thing they can mess up. ;)

Thanks so much for this help and for the mod in general! I think I've got everything set up perfectly.

Send me a PM with your PayPal info and I'll be happy to donate.
Title: Re: Event Registration for SMF2
Post by: Michael Pfaff on March 05, 2012, 02:18:49 PM
HoverClub,

Is there a way to add a comment after you've confirmed?

Mike
Title: Re: Event Registration for SMF2
Post by: HoverClub on March 07, 2012, 05:26:30 AM
Not right now- but tell me why you would need that when you can add a comment when registering?
Title: Re: Event Registration for SMF2
Post by: Kindred on March 07, 2012, 10:56:30 AM
Hey Hoverclub....   I really like where this mod is going.

three things you might consider for future releases?

1-
Add recurring events.
this would be handled in two ways with your registration effects:
a- register once for all recurrences.
b- register once for a single occurrence.
(the event creator would set the option a or b when creating the event)

2-
add event times.
just a simple little addition to the date (since, I think the current SMF date setting/field in the db also handles time, it just currently ignores it)

3-
Add the capability to link your calendar to google calendars.
(this might be more complicated than it's worth... but it's a useful feature since everyone that I know is currently using google calendars to plan events)
http://code.google.com/apis/calendar/


Title: Re: Event Registration for SMF2
Post by: HoverClub on March 07, 2012, 12:37:57 PM
Good ideas but it would be probably be easier just to re-write most of the SMF calendar  ::)

1. The native calendar doesn't handle event recurrence.

2. The SMF calendar stores the date in day text format (Y-M-D) not as a Unix timestamp for some strange reason?

3. I already do this on one site (not a released mod yet) - the link is one-way (SMF calendar events are automatically added/updated in a Google calendar).  Obviously only updates for SMF guest-viewable events.

If the SMF calendar handled iCal-format data natively, things like this would be much simpler.
Title: Re: Event Registration for SMF2
Post by: OCJ on March 07, 2012, 01:41:20 PM
With all this work I think many people could make a donation ... or keep it simple until smf 3 and the ...er, external calendar mod is developed... as it is said that it is likely to be dumped as a core feature.
Title: Re: Event Registration for SMF2
Post by: Kindred on March 07, 2012, 01:53:04 PM
yes - the calendar is a greta part of SMF which makes it better than many other forum projects. However, the system needs a serious revamp -- which could best be done by replacing it with a module rather than trying to untwist the existing system.

That being said, it will be quite some time before SMF 3 is ready. Don't wait for it...   work on developing things within the current system.
Title: Re: Event Registration for SMF2
Post by: netpaydays on March 08, 2012, 06:03:20 AM
Hi

I'm getting errors saving the csv file on my test site

xxxx.com/index.php?action=registerEvent;eventid=467;topic=762.0
8: Undefined index: start_timestamp
File: /xxxx/Sources/RegisterEvent.php
Line: 321

xxxx.com/index.php?action=registerEvent;eventid=467;topic=762.0
8: Undefined variable: UnconfCount
File: /xxxxl/Sources/RegisterEvent.php
Line: 398

xxxx.com/index.php?action=registerEvent;eventid=467;topic=762.0
8: Undefined variable: csv
File: /xxxx/Sources/RegisterEvent.php
Line: 405

xxxx.com/index.php?action=registerEvent;eventid=467;topic=762.0
2: Cannot modify header information - headers already sent by (output started at /xxxxl/Sources/RegisterEvent.php:451)
File: /xxxx/Sources/Subs.php
Line: 2829
Title: Re: Event Registration for SMF2
Post by: HoverClub on March 08, 2012, 06:57:38 AM
You have an older version of Registerevent.php installed (the line numbers/errors don't match the current version).  Try re-installing the current version.
Title: Re: Event Registration for SMF2
Post by: Michael Pfaff on March 27, 2012, 09:15:57 AM
Quote from: HoverClub on March 07, 2012, 05:26:30 AM
Not right now- but tell me why you would need that when you can add a comment when registering?

Sorry for the delayed response.

Let's say for example I'm throwing a cookout. And, I'm like, "Hey, put what you want to bring in the comments." And, there are 10 people all bringing deviled eggs. And, well, I can't stand deviled eggs. So, I'm like, "Hey Jim and Tony, can you bring something else instead?" "Sure." And, they go in and change their comment to something else, like Doritos or a 2-liter.

Or, maybe we're using the comments for something else, like we do on our forum, for tracking which character you are going to play at the game. And, you're like, "Ok, I'm playing my Cleric." But, we don't need a Cleric, we really need your Mage. So, you change the comment to be like, "Nvm. Going to bring my Mage."

I'm sure there are more reasons you'd want to change your comment as well.
Title: Re: Event Registration for SMF2
Post by: Bixby on March 28, 2012, 08:27:10 AM
I am constantly amazed at the wonderful features that get developed for SMF. A hardy thank you. Quick question on this mod:

Would it be very difficult to have the mod make a posting in the thread anytime there is a registration? This would kick in the notifications for any member that has turned turned on "Notify" for that thread. It would also show a running list of registrations. We use the notification feature a lot for our Poker Events and players are always eager to see who is coming to an upcoming game. This would address that and notify them when someone registers.

Thanks for your consideration!
Bixby
Title: Re: Event Registration for SMF2
Post by: HoverClub on March 28, 2012, 08:50:06 AM
Thanks  :)

I did consider doing optional notifications for the event organiser themselves but hadn't considered doing it for everyone.  It's still on the big list of "things that need looked into"!

Title: Re: Event Registration for SMF2
Post by: nochin98 on June 12, 2012, 10:54:21 AM
This is a great mod! Works fantastic, especially like the ability to download the sign-up list to .csv file!

One quick question/request. In previous/other mods of this kind, they allowed more than the max number of attendees to sign-up for an event (i.e. max was 20, everyone who signed-up over 20 had a +n to show they are above the number). In my site, we like to have more members sign-up for events than we have spots, as we frequently have people drop out at the last minute, and the peopled that are +n are next in line ('spares'). Any thoughts on adding a feature like this?

Cheers,

MC
Title: Re: Event Registration for SMF2
Post by: HoverClub on June 17, 2012, 06:39:43 PM
No plan to add anything like that at the moment (mainly because the sites it was written for don't need it).  Have your tried using the "confirm" option in addition to registration?  That way you only confirmed members can attend an event and you can add the newest "registered " member if someone unconfirms.
Title: Re: Event Registration for SMF2
Post by: nochin98 on June 17, 2012, 11:00:09 PM
Thanks for the reply HoverClub. I'll consider that option.

Cheers.
Title: Re: Event Registration for SMF2
Post by: CraftyLion on July 15, 2012, 10:04:54 PM
This mod looks very promising and I uploaded it this morning. However, I'm having trouble activating it. I must be missing something here. How exactly does it work? 
Title: Re: Event Registration for SMF2
Post by: Kindred on July 15, 2012, 10:11:10 PM
kimba - which mod did you install? This one or the one from pftq? --- they are different mods.
Title: Re: Event Registration for SMF2
Post by: CraftyLion on July 16, 2012, 08:44:26 AM
The other one which I've repeated my query in the appropiate thread as I couldn't find a way to delete my query here. Sorry about that.
Title: Re: Event Registration for SMF2
Post by: Sweetwater on July 30, 2012, 09:36:00 AM
Thank you for your efforts in making yet another useful mod. Unfortunately for me I don't see any change to my calendar event / post capabilities after a successful install.

Kind Regards,
Title: Re: Event Registration for SMF2
Post by: HoverClub on July 30, 2012, 01:05:24 PM
You should see "Registration Options" above any calendar event when posting or editing it.  If not then give me access to your forum or send me a copy of Post.template.php after installation.
Title: Re: Event Registration for SMF2
Post by: Bixby on August 27, 2012, 01:09:21 PM
Awesome stuff!!!

Quick question.

We have a site that uses the calendar a lot for events. Right now our event registration is manual by people posting in the thread. This mod would make our registrations much better. One of the benefits of our manual process though is that members get a notification every time some registers a post in the thread. That is a nice touch and keeps events and discussion active and lively.

Is there a way for the registration to turn on notifications much the same as a reply to a thread would do?
Is there a way for this mod to make a post in the event thread so that the notifications inform people that someone else has registered for the event?
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 27, 2012, 03:19:40 PM
Not easy to do at all I'm afraid - the notifications email code relies on post ID's changing.  A registration wouldn't do that - you would need a completely separate system (or major hacks to the existing code) from what I can see.
.
Title: Re: Event Registration for SMF2
Post by: Bixby on August 27, 2012, 04:50:49 PM
Ok. Thanks for the quick reply, much appreciated.
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 11, 2012, 07:26:29 PM
Hello, I hate to ask this question but exactly what are the I Agree and I Disagree buttons supposed to do upon registering and confirming a paid or non paid event? 

I'm sorry, I just did not understand how this mod was supposed to work.  Your mod works as it should I think.  It makes sense to me now. 

Do you know what I would have to do to get the I accept and/or the confirm buttons to automatically take the member registering to paypal to pay any dues required for the event and update their profile to reflect the received payment?  I do have the paid subscriptions working through paypal as it should.  A forum member can go to their profile actions and pay through paypal and paypal is updating the profile to show the payment has been received.


I have the paid subscriptions enabled and have set up subscriptions although I did not at the time of installation.  If you go to your profile/forum profile/actions/paid subscriptions you can see all the relevant information and have the order buttons that will take you to the order with paypal button and make recurring check box that work.  For now I have been putting a link to the users paid subscriptions page and ask them to click that so they can make their payments.  That works but I would think that the I agree button would do that if it is a paid event and do it at the appropriate time weather it be during registration or conformation or both as chosen in the event edit page.  Also, the event registration page fees drop downs do not list all of the paid subscriptions.  Am I missing something?  I just downloaded this mod today and installed it.  I did not have the paid subscriptions enabled when I installed it but did so after installation.  Is this my problem you think?  Should I try to just uninstall and delete all data and reinstall?  Thanks in advance for any help provided.  This seems like its a great Mod.  Maybe it just needs a great Admin. as I'm totally new to this?Thanks.
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 12, 2012, 08:29:22 PM
OK, I do have a bug and have it narrowed down.  If I do not have no payment required selected as the registration payment I can't register.  In other words, I can not require payment for registration.  I have tested this any and all ways I can think to.

SMF 2.0.2 and Event Registration Mod for SMF2 version 2.24

Confirmation payment set to no payment required or choosing another payment option works just as it should, slick as a whistle.  It's not a very big deal to me since I know what throws a wrench in it but I would be willing to help any way I can to fix it.  This is a nice MOD even if it's never fixed but it may save others a lot of time.  Not knowing exactly how it was supposed to work had me pulling hairs out for sure.  I wasn't sure I had my paypal settings right.  I would click on register, I agree, and be dumped right back to the topic never being prompted to make payment and it would not show me as being registered.  I wonder, if once this is fixed, will you be able to use the same required payment for registration and confirmation (requiring it be paid twice) or if they will each need their on?  Just thinking ahead a bit.
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 13, 2012, 12:21:50 PM
Can someone using this mod verify a problem for me?

Thanks
Title: Re: Event Registration for SMF2
Post by: HoverClub on September 14, 2012, 12:33:13 PM
Quote from: Head scratchin on September 13, 2012, 12:21:50 PM
Can someone using this mod verify a problem for me?

Thanks
Yep  :(
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 14, 2012, 08:58:40 PM
I'm sorry HoverClub, I'll help any way I can.  You have done a good job and I appreciate all of your work and also for verifying this for me.  Thanks 

Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 23, 2012, 04:11:35 PM
Hi HoverClub, have you made any progress or do you think you will be?  Not to rush you, its just that I check daily and usually several times a day.  Also, would it be possible to add a quantities field for registration and confirmation.  The reason I ask is if you were holding an event and someone wanted to reserve space for their group or family.  Maybe a mother wants to register for her self, her 2 small children and her husband.  They could enter 4 in the quantity field and the dues payable would reflect that as well as spaces left.  I don't know the inner workings of subscriptions as you but I can see where this could be a problem.  A work around would be to add a subscription drop down for the registrant to choose from.  As an example, in list there may be things such as
1 Adult
2 Adults
2 Adults & 2 Children etc.

Thanks     
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on September 23, 2012, 06:11:53 PM
The are Parse errors in theses files : /Sources/Subs-Calendar.php and Post.php
I don't know if others files have errors.
Title: Re: Event Registration for SMF2
Post by: TheListener on September 23, 2012, 06:17:29 PM
Quote from: Solid Orphan on September 23, 2012, 06:11:53 PM
The are Parse errors in theses files : /Sources/Subs-Calendar.php and Post.php
I don't know if others files have errors.

These have to be manually edited.
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 23, 2012, 07:26:24 PM
Old Fossil, are you saying I need to manually edit some files or does solid orphan have a problem different from mine?  If so please be all inclusive as I'm new to this.

Thanks
Title: Re: Event Registration for SMF2
Post by: TheListener on September 23, 2012, 07:28:19 PM
Quote from: Head scratchin on September 23, 2012, 07:26:24 PM
Old Fossil, are you saying I need to manually edit some files or does solid orphan have a problem different from mine?  If so please be all inclusive as I'm new to this.

Thanks

I was referring to Solid Orphan as I have no idea what your problem is.

:)
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 23, 2012, 07:35:58 PM
OK, thanks for clearing that up for me.  The problem I have is that you can not require payment for registration.  HoverClub verified the bug.

Thanks
Title: Re: Event Registration for SMF2
Post by: HoverClub on September 24, 2012, 08:49:49 AM
This was fixed a couple of weeks ago - have you installed the latest version (clicking "notify me of updates"on the mod page helps)?

RE; parse errors
Can someone PM me the error lines and mod version please as I don't see any.
Title: Re: Event Registration for SMF2
Post by: Kindred on September 24, 2012, 09:28:40 AM
Hoverclub,

I am virtually certain that the install/parse errors are due to other mods...
Title: Re: Event Registration for SMF2
Post by: Solid Orphan on September 24, 2012, 11:37:24 AM
I have no others mods. The problem was some "," missing. I have already correct myself. But I think it's because I install the news version above the older. I was thinking it will be replaced but there were two mods. I delete all the mods and install the last version and the errors appear.
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 25, 2012, 08:09:30 AM
Quote from: HoverClub on September 24, 2012, 08:49:49 AM
This was fixed a couple of weeks ago - have you installed the latest version (clicking "notify me of updates"on the mod page helps)?

Thanks HoverClub, I did not realize you were so dang fast!  I now have it set to notify me of updates as well.  :-[

Is there any chance the option to have a quanity field will be added?

Quote from: Head scratchin on September 23, 2012, 04:11:35 PM
Would it be possible to add a quantities field for registration and confirmation.  The reason I ask is if you were holding an event and someone wanted to reserve space for their group or family.  Maybe a mother wants to register for her self, her 2 small children and her husband.  They could enter 4 in the quantity field and the dues payable would reflect that as well as spaces left.  I don't know the inner workings of subscriptions as you but I can see where this could be a problem.  A work around would be to add a subscription drop down for the registrant to choose from.  As an example, in list there may be things such as
1 Adult
2 Adults
2 Adults & 2 Children etc.

Thanks     

Thanks
Title: Re: Event Registration for SMF2
Post by: HoverClub on September 25, 2012, 08:54:10 AM
Quote from: Head scratchin on September 25, 2012, 08:09:30 AM
Is there any chance the option to have a quanity field will be added
Unlikely I'm afraid as there are already easy ways to achieve it (using comments or forum registration)
Title: Re: Event Registration for SMF2
Post by: Head scratchin on September 25, 2012, 11:26:54 PM
Quote from: HoverClub on September 25, 2012, 08:54:10 AM
Quote from: Head scratchin on September 25, 2012, 08:09:30 AM
Is there any chance the option to have a quantity field will be added
Unlikely I'm afraid as there are already easy ways to achieve it (using comments or forum registration)

Ok, I just want to be sure I understand and haven't missed something as simple as a check box again.   :-[ 

By using comments you mean for the forum member to write a note in the comments like, "Put me down for 6" and those with access manually bill them or make some other adjustment to get it all worked out?

By registration you mean everyone wanting to register have their on account and just register under that?

If so, I see lots of problems with those in certain scenarios but that may just be because I want it to do something it simply can't or wasn't designed to.  Seems I saw something about that in an earlier post.  If that is the case could I take a crack at adding it if you don't have time?  Keep in mind I'm no programmer if that isn't obvious enough already.  ;D  I can copy and paste pretty good but much above that and really have to put sweat and tears in it.  My initial intrest was someone being able to register for their group or family.  Family actually so we could get an accurate head count so we would know how much food to prepare.  Some of the kids were to young to register themselves but still have to eat.  I have since had another use for multi registration.  Group buys.  Lots of times you can get a discount if you buy in bulk or get a price break for groups and if this mod had the ability to enter a quantity it would be perfect for that.  If it could use the max places still available as the limit one could register it would just be great and so automated.  This would be worth a lot to me personally but I certainly understand if it's of no intrest to you.  This is a great and very useful mod as is.  I think it's usefulness would be multiplied by adding a quantities box.  I know I'm starting to sound like a beggar and beggars can't be choosers.  If I had a gold platted prop I could offer up I would but I don't.  I'm so poor if it cost a nickle to crap I'd have to throw up.  :laugh:  Seriously though, I'd be glad to give you a little something.  Either way, I appreciate you sharing this mod.  It really is nice! 

Thanks
Title: Re: Event Registration for SMF2
Post by: Portugal on September 28, 2012, 06:53:46 AM
Hello people,

I think it´s a nive mod, but i need translated to my language, (Portuguese) i can do it for you, if you send me all items to translate.


Thanks in advance
Portugal
Title: Re: Event Registration for SMF2
Post by: HoverClub on September 28, 2012, 07:14:32 AM
The text strings are all in the modification.xml file included in the package ZIP (look for the Modifications.english.php section).
Title: Re: Event Registration for SMF2
Post by: Portugal on September 28, 2012, 09:59:33 AM
Thanks HoverClub, i will translate, them i must to upload here to you add if you want.


Thanks

Quote from: HoverClub on September 28, 2012, 07:14:32 AM
The text strings are all in the modification.xml file included in the package ZIP (look for the Modifications.english.php section).
Title: Re: Event Registration for SMF2
Post by: Bobn on October 14, 2012, 02:35:05 PM
Hello,

Just installed the mod, created an event in the calendar but there is no registration link in the posts. Can anybody help?
Title: Re: Event Registration for SMF2
Post by: Kindred on October 14, 2012, 04:44:42 PM
Which mod did you install? You have asked the same question in two different mod threads.
Title: Re: Event Registration for SMF2
Post by: Bobn on October 14, 2012, 05:44:00 PM
Quote from: Kindred on October 14, 2012, 04:44:42 PM
Which mod did you install? You have asked the same question in two different mod threads.
This is for the Event Registration for SMF2.
Title: Re: Event Registration for SMF2
Post by: HoverClub on October 15, 2012, 05:13:58 AM
Have you set up the registration options properly when you created/edited the event?  If you set the max. places to zero OR don't select any groups that can register then the registration won't be active.
Title: Re: Event Registration for SMF2
Post by: Bobn on October 15, 2012, 09:10:46 AM
Quote from: HoverClub on October 15, 2012, 05:13:58 AM
Have you set up the registration options properly when you created/edited the event?  If you set the max. places to zero OR don't select any groups that can register then the registration won't be active.

My Bad, I didnt see the link to open the additional event information. Any way to have that default to open?
Title: Re: Event Registration for SMF2
Post by: Constantin Os on November 15, 2012, 07:51:29 PM
Hello
can you give advance:

how to do list in calendar cell - Each event from new line ( see att. for better explanation)

thank you

smf 2.0.2
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 16, 2012, 05:15:02 AM
Not a lot to do with this mod ?

.... but add <i>style="text-align: left; </i> to the <div> around line 387 in calendar.template.php

Or, even easier, install the Event Reminder (http://custom.simplemachines.org/mods/index.php?mod=2860) mod  :)

Title: Re: Event Registration for SMF2
Post by: Constantin Os on November 17, 2012, 09:48:44 AM
Quote from: HoverClub on November 16, 2012, 05:15:02 AM
Not a lot to do with this mod ?

.... but add <i>style="text-align: left; </i> to the <div> around line 387 in calendar.template.php

Or, even easier, install the Event Reminder (http://custom.simplemachines.org/mods/index.php?mod=2860) mod  :)

Here code from that area
// Any special posted events?
if (!empty($day['events']))
{
echo '
<div class="smalltext">
<span class="event">', $txt['events'], '</span>';

/* The events are made up of:
title, href, is_last, can_edit (are they allowed to?), and modify_href. */
foreach ($day['events'] as $event)
{
// If they can edit the event, show a star they can click on....
if ($event['can_edit'])
echo '
<a class="modify_event" href="', $event['modify_href'], '"><img src="' . $settings['images_url'] . '/icons/modify_small.gif" alt="*" /></a>';

echo '
', $event['link'], $event['is_last'] ? '' : ', ';
}

echo '
</div>';
}
}

echo '
</td>';


Sorry I can't understand well, where need to add <i> ... and i just italic isnt it ? but I need some thing like <br >
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 17, 2012, 10:42:52 AM
change:<div class="smalltext">
to
<div class="smalltext" style:text-align:left;">
Title: Re: Event Registration for SMF2
Post by: Constantin Os on November 17, 2012, 12:04:47 PM
Thank you, but point not align all to left, i wish each new event name start from new line
Title: Re: Event Registration for SMF2
Post by: magswod on November 29, 2012, 02:38:45 AM
I've downloaded and installed this Mod. I'm using the latest version of SMF. I had to install this Mod manually, so I don't know if that has something to do with the problems I'm experiencing. I can create an event, create the sign up options with it however once that's all done and I go back to the calender I get this error on the actual calendar on the date of the event:

Fatal error: Call to undefined function make_reminder_menu() in /home/maggied/public_html/wodtribulations.com/smf/Sources/Load.php(2202) : eval()'d code on line 398

As I said, everything else seems to be working save for that error message.

Any help is appreciated!
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 29, 2012, 03:25:17 AM
Looks like you've got part or all of a different mod installed (event reminder (http://custom.simplemachines.org/mods/index.php?mod=2860)).  Re-installing the event reminder mod should fix it.
Title: Re: Event Registration for SMF2
Post by: magswod on November 29, 2012, 10:06:38 AM
Okay, thank you so much for the quick reply! I've uninstalled the Reminder fully because I keep getting the following errors, yet the original error I posed still shows on the calender itself. This is the error that has forced me to uninstall the Reminder mod:
// Event reminder mod $txt['reminder_mod_day'] = 'day'; $txt['reminder_mod_days'] = 'days'; $txt['reminder_mod_week'] = 'week'; $txt['reminder_mod_weeks'] = 'weeks'; $txt['reminder_noremind'] = 'no reminder'; $txt['reminder_emailsubject'] = 'Event Reminder!'; $txt['reminder_mod_before'] = ' before';
Fatal error: Cannot redeclare handler() (previously declared in /home/maggied/public_html/wodtribulations.com/smf/Sources/calreminder.php:8) in /home/maggied/public_html/wodtribulations.com/smf/Sources/calreminder.php on line 47


However, for the Event Registration I am getting the following error when I try to view the forum post creating an event generates and I can't figure out where the syntax is wrong. I just don't see it.  :-\


Template Parse Error!
There was a problem loading the /Themes/default/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected '}'


I really appreciate your help. I've been at it for two hours now, with no luck LOL

I've attached the Display.template.php file but I can't find where the syntax is wrong.  :-\
Title: Re: Event Registration for SMF2
Post by: Kindred on November 29, 2012, 10:46:58 AM
the first error indicates that you, somehow, installed the same mod twice.
Additionally, the mod installed incorrectly in the modifications.english.php file.

Your uninstall probably failed on several files and yuo will not have to go through and manually remove or correct the code.
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 29, 2012, 11:43:32 AM
I've no idea what's going on I'm afraid - it would be far simpler for you just to revert/restore and start again as there appear to be at least two unrelated issues (and probably a few others).

Why did you need to install the registration mod manually?  It should have installed on most of the files with no problems maybe leaving a few modifications on a non-standard display or post template.  The easy way is to over ride the failed automatic install BUT keep a careful note of which file modifications failed BEFORE you install - then make the changes manually (if you can).  If you need to uninstall the mod then you will already have a note of the changes you've made manually and can use the automatic uninstall to do most of the work.



Title: Re: Event Registration for SMF2
Post by: pierrelogic on December 08, 2012, 05:25:31 PM
Trying to do a version upgrade on existing site from 2.15 to current 2.26

During uninstall process I receive this single test fail

In the ./index.php

Code: (Find) [Select]
foreach ($context['linked_calendar_events'] as $event)
{
// event reg type Reg, RegPay, RegPayConf, RegConfPay, RegPayConfPay
if (empty($event['hcc_groups']) OR ($event['hcc_max_attendants'] == 0)) // is anyone allowed to register?
$evType = ''; // no reg required
else
{
$evType = 'Reg'; // reg required for all types
if (!empty($event['hcc_reg_sub_ids']))
$evType .= 'Pay'; // reg pay needed
if (!empty($event['hcc_confirm']))
{
$evType .= 'Conf';
if (!empty($event['hcc_sub_ids']))
$evType .= 'Pay'; // reg pay needed
}
}

if (!empty($evType)) // open for registration?
{
// process array to remove any false confirmations when a required reg payment hasn't been made on a confirmable event OR it's a non-confirm event
// make ID lists and set vars
$RegCount = $ConfCount = $unConfCount = $RegPaidcount = $ConfPaidCount = array();
$imReg = $imConf = false;
foreach ($event['registration'] as $key=>$reg)
{
if (!($event['hcc_confirm']) OR (!empty($event['hcc_reg_sub_ids']) AND !isset($reg['reg_paid_status'])))
{
$event['registration'][$key]['date_conf'] = '';
unset($event['registration'][$key]['conf_paid_status']);
}

$RegCount[] = $reg['id_member'];
if ($context['user']['id'] == $reg['id_member'])
$imReg = true;
if (isset($reg['reg_paid_status']))
{
$RegPaidCount[] = $reg['id_member'];
if ($context['user']['id'] == $reg['id_member'])
$imRegPaidStatus = $reg['reg_paid_status'];
}

if (!empty($event['registration'][$key]['date_conf']))
{
$ConfCount[] = $reg['id_member'];
if ($context['user']['id'] == $reg['id_member'])
$imConf = true;
if (isset($event['registration'][$key]['conf_paid_status']))
{
$ConfPaidCount[] = $reg['id_member'];
if ($context['user']['id'] == $reg['id_member'])
$imConfPaidStatus = $event['registration'][$key]['conf_paid_status'];
}
}
else
$UnconfCount[] = $reg['id_member'];
}
// spaces left on event? - anyone who has registered on a reg-only event OR paid a reg fee is treated as taking one place
$space_left = (count($ConfCount) + (((strpos($evType,'RegPay') !== false) OR (strpos($evType,'Conf') === false)) ? count($RegCount) : 0)) < $event['hcc_max_attendants'];

echo '
<li style="list-style-type:none">
<div>
<fieldset>
<legend>' . ($event['can_edit'] ? '<a href="' . $event['modify_href'] . '"> <img src="' . $settings['images_url'] . '/icons/modify_small.gif" alt="" title="' . $txt['modify'] . '" class="edit_event" /></a> ' : '') . $event['title'] . ': <span style= "font-weight:normal;">' . $event['start_date'] . ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : '') . '</span></legend>';

if (!($event['imGroups'])) // if user not in a group allowed to attend this event!
echo ($context['user']['is_guest'] ? $txt['register_mod_logintext'] : $txt['register_mod_group'] ); // no group permission to register for event
else
{
$time_left = ceil(($event['start_timestamp'] - time()) / 86400); // days left until event starts(negative is event passed)
echo ' <form action="',$scripturl,'?action=registerEvent;eventid=',$event['id'],';topic=',$topic,'.',$context['start'],'" method="post" accept-charset="',$context['character_set'],'" name="registerEvent">
<input type="hidden" name="sc" value="', $context['session_id'], '" />
<input type="hidden" name="eventid" value="', $event['id'], '" />
<div class="smalltext">';

if ($time_left >= 0) // event hasn't happenned yet
{
// If event reg time has not expired then show user option buttons
if ($time_left >= $event['hcc_days_closed'])
{
// show user status up until the event happens
echo (($imConf OR $imReg) ? $txt['register_mod_you_are'] : '');
if (strpos($evType,'Conf') AND $imConf) // confirmed
echo $txt['register_mod_confirmed'] . (isset($imConfPaidStatus) ? ($imConfPaidStatus == 0 ? $txt['register_mod_paid']: $txt['register_mod_waitpaid']) : '') . '. ';
elseif ($imReg) // reg'ed but not confirmed (or maybe paid) yet
echo $txt['register_mod_registered'] . (isset($imRegPaidStatus) ? ($imRegPaidStatus == 0 ? $txt['register_mod_paid']: $txt['register_mod_waitpaid']) : '') . '. ';

// now the action buttons
$action_btns = '';
if (strpos($evType,'Conf') AND $imConf)
{
if (strpos($evType,'ConfPay') === false) // not a paid confirmation event so can unconfirm
$action_btns .= ' <input type="submit" class="button_submit" value="' . $txt['register_mod_unconfirmButton'] . '" name="Button" onclick="if (confirm(\'' . $txt['register_mod_unconfirmWarning'] . '\\n' . $txt['register_mod_areYouSure'] . '\')) { return true } return false;" /> ';
}
elseif ($imReg)
{
if (strpos($evType,'RegPay') === false) // not a pay reg event so can unregister
$action_btns .= ' <input type="submit" class="button_submit" value="' . $txt['register_mod_unregisterButton'] . '" name="Button" onclick="if (confirm(\'' . $txt['register_mod_unregisterWarning'] . '\\n' . $txt['register_mod_areYouSure'] . '\')) { return true } return false;" />';
if (strpos($evType,'Conf') AND (((strpos($evType,'RegPay') !== false) AND (isset($imRegPaidStatus) AND $imRegPaidStatus == 0)) OR (strpos($evType,'RegConf')!== false))) // conf required and paid reg or no payconf needed

if ($space_left)  // only confirm if space left
$action_btns .= (strpos($evType,'ConfPay') ? '
<input type="button" class="button_submit" value="' . $txt['register_mod_payConfButton'] . '" onclick="window.location.href=\'' . $scripturl . '?action=profile;area=subscriptions;event=' . $event['hcc_sub_ids'] . '\'" name="pay" />' : '<input type="submit" class="button_submit" value="' . $txt['register_mod_confirmButton'] . '" name="Button" /> ');
else // event full
echo $txt['register_mod_noplaces'];
}
}
else // not registered yet
{
// can only reg if spaces left on event
if ($space_left)
$action_btns .= (strpos($evType,'RegPay') === false ? ' <input type="submit" class="button_submit" value="' . $txt['register_mod_registerButtonValue'] . '" name="Button" />' : ' <input type="button" class="button_submit" value="' . $txt['register_mod_payButton'] . '" onclick="window.location.href=\'' . $scripturl . '?action=profile;area=subscriptions;event=' . $event['hcc_reg_sub_ids'] . '\';" name="pay" />');
else // event full, can't allow reg payment
echo $txt['register_mod_noplaces'];
}

if (!empty($action_btns))
echo $txt['register_mod_you_may'], $action_btns. ' ';
echo $txt['register_mod_daysClosed'] . '<span style="color:red;font-weight:bold;">' . date('d-M-Y', $event['start_timestamp'] - ($event['hcc_days_closed'] * 86400)) . '</span>.&nbsp;';
}
else
echo $txt['register_mod_closed'] . '. ' . ($time_left >= 0 ? $txt['register_mod_you_are'] . '<b>' . ((strpos($evType,'Conf') AND $imConf) ? $txt['register_mod_confirmed'] . (isset($imConfPaidStatus) ? ($imConfPaidStatus == 0 ? $txt['register_mod_paid']: $txt['register_mod_waitpaid']) : '') : (((strpos($evType,'Conf')===false) AND $imReg) ? $txt['register_mod_registered'] . (isset($imRegPaidStatus) ? ($imRegPaidStatus == 0 ? $txt['register_mod_paid']: $txt['register_mod_waitpaid']) : ''): $txt['register_mod_notreg'])) . '</b>' : '') . '. ';
}
else
echo $txt['register_mod_fin']; // event has passed

echo '<br />' . $txt['register_mod_maxAttendants'] . $event['hcc_max_attendants'] . ' -&raquo; ' . (count($RegCount)-count($ConfCount)) . '&nbsp;' . $txt['register_mod_registered'] . ($event['hcc_confirm'] ? ', ' . count($ConfCount) . ' '. $txt['register_mod_confirmed']  : '');

if (count($RegCount) > 0)
echo '&nbsp;<a style="font-weight:bold;" onclick="
document.getElementById(\'attends' . $event['id'] . '\').style.display = this.innerHTML==\'' . $txt['register_mod_showatt'] . '\' ? \'block\' : \'none\';
this.innerHTML = this.innerHTML==\'' . $txt['register_mod_showatt'] . '\' ? \'' . $txt['register_mod_hideatt'] . '\' : \'' . $txt['register_mod_showatt'] . '\';">' . $txt['register_mod_showatt'] . '</a>';
echo '
</div>';

if (count($RegCount) > 0)
{
echo '
<div id="attends' . $event['id'] . '" style="display:none;">
<table class="table_grid" cellspacing="1" cellpadding="10" width="90%" align="center">
<tbody>
<tr class="catbg" >
<td><b>No.</b></td>
<td><b>',$txt['register_mod_nameHeader'],'</b></td>
<td><b>',$txt['register_mod_statusHeader'],'</b></td>';
if ($event['can_edit'])
echo ' <td align="center"><input type="checkbox" class="input_check" onclick="invertAll(this, this.form);" /></td>';
echo ' </tr>';

$alternate = true;
$count = 1; // confirmed attendees
foreach($event['registration'] as $reg)
{
echo ' <tr class="windowbg', $alternate ? '' : '2', '">
<td>', (($reg['date_conf'] OR !($event['hcc_confirm'])) ? '<b>' . $count . '.</b>' : ''), '</td>
<td class="smalltext"><a href="',$scripturl,'?action=profile;u=',$reg['id_member'],'">',$reg['real_name'],'</a></td>
<td class="smalltext">';
if ($reg['date_conf'])
{
echo '<b>' . $txt['register_mod_confirmed'] . (isset($reg['conf_paid_status']) ? $txt['register_mod_paid'] : '') . '</b>';
$count++; // count valid confirmations
}
else // registered only
{
if (strpos($evType,'Conf') === false)
$count++; // count reg if conf not required
echo (!$event['hcc_confirm'] ? '<b>' : '') . $txt['register_mod_registered'] . (isset($reg['reg_paid_status']) ? $txt['register_mod_paid'] : '') . (!$event['hcc_confirm'] ? '</b>' : '');
}
echo ' on ' . date("j M Y",$reg['date_reg']) . '
</td>';
if ($event['can_edit'])
echo ' <td  align="center" class="smalltext"><input class="input_check" type="checkbox" name="delete[]" value="',$reg['id_member'],'" /></td>';
echo ' </tr>';
$alternate = !$alternate;
}
echo ' </tbody>
</table>';

// mod/admin buttons
if ($event['can_edit'])
{
if (!empty($RegCount) OR !empty($ConfCount) OR !empty($UnConfCount))
{
echo ' <div align="center">';
if (!empty($RegCount))
echo ' <input type="button" class="button_submit" value="',$txt['register_mod_pmAll'],'" onclick="window.location.href=\'',$scripturl,'?action=pm;sa=send;u=',implode(',',$RegCount),'\'" name="PMREGISTERED" /> ';
if (!empty($ConfCount) AND strpos($evType,'Conf'))
echo ' <input type="button" class="button_submit" value="',$txt['register_mod_pmCon'],'" onclick="window.location.href=\'',$scripturl,'?action=pm;sa=send;u=',implode(',',$ConfCount),'\'" name="PMCONFIRMED" /> ';
if (!empty($UnConfCount))
echo ' <input type="button" class="button_submit" value="',$txt['register_mod_pmUnCon'],'" onclick="window.location.href=\'',$scripturl,'?action=pm;sa=send;u=',implode(',',$UnConfCount),'\'" name="PMUNCONFIRMED" /> ';
echo ' <input type="submit" class="button_submit" name="Button" value="',$txt['register_mod_pmSel'],'"/> ';
echo ' <input type="submit" class="button_submit" value="',$txt['register_mod_deleteusers'],'" name="Button" onclick="if (confirm(\'',$txt['register_mod_deleteUserWarning'],'\\n',$txt['register_mod_areYouSure'],'\')) { return true } return false;" />
</div>';
}
}
echo '
</div>';
}
echo ' </form>';
}
echo ' </fieldset>
</div>
</li>';
}
else


Code: (Replace) [Select]
foreach ($context['linked_calendar_events'] as $event)

Problem is using Notepad++ I can't seem to locate anything resembling the first coding section (or any obvious part of it).  I'm pretty confident I'm looking at the right .index.php file here too.  Not about to just forge ahead with the mod uninstall/upgrade without checking in here for some insight.  This mod is an integral part of my forum so I'm proceeding very slowly with this specific mod.  Backup's are in hand both of the site and db.  To my naive self, it seems if this coding isn't even there it might...might be okay to complete the uninstall.  But if it's not there then how is the mod actively working?

Help a brother out?   ;D   In the meantime I'll keep looking around for a solution....

Thank you!!
Title: Re: Event Registration for SMF2
Post by: pierrelogic on December 09, 2012, 03:03:25 AM
Never mind, I figured it out.   8)
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 09, 2012, 04:13:49 AM
Yep - maybe looking in the wrong file  ;) ?
Title: Re: Event Registration for SMF2
Post by: magswod on December 09, 2012, 02:32:20 PM
I have another question. I've tried to search for an answer on my own but have had zero luck. I'm trying to find out how to change the font colour of the event title? I've attached a screen cap and circled the area I'm talking about.  Does this pull from a specific area of the theme?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.wodtribulations.com%2FSCREENCAP.jpg&hash=55f327e7ca543ed1a45d44c1e643d4b6d54c7a83)

Thank you!
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 10, 2012, 04:38:00 AM
You are using a custom theme so I've no idea where the style definition is - the default theme style is fieldset legend .  Use Firefox/Firebug to show the style for that element on the page.
Title: Re: Event Registration for SMF2
Post by: magswod on December 10, 2012, 09:49:44 AM
Thank you very much! I was able to find it by searching for the fieldset and using firebug as you suggested. I really appreciate your consistent and quick help!  :)
Title: Re: Event Registration for SMF2
Post by: luuuciano on January 04, 2013, 09:53:16 PM
The payment features can be fully deactivated?

We are searching a way to people just joining events, but without payments features, etc... just giving Ok, or quit if they can not go later, etc....


Edit, just saw it can be configured on the event creation...

Anyway, I think we will try it... it looks pretty nice and useful... the feature PM to registered people is a nice one....
I will be doing a spanish translation, and sharing it (just let me find some time to do it, lol)


ohhh, BTW, there is no configuration section on the admin? I can not find anything (yet)

BTW2, when PM to all... that is like sending a PM to all the registered, but like a CC? that could generate any inconvenient with the smf configuration/way to work? there is no limitation on the CC PM being sent? what about having 150 registered (just an example)
and... it will use the smf queue (when sending the notification email)?
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 05, 2013, 04:49:39 AM
Quote from: luuuciano on January 04, 2013, 09:53:16 PM
BTW, there is no configuration section on the admin? I can not find anything (yet)
There is nothing to configure
QuoteBTW2, when PM to all... that is like sending a PM to all the registered, but like a CC? that could generate any inconvenient with the smf configuration/way to work? there is no limitation on the CC PM being sent? what about having 150 registered (just an example)
and... it will use the smf queue (when sending the notification email)?
It uses the SMF PM system and whatever settings it has.
Title: Re: Event Registration for SMF2
Post by: demlak on January 05, 2013, 11:40:57 PM
possible german_informal translation..
im not sure about the paid subscription things.. because i don´t use any paid things... so anyone else should check this..


//Event Registration for SMF2
$txt['register_mod_title'] = 'Anmeldungsoptionen';
$txt['register_mod_registered'] = 'angemeldet';
$txt['register_mod_unconfirmed'] = 'unbestätigt';
$txt['register_mod_confirmed'] = 'bestätigt';
$txt['register_mod_notreg'] = 'nicht teilnehmen';
$txt['register_mod_registerButtonValue'] = 'anmelden';
$txt['register_mod_confirmButton'] = 'Bestätigen';
$txt['register_mod_unconfirmButton'] = 'unbestätigt';
$txt['register_mod_unregisterButton'] = 'abmelden';
$txt['register_mod_unconfirmWarning'] = 'Wenn du dich abmeldest verlierst du deinen Platz bei dieser Veranstaltung und hast keinen Anspruch auf eine Neuanmeldung';
$txt['register_mod_editComment'] = 'Bearbeiten';
$txt['register_mod_areYouSure'] = 'Bist du sicher?';
$txt['register_mod_unregisterWarning'] = 'Wenn du dich abmeldest kannst du dich vieleicht nicht wieder anmelden!';
$txt['register_mod_maxAttendants'] = 'Maximale Anzahl an Plätzen ';
$txt['register_mod_alreadyRegistered'] = 'Du bist bereits angemeldet!';
$txt['register_mod_nameHeader'] = 'Name';
$txt['register_mod_statusHeader'] = 'Status';
$txt['register_mod_closed'] = 'Die Anmeldung ist bereits geschlossen';
$txt['register_mod_fin'] = 'Diese Veranstaltung ist vorbei ';
$txt['register_mod_logintext'] = 'Bitte <a href="' . $scripturl . '?action=login">melde dich an</a> oder <a href="' . $scripturl . '?action=register">registriere</a> dich für eine Anmeldung zu dieser Veranstaltung.';
$txt['register_mod_pmAll'] = 'PN an alle';
$txt['register_mod_pmCon'] = 'PN an Bestätigte';
$txt['register_mod_pmSel'] = 'PN an Ausgewählte';
$txt['register_mod_pmUnCon'] = 'PN an Unbestätigte';
$txt['register_mod_download'] = 'Download';
$txt['register_mod_daysClosed'] = 'Anmeldung schließt ';
$txt['register_mod_confirm'] = 'Erfordert Bestätigung ';
$txt['register_mod_iAgree'] = 'Ich stimme zu';
$txt['register_mod_iDisagree'] = 'Ich stimme nicht zu';
$txt['register_mod_comment'] = 'Kommentieren';
$txt['register_mod_allowcomment'] = 'Benutzer dürfen kommentieren';
$txt['register_mod_see_comment'] = 'Angemeldete Benutzer dürfen Kommentare lesen';
$txt['register_mod_tcomment'] = 'Kommentar';
$txt['register_mod_paidname'] = 'Bezahlt';
$txt['register_mod_termsAndConditions'] = 'Veranstaltungsbedingungen (Du kannst BBcode nutzen):';
$txt['register_mod_termsAndConditionsHeader'] = 'Veranstaltungsbedingungen';
$txt['register_mod_daysbefore'] = ' Tag(e) vor der Veranstaltung';
$txt['register_mod_group'] = 'Mit deinem Benutzerrang kannst dud ich nicht anmelden.';
$txt['register_mod_waitpaid'] = 'Bezahlung noch nicht bestätigt, schau später nochmal vorbei ';
$txt['register_mod_paid'] = ' und bezahlt';
$txt['register_mod_payButton'] = 'Anmeldegebühr';
$txt['register_mod_payConfButton'] = 'Bestätigungsgebühr';
$txt['no_entry'] = 'Kostenlos';
$txt['register_mod_showatt'] = '[Anzeigen]';
$txt['register_mod_hideatt'] = '[Verstecken]';
$txt['register_mod_noplaces'] = 'Momentan sind alle Plätze belegt, schau später nochmal vorbei. ';

$txt['register_mod_selgroup'] = 'Mitgliedergruppen die sich anmelden dürfen - benutze SHIFT oder STRG um mehrere Auszuwählen (Wenn keine Gruppe ausgewählt wird, ist die Anmeldung nicht möglich).';
$txt['register_mod_selsubs_reg'] = 'Wähle eine oder mehrere Anmeldegebühr(en) für diese Veranstaltung (nur notwendig bei Kostenpflichtigen Veranstaltungen) - Liste zeigt die bezahlten Veranstaltungen auf diesem Forum';
$txt['register_mod_confirm_opt'] = 'Bestätigungsoptionen';
$txt['register_mod_selsubs'] = 'Bestätige die Zahlung für diese Veranstaltung';
$txt['register_mod_deleteUserWarning'] = 'Du bist dabei den/die ausgewählten Benutzer von der Veranstaltung zu löschen (wenn er/sie bereits bezahlt haben musst du eventuell das Geld zurückgeben)!';
$txt['register_mod_deleteusers'] = 'Entferne Benutzer';
$txt['register_mod_confirmusers'] = 'Bestätige Benutzer';
$txt['register_mod_eventsub'] = 'Event subscription';
$txt['register_mod_eventsub_desc'] = 'Auswählen zum aktivieren (wird nicht als Bezahl-option für Benutzer angezeigt).';

$txt['register_mod_you_are'] = 'Du bist ';
$txt['register_mod_you_may'] = 'Du kannst dich ';
$txt['all_groups'] = 'Alle Gruppen auswählen';

$txt['register_mod_maxattendHeader'] = 'Maximale Anzahl an Anmeldungen';
$txt['register_mod_attendHeader'] = 'Teilnehmeranzahl';

// default terms and conditions used on new event posts (leave blank for no default terms)
$txt['register_mod_terms'] = '';
// End of Event Registration for SMF2
Title: Re: Event Registration for SMF2
Post by: Neilnoe on January 17, 2013, 10:30:34 AM
Hi, I've ran into a problem with my forum / this mod. Created by myself when moving from iis5 to apache on my "server".
It's taken a while to realise this error and the forum has grown in use since the move. The problem came to light when trying to register for an event but finding that it closed 5 days before start regardless of how many days was stated.
With the mod uninstalled the following errors appear.

http://example.url.org/Forum/index.php?action=calendar;sa=post
8: Undefined index: hcc_confirmFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 383
8: Undefined index: hcc_confirmFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 380
8: Undefined index: hcc_confirmFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 377
8: Undefined index: hcc_see_commentFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 345
8: Undefined index: hcc_add_commentFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 344
8: Undefined index: hcc_max_registerFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 341
8: Undefined index: hcc_days_closedFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 337
8: Undefined index: hcc_max_attendantsFile: C:/Inetpub/wwwroot/Forum/Themes/default/Post.template.php (main sub template - eval?)
Line: 336


When I re-install the mod, no errors are reported during the install and no errors are reported creating the event, however the registration option is always closed 5 days before the event.
As it is a guild site we have people unsure whether they can attend until a day or 2 before hand.
So my question is twofold, primarily how can I change the registration cutoff date (even if its a permanent 0 days) and secondly is there any way to cleanup the errors (mess) I've managed to create relatively easily without losing losing posts / users from the forum?
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 17, 2013, 11:04:19 AM
To do a clean uninstall you need to remove all traces of the mod.  Uninstall as normal and then follow the "Manual Install Instructions for SMF" on the mod page (http://custom.simplemachines.org/mods/index.php?mod=3238) for ALL of the themes you are using (there are multiple template.... files).  I suspect that you haven't uninstalled the mod from all of the themes during an uninstall at some point (we've all been there  :-[)?

Do the uninstall/reinstall first and then check that the time problem still exists.  It would be worth checking that the server time (or timezone) is set correctly?
Title: Re: Event Registration for SMF2
Post by: Neilnoe on January 17, 2013, 02:31:50 PM
Thanks, sorted now..... had the default theme still looking for the old iis path :o
No idea how I didn't spot that myself from the error descriptors /oldage

Many thanks :)
Title: Re: Event Registration for SMF2
Post by: shadowandlight on January 27, 2013, 01:32:28 PM
0/ all

I PM'ed Hoverclub before finding this thread

but i was wondering if there is a way to prevent users from seeing the list of registered people?

IE restrict that to moderators / admins only?

I would find that feature pretty critical to my usage of the mod

Thanks!
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 28, 2013, 08:23:17 AM
IMO it's not worth including this as a feature.  After installing the mod hack your theme Display.template.php as follows (subject to the usual caveats on making backups, etc..):

Search for this line:
if ($RegCount > 0)

..... and change it to:
if ($RegCount > 0 AND ($context['user']['is_admin'] OR $context['user']['is_mod']))
Title: Re: Event Registration for SMF2
Post by: Portugal on February 25, 2013, 06:06:32 PM
Hello, Send to me the text to translate, i will do ir for my language (Portuguese).


Quote from: HoverClub on January 11, 2012, 05:29:54 AM
I'd be happy to include other language versions if someone volunteers to do the translation work (hint, hint  :)).
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 26, 2013, 03:24:29 AM
Thanks.

It's all in the modifocations.xml file included with the mod (section starts with <file name="$themedir/languages/Modifications.english.php">)
Title: Re: Event Registration for SMF2
Post by: WLRD on March 05, 2013, 03:55:52 PM
Here's a spanish translation  8)

On an offline copy, I added this translation & code (copied from english sections) to the MOD's Modifications.xml file, but don't know where to save (/ what to do with) the new modified version on the web's server.  :-[ 

Do I have to uninstall the MOD, put new modified file in zip archive and re-install MOD?

Please advise... 


Thanks so much for sharing this MOD!!!!!  ;D

BTW anyone know of a MOD that will let users select different choices (yes/no/maybe) for different dates/times to hold an event?


$txt['register_mod_title'] = 'Opciones de inscribirse';
$txt['register_mod_registered'] = 'Registrado';
$txt['register_mod_unconfirmed'] = 'Sin confirmar';
$txt['register_mod_confirmed'] = 'Confirmado';
$txt['register_mod_notreg'] = 'no asistir.';
$txt['register_mod_registerButtonValue'] = 'Inscribirse';
$txt['register_mod_confirmButton'] = 'Confirmar';
$txt['register_mod_unconfirmButton'] = 'Borrar confirmación';
$txt['register_mod_unregisterButton'] = 'Borrar inscripción';
$txt['register_mod_unconfirmWarning'] = 'Si borra su confirmación perderá su lugar en este evento y puede no ser capaz de volver a confirmar!';
$txt['register_mod_editComment'] = 'Editar';
$txt['register_mod_areYouSure'] = '¿Estás seguro?';
$txt['register_mod_unregisterWarning'] = 'Si dar de baja a lo mejor no podrá volver a registrarse!';
$txt['register_mod_maxAttendants'] = 'Máximo lugares disponibles ';
$txt['register_mod_alreadyRegistered'] = 'Usted ya está registrado para este evento!';
$txt['register_mod_nameHeader'] = 'Nombre';
$txt['register_mod_statusHeader'] = 'Estatus';
$txt['register_mod_closed'] = 'El registro se ha cerrado para este evento';
$txt['register_mod_fin'] = 'Este evento ya ha finalizado ';
$txt['register_mod_logintext'] = 'Por favaor <a href="' . $scripturl . '?action=login">Iniciar sesión</a> or <a href="' . $scripturl . '?action=register">Inscribirse</a> para inscribirse para este evento.';
$txt['register_mod_pmAll'] = 'PM todos';
$txt['register_mod_pmCon'] = 'PM confirmado';
$txt['register_mod_pmSel'] = 'PM seleccionado';
$txt['register_mod_pmUnCon'] = 'PM no confirmado';
$txt['register_mod_download'] = 'Descargar';
$txt['register_mod_daysClosed'] = 'Se cierra ';
$txt['register_mod_confirm'] = 'Requiere confirmación ';
$txt['register_mod_iAgree'] = 'Estoy de acuerdo';
$txt['register_mod_iDisagree'] = 'No estoy de acuerdo';
$txt['register_mod_comment'] = 'Agregar comentario';
$txt['register_mod_allowcomment'] = 'Puede añadir comentario registro';
$txt['register_mod_see_comment'] = 'Registrados pueden ver comentarios';
$txt['register_mod_tcomment'] = 'Comentar';
$txt['register_mod_paidname'] = 'Pagado';
$txt['register_mod_termsAndConditions'] = 'Términos y condiciones del evento de entrada (se puede utilizar BBCode para dar formato al texto):';
$txt['register_mod_termsAndConditionsHeader'] = 'Términos y Condiciones del Evento de Entrada';
$txt['register_mod_daysbefore'] = ' día (s) antes de evento';
$txt['register_mod_group'] = 'Lo sentimos - el grupo suyo no pueda asistir a este evento.';
$txt['register_mod_waitpaid'] = 'En espera de autorización de pago - por favor, puedes volver a intentarlo más tarde. ';
$txt['register_mod_paid'] = ' y pagado';
$txt['register_mod_payButton'] = 'Pagar cuota inscripción';
$txt['register_mod_payConfButton'] = 'Pagar cuota Confirmación';
$txt['no_entry'] = 'No se requiere pago';
$txt['register_mod_showatt'] = '[Mostrar]';
$txt['register_mod_hideatt'] = '[Ocultar]';
$txt['register_mod_noplaces'] = 'Lo sentimos - no hay más lugares disponibles, por favor, inténtelo de nuevo más tarde. ';

$txt['register_mod_selgroup'] = 'Grupos de miembros que pueden registrar para este evento - uso SHIFT o CTRL para seleccionar varios grupos (si no hay grupos seleccionado luego de registro está desactivado).';
$txt['register_mod_selsubs_reg'] = 'Seleccione uno o más (SHIFT / CTRL) cargo por evento de registro (s) para este evento (solo es necesario pagar uno para registrarse) - la lista muestra de \'evento\' suscripciones pagado disponible en este foro.';
$txt['register_mod_confirm_opt'] = 'Opciones de confirmación';
$txt['register_mod_selsubs'] = 'Cuota Evento(s) para confirmar este evento.';
$txt['register_mod_deleteUserWarning'] = 'Estás a punto de eliminar a los miembros seleccionados de este evento (si han pagado una cuota de inscripción es posible que deba emitir un reembolso)!';
$txt['register_mod_deleteusers'] = 'Eliminar seleccionados';
$txt['register_mod_confirmusers'] = 'Confirme seleccionado';
$txt['register_mod_eventsub'] = 'Evento suscripción';
$txt['register_mod_eventsub_desc'] = 'Seleccione esta opción para hacer esta suscripción disponible para inscripción de evento solo (no se mostrará como una suscripción pagado para los miembros).';

$txt['register_mod_you_are'] = 'Eres ';
$txt['register_mod_you_may'] = 'Usted puede ';
$txt['all_groups'] = 'Seleccione todos los grupos';

$txt['register_mod_maxattendHeader'] = 'El número máximo de asistentes por inscripción';
$txt['register_mod_attendHeader'] = 'Número de asistentes';

// términos y condiciones predeterminados utilizados en los mensajes de eventos nuevos (dejar en blanco para ningún término por defecto)
$txt['register_mod_terms'] = '';
Title: Re: Event Registration for SMF2
Post by: HoverClub on March 05, 2013, 05:02:51 PM
Quote from: WLRD on March 05, 2013, 03:55:52 PM
Here's a spanish translation 

Thanks!

QuoteDo I have to uninstall the MOD, put new modified file in zip archive and re-install MOD?
Yes.

QuoteBTW anyone know of a MOD that will let users select different choices (yes/no/maybe) for different dates/times to hold an event?
A poll does this job nicely - once you've established a date then add the registration option to the post.
Title: Re: Event Registration for SMF2
Post by: luuuciano on March 05, 2013, 09:50:09 PM
Just add those strings at the end of your Modifications.spanish_latin-utf8 or Modifications.spanish-utf8 (or whatever spanish language file you are using)... before the ?>
Located on Themes/default/languages
Title: Re: Event Registration for SMF2
Post by: WLRD on March 06, 2013, 03:55:19 PM
Thanks guys for the quick response works great!!!


QuoteA poll does this job nicely - once you've established a date then add the registration option to the post.

I haven't been able to figure out how to use a poll for multiple event dates & multiple answers in same poll.  :-[

Here's a couple screen shots of (& link to) a module I used on my last server that might better explain:

http://drupal.org/project/makemeeting
Title: Re: Event Registration for SMF2
Post by: luuuciano on March 06, 2013, 10:42:48 PM
Question about new feature...
Can be added an option to enter board numbers, separated by comma (for example: 3,12,21,6)... to force the NEW TOPIC of those forums be handled by the Event Registration mod?

Or, more friendly, a selector, where to choose forums using ctrl+clic

So, avoid regular posts on those boards...
Title: Re: Event Registration for SMF2
Post by: Kindred on March 07, 2013, 07:34:48 AM
No, this mod does not do that
Title: Re: Event Registration for SMF2
Post by: Arantor on March 07, 2013, 08:44:26 AM
Which is why it was a question about a new feature and whether it can be added...
Title: Re: Event Registration for SMF2
Post by: Kindred on March 07, 2013, 10:52:11 AM
lol...   I guess I read it too fast (I was on my way out the door)
Title: Re: Event Registration for SMF2
Post by: luuuciano on March 17, 2013, 04:31:36 PM
Yep, you know... we have a few sections about events, meetings, things like that...
We have sent messages to all members explaining the new feature, how to use it, etc (it just changes the beginning, a couple of new steps)... but... people are just lazy, stupid, whatever... almost 99% of the time they hit on New topic, as it is used on all the other forums areas..,.

So, it would really help a way to handle those button links of New topic
index.php?action=post;board=####.#
to something like
index.php?action=calendar;sa=post

Even better, change the New topic string to New event...

If people using this mod do not want to use this feature they just unselect all boards, and it will work as usual
Title: Re: Event Registration for SMF2
Post by: Shane648 on April 11, 2013, 08:24:04 AM
Hello guys i just installed the addon and im getting this problem

When i click on register

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fir9Cxog.jpg&hash=db033d6f349dab9d4132e938ab022329130ab700)

This happens

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FTdqKD5e.jpg&hash=30c61b6db202ea829e84340d40eb0315ba5aa9af)
Title: Re: Event Registration for SMF2
Post by: HoverClub on April 11, 2013, 12:25:21 PM
Looks like the registration template isn't being loaded - try an uninstall and re-install first (checking for errors)
Title: Re: Event Registration for SMF2
Post by: Shane648 on April 11, 2013, 01:03:15 PM
Got the following error, I didn't notice it the first time

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimgur.com%2FzC3t7sz.png&hash=a51da44b80c3c98c640d43199c2acbf6a7e88130)
Title: Re: Event Registration for SMF2
Post by: Kindred on April 11, 2013, 01:24:16 PM
do you even use the core theme? If not, ignore the error
Title: Re: Event Registration for SMF2
Post by: Shane648 on April 11, 2013, 01:52:55 PM
Reinstalling worked, thank you :)
Title: Re: Event Registration for SMF2
Post by: luuuciano on April 12, 2013, 10:18:39 AM
Quote from: luuuciano on March 06, 2013, 10:42:48 PM
Question about new feature...
Can be added an option to enter board numbers, separated by comma (for example: 3,12,21,6)... to force the NEW TOPIC of those forums be handled by the Event Registration mod?

Or, more friendly, a selector, where to choose forums using ctrl+clic

So, avoid regular posts on those boards...

on /Themes/default/MessageIndex.template.php

search for
// Create the button set...
$normal_buttons = array(
'new_topic' => array('test' => 'can_post_new', 'text' => 'new_topic', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0', 'active' => true),
'post_poll' => array('test' => 'can_post_poll', 'text' => 'new_poll', 'image' => 'new_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0;poll'),
'notify' => array('test' => 'can_mark_notify', 'text' => $context['is_marked_notify'] ? 'unnotify' : 'notify', 'image' => ($context['is_marked_notify'] ? 'un' : ''). 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_board'] : $txt['notification_enable_board']) . '\');"', 'url' => $scripturl . '?action=notifyboard;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';board=' . $context['current_board'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']),
'markread' => array('text' => 'mark_read_short', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0;' . $context['session_var'] . '=' . $context['session_id']),
);


change it to
// Create the button set...

$foroscheck = array(10,40,12,32,55,7);

if (in_array($context['current_board'],$foroscheck) ) {
  $new_topic = array('test' => 'can_post_new', 'text' => 'nuevo_evento', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=calendar;sa=post', 'active' => true);
}
else {
    $new_topic =  array('test' => 'can_post_new', 'text' => 'new_topic', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0', 'active' => true);
}

$normal_buttons = array(
  'new_topic' => $new_topic,
  'post_poll' => array('test' => 'can_post_poll', 'text' => 'new_poll', 'image' => 'new_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0;poll'),
  'notify' => array('test' => 'can_mark_notify', 'text' => $context['is_marked_notify'] ? 'unnotify' : 'notify', 'image' => ($context['is_marked_notify'] ? 'un' : ''). 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_board'] : $txt['notification_enable_board']) . '\');"', 'url' => $scripturl . '?action=notifyboard;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';board=' . $context['current_board'] . '.' . $context['start'] . ';' . $context['session_var'] . '=' . $context['session_id']),
  'markread' => array('text' => 'mark_read_short', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=board;board=' . $context['current_board'] . '.0;' . $context['session_var'] . '=' . $context['session_id']),
);


In foroscheck array you should put the forums ID where you need another action

The else $new_topic button is the "regular" one... the first $new_topic is the modified one...

We needed to change the url action to ?action=calendar;sa=post

And added a new text string nuevo_evento
$txt['nuevo_evento'] = 'New Event';
to the Modifications.english.php language file...

It works :)

Thanks a lot to ^HeRaCLeS^ of http://www.smfpersonal.net, that in fact build it over my brute force php modifications, lol

And thanks a lot HoverClub for this mod! is really nice and helpful
Title: Re: Event Registration for SMF2
Post by: luuuciano on April 16, 2013, 11:13:14 PM
Wich will be the best way to have hcc_groups allways selecting all?

I mean, in our forum we do not need to select by groups... so maybe we will try to hide that option, or something similar...
Title: Re: Event Registration for SMF2
Post by: allisondk on April 17, 2013, 11:07:02 AM
Is it just me, or is this not working on custom themes?
Title: Re: Event Registration for SMF2
Post by: Kindred on April 17, 2013, 11:36:42 AM
it really depends what template files your custom theme has and if it has template files that need to be edited by this mod (but were not)

If you didn't make the edits to the necessary files in your custom theme, then no, it won't work...
Title: Re: Event Registration for SMF2
Post by: allisondk on April 17, 2013, 11:48:47 AM
Or if i was aware and read the read me - doh´

"Show linked events in topic display"  ;D
Title: Re: Event Registration for SMF2
Post by: Kindred on April 17, 2013, 11:50:29 AM
LOL!
Title: Re: Event Registration for SMF2
Post by: allisondk on April 17, 2013, 01:15:45 PM
OK, now im sure everything is set right - shows up and all - but when i try to register for the event this comes up:
Fatal error: require_once() [function.require]: Failed opening required '/home/XXXXXX/Sources/RegisterEvent.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/XXXXXX/index.php on line 373

Any clues?
Title: Re: Event Registration for SMF2
Post by: Kindred on April 17, 2013, 01:16:49 PM
Check on your server - did the file actually get placed in Sources?
Title: Re: Event Registration for SMF2
Post by: allisondk on April 17, 2013, 01:17:50 PM
Nope, just checked - weird.
Added the terms and conditions as well into templates.

Bug or something i did wrong?

Now it works :)
Title: Re: Event Registration for SMF2
Post by: Kindred on April 17, 2013, 01:33:44 PM
did you do a manual install?

if not, I'd say that the package manager (auto-install) ran into some permissions problem with the directories which prevented it from adding new files into the directory.
Title: Re: Event Registration for SMF2
Post by: allisondk on April 17, 2013, 03:37:18 PM
Auto install - yeah must have been some kinda issue.

While we´re add it - i´d like for groups not allowed to get some more info - like "Sorry, but you are not allowed to registrer for this race - please check This thread (http://whatever) to sign up.

I can see it in the modification.xml - but cant find it in either sql db or on the ftp - where does this info come from :)
Title: Re: Event Registration for SMF2
Post by: HoverClub on April 18, 2013, 04:01:57 AM
Quote from: allisondk on April 17, 2013, 03:37:18 PM
While we´re add it - i´d like for groups not allowed to get some more info - like "Sorry, but you are not allowed to registrer for this race - please check This thread (http://whatever) to sign up.

I can see it in the modification.xml - but cant find it in either sql db or on the ftp - where does this info come from :)

When they view the event thread it displays "Sorry - your group is unable to attend this event." below the registration option.  If they can't sign up then re-directing to another thread isn't going to change that - or am I misunderstanding?
Title: Re: Event Registration for SMF2
Post by: luuuciano on April 18, 2013, 01:49:18 PM
Quote from: luuuciano on April 16, 2013, 11:13:14 PM
Wich will be the best way to have hcc_groups allways selecting all?

I mean, in our forum we do not need to select by groups... so maybe we will try to hide that option, or something similar...

Well... I will add a "checked" status on the groups generation... and will coment that html section, to hide it <!-- lol -->
Title: Re: Event Registration for SMF2
Post by: allisondk on April 20, 2013, 07:55:02 AM
Quote from: HoverClub on April 18, 2013, 04:01:57 AM
When they view the event thread it displays "Sorry - your group is unable to attend this event." below the registration option.  If they can't sign up then re-directing to another thread isn't going to change that - or am I misunderstanding?
Man - notification about new posts - added :) sorry
Well im admin in a online racing league and people need to sign up for the season to race - if not, they are not allowed to registrer for an event, so i would like for it to link to the sign up thread.
Title: Re: Event Registration for SMF2
Post by: HoverClub on April 20, 2013, 08:17:33 AM
You could either include the sign-up info in the first event post (just below the registration) OR modify the language string:

Admin->Configuration->Languages->edit Language->(select your language)->edit language entries (select Modifications)->
.... then change the string "register_mod_group" to whatever you want  (if you update the mod in the future this will revert but it's easy to change again.
Title: Re: Event Registration for SMF2
Post by: allisondk on April 20, 2013, 09:00:26 AM
OMG - i never knew this was do-able, thank you :)
Title: Re: Event Registration for SMF2
Post by: luuuciano on April 21, 2013, 09:49:44 PM
Someone knows where is defined the default $context['event']['hcc_days_closed'] value?

It seems to be 5...? but, where is defined that?
Title: Re: Event Registration for SMF2
Post by: luuuciano on May 07, 2013, 09:48:23 AM
Quote from: luuuciano on April 21, 2013, 09:49:44 PM
Someone knows where is defined the default $context['event']['hcc_days_closed'] value?

It seems to be 5...? but, where is defined that?

On Sources/Post.php
$context['event']['hcc_days_closed'] = 5;
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 15, 2013, 10:26:52 AM
I installed this and the registration button doesn't appear????  I have rollback the mods, I have uninstalled a few times.  I just don't get that these modes work at times and other time they don't.
Title: Re: Event Registration for SMF2
Post by: TheListener on August 15, 2013, 10:58:32 AM
Quote from: xxxTristamxxx on August 15, 2013, 10:26:52 AM
I installed this and the registration button doesn't appear????  I have rollback the mods, I have uninstalled a few times.  I just don't get that these modes work at times and other time they don't.

Please check your forums error log.

Any errors? Any errors on install?

Do you use a custom theme or default?
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 15, 2013, 11:11:14 AM
Check error log and nothing stands out in regards to error issues with plugins.

I am using the curve theme that is 2.4 with 2.0 rollback.
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 15, 2013, 01:12:27 PM
Are you enabling registration in the registration options when creating events?   Have you selected the groups allowed to register?
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 15, 2013, 01:16:51 PM
I click all the appropriate options when I post event on the calendar.  Once I go back to the post to see if the sign up section is there it doesn't show up.
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 15, 2013, 01:57:00 PM
Have you got:
1. "Show linked events in topic display" enabled in the Calender section.
2. Event registration is only available for events that are linked to forum posts.

The only reason why event registration won't show in a post is that the event is closed (max. attendees = zero) OR no groups are allowed to register.

Where is your site?  Post a screen pic of your event setup - or PM me a copy of themes/default/template.display.php
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 15, 2013, 02:08:40 PM
How do I know if groups are allowed not allowed to register??  Is there setting I am missing?
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 15, 2013, 02:13:53 PM
When you create/post the event you select the groups in the Registration Options -> Member groups that may register for this event section in the post event page.
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 15, 2013, 02:28:09 PM
I tried to send you one but the file was to big to send via PM.

Title: Re: Event Registration for SMF2
Post by: HoverClub on August 15, 2013, 03:24:55 PM
Post it here then.
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 15, 2013, 04:20:55 PM
Once again too large.  Send me your e-mail address and I send it to you directly since PM or posting isn't working.
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 15, 2013, 04:43:15 PM
It can't be - you can post a file up to 5096K here, and display.template.php is only 45k  :-\  If it's a screen dump then reduce it's size in a picture editor (or email it to yourself first).
Title: Re: Event Registration for SMF2
Post by: TheListener on August 15, 2013, 06:37:52 PM
Tristam what is the link to your forum?
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 16, 2013, 12:15:27 PM
Sorry for the late replay.  I have decided to use some WP plugins that will do the same thing.  I just find that most of these SM Plugins are just at times unstable and not that great.  So, I use these WP plugins to achieve what I am looking for.  Thanks so much for your help and your effort.  Cheers
Title: Re: Event Registration for SMF2
Post by: Kindred on August 16, 2013, 01:11:16 PM
Sorery, bbut I have to chime in here and say that you are 1000% wrong.

I use WP on some sites and SMF on others and I have found SMF to be 100% more stable and have more efficient plugins than wordpress.
on top of that, Wordpress is a dog when it comes to resource usage (it eats everything in one gulp)

The only problems I have had with most smf mods (which were not due to my own/user clutziness) were quickly fixed
Title: Re: Event Registration for SMF2
Post by: Arantor on August 16, 2013, 01:25:56 PM
I can also guarantee that the WP plugins are not nearly as powerful as SMF's functionality.

Still, best of luck to you, you're going to need it.
Title: Re: Event Registration for SMF2
Post by: xxxTristamxxx on August 16, 2013, 01:53:13 PM
Sorry but I have more problems with SMF mods then WP mods from my own experience.  And what I am looking for WP mods will accomplish my goals without worrying about if SMF are going to working or not is risk that I cannot take, especially my site needs to be up and function 100% of the time due the subject matter that it is designed for. I also do agree that WP also has it issues, but based on my experience I just cannot rely on SMF mods all the time.
Title: Re: Event Registration for SMF2
Post by: Arantor on August 16, 2013, 01:59:50 PM
Quoteespecially my site needs to be up and function 100% of the time due the subject matter that it is designed for.

No such thing. No website has 100% uptime, it's just not possible.

Like I said, best of luck to you - but I've never had most of the issues that you have, even when I write thousands of lines' worth of my own mods.
Title: Re: Event Registration for SMF2
Post by: Kindred on August 16, 2013, 07:33:02 PM
exactly....   I have a site with 200 mods installed and it runs nicely.
I have sites in various levels of acticity ith various numbers of mods and they run cleanly and nicely.

I even have a very active site with 60 mods installed and it still runs nicely

I have three wordpress sites...  some with more add ons than others...   they run significantly slower (even on the same host) and I have discovered many more bad interactions between add-ons than I have seen in SMF.


So far, the only issues we have had with either of the two active sites have been host level problems
(bad hardware and outdated servers)

So...   As Arantor says - best of luck to you -- but if you are having such issues with SMF mods (especially ones like this, which I have installed and run with no issues at all) then I would have to suggest that there is something specific to your implementation which is causing the errors.
Title: Re: Event Registration for SMF2
Post by: Rownan_ on November 09, 2013, 12:46:24 PM
I am very thankful for this mod, it has helped me so much with my Gaming Community. The one thing I feel that would make this a little better, and while this is a minor detail it would help me with many cases. If you could add a permission to allow people to edit all players comments when they register so if a player leaves out a comment I can add the correct thing in. In my case I have my users enter there 'Xbox Live Gamertag' into the comment, sometimes the users forget to put it in but I know their 'Gamertag' because it is on their profile, so it would be great if I could just edit their comment and add it in. If you could add this I would very much appreciate it.
Title: Re: Event Registration for SMF2
Post by: TheListener on January 12, 2014, 10:50:11 PM
Although I installed the mod a while ago I have only recently dug deeper into the mod.

Would it be worthwhile adding a setting so members know certain events have a registration form?
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 13, 2014, 04:04:32 AM
I assume you mean a setting that would show an icon, or whatever, against "event" posts in the forum topic list?

If so, that might be difficult as the topic list is pretty cluttered at the moment (hot topic, attachment and last post icons).  Possibly one of those could be replaced with an "event" or calendar icon as I'm not sure how many people actually use them!

Title: Re: Event Registration for SMF2
Post by: TheListener on January 13, 2014, 04:12:32 AM
Or on the main board itself.

Was thinking it would be a way for members to notice if they don't view the post itself.

:)
Title: Re: Event Registration for SMF2
Post by: HoverClub on January 13, 2014, 04:50:46 AM
OK- I need to think about it.  It might be good to even just "mark" posts that are linked to the calendar (i.e. posts that are events) - although that's really a calendar issue?
Title: Re: Event Registration for SMF2
Post by: TheListener on January 13, 2014, 04:53:14 AM
All the events I have on the board are in an events category.

They go in the calendar itself anyways  :)
Title: Re: Event Registration for SMF2
Post by: luuuciano on January 31, 2014, 10:05:05 AM
I was seeing that our members do not register on events, they are just used to reply and comment on it (as they used to see topics), etc...
So, I was thinking about moving the event information/registration box to the bottom, maybe up the Quick reply section...

What do you think? it would help on more registrations?
It would be hard to achieve? (I mean, move the code to that place, etc...)

Or... maybe adding a button/link, that "quick add" them??
That would be better maybe, to have the information at top, and the option to quick register at bottom (similar to a Reply button)
Title: Re: Event Registration for SMF2
Post by: Nicholaus on January 31, 2014, 12:05:28 PM
Quote from: luuuciano on January 31, 2014, 10:05:05 AM
I was seeing that our members do not register on events, they are just used to reply and comment on it (as they used to see topics), etc...
So, I was thinking about moving the event information/registration box to the bottom, maybe up the Quick reply section...

What do you think? it would help on more registrations?
It would be hard to achieve? (I mean, move the code to that place, etc...)

Or... maybe adding a button/link, that "quick add" them??
That would be better maybe, to have the information at top, and the option to quick register at bottom (similar to a Reply button)

Can you post at the same time at chance?
Title: Re: Event Registration for SMF2
Post by: luuuciano on January 31, 2014, 12:38:48 PM
Quote from: Nicholaus on January 31, 2014, 12:05:28 PM
Can you post at the same time at chance?

Sorry Nicholaus, I do not understand your question :(
Title: Re: Event Registration for SMF2
Post by: Nicholaus on January 31, 2014, 12:42:05 PM
Quote from: luuuciano on January 31, 2014, 12:38:48 PM
Quote from: Nicholaus on January 31, 2014, 12:05:28 PM
Can you post at the same time at chance?

Sorry Nicholaus, I do not understand your question :(

Hi Luuuciano. What I meant was, can you post the same time of the event of the registration.
Title: Re: Event Registration for SMF2
Post by: luuuciano on January 31, 2014, 12:46:21 PM
Quote from: Nicholaus on January 31, 2014, 12:42:05 PM
Quote from: luuuciano on January 31, 2014, 12:38:48 PM
Quote from: Nicholaus on January 31, 2014, 12:05:28 PM
Can you post at the same time at chance?

Sorry Nicholaus, I do not understand your question :(

Hi Luuuciano. What I meant was, can you post the same time of the event of the registration.

Well... all our events are created in forums mainly, not using the calendar... each event has its topic (in fact it is like each topic of the events forum has its event attached...)

Do you mean that?
Title: Re: Event Registration for SMF2
Post by: Nicholaus on January 31, 2014, 12:57:55 PM
Quote from: luuuciano on January 31, 2014, 12:46:21 PM
Quote from: Nicholaus on January 31, 2014, 12:42:05 PM
Quote from: luuuciano on January 31, 2014, 12:38:48 PM
Quote from: Nicholaus on January 31, 2014, 12:05:28 PM
Can you post at the same time at chance?

Sorry Nicholaus, I do not understand your question :(

Hi Luuuciano. What I meant was, can you post the same time of the event of the registration.

Well... all our events are created in forums mainly, not using the calendar... each event has its topic (in fact it is like each topic of the events forum has its event attached...)

Do you mean that?

Yes
Title: Re: Event Registration for SMF2
Post by: luuuciano on January 31, 2014, 01:17:53 PM
But... people do not use it, almost all of them just hit Reply with a "I am going", etc stuff...
Of course, I have tried several times to inform and encourage them to use it... without luck

An "I am IN!" quick register button maybe helps (located at bottom, near where they used to reply, etc...)
Title: Re: Event Registration for SMF2
Post by: Nicholaus on January 31, 2014, 01:22:46 PM
Quote from: luuuciano on January 31, 2014, 01:17:53 PM
But... people do not use it, almost all of them just hit Reply with a "I am going", etc stuff...
Of course, I have tried several times to inform and encourage them to use it... without luck

An "I am IN!" quick register button maybe helps (located at bottom, near where they used to reply, etc...)

Did people ever use it?
Title: Re: Event Registration for SMF2
Post by: The Ice Man on February 15, 2014, 04:49:26 AM
Quote from: luuuciano on January 31, 2014, 01:17:53 PM
But... people do not use it, almost all of them just hit Reply with a "I am going", etc stuff...
Of course, I have tried several times to inform and encourage them to use it... without luck

An "I am IN!" quick register button maybe helps (located at bottom, near where they used to reply, etc...)

Great idea.

FYI Most of our community create an event via the calendar rather that forum post, then link to calendar.

It's a great little mod this. we are testing it now and hope it will work with tapatalk (yuk) as many of our community use it :(
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 15, 2014, 05:18:34 AM
I don't see any obvious solution to people not seeing something - no matter where you put a button, it'll still get missed  ::)

One easy thing you could do is to post all events to an "event" forum in which members can only create topics (i.e set the permissions so that topic replies are not allowed).  That won't stop the event/topic creator from replying, just everyone else.  If members create events in other forums then moderate/move them to the "event" forum.  Eventually everyone will get the message!  There'll only be one post in each topic with the registration stuff just above it so should be very obvious!


Title: Re: Event Registration for SMF2
Post by: black_rabbit on April 29, 2014, 06:09:02 PM
Hello all of you

I installed this mod and it seems to work well; however, on the forum I'm setting up, all users are allowed to post events, and the options in this mod are just too much, it's too complicated. I don't need any payment options, group selections, as a matter of fact, I don't need any options nor terms and conditions. I just want users to be able to post an event that's added in the calendar, and give others the availability to join. Is there a way to hide/remove all these options to make it simple and easy for the end users?

Any suggestions?

Thx!
G
Title: Re: Event Registration for SMF2
Post by: luuuciano on April 29, 2014, 06:18:09 PM
End users? I do not think so... you will have to know html, css, and maybe a bit of php
I have moded it to do that... just finded the html code sections and hidden using <!-- the mod stuff -->
And added default values to those hidden fields, etc

edit:
here my past of happier times: http://www.simplemachines.org/community/index.php?topic=462457.msg3528556#msg3528556
another http://www.simplemachines.org/community/index.php?topic=462457.msg3540240#msg3540240
and another interesting stuff http://www.simplemachines.org/community/index.php?topic=462457.msg3524634#msg3524634
Title: Re: Event Registration for SMF2
Post by: johan7804 on November 10, 2014, 06:17:49 AM
Hi, old topic but I don't find any other suitable...

I have installed the mod but it does no seem to work. No registration button appears.

Error log doesn't show anything.

Registration rights set to member group called Event where members are asigned if the have 0 posts on the forums. So all my 10 test members are in the Event member group.

Members have right to post events in the calendar.

I run SMF 2.0.9 and Simple Portal 2.3.6, Relax Theme compatible för SMF 2.0.9.

I create an Event and set it to 10 days from now, registration closing 1 day before event. I'd rather have Never Closes but...

50 slots, user can comment and see comments, I assign Events as member group that may sign up for the Event, no payment, have tried both conformation and not.

Event appear in the calendar. I have linked the event to a calendar post. But no button as shown in the screenshots.
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 11, 2014, 05:09:39 AM
Did the mod install without any warnings or errors?

If it installed OK then check "select all groups" in the event registration options and test again.

Post up some screenshots of the registration options and the group settings.
Title: Re: Event Registration for SMF2
Post by: johan7804 on November 12, 2014, 04:11:35 AM
Quote from: HoverClub on November 11, 2014, 05:09:39 AM
Did the mod install without any warnings or errors?

If it installed OK then check "select all groups" in the event registration options and test again.

Post up some screenshots of the registration options and the group settings.

Well, now that you mention it, there IS actually an error I did not notice last time I tried it. Deleted a lot of unused themes to get a better overview and this came up.

REPLACE ./Themes/core/Display.template.php TEST OK
REPLACE ./Themes/core/Display.template.php TEST OK
REPLACE ./Themes/core/Display.template.php TEST FAILED

Umm... The SAME file is replaced 3 times in a row? And only the last one fails?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWKyEMpD.png&hash=0568e6bcef9f04ed4d07d4c4862d2b00094d4813)

This is an image from the Uninstall screen, but the result is the same as installing...
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 12, 2014, 04:32:33 AM
It isn't replacing the file three times- it's replacing a three different sections of code within the same file (if you open each item you'll see what it's doing).  The theme obviously isn't compatible with this mod so your only option is to manually modify that file by finding the correct section to replace with the mod code.

Basic instructions are here:
http://wiki.simplemachines.org/smf/Manual_installation_of_mods

... if you can't locate the correct section then post your Display.template.php file (AFTER applying the mod) and I'll take a look.

Title: Re: Event Registration for SMF2
Post by: johan7804 on November 12, 2014, 05:28:16 AM
Thank you, the mod seems to be working now all of a sudden :o  Been trying to fix it for a couple of days now, don't know what I did different this time...  ???

Is there a way to set the event registration so it never closes? I know it might cause members to register for the event after it took place, but we are a small group and that wouldnt be a problem for us. Or just remove the 'event closes' alternative completly. We want members to be able to sign up for the event mabye even hours after it takes place, the be able to find reserves and such if the event gets delayed.
Title: Re: Event Registration for SMF2
Post by: hcfwesker on November 27, 2014, 06:09:16 PM
HoverClub!  Long time, man.  I have a question, or a possible request.  All our events have specific starting times.  Is it possible to add a starting time to the event date.  I could look into manually doing this, with adding a new column in the event database and just have members manually type it in, like 9PM EST.  Just wanted to check and see if this was a worthy enough request that could be considered in a future update as an option.

Oh crap, nevermind.  Just went looking and forgot the event itself is smf default. 
Title: Re: Event Registration for SMF2
Post by: demlak on February 09, 2015, 05:58:41 AM
there is an error on install at smf 2.0.9

you have to modify "modification.xml"

change this
</div>
]]></search>


to this:
</div>]]></search>

the linebreak makes the problem on default theme Display.Template


core theme Display Templete is still broken on this.. i don´t use core.. so i did not fix this..

Title: Re: Event Registration for SMF2
Post by: Risto_Jääskeläinen on February 11, 2015, 12:26:58 PM
Translation to Finnish utf-8.  Seems to work in file Modifications.finnish-utf8.php.  Only date format was English.
Tämä tuntui toimivan tiedostossa Modifications.finnish-utf8.php, mutta päivämäärä tulee englanniksi.

// Event Registration Mod for SMF2 ;suomennos utf-8 /RJ

$txt['register_mod_title'] = 'Ilmoittautumisvaihtoehdot';
$txt['register_mod_registered'] = 'ilmoittautunut';
$txt['register_mod_unconfirmed'] = 'vahvistamatta';
$txt['register_mod_confirmed'] = 'vahvistanut';
$txt['register_mod_notreg'] = 'ilmoittautumaton';
$txt['register_mod_registerButtonValue'] = 'ilmoittautua';
$txt['register_mod_confirmButton'] = 'vahvistaa';
$txt['register_mod_unconfirmButton'] = 'kumota vahvistuksen';
$txt['register_mod_unregisterButton'] = 'perua';
$txt['register_mod_unconfirmWarning'] = 'Jos kumoat vahvistuksen, menetät paikkasi tässä tilaisuudessa etkä välttämättä voi uudelleenvahvistaa!';
$txt['register_mod_editComment'] = 'Muokkaa';

$txt['register_mod_areYouSure'] = 'Oletko varma?';
$txt['register_mod_unregisterWarning'] = 'Jos perut, et välttämättä voi uudelleenilmoittautua!';
$txt['register_mod_maxAttendants'] = 'Osallistujia enintään ';
$txt['register_mod_alreadyRegistered'] = 'Olet jo ilmoittautunut tähän tilaisuuteen!';
$txt['register_mod_nameHeader'] = 'Nimi';
$txt['register_mod_statusHeader'] = 'Tilanne';
$txt['register_mod_closed'] = 'Ilmoittautuminen on päättynyt tähän tilaisuuteen';
$txt['register_mod_fin'] = 'Tilaisuus on päättynyt';
$txt['register_mod_logintext'] = 'Voit <a href="' . $scripturl . '?action=login">kirjautua</a> tai <a href="' . $scripturl . '?action=register">rekisteröityä</a> ilmoittautuaksesi sitten tähän tilaisuuteen.';
$txt['register_mod_pmAll'] = 'YV kaikille';
$txt['register_mod_pmCon'] = 'YV vahvistaneille';
$txt['register_mod_pmSel'] = 'YV valituille';
$txt['register_mod_pmUnCon'] = 'YV vahvistamattomille';
$txt['register_mod_download'] = 'Lataa';
$txt['register_mod_daysClosed'] = 'Ilmoittautuminen päättyy: ';
$txt['register_mod_confirm'] = 'Vahvistus vaaditaan ';
$txt['register_mod_iAgree'] = 'Hyväksyn';
$txt['register_mod_iDisagree'] = 'En hyväksy';
$txt['register_mod_comment'] = 'Kommentoi';
$txt['register_mod_allowcomment'] = 'Ilmoittautumiskomentit sallitaan';
$txt['register_mod_see_comment'] = 'Ilmoittautuneet voivat nähdä kaikki kommentit';
$txt['register_mod_tcomment'] = 'Kommentti';
$txt['register_mod_paidname'] = 'Maksettu';
$txt['register_mod_termsAndConditions'] = 'Tapahtuman osallistumisehdot (BBcode käytettävissä):';
$txt['register_mod_termsAndConditionsHeader'] = 'Tapahtuman osallistumisehdot';
$txt['register_mod_daysbefore'] = ' päivää ennen tapahtumaan';
$txt['register_mod_group'] = 'Pahoittelut, ryhmäsi ei voi osallistua tähän tapahtumaan.';
$txt['register_mod_waitpaid'] = 'Odottaa maksusuoritusta, tarkista myöhemmin uudestaan. ';
$txt['register_mod_paid'] = ' ja maksettu';
$txt['register_mod_payButton'] = 'Maksa ilmoittautumismaksu';
$txt['register_mod_payConfButton'] = 'Maksa vahvistusmaksu';
$txt['no_entry'] = 'Maksua ei vaadita';
$txt['register_mod_showatt'] = '[Näytä]';
$txt['register_mod_hideatt'] = '[Piilota]';
$txt['register_mod_noplaces'] = 'Pahoittelut, vapaita paikkoja ei nyt ole, yritä myöhemmin uudestaan. ';

$txt['register_mod_selgroup'] = 'Osallistujaryhmät, joilla on ilmoittautumisoikeus tähän tilaisuuteen - käytä VAIHTO- tai CTRL-näppäimiä monivalintaan (Jos yhtään ryhmää ei valita, ilmoittautuminen mitätöityy).';
$txt['register_mod_selsubs_reg'] = 'Valitse yksi tai useampi (käytä VAIHTO/CTRL-näppäimiä) tämän tapahtuman ilmoittautumismaksu (joista vain yksi tarvitsee maksaa ilmoittautuakseen) - luettelosta nähdään \'event\' maksuluokat, joita tämä foorumi käyttää).';
$txt['register_mod_confirm_opt'] = 'Vahvistusvaihtoehdot';
$txt['register_mod_selsubs'] = 'Tämän tapahtuman osallistumisvahvistukseen tarvittavat maksut.';
$txt['register_mod_deleteUserWarning'] = 'Olet poistamassa valittuja osallistujia tästä tilaisuudesta (jos he ovat maksaneet mukaanpääsystään, olet korvausvelvollinen)!';
$txt['register_mod_deleteusers'] = 'Poista valitut';
$txt['register_mod_confirmusers'] = 'Vahvista valitut';
$txt['register_mod_eventsub'] = 'Tapahtuman ennakkotilaus';
$txt['register_mod_eventsub_desc'] = 'Valitaan tämän ennakkotilauksen mahdollistamiseksi ainoastaan tapahtumaan ilmoittautumiseksi (ei katsota maksetuksi tilaukseksi osallistujille).';

$txt['register_mod_you_are'] = 'Olet ';
$txt['register_mod_you_may'] = 'Voit ';
$txt['all_groups'] = 'Valitse kaikki ryhmät';

$txt['register_mod_maxattendHeader'] = 'Osallistujien enimmäismäärä ilmoittautumista kohti';
$txt['register_mod_attendHeader'] = 'osallistujamäärä';

// default terms and conditions used on new event posts (leave blank for no default terms)
$txt['register_mod_terms'] = '';
Title: Re: Event Registration for SMF2
Post by: donchulio on February 21, 2015, 05:34:24 AM
Hi,

great mod, I just need this functionality. :)
But when I try to install this mod, I got this error message (screenshot attached). How can I solve this problem? I even tried to install it anyway but then my forum got a syntax error message. ;)

Thanks in advance for your help!
Title: Re: Event Registration for SMF2
Post by: HoverClub on February 21, 2015, 06:41:54 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
... might help?
Title: Re: Event Registration for SMF2
Post by: donchulio on February 21, 2015, 08:22:37 AM
Thank you, that helped me a lot! :)
Last question: Is there a german language pack available? And when not, how can I translate it for you? :)
Title: Re: Event Registration for SMF2
Post by: demlak on February 21, 2015, 10:21:10 PM
Quote from: donchulio on February 21, 2015, 08:22:37 AM
Thank you, that helped me a lot! :)
Last question: Is there a german language pack available? And when not, how can I translate it for you? :)

take a look at this posting: http://www.simplemachines.org/community/index.php?topic=462457.msg3465563#msg3465563
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 24, 2015, 12:39:22 PM
Hi,

I have just installed this mod and it looks great but after a few hours manually editing the files I have a couple of issues that I hope you can sort out.

1. I dont see a register button in the calendar event or the topic it creates. pic3
2. I have two registration option options Pic 1
3. I dont have an option to add paid option. I only get no payment required. pic 2

Thank you for your help.

edit: I have tried to read through all posts, half way so far so the answer maybe answered already.
Please let me know if I need to post any files to help with the solution.
Thank you

Title: Re: Event Registration for SMF2
Post by: HoverClub on November 24, 2015, 01:28:01 PM
2. Looks like the mod has been installed twice (shouldn't be possible) - were there any errors in the theme files during the install? That'll probably also answer 1)

3.
QuoteEvent fees are set up as normal SMF "Paid Subscriptions" - this mod adds an "event" checkbox option in all paid subscriptions that identifies these Paid Subscriptions as being for events (note that the subscription duration must be set such that it expires AFTER the event date).  Event subscriptions don't show in the list of paid subscriptions that members see - they are only visible during event fee payment.
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 24, 2015, 02:23:16 PM
Quote from: HoverClub on November 24, 2015, 01:28:01 PM
2. Looks like the mod has been installed twice (shouldn't be possible) - were there any errors in the theme files during the install? That'll probably also answer 1)

3.
QuoteEvent fees are set up as normal SMF "Paid Subscriptions" - this mod adds an "event" checkbox option in all paid subscriptions that identifies these Paid Subscriptions as being for events (note that the subscription duration must be set such that it expires AFTER the event date).  Event subscriptions don't show in the list of paid subscriptions that members see - they are only visible during event fee payment.

Thank you HoverClub, I really appreciate it when I get a good reply I realise these were probably stupid questions. I did install it twice by accident so most of the time today was spent removing the duplicate code that it adds to all of the files!!

Which file controls the registration text? I am happy to edit/remove it if I know where it appears.

Could you also tell me what needs to be added where for the registration button please?

As for the paid event part, am I right in thinking that before I post an event I need to add the tick in the checkbox on the paid subscription page? I did see this check box but couldn't work out how to use it!

Thank you for your help, its a great mod.
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 24, 2015, 02:57:03 PM
Just remove all traces of the mod and re-install it - that'll fix everything.

If you read the modifications.xml file in the package that tells you exactly what changes and new files have been added.
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 24, 2015, 03:38:13 PM
Quote from: HoverClub on November 24, 2015, 02:57:03 PM
Just remove all traces of the mod and re-install it - that'll fix everything.

If you read the modifications.xml file in the package that tells you exactly what changes and new files have been added.

Thanks for the info. I removed it all and now have this error when I try to add a new event or edit an existing one. Would installing the mod again work or maybe copying a clean post.php over the existing one?

QuoteUnknown column 'event' in 'where clause'
File: /var/sites/s/my domain/public_html/forum/Sources/Post.php
Line: 304

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.11, while your database is at version 2.0.10. The above error might possibly go away if you execute the latest version of upgrade.php.

I have never had 2.0.10, only used 2.0.11?
         
Title: Re: Event Registration for SMF2
Post by: Kindred on November 24, 2015, 03:51:22 PM
it did not fully/correctly uninstall...
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 24, 2015, 03:57:14 PM
OK, I will try to upload a back up that I made earlier today and see if that gets rid of the problem.

fingers crossed  :)
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 24, 2015, 04:12:49 PM
Quote from: shadowcrew on November 24, 2015, 03:57:14 PM
OK, I will try to upload a back up that I made earlier today and see if that gets rid of the problem.

fingers crossed  :)

Aaaaargghhhhhh!!!!

I obviously saved a bad copy as I have errors on my back up so I have reinstalled the version with the DB error as above.

Any ideas of how to solve this issue. Sorry, I probably should have stopped looking at this about 8 hours ago!!!
Title: Re: Event Registration for SMF2
Post by: Kindred on November 24, 2015, 04:17:04 PM
ok...   well, the easiest way to fix this is to load a clean set of files and then reinstall the mods that you want.
(see the FAQ on loading a fresh set of files and removing mods with hooks)
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 24, 2015, 05:05:02 PM
The Package Manager makes backups of SMF core files  (http://wiki.simplemachines.org/smf/A_mod_broke_my_forum)when a mod is installed.

There is a package parser that'll tell what changes the mod makes to which files  - it's on every mod page (HERE (http://wiki.simplemachines.org/smf/A_mod_broke_my_forum) - select the version of SMF you have and click "parse").
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 24, 2015, 05:32:21 PM
Quote from: HoverClub on November 24, 2015, 05:05:02 PM
The Package Manager makes backups of SMF core files  (http://wiki.simplemachines.org/smf/A_mod_broke_my_forum)when a mod is installed.

There is a package parser that'll tell what changes the mod makes to which files  - it's on every mod page (HERE (http://wiki.simplemachines.org/smf/A_mod_broke_my_forum) - select the version of SMF you have and click "parse").

Thanks HoverClub. I  am going to try this before I give up for the day. I will have a look again at this tomorrow but right now I need to get it working properly, Appreciate your help. I have been looking at this too long today and should have had a break AND backed up more often! Anyway here goes..... :)

EDIT:
Awesome. THANK YOU! I didnt realise SMF made a back up. I can now add events again without the DB error.

Tomorrow I will be looking at putting this mod back on properly.

Cheers guys
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 25, 2015, 09:35:44 AM
Right, so the above didn't work as well as I thought but I am now finally back to a position where I can try again. Obviously I don't want to lose a day and half so I am doing it step by step.

I have a warning message 'Error in Package Installation' and a number of files (34) or edits to make.

I manually edited these AFTER I installed yesterday and it obviously didn't work.

Simple question - do I edit all of these files BEFORE I continue with the installation?

Thanks again for your help.
Title: Re: Event Registration for SMF2
Post by: HoverClub on November 25, 2015, 12:43:59 PM
34 manual edits  ??? - there are only 39 edits in the entire mod!  There's something seriously wrong with your installation if you need that many manual edits - I really wouldn't recommend installing this mod until you've figured out what's going on.
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 25, 2015, 02:23:54 PM
Quote from: HoverClub on November 25, 2015, 12:43:59 PM
34 manual edits  ??? - there are only 39 edits in the entire mod!  There's something seriously wrong with your installation if you need that many manual edits - I really wouldn't recommend installing this mod until you've figured out what's going on.

Pretty much every file. Although I am not sure if any of this will be done automatically. I have checked the files and as far as I can see there is no duplicate code, as there was previously. I dont expect you to hold my hand through this but I am at a loss as to what to do or what to look for.

I have searched for how to do install fresh files but I cant find aything that is useful, or at least that I can understand. Sorry, I may have to forget this for the time being, which I am gutted about as its a fantastic mod.

Thanks for the help.

Title: Re: Event Registration for SMF2
Post by: HoverClub on November 25, 2015, 02:35:41 PM
You've only got one failed edit (post.template.php) - not 34!  Check post.template for the file edit required ( parse the mod for (http://custom.simplemachines.org/mods/index.php?mod=3238) (below the download button) for details of the change made to that file).  You need to check that there isn't any residue of the mod left AND, if not,  work out how to make that change only manually AFTER you've force-installed the mod automatically.
Title: Re: Event Registration for SMF2
Post by: shadowcrew on November 28, 2015, 05:51:25 AM
Looks like it is all working fine now.

I have learned a lot, not hard considering I know nothing!!

Thank you for all of your advice and patience.

8)
Title: Re: Event Registration for SMF2
Post by: shadowcrew on February 28, 2016, 07:17:34 AM
One more question, the mod works great now its all sorted, thank you.

However, I have searched and can't see this has been asked previously but a lot of events I list are recurring events. Is there a way to add a 'copy' event option or set it to repeat x number of times at a set interval, for instance every two weeks, once a month, first Friday of each month, second Wednesday for a set number of instances? etc etc

This would be perfect if I could set an event to run every other week for 10 occurrences.

I don't know if its something that can be added or considered.

Thank you.
Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 02:24:32 AM
*Reviving this "sleeping" topic*

I am posting here because it is the support topic for this mod.

I am running SMF ver 2.0.11 with the following Mods:
1.    Event Registration Mod for SMF2    2.26    Not Functioning after install without errors  :-\
2.    BBC You    2.0    
3.    Board Notes    1.0.8    
4.    PM Warning    1.0    
5.    Colorize Post 1.0    
6.    Original Poster in Topic View    0.1.1    
7.    Caps_Lock_Detection_on_Login    1.1.0.1    
8.    Simple Menu Icons    1.0    
9.    Ad Managment    3.2    Not Active
10.    SMF Gallery Lite    5.6.1    
11.    Default_Membergroup    2.0    
12.    audiblepm 1.5    2.0    Not functioning  :(
13.    Enhanced Dropdown    1.3    
14.    Copy Topics    1.6    
15.    Topic Solved    1.1.1    
16.    Board Icons    1.0    
17.    Board-color-and-icons    1.1    
18.    SMF 2.0.11 Update    1.0    
19.    SMF 1.1.21 / 2.0.10 Update    1.0    
20.    Welcome Topic Mod    2.2      Not Active

This mod was installed without any issues, errors, or failed tests.

Yet, there is no evidence that the mod exists anywhere in the Admin sections.

I have downloaded all the php files to "verify" the install took place. I was able to verify that the "stand alone" files are in fact present in the applicable folders.

Most intriguing.   :-\

Will verify all the edits tomorrow morning as it is almost mid-night here and I do not wish to make a "sleepy" mistake while verifying the edits.
Such as making a back-up before installing a mod (which I forgot, DOH!)

Be Well,
Siirist
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 02, 2016, 03:23:54 AM
I'm awake  :)
Quote
Required SMF Settings:

    The calendar must be enabled in the admin control panel.
    "Show linked events in topic display" must be enabled in the Calender section.
    Event registration is only available for events that are linked to forum posts.

The mod doesn't need any admin settings which is why you can't see any!
Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 08:54:40 AM
Quote from: HoverClub on August 02, 2016, 03:23:54 AM
I'm awake  :)
Quote
Required SMF Settings:

    The calendar must be enabled in the admin control panel.
    "Show linked events in topic display" must be enabled in the Calender section.
    Event registration is only available for events that are linked to forum posts.

Hi,
Thanks for your quick reply.    :)

I did check those to verify.   O:)

I attached a screenshot of Calendar Settings.

QuoteThe mod doesn't need any admin settings which is why you can't see any!

I also attached a screenshot of "Below are some preview images of what the mod looks like when being used".

Additionally I sent you a PM with some other information.

Thank you again for support.


Be Well,
Siirist
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 02, 2016, 11:14:01 AM
Are you saying that you can't see the Registration Options section while you post/create an event?  If so,  the mod isn't installed properly in the theme you are using (i.e. Post.template.php mods not done).
Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 11:37:59 AM
Quote from: HoverClub on August 02, 2016, 11:14:01 AM
Are you saying that you can't see the Registration Options section while you post/create an event? 

Correct (as shown in the attached screenshot)

Quote
If so,  the mod isn't installed properly in the theme you are using (i.e. Post.template.php mods not done).

Verified Themes/default/Post.template.php edits were not done by the Package Manager.   :o

There were no edits applicable to my three additional Themes - Clarity, Bright Leaf, or Ostara.

Intriguing.   ???

Will go through each of the edits.

As there were no errors upon installation, this is very disappointing.   :(

EDIT:
You have replied before I got a chance to add this information.

I will post all the edits that did NOT occur with an error-free install.

I have added the screenshot of "Post Event"

Here are my installed Mods:
1.    Event Registration Mod for SMF2    2.26    [ Uninstall ]
2.    BBC You    2.0    [ Uninstall ]
3.    Board Notes    1.0.8    [ Uninstall ]
4.    PM Warning    1.0    [ Uninstall ]
5.    Colorize Post 1.0    1.0    [ Uninstall ]
6.    Original Poster in Topic View    0.1.1    [ Uninstall ]
7.    Caps_Lock_Detection_on_Login    1.1.0.1    [ Uninstall ]
8.    Simple Menu Icons    1.0    [ Uninstall ]
9.    Ad Managment    3.2    [ Uninstall ]
10.    SMF Gallery Lite    5.6.1    [ Uninstall ]
11.    Default_Membergroup    2.0    [ Uninstall ]
12.    audiblepm 1.5    2.0    [ Uninstall ]
13.    Enhanced Dropdown    1.3    [ Uninstall ]
14.    Copy Topics    1.6    [ Uninstall ]
15.    Topic Solved    1.1.1    [ Uninstall ]
16.    Board Icons    1.0    [ Uninstall ]
17.    Board-color-and-icons    1.1    [ Uninstall ]
18.    SMF 2.0.11 Update    1.0    [ Uninstall ]
19.    SMF 1.1.21 / 2.0.10 Update    1.0    [ Uninstall ]
20.    Welcome Topic Mod    2.2    [ Uninstall ]


Siirist
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 02, 2016, 11:48:58 AM
Quote from: Siirist on August 02, 2016, 11:37:59 AM
Correct (as shown in the attached screenshot)
You've duplicated the screenshot from the Mod download page - it isn't a copy of your event post page.
Quote
There were no edits applicable to my three additional Themes - Clarity, Bright Leaf, or Ostara.
Will go through each of the edits.
I'd like to see a copy of the Package Manager mod test install page as I've never seen anything like this.  Are you sure you selected the themes you want the mod installed on?  All edits are applicable to ALL themes - there is no such thing as an inapplicable edit.

Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 01:10:34 PM
Hi,

Thanks for your help.

See EDIT: on my previous post for screenshot you requested and a list of my currently installed Mods.

Note that the following Mod edit did NOT take place (discovered during verification of edits):
./Sources/Subs-Calendar.php
'hcc_max_attendants' => $row['hcc_max_attendants'],
'hcc_confirm' => $row['hcc_confirm'],
'hcc_days_closed' => $row['hcc_days_closed'],
'hcc_terms_conds' => $row['hcc_terms_conds'],
'hcc_groups' => $row['hcc_groups'],
'hcc_sub_ids' => $row['hcc_sub_ids'],
'hcc_reg_sub_ids' => $row['hcc_reg_sub_ids'],
'hcc_add_comment' => $row['hcc_add_comment'],
'hcc_see_comment' => $row['hcc_see_comment'],
'hcc_max_register' => $row['hcc_max_register'],


After verifying, adding edits as needed (only the one above), saving file, and uploading to appropriate folder, the Mod is still not functioning.

You said
Quote from: HoverClub on August 02, 2016, 11:48:58 AM
I'd like to see a copy of the Package Manager mod test install page as I've never seen anything like this. 
Are you sure you selected the themes you want the mod installed on? 
All edits are applicable to ALL themes - there is no such thing as an inapplicable edit.

File Edits

Code
database.php      (Verified that file is present)

File Operations
Move the included file "RegisterEvent.php" to "./Sources".
Move the included file "TermsAndConditions.template.php" to "./Themes/default".

Note: No custom themes are edited.

Here is some interesting code I found in ./Sources/ManagePaid.php:
Find: $isRepeatable = isset($_POST['repeatable']) ? 1 : 0;
Add After: $isEvent = isset($_POST['event']) ? 1 : 0;
What I have:
$isEvent = isset($_POST['event']) ? 1 : 0;
$allowpartial = isset($_POST['allow_partial']) ? 1 : 0;
$reminder = isset($_POST['reminder']) ? (int) $_POST['reminder'] : 0;


Find: (in the middle of Line # 447) , 'repeatable' => 'int'
Add After: , 'event' => 'int'
What I have on Line # 447: 'id_group' => 'int', 'add_groups' => 'string-40', 'repeatable' => 'int', 'event' => 'int', 'allow_partial' => 'int', 'email_complete' => 'string',
Line # 448: 'reminder' => 'int',

Find: Line # 1707 'flexible' => $row['length'] == 'F' ? true : false,
Add After: 'event' => $row['event'],
What I have:
Line # 1708 is blank
Line # 1709 'event' => $row['event'],
Line # 1710 'repeatable' => $row['repeatable'],
Title: Re: Event Registration for SMF2
Post by: Kindred on August 02, 2016, 01:18:36 PM
many, if not most custom themes will have
./Themes/.../Display.template.php
if not also
./Themes/.../Post.template.php

Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 02:08:36 PM
Quote from: Kindred on August 02, 2016, 01:18:36 PM
many, if not most custom themes will have
./Themes/.../Display.template.php
if not also
./Themes/.../Post.template.php

Hi Kindred,

Oddly enough, the themes I am using; Clarity, FreshLooks, and Ostara, do not have either of the files you mention. They are only found in the Default and Core.

I am not using Core as a theme. Only Clarity (forum default), FreshLooks, and Ostara.

I did find one irregularity while verifying the edits of this mod, and it was that when SMF Articles was un-installed (without errors) it left behind some code.
Not sure which file that was in, forgot.   :-[

Thank you for your words.

Be Well,
Siirist
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 02, 2016, 03:37:24 PM
Quote from: Siirist on August 02, 2016, 01:10:34 PM
See EDIT: on my previous post for screenshot you requested and a list of my currently installed Mods.
Maybe try clicking the [show] link next to Registration options and it then might show them?
Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 04:30:35 PM
Quote from: HoverClub on August 02, 2016, 03:37:24 PM
Quote from: Siirist on August 02, 2016, 01:10:34 PM
See EDIT: on my previous post for screenshot you requested and a list of my currently installed Mods.
Maybe try clicking the [show] link next to Registration options and it then might show them?

Perfect!!   :D

*feeling silly that I didn't think of that*  ???

However, I cannot "activate"? the payment option.   :-\
I included a Screenshot titled PostingEvent

By the way, forgot to attach the screenshots for Kindred. Perhaps somehow they may help someone else in the future, so I am attaching them to this post.

Thank you for your patience and knowledge.   ;)

Be Well,
Siirist
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 02, 2016, 04:49:12 PM
Quote from: Siirist on August 02, 2016, 04:30:35 PM
...
However, I cannot "activate"? the payment option.   :-\
I included a Screenshot titled PostingEvent
You haven't created any Paid Subscriptions for events as none are listed in the Event Registration Options?
QuoteEvent fees are set up as normal SMF "Paid Subscriptions" - this mod adds an "event" checkbox option in all paid subscriptions that identifies these Paid Subscriptions as being for events (note that the subscription duration must be set such that it expires AFTER the event date).  Event subscriptions don't show in the list of paid subscriptions that members see - they are only visible during event fee payment.  Once a fee has been paid the member cannot unregister or unconfirm (an event organiser or admins/mods with calendar edit permissions can de-register any member but would need to handle subscription removal and payment refunds for pay events.).
Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 05:07:20 PM
Exactly the answer.   ;)

Hoping that this will be the last question.   ::)

I have an event that is to occur on August 27, which is 25 days from now. How do I determine the number of days for the "duration" of the "Paid Subscription"?
I set it for 30 days, because I didn't know what else to do.   :-\

There will be more events even farther in the future as I may add an event that takes place in November. Again, how do I determine the number of days for the "duration" of the "Paid Subscription"?

Excellent Mod, thank you for writing it and being patient with members like me.   :P


Be Well,
Siirist
Title: Re: Event Registration for SMF2
Post by: HoverClub on August 02, 2016, 05:29:43 PM
Provided the subscription doesn't expire before the event starts then any period will do.
Title: Re: Event Registration for SMF2
Post by: Siirist on August 02, 2016, 05:33:56 PM
Quote from: HoverClub on August 02, 2016, 05:29:43 PM
Provided the subscription doesn't expire before the event starts then any period will do.

Perfect!   :D

Again thank you for this awesome mod.   :)


Hoping Good Things For You,   ;)
Siirist
Title: Re: Event Registration for SMF2
Post by: Burt on August 12, 2016, 08:43:25 PM
Hello everyone..


Apologies, I haven't read the entire thread, so if anybody else has already post this, please delete it.


I just recently discover (a possible bug) actually, to be precise, a conflict between Simple Portal (Recent Topic) Block and Event Registration.


What is happening is that if you make an Event where people are required to register and/or confirm their participation to such event, and in the same page you have the Simple Portal Recent Topic block displayed, the page just stop loading at the heading of the Recent Topic block.
Interesting enough it doesn't conflict with the other (very similar block) Recent Post.
If I disable the "Recent Topic" block completely or only from any page/s where the Event registration form is displayed then everything works as usual.


Running SMF 2.0.11, SP 2.3.6, Event Registration Mod 2.26, Event reminder Mod 2.31


It would be interesting to know if anybody else is able to reproduce the same issue...


PS
Thank you HoverClub (http://www.simplemachines.org/community/index.php?action=profile;u=258710) for this excellent mod.



Burt
Title: Re: Event Registration for SMF2
Post by: RasmusDJ on September 12, 2016, 09:52:23 AM
Hi

I'm just gonna look for some help as well. After I updated my board a while ago, my users told me, that they suddenly had this error coming up all the time.

QuoteField 'termsAndCond' doesn't have a default value
Fil: /home/scalerac/public_html/Sources/Subs-Calendar.php
Linie: 894

I have tried uninstalling the mod, and install the latest one. I had version 2.21 installed before.

It does create the topic, but no link for the calendar, and also I can find anything regarding termsAndCond. So I would really appreciate some support for this, it's a mod that I has been really fund of, for my board :)

board: www.scalerace.dk

Best regards

Rasmus
Title: Re: Event Registration for SMF2
Post by: Kindred on September 12, 2016, 11:34:29 AM
your host upgraded your mySQL... 
This is caused by the STRICT_TRANS_TABLES SQL mode defined in the my.ini or my.cnf file.

you have three options...

Having your host Remove that setting and restart MySQL would fix the problem.
or, maybe you get lucky: Open phpmyadmin and goto 'More' Tab and select 'Variables' submenu. Scroll down to find sql mode. Edit sql mode and remove 'STRICT_TRANS_TABLES'

you can uninstall the mod

or
you can put a default value in for the mod column(s)



actually, doing a little more research -- the best answer seems to be to actually have your host UPGADE mySQL to 5.7.11 or higher, since it actually seems to be a bug in mySQL itself.

(this will actually hold true for MANY mods)
Title: Re: Event Registration for SMF2
Post by: RasmusDJ on September 12, 2016, 03:38:27 PM
Ahh ok, that gives a lot more sense. Cause I have wondered how it suddenly appeared. I have contacted my host, and asked them if they can be helpfull with upgrading MySQL. I'll keep you updated on the matter :)
Title: Re: Event Registration for SMF2
Post by: RasmusDJ on September 15, 2016, 01:55:55 PM
Quote from: Kindred on September 12, 2016, 11:34:29 AM
your host upgraded your mySQL... 
This is caused by the STRICT_TRANS_TABLES SQL mode defined in the my.ini or my.cnf file.

you have three options...

Having your host Remove that setting and restart MySQL would fix the problem.
or, maybe you get lucky: Open phpmyadmin and goto 'More' Tab and select 'Variables' submenu. Scroll down to find sql mode. Edit sql mode and remove 'STRICT_TRANS_TABLES'

you can uninstall the mod

or
you can put a default value in for the mod column(s)



actually, doing a little more research -- the best answer seems to be to actually have your host UPGADE mySQL to 5.7.11 or higher, since it actually seems to be a bug in mySQL itself.

(this will actually hold true for MANY mods)

My host can't upgrade the MySQL, as i'm on a shared hosting server. They said it might help changing the PHP settings, i'm running on 5.6, if I changed it to 7.0, the forum stopped responding.

I have tried to uninstall the mod, and re install it, but northing here happened.

I can't delete the strict_trans_tables my self, I can see it in the SQL MODE as you wrote, but northing more.
Title: Re: Event Registration for SMF2
Post by: Kindred on September 15, 2016, 02:16:52 PM
that seems to leave:

you can uninstall the mod
or
you can put a default value in for the mod column(s)
Title: Re: Event Registration for SMF2
Post by: RasmusDJ on September 15, 2016, 04:06:06 PM
I have tried locating a place to put in the default value, but I haven't succeeded with that yet :/
Title: Re: Event Registration for SMF2
Post by: Kindred on September 15, 2016, 04:29:28 PM
https://www.google.com/search?q=adding+a+default+value+to+a+column+in+mysql&ie=utf-8&oe=utf-8
Title: Re: Event Registration for SMF2
Post by: HoverClub on September 15, 2016, 04:41:16 PM
phpMyAdmin open row smf_calendar, click column hcc_terms_conds (left hand pane) and set default value to NULL in RH pane.
... there may well be other fields that require a default value.  Probably not worth me fixing this as the next MySQL release seems to revert.
Title: Re: Event Registration for SMF2
Post by: RasmusDJ on September 15, 2016, 04:57:37 PM
Quote from: HoverClub on September 15, 2016, 04:41:16 PM
phpMyAdmin open row smf_calendar, click column hcc_terms_conds (left hand pane) and set default value to NULL in RH pane.
... there may well be other fields that require a default value.  Probably not worth me fixing this as the next MySQL release seems to revert.

Thanks a lot HoverClub, it fixed the problem, though I had to put termsAndCond into null as well. But now it's working again :) Appreciate it.
Title: Re: Event Registration for SMF2
Post by: dztzy on August 26, 2017, 08:21:07 AM
This works for 2.0.14, the only problem is that only admins can cancel registrations.

A normal user can't cancel hisregistration, he clicks the button, but it doesn't remove him from the list.

Title: Re: Event Registration for SMF2
Post by: dztzy on August 27, 2017, 08:01:51 AM
Can anyone tell me how i can change de date format?
Title: Re: Event Registration for SMF2
Post by: demlak on December 01, 2017, 10:00:10 AM
we would like to have all finished events hidden.

currently we use same thread for recurring events. but this also means, that every finished event is drawn on the page.

for example:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.schwarzes-hannover.de%2Feventmod.jpg&hash=c0a67724796ffa472494ad1c6f39c070bdddb95f)

maybe it is possible to get a hide/show button which hides/shows finished events and shows only registering for future events?

thx a lot
Title: Re: Event Registration for SMF2
Post by: Dwev on December 23, 2017, 07:32:18 AM
Quote from: demlak on December 01, 2017, 10:00:10 AMmaybe it is possible to get a hide/show button which hides/shows finished events and shows only registering for future events?

Pity that your image isn't visible, but I agree with you that this is a good idea.

I have a question myself: under payment options I don't see any, does anyone know how to add options there?
Title: Re: Event Registration for SMF2
Post by: demlak on December 23, 2017, 02:22:08 PM
you can find the image here: http://www.schwarzes-hannover.de/eventmod.jpg
Title: Re: Event Registration for SMF2
Post by: Dwev on December 23, 2017, 02:38:26 PM
@ emlak: thanks, makes it clearer what you're taking about (and nice looking forum!).

And I still agree with you, would be nice to have this added to the mod.
Title: Re: Event Registration for SMF2
Post by: GL700Wing on February 13, 2018, 02:16:11 PM
Quote from: Dwev on December 23, 2017, 07:32:18 AMI have a question myself: under payment options I don't see any, does anyone know how to add options there?
See https://www.simplemachines.org/community/index.php?topic=462457.msg3885226#msg3885226
Title: Re: Event Registration for SMF2
Post by: Dwev on February 14, 2018, 11:04:51 AM
@ GL700Wing: thanks a lot for that link!  :D
Title: Re: Event Registration for SMF2
Post by: North East Man on November 18, 2018, 04:30:39 AM
Have just starting using this mod - it is great and does just what we want.  However, we cannot use the download link to retrieve the list of attendees.  An error page pops up to say that the file cannot be previewed. It might be corrupted or an unknown format.  But there is no link to proceed to download.

Using V2.0.15

Any ideas?


Title: Re: Event Registration for SMF2
Post by: HoverClub on November 18, 2018, 07:33:36 AM
It's a standard CSV (comma-delimited text) file.  YOur browsers is preventing the download for some reason (usually there is an options to preview or save).  Maybe you'll need to install software to open and view spreadsheet files (Office, OpenOffice, Libreoffice, etc.).  Or save the file and open in any text editor to view the unformatted version.
Title: Re: Event Registration for SMF2
Post by: North East Man on November 18, 2018, 11:55:10 AM
Thanks for getting back so quickly.  Turns out the user was using a phone to browse the forum and download the registration list.  It worked fine on a PC.

Separately, having looked through the posts in this thread, I have modified the templates to always have all groups selected and allow comments selected.  I really do have to make it it straight forward for my members!  But I can't see how to make the Registration Options show by default.  So many events are created where they didn't see the "Show" link next to Registration Options.  What code change do I need to make so that all options are visible when a user creates an event?

Many Thanks

Title: Re: Event Registration for SMF2
Post by: HoverClub on November 18, 2018, 05:54:46 PM
post.template.php:

<div id="registration" style="display:none;">


to

<div id="registration" style="display:block;">

Title: Re: Event Registration for SMF2
Post by: North East Man on November 18, 2018, 07:47:54 PM
Fantastic!!

I'll make that change tomorrow.  Perfect mod for my needs.  Thank you so much for this mod.
Title: Re: Event Registration for SMF2
Post by: North East Man on December 05, 2018, 08:08:53 AM
Back again with more requests, I'm afraid. 

My users refuse to see that they need to change the number of attendees from the default number to something suitable for their event.  I have amended the string to add the instruction to change the number, but they still don't see it.  Result is they create an event for 50 (default) people for a venue that will only hold 10.  They then have 50 people registering before I can step in and ask them to change their number.

I wanted to change the colour of the string to see if that would attract their eyes (Even it was flashing and playing tunes, I wonder whether they would see it, though!!!!) and have looked in the CSS file, but my knowledge is so limited, I am not sure what I would need to change or add.  If anyone could point me in the right direction.

Secondly, having changed the string to ask them to amend the number to something suitable - that is appropriate for creating an event, but the same string appears on the Linked Event Page.  Is it possible to create a second shorter string to go on the Linked Event Page so that they don't have the instruction to amend the number on that page - It doesn't really make sense there.

Finally, we never have the need to have the secondary confirm function.  How do |I go about disabling it and not having it even show up as an option.

So many questions, I am sorry, but I am having great fun setting up this forum and am so keen to learn.


Many Thanks


Richard
Title: Re: Event Registration for SMF2
Post by: HoverClub on December 05, 2018, 11:13:38 AM
The attendees is a default database value - you'd need to edit the database structure to change it.  The other stuff involves functional code changes - I don't have the time (or inclination as there is no benefit to most) to modify and then test the changes that would be required.
Title: Re: Event Registration for SMF2
Post by: North East Man on December 05, 2018, 12:38:46 PM
Thanks for the quick reply,  I had found the place in the files to adjust the default number so that wasn't really the issue.  It was really that no matter what number I set as a default, people weren't seeing it.  If I set it low, people would be excluded, set it high, too many people would come.   I just wanted to change the colour of the text to highlight it. 

The other couple of requests, I could have lived without but would have been nice.

But thanks for taking the time to respond anyway.
Title: Re: Event Registration for SMF2
Post by: Kindred on December 05, 2018, 03:42:16 PM
use a CSS inspector and check if the text that you want to change has a css identifier tag...   then just update that CSS ID to change the color...


If it doens't have a unique tag, then edit the template file.
Title: Re: Event Registration for SMF2
Post by: North East Man on December 05, 2018, 03:56:57 PM
Hi Kindred,

Thanks for the reply.  So far as I can see, it doesn't have a unique css ID.  It seems to be based on the smalltext tag which is used throughout the forum and picks up characteristics from index.css.

Am I right in thinking the principle here would be to create a php class in the template - say mycolortext, replace the tag in the template from smalltext to mycolortext, and then create a css class describing font size, color, etc?

Sorry for the very basic question.


Richard
Title: Re: Event Registration for SMF2
Post by: Kindred on December 05, 2018, 07:10:14 PM
Smalltext is a class, you'd probably want to add an id definition to the call... probably I'm calendar.template.php
Title: Re: Event Registration for SMF2
Post by: woolly bugger on March 01, 2019, 07:52:51 PM
any plans to update for 2.1??
Title: Re: Event Registration for SMF2
Post by: PoML on March 28, 2019, 01:20:03 PM
Quote from: woolly bugger on March 01, 2019, 07:52:51 PM
any plans to update for 2.1??

I also hope for an update.

I tried manually adding the "Event registration mod" which I believe is really a pre-decessor to this , but the changes were so many that the manual install does not work well unless you do some heavy tweaking...  Can anybody explain which of these I should go for?
If I end up patching this manually without following the "manual install" instructions - are there any way to share the result to at least save others the bother?

I find this a bit confusing:
Event Registration mod for SMF2
Last Updated: August 16, 2013, 05:46:17 AM

Event Registration Mod  - Allow members to register and confirm for calendar events.
Last Updated: September 06, 2015, 11:59:53 AM
Title: Re: Event Registration for SMF2
Post by: 4everBlue on March 30, 2019, 12:05:40 PM
Ok, Thanks ;)
Title: Re: Event Registration for SMF2
Post by: Gandrel on January 07, 2020, 12:49:26 AM
I'm currently running 2.0.15 with the Sunrise theme and we can't turn on the ability to add comments when registering. When someone tries to register, you get presented with a text window but once you put your comment in and hit the "Save" button, nothing happens. If I hit F12 in Chrome, I see that when you click on the "Save" button, it throws this error in the console:
An invalid form control with name='search' is not focusable

Does anyone know what this means and if it can be fixed?
Title: Re: Event Registration for SMF2
Post by: Gandrel on January 08, 2020, 04:43:56 AM
Hmm, I did some more digging and I was able to get this to work with the default curve theme, so it looks to be an issue with the Sunrise theme specifically. Any ideas anyone? I'm also running PHP 7.1, for what it's worth.
Title: Re: Event Registration for SMF2
Post by: Kindred on January 08, 2020, 01:03:17 PM
Did you install the theme before or after the mod?
If after, when you installed the mod, did you tell it to make edits to the Sunrise theme?


In either case, you may have to manually parse the mod and manually change any of the theme template files which need edits.
Title: Re: Event Registration for SMF2
Post by: Gandrel on January 08, 2020, 01:36:50 PM
Quote from: Kindred on January 08, 2020, 01:03:17 PM
Did you install the theme before or after the mod?
If after, when you installed the mod, did you tell it to make edits to the Sunrise theme?


In either case, you may have to manually parse the mod and manually change any of the theme template files which need edits.

I've tried to completely remove and reinstall it, but still no luck. I've installed it to the Default and Sunrise themes only as the Core theme failed the pre-install test. Could that be the issue? Everyone uses the Sunrise theme only, for what it's worth.

I've attached a screenshot of all the files that the mod is dealing with and the only file that is modified in the Sunrise theme as well. Would you mind having a look? I'm not sure how to fix this :/

Title: Re: Event Registration for SMF2
Post by: Kindred on January 08, 2020, 05:10:09 PM
no that would not be the problem, core is useless anyway....

based on that screenshot, if it works in the Curve/default theme, should be working in Sunrise
Title: Re: Event Registration for SMF2
Post by: Gandrel on January 08, 2020, 05:26:10 PM
Quote from: Kindred on January 08, 2020, 05:10:09 PM
no that would not be the problem, core is useless anyway....

based on that screenshot, if it works in the Curve/default theme, should be working in Sunrise

Huh strange. Did you have a chance to look at the php file that I attached as well? Also, can the core theme be removed without issue? I see an option to remove it, but isn't it also included by default in a new SMF installation?
Title: Re: Event Registration for SMF2
Post by: Kindred on January 08, 2020, 05:33:15 PM
it's included as legacy.
I always remove the core theme as the first thing I do in a new installation. :)

The only theme you can/should never remove is the default/curve theme

I have not looked at your php yet
Title: Re: Event Registration for SMF2
Post by: mcmuroni on February 10, 2020, 02:57:29 AM
Hi there!
I read the hole threat to find some soultion to my problem but didn't find anything.
I used the SMF Verion 2.0.17 with the Responisve "Reseller Theme".
I have installed the Event Registration SMF2 Mod and everything with no error's. Then I startet to create an event with all the settings I need and started
the threat with an link to the registration. Finally on the Reseller-Theme the textlink to sign up is not showing up.
When I switch the forum to the standard curve theme the textlink to sign up is there.
Have anyone eexperience with the "Reseller-Theme" and this Mod.
I have tried some other themes "Night/Day" no sign up link. I tried the Averus-Theme and I can sign up.
I be thankful for any sugestions.
Sorry for my bad english.
greetings
mc
Title: Re: Event Registration for SMF2
Post by: Kindred on February 10, 2020, 02:43:09 PM
sounds like the mod did not get installed into your additional themes
Title: Re: Event Registration for SMF2
Post by: mcmuroni on February 12, 2020, 05:25:23 AM
Now I tried several other "free" themes.
Often the responsive themes are not working with this mod.
But now I found one responsive which is working.
I'm just wondering how this is possible. With all themes I tried there was no problems with the installing of the mod
and to create an event with all registration options. But then only a few are showing the register linkbutton in the created threat.
And that's why I thought that I have only set some settings wrong. Because when there is a problem with theme and mod
then there it should be an error also on creating an registration event.
This is the thing I don't understand... but maybe I get something wrong.
thx for help
greetings mc.
Title: Re: Event Registration for SMF2
Post by: Kindred on February 12, 2020, 09:36:19 AM
if you install themes AFTER the mod, then you have to MANUALLY update the template files in those themes.

The reason it works in some and not in others is that some themes don't define a new version of the template -- in which case, they use the template in the default theme. Since the mod was installed, fully, into the default theme, then any theme which uses the default versions will work as expected - while custom themes that have their own versions need to have the code added.
Title: Re: Event Registration for SMF2
Post by: mcmuroni on February 13, 2020, 04:24:38 AM
I'll see. thanks for you explanation.
since my skills aren't good enough to add something to a theme
it's better to choose one where everything is working.
Title: Re: Event Registration for SMF2
Post by: mcmuroni on February 13, 2020, 06:41:13 AM
Now I know what you mean with manual installing.
Thanks for the hint.
Now it is working.
Title: Re: Event Registration for SMF2
Post by: gdavison on August 21, 2020, 04:40:37 AM
Forgive me if I break any forums polidies - first post etc

We have been using this mod on our club forum for doing reservations during these COVID-19 days.  We run a sporting club so needed to limit the number of members on site.  While I don't think this reservation system was designed to be this granular it worked well.. We set up numerous events on each day with the title being the time of the event for example

10 Aug Group 1 : 9am to 10am
10 Aug Group 2 : 10am to 11am
19 Aug Group 3 : 11am to noon

etc etc.  Each calendar entry was set for the max number of people allowed by UK Gov't Covid recommendations (6) and we set the entry closes one day before the event.  System worked well until we spotted that the entry closes one day before the event was not working.  The Event displays the closing date as 9th Aug, however we had a member make a reservation at 10am on the morning of the 10th for the 9am to 10 am group 1. 

I am at best a self educated coder with a basic html, php understanding I was able to dig thru the various code and did discover that reservations did indeed not lock out until 11am of the morning off the event. We only use default theme so life was easier on having to find where I would need to make changes. Although we are in the UK, our Forum runs on a German server so I have a -1 hour in timezone setting in core forum settings

I changed line 272 in Display.template.php to
echo $event['start_timestamp'] . '&nbsp;' . time() . '&nbsp;' . $time_left . '<br />' . $txt['register_mod_maxAttendants'] . $event['hcc_max_attendants'] . ' -&raquo; ' . ($RegCount-$ConfCount) . '&nbsp;' . $txt['register_mod_registered'] . ($event['hcc_confirm'] ? ', ' . $ConfCount . ' '. $txt['register_mod_confirmed']  : '');

and could see that $event['start_timestamp'] was indeed 1597053600 for all the 10th of August events which is 08/10/2020 @ 10:00am (UTC)

My "hack to fix" was to change line  212 in Display.template.php from
$time_left = ceil(($event['start_timestamp'] - time()) / 86400); // days left until event starts(negative is event passed)
to
$time_left = ceil(($event['start_timestamp'] - time()-35940) / 86400); // days left until event starts(negative is event passed)

So while not really fixing the true problem which is $event['start_timestamp'] is not midnight, I now have things that $time_left  works out right and no one can make a reservation after one min past midnight

With my very limited understanding of PHP I cant work out where $event['start_timestamp'] gets its value from and should I be fixing it their or is what I have done "good enough"

As Said earlier we are really pushing that this mod does and its not been actively supported any more.  I would appreciate any feedback / pointers from more experienced folk re how they would have fixed this

Many thanks


Title: Re: Event Registration for SMF2
Post by: Kindred on August 21, 2020, 10:40:47 AM
it's been a while since I looked at this -- but SMF has time settings in several places

1- Server time --- this is based on the location of your server and will vary greatly, depending on your host.
2- System time --- this is set in SMF admin and allows you to adjust the time delivered by server time to match the time that YOU want your site to use (indicated, in 2.0.x by a + or - adjustment to the server time -- in 2.1.x, an absolute setting by selecting your site timezone.)
3- Personal time setting --- each user can further adjust the system time DISPLAY to match their local time in their profile settings.

Without looking at the Event code, I'm not sure which one the mod is actually using -- it SHOULD be using (2), but that is not a guaranteed statement.
Title: Re: Event Registration for SMF2
Post by: gdavison on August 23, 2020, 03:03:50 AM
I was wondering if the issue could be that the database for Calendar database (which I believe is smf_1calendar) does not look to be using "unix time" format as start_date and end_date variables look to be in YYYY-MM-DD format, so somewhere between Event Registration and Calendar, start_date gets some "maths" done to set up $event['start_timestamp']  and I this is what I cant find  ???  I will continue to dig into the modification.xml to try and find it  :)
Title: Re: Event Registration for SMF2
Post by: dendemeier on July 12, 2022, 03:00:18 AM
I got problems with the mod.

Somedays ago I updated my forum to 2.0.19. The mods were deactivated. So now i´m installing the mods again.

Installing the mod works like a charm, no errors are shown.

When i try to create an event with registration it got the error: "The database value you're trying to insert does not exist: maxAttendants"

I looked up the table _calendar in my database. The value exists in the database. So maybe the mod can´t write in it or something like that?
Is there a solution for the problem?


EDIT:

I looked up the errors at the protocol-log. There erreros shown like

2: Undefined array key "maxAttendants"
Datei: /home/prlxboxf/public_html/forum/Sources/Subs-Calendar.php

The same error shows up for  daySort, daysconfirm, daysclosed, termsandcond, multipleSignup, allowGuests, allowComments
Title: Re: Event Registration for SMF2
Post by: dendemeier on July 13, 2022, 07:27:39 AM
I can´t delete my last post.
I did figure it out some minutes ago. It wasn´t a problem with this mod. It was a roblem with an other  event registration mod i tested before, which created other tales in the database but weren´t deleted during uninstalling the mod.
Title: Re: Event Registration for SMF2
Post by: BugginIn on November 29, 2023, 10:48:35 AM
Morning all,

Love this mod but now on 2.1.4; has anyone got it to work on 2.1 yet?

Mod Owner - any chance a 2.1 update is coming?


Thank you,

Bugginin
Title: Re: Event Registration for SMF2
Post by: Kindred on November 29, 2023, 11:04:57 AM
Since the mod author has not been online in over 18 months... probably not.
Title: Re: Event Registration for SMF2
Post by: BugginIn on November 30, 2023, 09:41:02 AM
Quote from: Kindred on November 29, 2023, 11:04:57 AMSince the mod author has not been online in over 18 months... probably not.

That is really sad news as well...