Advertisement:

Author Topic: Event Registration Mod  (Read 157463 times)

Offline Deju

  • Semi-Newbie
  • *
  • Posts: 55
Re: Event Registration Mod
« Reply #420 on: February 04, 2015, 03:36:36 PM »
Having the same problem on SMF 2.0.9

I'm running SMF 2.0.7 with Event Registration Mod version 0.177 BETA installed.

Apparently, I'm getting a problem with reverse order of registrations, because if I unregister from a full event and then re-register, I'm not put on the Waitlist, but rather in spot #1.
Our users are having way too much fun with this behaviour and we obviously can't let them enjoy the forum like this. Is there a simple fix I can do myself?

[Edit]Just stating explicitly that the event in question is fully booked already.

Offline pftq

  • Jr. Member
  • **
  • Posts: 227
  • a pftq production!
    • < - - ( pq - a pftq production! ) - - - >
Re: Event Registration Mod
« Reply #421 on: August 19, 2015, 01:26:21 AM »
Sorry for the late reply.  It's been a busy year, and this slipped my radar.  If anyone else wants to help maintain the mod, more than fine with me.

Regarding reverse order, I looked into this several times and wasn't able to reproduce the issue (signed up pftq first, then reregistered, did the same with test1, etc).  See the test board below:
http://www.pftq.com/smf/smf2/index.php?topic=3.0

If someone can let me know more details on the steps or try it on the test forum above, that would be helpful.

Quote
1. Maybe I'm missing something but is there a way to have the mod email the person that registered for an event?
2. The Event Signup list would be extra great if it showed when the user registered ( Date & time ). Any way to do that?

For #1, there is a PM Confirmed/Unconfirmed button under the list for mods/admins.  (Click [show] under Admin options)

For #2,
Added a quick update to include registration/confirmation date time on the list next to the name.
http://custom.simplemachines.org/mods/index.php?mod=2024

It's just a theme update.. for those that just want the change made to their theme, replace the line in Display.template.php:
Code: [Select]
echo '<td>',($reg['name']&&$reg['name']!=$reg['user_name']? $reg['name'].($reg['user_name']? ' / ':''):''),'<a href="',$scripturl,'?action=profile;u=',$reg['id'],'">',$reg['user_name'],'</a>';with
Code: [Select]
echo '<td>',($reg['name']&&$reg['name']!=$reg['user_name']? $reg['name'].($reg['user_name']? ' / ':''):''),'<a href="',$scripturl,'?action=profile;u=',$reg['id'],'">',$reg['user_name'],'</a>, ', timeformat($reg['dateConfirmed'] == 0? $reg['dateRegistered']:$reg['dateConfirmed']);

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,218
  • Gender: Male
    • Kindred-999 on GitHub
Re: Event Registration Mod
« Reply #422 on: August 19, 2015, 06:16:12 AM »
Sorry for the late reply.  It's been a busy year, and this slipped my radar.  If anyone else wants to help maintain the mod, more than fine with me.


ptftq -- Can you clearly state the mod license, please (edit the mod page and include a license file in the mod package itself)
(I suggest MIT, or BSD)



Also, your mod screenshots all just show an advert for an itunes giftcard. Please correct them or they will be removed.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Deju

  • Semi-Newbie
  • *
  • Posts: 55
Re: Event Registration Mod
« Reply #423 on: August 19, 2015, 04:50:08 PM »
Try setting date of event earlier than current date.  I have found the reverse order glitch happens when the date passes the event date.

Regarding reverse order, I looked into this several times and wasn't able to reproduce the issue (signed up pftq first, then reregistered, did the same with test1, etc).  See the test board below:
http://www.pftq.com/smf/smf2/index.php?topic=3.0

If someone can let me know more details on the steps or try it on the test forum above, that would be helpful.

Offline pftq

  • Jr. Member
  • **
  • Posts: 227
  • a pftq production!
    • < - - ( pq - a pftq production! ) - - - >
Re: Event Registration Mod
« Reply #424 on: August 20, 2015, 09:29:19 PM »
I looked into that and it's a behavior that perhaps isn't well explained in the readme.  When you first sign up, you have a date registered time.  When you get near or past the event, however, it starts sorting by confirmation date, so those who confirm sooner can jump ahead of those who signed up but did not confirm yet.  I'm not quite sure how you're getting the signups to occur after the event date though.

