[ABD] phpBB Calendar 0.1.1 (alightner)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

[ABD] phpBB Calendar 0.1.1 (alightner)

Post by alightner »

The calendar mod is back!!! :D

We are still in Beta, but 0.1.1 includes all of the bugs reported in the first round of beta (0.1.0)
At this point the features are pretty well tested... if there are any bugs they're most likely in the way I packaged the install files instead of the mod's code itself.

VOLUNTEERS WANTED: if you want to help translate this release here are the language files: http://www.phpbbcalendarmod.com/downloa ... 0_lang.zip If you translate the files, please zip them back up and post them so they can be included in the next release - with proper credit of course :D

Also if anyone is interested in translating this to subsilver2 please let me know. I know there were a few solutions posted for 0.0.8, but there are so many new features in the next release, that it will need a lot of updates.

MOD Title: phpBB Calendar
Warning: there's more then one calendar mod - please double check the author of the calendar mod in question before posting in this thread.
MOD Description: A calendar MOD for phpBB to allow users to post events for public or private view within phpBB.
MOD Version: 0.1.1

Change log:
0.1.1
  • Add ACP support for custom colors to highlight event registration status: yes, no, or maybe.
  • Bug Fix: If users aren't logged in and attempt to view a private event, display the login box instead of telling them they aren't authorized to view the event.
  • Bug Fix: Prevent errors when users attempt to register for an event with a negative number of people attending the event. If the user enters a negative number, store it as zero.
  • Bug Fix: Prevent duplicate event registrations, when the user registers for an event take them to a new screen before reloading the event
  • Bug Fix: Initialize $edit_rsvp_url variable.
  • Bug Fix: Fix color issue in UCP "Manage Event Registration".
  • Bug Fix: Add group_id to sql query in get_event_invite_list_and_poster_url() and typo fix: $event_data['group_id'] should be $group_data['group_id']
  • Bug Fix: recurring events didn't support multiple groups on the invite list (missing 'group_id_list' item in the insert command for all 12 recurreng event types).
  • Bug Fix: Some browsers didn't enable/disable the allow guests toggle when the user would check/uncheck the attendance tracking toggle.
  • Move the All Day Event toggle above the Start Time for clarity.
  • Update to 3.0.10: change T_TEMPLATE_PATH to T_SUPER_TEMPLATE_PATH in overall_header.html

