spawnferkel
Offline
Posts: 96
|
 |
« on: May 30, 2010, 11:32:19 PM » |
|
Hello friends,
I wrote a new modul with the odd name registrationmanager and furthermore i hope you can use it.
The primarily goal of the modul is that you can save events in the backend and the visitor can book it in the frontend.
The modul comes along with the following features:
Add Events with: title place description max. of registrations start & end definition info url some notices for the visitor a signature that appears in the confirmation mail if the visitor has successfully booked a event mail address that receives the confirmation mail cc of the mail adress that receives the confirmation mail
You can separate the event in workshops. Such a workshop is specified by: title start & end definition description max. of the registrations info url and a keyname which identifies the workshop in registrationlists
The workshops can grouped in workshop-groups With workshop-groups you have the possibility to order the workshops in the frontend (in my case it is meaningful to group parallel workshops). Moreover you can add a entrance fee.
If you have special entrance fee option you can give the visitors discount if he booked more than one workshop. To realise that you can arrange sets of workshop-groups including a special price. That gives you the flexibility to save every price-structure you have.
Last but not least you have an overview of the bookings in the backend. The modul contains a registration list and supports a print- and a excel export. In addition to that you can mark the registration as paid to get an overview the bookings of your event.
The module is designed for institutions which offers events such as seminars or conferences which are divided in workshops on more then one day. But you can use it also as booking module for a simple event.
hoping that you can use the module feel free to leave a comment.
bye alexander
ps: if there is any need I can add a language file but at the moment there is only german version available.
UPDATE Jun 09: Some bugfixes in view.php Jun 10: do not generate some error messages if the log file is not writeable
|
|
|
|
« Last Edit: June 09, 2010, 11:10:41 PM by spawnferkel »
|
Logged
|
|
|
|
quinto
Offline
Posts: 67
|
 |
« Reply #1 on: May 31, 2010, 12:18:28 AM » |
|
Very nice features ! an english version would be great !
Then i'll translate it in french !
|
|
|
|
|
Logged
|
|
|
|
|
snark
Guest
|
 |
« Reply #2 on: May 31, 2010, 07:14:28 AM » |
|
wow, this is great, I see a lot of use for this
I will do a dutch translation
|
|
|
|
|
Logged
|
|
|
|
spawnferkel
Offline
Posts: 96
|
 |
« Reply #3 on: May 31, 2010, 08:07:32 AM » |
|
thanks for your response. It will take a while adding the language files because the text is hard implemented in code in the current state and the next days I am going to the Rock am Ring Festival.  here are system requirements: mysql 4.0 and above (my costumer had that old version and it was very tricky because it does not support Subqueries. I think I can improve the speed extremely for higher versions) PHP 5.2 and above WebsiteBaker 2.7 and above
|
|
|
|
|
Logged
|
|
|
|
oeh
Offline
Posts: 190
|
 |