@Kindred: I'll include a MIT license.  Thanks for catching the screenshots.  There's been a lot of passing the torch on this mod, so I was not aware they were in the page.
« Last Edit: August 20, 2015, 09:41:16 PM by pftq »

Offline Yasudia

  • Newbie
  • *
  • Posts: 2
Re: Event Registration Mod
« Reply #425 on: September 06, 2015, 07:56:06 AM »
Hello!  :) Just installed your mod, and it works fine until the point where I can click on it in the forum. There it leads to nowhere / blank page  ???
Also I have the Terms and Conditions twice in my event creation page.

Can you help a noobie here and tell me what I can do to fix this?

Thanks

Offline Deju

  • Semi-Newbie
  • *
  • Posts: 55
Re: Event Registration Mod
« Reply #426 on: September 06, 2015, 08:54:18 AM »
Is there anyway I could disable this sorting?  We don't use confirmation function and I'd like the registered time list to stay the same.

I looked into that and it's a behavior that perhaps isn't well explained in the readme.  When you first sign up, you have a date registered time.  When you get near or past the event, however, it starts sorting by confirmation date, so those who confirm sooner can jump ahead of those who signed up but did not confirm yet.  I'm not quite sure how you're getting the signups to occur after the event date though.

Offline pftq

  • Jr. Member
  • **
  • Posts: 227
  • a pftq production!
    • < - - ( pq - a pftq production! ) - - - >
Re: Event Registration Mod
« Reply #427 on: September 06, 2015, 10:03:58 AM »
Is there anyway I could disable this sorting?  We don't use confirmation function and I'd like the registered time list to stay the same.

I looked into that and it's a behavior that perhaps isn't well explained in the readme.  When you first sign up, you have a date registered time.  When you get near or past the event, however, it starts sorting by confirmation date, so those who confirm sooner can jump ahead of those who signed up but did not confirm yet.  I'm not quite sure how you're getting the signups to occur after the event date though.

Leave "Ask Confirmations X Days Before Event" set to zero.

Hello!  :) Just installed your mod, and it works fine until the point where I can click on it in the forum. There it leads to nowhere / blank page  ???
Also I have the Terms and Conditions twice in my event creation page.

Can you help a noobie here and tell me what I can do to fix this?

Thanks

Do you have a custom theme? You'll need to adjust your theme files manually.

Offline Yasudia

  • Newbie
  • *
  • Posts: 2
Re: Event Registration Mod
« Reply #428 on: September 06, 2015, 10:32:42 AM »
Do you have a custom theme? You'll need to adjust your theme files manually.

I do indeed, it's Greeny from SMF Tricks. But I applied all changes to Display.template.php as you stated in the read me files.

Offline Deju

  • Semi-Newbie
  • *
  • Posts: 55
Re: Event Registration Mod
« Reply #429 on: September 06, 2015, 10:42:14 AM »
That's not it.  We have all events set to 0 for confirmations/sort. I'm 98% sure this is a glitch in the programming.  As the event date passes (or equals) the current real date the registration list is flipped. 

See images below.

Leave "Ask Confirmations X Days Before Event" set to zero.

Offline pftq

  • Jr. Member
  • **
  • Posts: 227
  • a pftq production!
    • < - - ( pq - a pftq production! ) - - - >
Re: Event Registration Mod
« Reply #430 on: September 06, 2015, 12:02:36 PM »
I just rewrote the sorting mechanism as I'm not sure where the offending piece might be.  Please reinstall the mod and let me know if it helps.

Offline pftq

  • Jr. Member
  • **
  • Posts: 227
  • a pftq production!
    • < - - ( pq - a pftq production! ) - - - >
Re: Event Registration Mod
« Reply #431 on: September 06, 2015, 12:05:04 PM »
Do you have a custom theme? You'll need to adjust your theme files manually.

I do indeed, it's Greeny from SMF Tricks. But I applied all changes to Display.template.php as you stated in the read me files.

I don't have instructions for that in the readme.  Do you mind sharing your Display.template.php? Then I can see what might be wrong.

Offline Deju

  • Semi-Newbie
  • *
  • Posts: 55
Re: Event Registration Mod
« Reply #432 on: September 06, 2015, 12:39:41 PM »
pftq, thank you for your help on this.