0.1.0
  • Add Recurring events
  • Add Event Registration
  • Add Ability to invite multiple groups to an event
  • Add Custom date/time formatting controlled in calendar ACP
  • Add Ability to display events only on their start date
  • Add Ability to display a list of upcoming events for the next X days
  • Add Ability to display a list of upcoming events (that the user has registered for) for the next X days
  • Add Detailed display for calendar on who is online page
  • Add New permission option to invite groups you're not a member of
  • Add Detailed permissions for ability to create private, group, or public events
  • Add Utility in ACP to move all events +/- one hour (helps when changing forum's dst setting).
  • Add Ability to filter the calendar for events of a specific type
  • Add UCP module to "Manage my events"
  • Add UCP module to "Manage event registration"
  • Add Ability to "watch" the calendar for new events
  • Add Ability to "watch" specific events for updates/replies
  • Fix end of year bug (phpversion specific) use Y not o!
  • Moved public events to default position
  • Fix bug with hidden groups
  • Provide contrib file to clean up birthdays without leading whitespace
0.0.8
  • Update server name and version number (adm/mods/phpbb_calendar_version.php)
  • Add option to allow everyday users to see hidden groups on invite list (adm/style/acp_calendar.html, includes/acp/acp_calendar.php, includes/functions_calendar.php, language/en/mods/calendar.php)
  • Remove bogus warning when deleting an event type that was not referenced by any events (adm/style/acp_calendar_event_types.html, includes/acp/acp_calendar.php)
  • Added color swatch to edit event type in ACP (adm/style/acp_calendar_event_types.html, includes/acp/acp_calendar.php)
  • Correct calls to request_var with integer type values (includes/acp/acp_calendar.php, includes/functions_calendar.php, calendarpost.php)
  • Remove alternate cron text - firefox bug unrelated to this mod, but many users complained about it so the fix is here if you want it (includes/functions.php)
  • Display full event subject text on mouseover tooltip (includes/functions_calendar.php, styles/prosilver/template/calendar.html, styles/prosilver/template/calendar_next_events_on_index.html, styles/prosilver/template/calendar_view_day.html, styles/prosilver/template/calendar_week_on_index.html)
  • Relocate the calendar on the index page (styles/prosilver/template/index_body.html)
  • Prevent display of invalid days like February 31st - even if the user selected that option from the pulldown menu on purpose (includes/functions_calendar.php)
  • Fix bug with displaying extra smilies when posting events (includes/functions_calendar.php)
  • Remove ALL_DAY_STARTING - no longer used (language/en/calendar.php, language/en/calendarpost.php)
  • On new event confirmation page, add link to view the newly created event (calendarpost.php)
0.0.7
  • Fix uninitialized variable subject_limit (includes/functions_calendar.php)
  • There were several bugs related to timezone and DST settings of the server hosting the forum. In particular forums hosted in the southern hemisphere were seeing the most problems because their DST schedule is opposite GMT's DST schedule. Hopefully this is the last of the timezone/DST bug fixes ;) (calendarpost.php, includes/functions_calendar.php)
  • Update check mod version file (adm/mods/phpbb_calendar_version.php)
0.0.6
  • Add support for Auto-pruning events (SQL insert new entries in calendar_config table, cron.php, adm/style/acp_calendar.html, includes/functions.php, includes/functions_calendar.php, includes/acp/acp_calendar.php, language/en/mods/calendar.php)
  • Redesigned style to look more pro-silver like and added more comments to changed style files. (includes/functions_calendar.php, styles/prosilver/template/calendar.html, styles/prosilver/template/calendar_view_day.html, styles/prosilver/template/calendar_view_week_on_index.html, styles/prosilver/theme/buttons.css, styles/prosilver/theme/colours.css)
  • Fixed bug where event subjects were displaying censored words in the calendar (includes/functions_calendar.php)
  • Add Mod Version Check support. (adm/mods/phpbb_calendar_version.php)
  • Hide birthdays in calendar, unless user has permission to view profiles (includes/functions_calendar.php)
  • When errors are encountered during event creation, store re-use the input date/time info - don't force the user to start from scratch (calendarpost.php)
0.0.5
  • Fix bugs in xhtml changes from 0.0.4 - things stopped working in firefox (styles/prosilver/template/calendar_post_body.html, styles/prosilver/template/calendar_post_editor.html, calendarpost.php, adm/style/acp_calendar.html, adm/style/acp_calendar_event_types.html)
  • Add a few more xhtml compliant changes (adm/style/acp_calendar_event_types.html)
  • Fix another DST bug in the week and month views. (includes/functions_calendar.php)
  • Fixed incompatability issue with Arcade mod. Renamed generate_smilies function to generate_calendar_smilies (calendarpost.php, includes/functions_calendar.php)
  • Fix style issue with location of submit button during event posting (styles/prosilver/template/calendar_post_body.html, styles/prosilver/template/calendar_post_editor.html)
  • Fix tranlation bug with calendar title on view event page (includes/functions_calendar.php, styles/prosilver/template/calendar_view_event.html)
  • Fix uninitialized variable $event_counter (includes/functions_calendar.php)
  • Allow calendar header date to be localized to different formats. (language/en/calendar.php, includes/functions_calendar.php)
  • Fix partial icon display bug. Add text-align: left; in hand edits for buttons.css (styles/prosilver/theme/buttons.css)
  • Fix encoding of special html characters in event subject (calendarpost.php)
  • Fix session logout (when cookies disabled) when entering calendar (includes/functions.php, styles/prosilver/template/overall_header.html)
  • Add "..." to end of truncated subject strings (includes/functions_calendar.php)

MOD Download: http://phpbbcalendarmod.com/downloads/p ... _0_1_1.zip
Languages:(if you translate the mod please post the URL to your translation so I can add it here)
Demo Board: http://phpbbcalendarmod.com
Demo User: demo
Demo User Password: demouser
demo has permission to view, create, edit, and delete events.

Demo Moderator: demoM
Demo Moderator Password: demomoderator
demoM has permission to do everything demo can do, plus they have the ability to edit and delete events that were created by other users.

Anonymous: (not logged in)
Anonymous can view events, but has no access to create, edit, or delete the events.


Planned Features (all done now):
  • ACP configurable - done
  • Personal events - done
  • Public events - done
  • Birthdays using RC5's Birthday features - done
  • Admin configurable event types - done
  • Event levels -done
  • All day/timed events - done
  • List of upcoming events on index - done
  • Permissions for who can create events etc. - done
  • Auto Pruning of past events - done
  • Recurring events - done
  • Event Registration - done
  • Add UCP module to "Manage my events" - done
  • Add UCP module to "Manage event registration" - done
  • Add Ability to "watch" the calendar for new events - done
  • Add Ability to "watch" specific events for updates/replies - done
  • Ability to invite multiple groups to an event - done
  • Custom date/time formatting controlled in calendar ACP - done
  • Ability to display events only on their start date - done
  • Ability to display a list of upcoming events for the next X days - done
  • Detailed display for calendar on who is online page - done
  • New permission option to invite groups you're not a member of - done
  • Detailed permissions for ability to create private, group, or public events - done
  • New utility in ACP to move all events +/- one hour (helps when changing forum's dst setting) - done
  • Ability to filter the calendar for events of a specific type - done
Screen Shots:
http://phpbbcalendarmod.com/screenshots ... h_view.jpg
http://phpbbcalendarmod.com/screenshots ... k_view.jpg
http://phpbbcalendarmod.com/screenshots ... y_view.jpg
http://phpbbcalendarmod.com/screenshots ... t_view.jpg
http://phpbbcalendarmod.com/screenshots ... t_view.jpg
http://phpbbcalendarmod.com/screenshots ... _index.jpg
http://phpbbcalendarmod.com/screenshots ... _index.jpg
http://phpbbcalendarmod.com/screenshots ... ttings.jpg
http://phpbbcalendarmod.com/screenshots ... _types.jpg
http://phpbbcalendarmod.com/screenshots ... t_type.jpg
http://phpbbcalendarmod.com/screenshots ... t_type.jpg
http://phpbbcalendarmod.com/screenshots ... ssions.jpg
http://phpbbcalendarmod.com/screenshots ... ssions.jpg
http://phpbbcalendarmod.com/screenshots ... ssions.jpg

Completed Tasks in Detail:
  • All Day and Timed Events
  • Event View - filled with all event details (who's invited, who created the event, BBCode, Smilies, start and end times, edit & delete buttons if applicable etc)
  • Month View - can jump to any month via next and prev links, or jump randomly via pulldown menus. Lists birthdays, event types and event names only. Click on the day's number to add a new event on that day
  • Week View - can jump to any week via next and prev links, or jump randomly via pulldown menus. Lists birthdays, event types, names, and times. Click on the day's number to add a new event on that day.
  • Day View - can jump to any day via next and prev links, or jump randomly via pulldown menus. Includes a Graphical display of events on a timeline - lets you quickly see schedule conflicts etc. Lists birthdays, event types, names, and times. Click on the day's number to add a new event on that day.
  • Support for BBCode and Smilies
  • Birthday Support - Using phpBB3 Birthdays (note birthdays are hidden in the calendar as of 0.0.6 unless the user has permission to view profiles)
  • Personal Events
  • Group Events
  • Public Events
  • Make events bold if you are event creator - Let's you quickly see events most important to you.
  • List of Upcoming Events on index - in the ACP you can specify whether or not you want to display the upcoming events on the index (and if so how many events to list). You also have the option to list the current week view on the index.
  • Detailed Permissions- You can control who has permission to view, create, edit, delete, and moderate events.
  • Auto pruning of past events - From the ACP you control how often events are pruned, and how old they have to be before they are added to the delete list.
  • Support for handyman's "mod version check" mod - http://www.phpbb.com/community/viewtopi ... 9&t=691155
  • Recurring events - events will be occurrenceable with 12 different options:
    1. A: Day [X] of [Month Name] every [Y] Year(s)
    2. A: [Xth] [Weekday Name] of [Month Name] every [Y] Year(s)
    3. A: [Xth] [Weekday Name] of full weeks in [Month Name] every [Y] Year(s)
    4. A: [Xth from last] [Weekday Name] of [Month Name] every [Y] Year(s)
    5. A: [Xth from last] [Weekday Name] of full weeks in [Month Name] every [Y] Year(s)
    6. M: Day [X] of month every [Y] Month(s)
    7. M: [Xth] [Weekday Name] of month every [Y] Month(s)
    8. M: [Xth] [Weekday Name] of full weeks in month every [Y] Month(s)
    9. M: [Xth from last] [Weekday Name] of month every [Y] Month(s)
    10. M: [Xth from last] [Weekday Name] of full weeks in month every [Y] Month(s)
    11. W: [Weekday Name] every [Y] Week(s)
    12. D: Every [Y] Day(s)
    The user gets to enter the frequency [Y] value, and the other value's in []'s are interpolated from the user's selected start date.

    There is a new user permission setting to determine which users have permission to create recurring events.

    Recurring events can be deleted individually, or all events of the recurring group can be deleted together. Recurring events can be edited individually (including start/end time settings, but not recurring event settings) or you can edit the whole group of events altogether. If you're editing the whole group of recurring events - you will not be able to edit any of the scheduling data, you'll only have access to the subject, body, invite list, and registration (rsvp) settings.

    When creating a recurring event you can specify the last day of the event group, or you can specify the recurring event as never ending.

    Recurring events are populated by a cron job, and you can edit how often the cron job runs in the ACP. You can also specify in the ACP how many days into the future you want to have populated in the calendar at a time.
  • Event Registration - When creating new events, users have the option to enable attendance tracking which allows users to register for the event. The event creator can also specify whether forum members are allowed to bring guests to this event. When viewing the event, users are prompted to register for the event, and if guests are allowed they can specify how many people they are bringing to the event so the calendar can track the total headcount for the event. Permissions can be used to control who has permission to create events with attendance tracking, and who is able to see what information gathered from users registering for the event. Users are allowed to leave comments with their "yes", "no", or"maybe" reply, and the comments support smilies, bbcode, etc. Here's a screenshot: http://www.phpbbcalendarmod.com/screens ... ration.jpg
  • Optional UCP module "Manage event registration" - displays upcoming events (that the user has registered for) for the next X days.
  • Optional UCP module "Manage my events" - displays upcoming events (that the user has created) for the next X days.
  • Ability to "Watch" the calendar - users can elect to watch the calendar for email notifications when new events are created (that they are invited to). The user is sent one notification when a new event is created, but no new notifications for new events are sent until they re-visit the calendar (much like how notifications are sent for forums you "subscribe" to).
  • Ability to "Watch" a specific event for updates and/or replies - Users can elect to watch a specific event for update notifications whenever the event creator updates the event information or other users update thier reply (registration) for the event. Note if the user doesn't have permission to view detailed event replies - they will not recieve the email notifications when other users reply to an event, but they will still recieve the email notifications when the event poster updates the event information.
  • Ability to invite multiple groups to an event - this should be self explanatory
  • Custom date/time formatting controlled in calendar ACP - this overwrites the user's preferred date/time format, so you can display just the time in hours where it makes sense (like in the week view) or the whole date+time (like in the display event)
  • Ability to display events only on their start date - obviously the day view is a graphical display of all things going on, and events will display in the day view even if not on the start date with this setting turned on. However it's great for things like a week view with an event that starts at 10pm and ends at 2am the next day, because it will only display on the first day.
  • Ability to display a list of upcoming events for the next X days - self explanatory
  • Detailed display for calendar on who is online page - self explanatory
  • New permission option to invite groups you're not a member of - if this is turned on, you'll be able to create events for groups you don't belong to, but the author of the event will always be able to see their own events - even if they don't belong to the invite list.
  • Detailed permissions for ability to create private, group, or public events - now you can give some users the power to create public events, and others only permission to create private events, or whatever combination makes sense for your forum.
  • New utility in ACP to move all events +/- one hour (helps when changing forum's dst setting). When you create an event it's stored in an absolute time, and if the forum (and/or users) change their dst settings they may suddenly see all the events appear off by one hour, now there's a utility to move ALL events in the calendar forward or back by one hour to help correct things when you change your DST.
  • Ability to filter the calendar for events of a specific type - currently there's no UI for this, it's simply a matter of adding &calEType=X in the URL where X is the event type id you wish to see. The user who requested this feature sounded like they would create links to "different" calendars on their forum, where each calendar only displayed events of the specified type.
Author Notes:
As with any mod installation, be sure to save a backup copy of your database and your files. This is a complicated mod! If you miss a step, restoring your backup database and files is a fast way to get your board back up and running. Often by forcing yourself to go through the entire installation again you will find the step you missed and fix the problems yourself.

After editing the SQL database and uploading the files you must:
  1. Open the prosilver.xml and follow those instructions to install the required style changes. If you don't follow these, your calendar will not have a user interface.
  2. Install the calendar modules in the ACP (and enable them), purge your cache in the ACP, set up the calendar permissions (make sure to give yourself permission to administrate the calendar) configure the calendar in the new ACP calendar modules.


Troubleshooting and tips to avoid problems:
  1. If you have problems accessing the ACP modules after installation, be sure you purge your cache in the ACP, and then make sure you have given yourself calendar admin privileges.
  2. The SQL commands provided assume you're using MySQL 41 for your database... if you're using something else like: Firebird, Mssql, MySQL40, Oracle, Postgres, or Sqlite you may have some difficulties (especially when declaring variables that hold foreign characters. See this post for more details:
    http://www.phpbb.com/community/viewtopi ... 5#p3824905
    One kind user posted their changes required for 0.0.8 MSSQL 9 (2005) you will find them in the contrib folder. If you port the SQL commands to any other database type, please post them so we can add them to the contrib folder for the next release.
  3. The sql commands assume you are using phpbb_ as your table prefix. If your table prefix is not phpbb_, you must edit the sql commands to match your table prefix before executing the sql commands. To find your table prefix open your root/config.php file and look for something like: $table_prefix = 'phpbb_';
    For example, phpbb3_ is commonly used as the table prefix on a forum that was converted from phpbb2 to phpbb3. In this case you must find phpbb_ and replace it with phpbb3_ before running the sql commands.
  4. If you have any problems with your permissions please run the following command in phpMyAdmin: select * from phpbb_acl_options where auth_option like '%calendar%'; If you see anything listed twice that's the source of your problem - you must remove all duplicate entries from that table and start over with setting up your permissions in the ACP. These duplicate entries were caused by running the SQL command on the acl_options table more then once. Also if you don't purge your cache after installing the modules, the permissions you attempt to set may not save properly. If you don't have duplicate entries in your acl_options table, purge your cache and try to reset your permissions... hopefully this time it will save the changes you're telling it to save.
  5. If your calendar looks dark blue everywhere - instead of what you see in the demo, you haven't refreshed your style properly. Enter the ACP and go to the "Styles" tab and select "Templates" from the list of style components on the left. Find your style name in the list of installed templates, and click the link to "Refresh" your style's template. Confirm that "Yes" you really eant to clear the cached version of your template. Now select "Themes" from the list of style components on the left. Find your style name in the list of installed themes and click on the link to "Refresh" your style's theme. Confirm that "Yes" you really want to clear the cached version of your theme. Finally select "Imagesets" from the list of style componenets, and refresh your imageset. Now return to the general tab and click the "Run now" button next to where it says "Purge the cache". Now return to your calendar and refresh the page. I've seen internet explorer store stale copies of the calendar in my temporary interenet files before, so if all else fails, close all browser windows except for one, go to Tools->Internet Options, and on the "General" tab choose "Delete Files" to delete all of your cached web pages on your computer. Now return to the ACP (don't view the calendar yet) and refresh all the parts of the style and purge the cache again. Now return to the calendar, and things should look better.
  6. If you don't see some of the icons in your calendar like you see in the demo, first make sure you've tried steps 4 and 5 above. Bad permissions will prevent icons from showing if you don't have permission to use them. Failing to refresh all the parts of your style may also prevent icon display. Here are some tips:
    a) If you're not using english, be sure you uploaded the icons into the appropriate folder for your language. They are language specific, as the numerals displayed on the calendar icons are different in english and Chinese character sets.
    b) If you can see all of the icons except for the star, then you probably don't really have permission to create new events - go back to troubleshooting step 4 and then go into your ACP->Permissions and select "View user-based permissions" at the bottom left. Now select your username from the list of users and click "View permissions". Click on the calendar tab and if you don't see a green background under the yes columns for "Can create [group/private/public] events" that's your problem. To see how your permission was calculated click on the circle with an arrow just to the left of where it says "Can create [group/private/public] events". That will open a popup window which shows you exactly what permission settings you're using from what group - so you can figure out what you need to change.
  7. Be careful when hand editing any of the files. You must use a proper text editor - especially one that supports UTF-8 without bom formatting for the language files. If you have a simple white space before the starting <?php in a file you may see strange errors, so the white space and character encoding you get from your text editing program are very important. I believe notepad is a common cause of problems like these. Textpad is an inexpensive editor that you may find useful: http://www.textpad.com/ I've also heard that there is a free editor called notepad++ (not to be confused with notepad) that will work well if you specify the proper settings when saving the file.
  8. Before installing this mod (at the very least) you MUST read all posts in the thread pertaining to this latest release. For example if the current release is 0.0.5, please search the thread for the first post with 0.0.5 in the subject, and read all of the posts through to the end of the thread. Why? If any bugs were reported in this release, I will post the fix as soon as it's available, so save yourself some trouble and look for bug fixes (if there are any) before you install this mod. Here's the first post for the current 0.1.1 release: http://www.phpbb.com/community/viewtopi ... #p13170159
  9. If you've finished reading all of these troubleshooting pages and are still lost, try searching for the answer on phpbb.com/community. If you return to the calendar topic here: http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a be warned that the search box that says "Search this topic..." does NOT do what it implies. It will return everything outside of this topic making it almost impossible to find what you're looking for.
    Here's a better way to find what your looking for. Go to the "Advanced Search" page here: http://www.phpbb.com/community/search.php Since "calendar" and "alightner" are in the subject of virtually every post in this thread, be sure to enter the following in your "Search for keywords:" calendar alightner whatever_you_are_looking_for. Also make sure to select "Search for all terms or use query as entered". That should help you find what you need.

Special thanks to:
ThunderCrew and Gremlinn for helping test 0.1.0

Other notes:
This mod is NOT recommended for beginners, because it is still in development and may have many updates released.

Before posting any enhancement requests in the mod thread, please read the entire post thread - that means you'll have to read at least 175 pages, but I've had to read them all too (many times) so laziness is no excuse. It's likely someone has requested the same thing before, so please check before making a new request... it's polite and I appreciate it :) Also if you post an enhancement request, and I don't respond - it does NOT mean that I didn't read your post. It means I'm considering it. I won't commit to new functionality if I don't know how long it will take to implement, so if you get a fast response, it's often me saying "No". If you want me to take your request seriously - you should give me time to think it over, repeating your question makes you sound impatient and disrespectful... Simple manners will get you far.
Last edited by alightner on Mon Aug 13, 2012 2:02 pm, edited 40 times in total.
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.
vincentSD
Registered User
Posts: 27
Joined: Wed Jul 11, 2007 9:55 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by vincentSD »

I don't suppose there's a method for replies or to tie it to a forum topic? (i.e., post an event and allow folks to ask questions or organize or whatever) It seems redundant (and error prone) to have to create a topic, create an calendar entry, then paste the URL of the topic into the event entry.
alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by alightner »

vincentSD wrote:I don't suppose there's a method for replies or to tie it to a forum topic? (i.e., post an event and allow folks to ask questions or organize or whatever) It seems redundant (and error prone) to have to create a topic, create an calendar entry, then paste the URL of the topic into the event entry.
I guess it's all in perspective... I used to use a calendar that was tied to a forum thread, and it actually was redundant for my purposes. Since you can add a link to the corresponding thread via bbcode, I don't really see a point to make additional connections... especially if they're mandatory connections.

However if you're considering replies - as in tracking attendence - that's something I would personally find very useful. Like adding a simple response checkbox. I may consider adding that someday... but it's on a far off wish list since my time is limited.
Last edited by alightner on Wed Jan 02, 2008 5:38 am, edited 1 time in total.
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.
alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by alightner »

The new demo is up and running against the phpbb3 gold standard release :D
Happy New Year!
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.
vincentSD
Registered User
Posts: 27
Joined: Wed Jul 11, 2007 9:55 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by vincentSD »

alightner wrote:Since you can add a link to the corresponding thread via bbcode, I don't really see a point to make additional connections... especially if they're mandatory connections.

However if you're considering replies - as in tracking attendence - that's something I would personally find very useful. Like adding a simplye response checkbox. I may consider adding that someday... but it's on a far off wish list since my time is limited.
Guess this mod gets binned then. Call me crazy but if it's part of a forum I'd assumed it'd be, well, part of the forum, not an entirely separate entity. Having to create two separate entries then tie them together manually is more work and book-keeping than it's reasonable for my users to handle, especially when creating multiple entries in the same session, or trying to manage updating them. Really disappointing b/c I liked the display and interface mechanics.
moifest
Registered User
Posts: 251
Joined: Tue Nov 06, 2007 4:58 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by moifest »

Looking forward to a useable code.

Good luck with the progress.
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by Gremlinn »

vincentSD wrote:
alightner wrote:Since you can add a link to the corresponding thread via bbcode, I don't really see a point to make additional connections... especially if they're mandatory connections.

However if you're considering replies - as in tracking attendence - that's something I would personally find very useful. Like adding a simplye response checkbox. I may consider adding that someday... but it's on a far off wish list since my time is limited.
Guess this mod gets binned then. Call me crazy but if it's part of a forum I'd assumed it'd be, well, part of the forum, not an entirely separate entity. Having to create two separate entries then tie them together manually is more work and book-keeping than it's reasonable for my users to handle, especially when creating multiple entries in the same session, or trying to manage updating them. Really disappointing b/c I liked the display and interface mechanics.
Perhaps once the calendar is released, someone could make an add-on that would make the posting of a message also stick it in the calendar and still have the separate function for adding an event without posting a message. I think that could be a good add-on.
alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by alightner »

Gremlinn wrote: Perhaps once the calendar is released, someone could make an add-on that would make the posting of a message also stick it in the calendar and still have the separate function for adding an event without posting a message. I think that could be a good add-on.
Sounds like a good idea - I just didn't want it mandatory... I run a board with MANY MANY daily posts, but very few events. Tying the events to the forum caused an unnecessary performance drag when displaying the calendar.
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.
sotis
Registered User
Posts: 294
Joined: Tue Oct 17, 2006 4:56 pm
Location: Bulgaria
Contact:

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by sotis »

The Calendar does't accept non english letters for "Subject"

Subject: Пробно събитие

Code: Select all

General Error
SQL ERROR [ mysqli ]

Incorrect string value: '\xD0\x9F\xD1\x80\xD0\xBE...' for column 'event_name' at row 1 [1366]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by alightner »

Yes I just found that this morning... if anyone knows what you need to do to protect the sql calls from foreign characters please let me know... also I wonder if it's a server setting since I didn't see any notes about non english characters in sql calls in the phpbb coding guidelines document.

Anyone???
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by Gremlinn »

alightner wrote:
Gremlinn wrote: Perhaps once the calendar is released, someone could make an add-on that would make the posting of a message also stick it in the calendar and still have the separate function for adding an event without posting a message. I think that could be a good add-on.
Sounds like a good idea - I just didn't want it mandatory... I run a board with MANY MANY daily posts, but very few events. Tying the events to the forum caused an unnecessary performance drag when displaying the calendar.
I agree. I didn't think it should be required to be a post to be in the calendar. Especially repeating events.
sotis
Registered User
Posts: 294
Joined: Tue Oct 17, 2006 4:56 pm
Location: Bulgaria
Contact:

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by sotis »

alightner wrote:... also I wonder if it's a server setting
You can give me the files, I can try it on my server ;) :D
alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by alightner »

I think I just figured it out on my own ;)

I must have the datatype for the event subject defined incorrectly in the database, because it lets me add foreign characters to the body of the event just fine shown here: http://calendar.hypermutt.net/calendar. ... &calEid=15

I'll see if I can fix the database to accept the foreign characters in the subject too - there may be a few other places I'll need to add that fix as well. Sorry :oops:
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.
User avatar
RigNalScIn
Registered User
Posts: 98
Joined: Sat Feb 21, 2004 6:52 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by RigNalScIn »

Just my $.02 but I'd be happy if you left out support for extended character sets.

And I could also care less if its a somewhat "separate" entity - to me, using phpBB's authentication is good 'nuff!

Also looking forward to deployable code being available..... :D
vincentSD
Registered User
Posts: 27
Joined: Wed Jul 11, 2007 9:55 pm

Re: [DEV] phpBB Calendar (alightner/spacedog)

Post by vincentSD »

alightner wrote:Sounds like a good idea - I just didn't want it mandatory... I run a board with MANY MANY daily posts, but very few events. Tying the events to the forum caused an unnecessary performance drag when displaying the calendar.
I never had any issues with performance with the calendar mod we use(ed) for 2.x, and it was topic-based (each post had an option to have a date on the calendar). Happy, unconfused users enjoying intuitive operation.

Given this mod's vector, I'd errantly assumed that a mechanic to create a topic from the body would be an option, preferably using the initial post in a topic as the housing of the event body, as this would tie it into the forum without undo overhead, and allow for forum independency (events could hook to threads in any forum) which would be a boon to some larger communities.
Locked

Return to “[3.0.x] Abandoned MODs”