« Reply #4 on: May 31, 2010, 03:10:57 PM » |
|
I'll do the Norwegian translation.
|
|
|
|
|
Logged
|
Good bye ;-{( oeh ;-}>
|
|
|
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
|
 |
« Reply #5 on: June 09, 2010, 11:08:25 AM » |
|
Hello Alexander,
just giving try to install that module and I am getting this warning while installation:
Warning: file_put_contents(C:\xampp\htdocs\designthings\temp\unzip/data/log.php) [function.file-put-contents]: failed to open stream: No such file or directory in C:\xampp\htdocs\designthings\temp\unzip\info.php on line 30
The module is installed anyway.
Trying to add an event, I put all the Info into the form and then do SAVE, results in the following warning: Warning: file_put_contents(C:\xampp\htdocs\designthings\modules\registration4events/data/log.php) [function.file-put-contents]: failed to open stream: No such file or directory in C:\xampp\htdocs\designthings\modules\registration4events\info.php on line 30
The created Event is shown in frontend anyway.
The Module is very interesting.
Some hints and questions: - is there a double opt in used with this module? (means: the user registers and recieves a confirmation email and after putting the confirmation link he is added into the list) - is there a way to easily change the output HTML in frontend as the css? - is there a way where I can change (add / delete / change) required fields?
Nice work so far. I really like the idea behind it and will have a further look into the code shortly.
Best regards, Stefek
|
|
|
|
|
Logged
|
"In a time of universal deceit, telling the truth becomes a revolutionary act." - George Orwell, Nineteen eighty-four (1984)
|
|
|
crnogorac081
AddOn Development
Offline
Posts: 1706
|
 |
« Reply #6 on: June 09, 2010, 12:40:20 PM » |
|
I am wondering why there are 2 same .zip files in first post..
I am looking forward to test this..
cheers
|
|
|
|
|
Logged
|
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
|
|
|
BlackBird
AddOn Development
Offline
Posts: 2069
|
 |
« Reply #7 on: June 09, 2010, 02:28:01 PM » |
|
I think the larger one is the corrected one?
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
spawnferkel
Offline
Posts: 96
|
 |
« Reply #8 on: June 09, 2010, 11:04:42 PM » |
|
Hi folks,
thanks for responding.
I thought that the new file will overwrite the old file if both have the same name. Now you can download only the new version.
The present version generates no error while installing or uninstalling the modul.
You can find a frontend.css in the folder as in every other modul i know.
TODOs: - Make an english language file - Mark the fields in the personal data section if they are required or not - Seperate the layout from the code
@Stefek: Thanks for the interesting ideas. I will concentrate primarily in the TODOs above although the double-opt mechanism is a beautiful way preventing some wrong email inputs.
bye for now
alexander
|
|
|
|
|
Logged
|
|
|
|
seagull
Offline
Posts: 81
|
 |
« Reply #9 on: June 12, 2010, 02:42:49 PM » |
|
I like to test and use this module but i get the following error at the frontend and the page is not showing: Notice: Undefined variable: registration4events in /var/www/vhosts/***.nl/httpdocs/modules/registration4events/view.php on line 54
Fatal error: Call to a member function getEvents() on a non-object in /var/www/vhosts/***.nl/httpdocs/modules/registration4events/view.php on line 54
php 5.3 mysql 5 wb 2.8.1 Backend works perfect with no errors. Jan
|
|
|
|
|
Logged
|
|
|
|
spawnferkel
Offline
Posts: 96
|
 |
« Reply #10 on: June 13, 2010, 11:55:49 AM » |
|
Hi Jan, thanks for testing. I will have a look to that problem but it is really an evil one. What kind of error do you get if you press the magnifying glass in the overview of the events in the backend?
bye
alex
|
|
|
|
|
Logged
|
|
|
|
seagull
Offline
Posts: 81
|
 |
« Reply #11 on: June 13, 2010, 12:27:25 PM » |
|
Alex, Then i get the same error: Notice: Undefined variable: registration4events in /var/www/vhosts/d***.nl/httpdocs/modules/registration4events/view.php on line 54
Fatal error: Call to a member function getEvents() on a non-object in /var/www/vhosts/d***.nl/httpdocs/modules/registration4events/view.php on line 54
thanks, Jan
|
|
|
|
|
Logged
|
|
|
|
|
|
seagull
Offline
Posts: 81
|
 |
« Reply #13 on: June 13, 2010, 02:13:34 PM » |
|
Alex, one thing i learned that nothing is impossible  Sure, the same error on the front and backend. I figured out that the problem is in my template. I called page_content(1) in my index.php and also with ob_get() in a include.php(a file with additional settings) Somehow registrationmanager does not like that, for the other modules worked properly. I changed my template and now registrationmanager is OK! i'll keep on testing, it looks very good, nice job! thanks, Jan
|
|
|
|
|
Logged
|
|
|
|
spawnferkel
Offline
Posts: 96
|
 |
« Reply #14 on: June 14, 2010, 09:11:41 AM » |
|
nice to hear.
bye
alex
Btw: I also use ob_get() and the other stuff in my template with no errors. I cannot imagine that this causes the problem.
|
|
|
|
|
Logged
|
|
|
|
pcwacht
AddOn Development
Offline
Posts: 2859
|
 |
« Reply #15 on: July 06, 2010, 07:42:22 AM » |
|
to correct : Notice: Undefined variable: registration4events in /var/www/vhosts/***.nl/httpdocs/modules/registration4events/view.php on line 54
Fatal error: Call to a member function getEvents() on a non-object in /var/www/vhosts/***.nl/httpdocs/modules/registration4events/view.php on line 54 I think you need to change lines 33+34: require_once(dirname(__FILE__)."/info.php"); require_once(dirname(__FILE__)."/init.php");
to require_once(WB_PATH."/info.php"); require_once(WB_PATH."/init.php");
Couldn't test it due to not getting same error  The dirname(__FILE__) might be the culprit when used with ob_get Have fun, John
|
|
|
|
|
Logged
|
|
|
|
spawnferkel
Offline
Posts: 96
|
 |
« Reply #16 on: July 06, 2010, 08:25:50 AM » |
|
Hi John,
thanks for your response.
The error also occurs in my installation and I worte already a bugfix for that problem and update the version if my template system is runnig.
bye
alex
|
|
|
|
|
Logged
|
|
|
|
BlackBird
AddOn Development
Offline
Posts: 2069
|
 |
« Reply #17 on: August 31, 2010, 04:24:11 PM » |
|
This module does not work with WB Portable here, because it doesn't regard the mySQL port. Please check registration4events .class.php, function __construct(), new PDO()
In my case, there's a local mySQL database running on port 3306, while the mySQL database that comes with WB Portable uses port 7188.
If someone has the same problem, try to change line 21:
$dbh = new PDO(DB_TYPE.':host='.DB_HOST.';dbname='.DB_NAME.';port=7188', DB_USERNAME, DB_PASSWORD);
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
BlackBird
AddOn Development
Offline
Posts: 2069
|
 |
« Reply #18 on: August 31, 2010, 04:38:13 PM » |
|
Found another one... line 655: $sql = "SELECT mod_registration4events_events_workshops.* FROM ".TABLE_PREFIX."mod_registration4events_anmeldung_workshops LEFT JOIN ".TABLE_PREFIX."mod_registration4events_events_workshops ON ".TABLE_PREFIX."mod_registration4events_events_workshops.id = workshop WHERE anmeldung = ".$value['id']; Should be: $sql = "SELECT ".TABLE_PREFIX."mod_registration4events_events_workshops.* FROM ".TABLE_PREFIX."mod_registration4events_anmeldung_workshops LEFT JOIN ".TABLE_PREFIX."mod_registration4events_events_workshops ON ".TABLE_PREFIX."mod_registration4events_events_workshops.id = workshop WHERE anmeldung = ".$value['id']; Same in line 627.
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
BlackBird
AddOn Development
Offline
Posts: 2069
|
 |
« Reply #19 on: August 31, 2010, 04:49:38 PM » |
|
And another one... There's a closing </div> with no opening <div> in view.php. I'm still searching for it, but "count" says 39 opening, 40 closing. Kills my layout. 
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
web-based-media
Offline
Posts: 100
|
 |
« Reply #20 on: December 22, 2010, 07:19:33 AM » |
|
Hi, I just tried to install this module, as it could be exactly what I am looking for, but nothing happened. No error message, no success message. And it is not listed under modules. But if I look on the server, I see the files in the modules directory on the server. Any ideas? I am using WB 2.8.1
|
|
|
|
|
Logged
|
|
|
|
BlackBird
AddOn Development
Offline
Posts: 2069
|
 |
« Reply #21 on: December 22, 2010, 12:16:22 PM » |
|
Have you tried to upload via FTP and call the install.php from the backend?
Edit: This can be a timeout problem that may occur on big modules or modules with many actions in the install.php.
|
|
|
|
|
Logged
|
Alle großen Veränderungen beginnen im Kleinen
|
|
|
iradj
Offline
Posts: 261
|
 |
« Reply #22 on: December 22, 2010, 03:58:41 PM » |
|
Hi
I have not managed to install. I normally try to module installation and FTP transfer, and call the index.php in the backend. Both times I get a white screen.
Iradj
|
|
|
|
|
Logged
|
|
|
|
web-based-media
Offline
Posts: 100
|
 |
« Reply #23 on: December 22, 2010, 04:01:08 PM » |
|
Well I had the same problem, but finally I managed to get it working. I uses the admin interface and called the install.php and uninstall.php several times. And then it worked.
|
|
|
|
|
Logged
|
|
|
|
iradj
Offline
Posts: 261
|
 |
« Reply #24 on: December 22, 2010, 05:40:22 PM » |
|
The module is installed after your description yet. But now when I create a page with this module, I get the message: Block: Hauptblock Modul: registration4events ID: 101 Error!: could not find driver
|
|
|
|
|
Logged
|
|
|
|
|