I'm going to uninstall and get this.  Should I continue?

Offline pftq

  • Jr. Member
  • **
  • Posts: 227
  • a pftq production!
    • < - - ( pq - a pftq production! ) - - - >
Re: Event Registration Mod
« Reply #433 on: September 06, 2015, 01:02:47 PM »
Hi, after the uninstallation, I'd go through the Display.template.php and look for anything with "pftq" labeled near it to remove.  Feel free to send me your file via PM or email (pftq@pftq.com) and I'd be happy to clean it up for you.

Offline Deju

  • Semi-Newbie
  • *
  • Posts: 55
Re: Event Registration Mod
« Reply #434 on: November 21, 2015, 09:18:53 PM »
We've modded this mod to include an "Open On" timed signup opening option and "Membergroup selectivity" so you can choose only certain regular groups.

Would you like to add this to the public one?

Offline ttaattaa

  • Newbie
  • *
  • Posts: 1
Re: Event Registration Mod
« Reply #435 on: December 01, 2015, 05:09:59 PM »
Hi pftq!

I am installed successful your mod on our new 2.0.11 SMF forum.We use it in other forum (1.1) from many years. Our best mod, thank you.

Could you help me? On the new forum works the mod prefectly in calendar view and admin (in all the 4 theme), but we can't see the registration block on topic view... Where shoul I debug anz errors?

Cheers:
Attila from Hungary

Offline b-machinery

  • Newbie
  • *
  • Posts: 1
Re: Event Registration Mod
« Reply #436 on: December 29, 2015, 08:06:16 AM »
Hey pftq,

at first, thanks for the great mod, just the thing I was always looking for! I have it running on my test machine and it works perfect, except for a few things I am currently working on. One is that I want to give the event creator the ability to administrate the list by himself except of batch adding. Works. Next are a few texts that are not internationalized yet and a few changes when creating an event. Just simple things for now, but I am sure there are things to come ;)

Greetings from sunny bavaria ;)

PS: The bug with no comments when you have to agree to terms and conditions is still in the package for SMF2!

Offline GL700Wing

  • Full Member
  • ***
  • Posts: 485
  • Gender: Female
Re: Event Registration Mod
« Reply #437 on: February 28, 2017, 05:57:50 AM »
How to add AutoSuggest to the Registrant name field (handy when the option 'One Member Can Sign Up Multiple Names:' is set to 'Yes' as it means the forum member name entered should be correct).

In ./Themes/default/Display.template.php
Find:
Code: [Select]
echo "<input type='text' size='20' value='",($context['user']['is_guest']? '':$context['user']['name']),"' name='Registrant' /> </td>";

Replace with:
Code: [Select]
echo "<input type='text' size='20' value='",($context['user']['is_guest']? '':$context['user']['name']),"'
name='Registrant' id='Registrant' class='input_text' />";
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/suggest.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var oAddRegistrant = new smc_AutoSuggest({
sSelf: \'oAddRegistrant\',
sSessionId: \'', $context['session_id'], '\',
sSessionVar: \'', $context['session_var'], '\',
sSuggestId: \'Registrant\',
sControlId: \'Registrant\',
sSearchType: \'member\',
sTextDeleteItem: \'', $txt['autosuggest_delete_item'], '\',
bItemList: false
});
// ]]></script>';

echo '
</td>';

Life doesn't have to be perfect to be wonderful ...

Offline PoML

  • Semi-Newbie
  • *
  • Posts: 38
Re: Event Registration Mod for 2.1RC2
« Reply #438 on: April 21, 2019, 11:18:42 PM »
Hi!

I have made this mod work on a 2.1RC2 forum with tinyportal installed.
It took some changes vs what is in the "manual install instructions", as there has been some major overhauls of the event functions.
If anybody can help me go from the edited files (using 'diff', I presume) to make a suggested mod for others to use than I am happy to share.

Offline Abavagada

  • Semi-Newbie
  • *
  • Posts: 75
Re: Event Registration Mod
« Reply #439 on: April 29, 2019, 09:48:04 PM »
I installed this on SMF 2.0.15 and it installed fine. I can add events and post them on the forum.

It sounds like people should be able to sign up for the event, but I can't find how that is done.

Clicking on the event from the calendar lets a person edit the event, but not sign up for it.

Am I missing something?