Get Yearly public dates and filter them correctly even recurring yearly
Get Monthly public dates and filter them correctly even recurring Monthly
Get Birthdates and filter them correctly
Lastly I can now get dates from the post table and calendar according to usergroup.
Added a check so that if you have no events, it will spit out so.
Working Under: UBB.Threads 6.4 and 6.4.1
Mod Status: Beta
Any pre-requisites: IIP because you will not authenicated without it unless you add a function for that.
Author(s): scroungr
Date: 01/13/04
Credits: David Lozier for original IIP, Joshpet for updating IIP
Files Altered: eventspal.php
New Files: eventspal.php
Database Altered: No
Info/Instructions: Just change extension from .txt to .php upload this into the pals directory and overwrite existing eventspal.php and set the variables
// Setable variables
// should admins/mods see all dates // 0 - yes // 1 - no $adminmodshow = '1';
// should all events for a given date show under one date // 0 - yes // 1 - no $showdatesunderone = '0';
// show Group Dates on events pal // 0 - Show Seperately Below the Events under a Group Heading // 1 - Show Mixed in with the Events // 2 or other means won't show at all $groupshow = '0'; // show all Group Dates or just the users in events pal // 0 - Show all dates for okay board's for all // 1 - Show all dates for okay board's just for user $showallgroupdates = '1';
// show Birth Dates on events pal // 0 - Show Seperately Below the Events under a Birthday Heading // 1 - Show Mixed in with the Events // 2 or other means won't show at all $birthdayshow = '2';
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.