March 26th, 2011
Posted by pftq

Updates to SMF Event Registration Mod 0.174

     I finally managed to put aside some time to add comment boxes to the SMF Event Registration Mod.  Appologies upfront for those who were requesting the feature almost a month ago.

     What the new change does for SMF Forums is basically allow those who sign up to also add a comment next to their name.  This is useful if you want to collect additional information on your event, such as dietary restrictions or preferences.  Like other changes, this is optional and can be enabled/disabled per event.

     You can download the updated file here:
     SMF Event Registration 0.17-Modified

     Just a quick disclaimer, but this is not my mod per se but a series of improvements on the original mod at SMF.  I'm hoping to get these changes incorporated into the official version eventually, as they've been very useful in the past couple years I've used this mod, but we'll see how that goes.

The total changes made to the original are now:
- Allow multiple registrations from the same member, to allow them to sign additional people up.  Optional per event.
- Allow registrations from guests.  Optional per event.
- Allow comments to accompany signups (for additional information such as event needs, etc).
- Admin Register button added, allows you to register or delete other members from the event.
- Admin buttons always visible now, even if Admin isn't registered for the event.
- Allow members with moderating permissions to administrate event sign ups.
- Event administrator can also confirm or cancel any signups on the topic view.
- $timeleft fixed, was originally not ever getting the option to confirm. (Display Source and Template)
- Show number of days remaining before you can confirm. (Display Template and Language files)
- Setting days before confirmation to 0 disables confirmation for the event (hides confirm buttons).
- Setting max attendants to 0 will disable registration for that event (not every event needs signups).
- Post Event page (the one with just event title, no post) does not show event data; sometimes too much clutter when you might not want to link the event to a topic. (Calendar template)
- Event registration options on post event page combined on same lines to save space. (Post template)
- Terms and Conditions don't show if they are blank. (registerEvent.php)
276 unique view(s)
January 27th, 2011
Posted by pftq

Virtual Stock Trading System

Hey all, I managed to write up a short but awesome plugin that transforms my Mini Database Builder platform into a fully functional stock simulation system. Grin  It basically allows you to buy, sell, or short stocks just as you would with a real broker, and your performance as well as "cash balance" is automatically kept track of.

The program runs as a customization of Mini DB, but neither are not publicly available yet (I've only set this up with a few websites I help with).  However, those of you have an account on my main site pftq.com can hop right over to the one I have set up here and try it for yourself. Grin


This is perfect for those of you who have yet to attempt stock trading because of not wanting to risk real money or just simply being too lazy to set up an account with a broker.  I'll be copying my own picks over to this virtual portfolio as well, so you can follow the performance of my trades. Tongue

Hope to see you guys trading soon - especially those of you who claim to be "Econ" majors but have no investing experience whatsoever. Tongue

Enjoy!
258 unique view(s)
January 13th, 2011
Posted by pftq

CKEditor Installer for SMF Forums 1.1.x

For a couple of smaller forums, I was asked to set up a rich-text or WYSIWYG editor for the SMF board.  The 1.1.x series does not use HTML yet and relies solely on BBC.

I wrote up a small mod that integrates the free CKEditor (ckeditor.com) with SMF but please note that it does not handle the security (CKEditor escapes most its characters though).  Ideally SMF would have its own rich-text editor and that is what SMF2 intends to do.

Download here: SMF WYSIWYG CKEditor Installer

This mod differs from the approach usually posted elsewhere in that it does not use HTML tags, which are only restricted to admins.  It also fixes the formatting a bit (sometimes you end up with double-spaced posts) and preserves the original post format for the quick-reply box.
1477 unique view(s)
January 10th, 2011
Posted by pftq

Web Hooks Support in SMF Mailing List Mod

     Originally, the SMF Mailing List Mod only supported local email piping.  After about a week's work, I've finally managed to get support for webhooks, or emails forwarded by HTTP-POST. Grin

     Currently, the main testing has gone to support for POST data from mailhooks.com, but it should work for any webhooks data (assuming there is some degree of conformity).  If not, just let me know what provider you're using and I can tweak the mod to support it.


     Sadly enough, most of the work wasn't in the actual coding of the Web Hooks support but in finding a site that worked.  Cheesy   I'm a bit new to sending emails by POST data though, so maybe it's just me. Tongue
177 unique view(s)
January 6th, 2011
Posted by pftq

Guests Signups in SMF Event Registration Mod

Just spent the whole day adding a few new features to the existing SMF Event Registration Mod.  It's not my mod per se, but I've added quite a few changes to it over the course of the past year.  This last one is probably the most substantial.

The basic premise now is that when signing up, you can fill out the name field, implying that you can sign yourself up as well as people who are not members.  This also leads to the possibility of guests signing up for the event (people who are not members at all or are just too lazy to log in).

Based on my own experience running a number of other websites, these two features are going to be most useful in terms of getting more participation and matching the functionality of other sign-up forms on the web.

Feel free to download the SMF Mod here:
SMF Event Registration 0.17-Modified

Total changes made are:
- Allow multiple registrations from the same member, to allow them to sign additional people up.  Optional per event.
- Allow registrations from guests.  Optional per event.
- Admin Register button added, allows you to register or delete other members from the event.
- Admin buttons always visible now, even if Admin isn't registered for the event.
- Allow members with moderating permissions to administrate event sign ups.
- Event administrator can also confirm or cancel any signups on the topic view.
- $timeleft fixed, was originally not ever getting the option to confirm. (Display Source and Template)
- Show number of days remaining before you can confirm. (Display Template and Language files)
- Setting days before confirmation to 0 disables confirmation for the event (hides confirm buttons).
- Post Event page (the one with just event title, no post) does not show event data; sometimes too much clutter when you might not want to link the event to a topic. (Calendar template)
- Event registration options on post event page combined on same lines to save space. (Post template)
- Terms and Conditions don't show if they are blank. (registerEvent.php)
406 unique view(s)