XenForo Modifications

[XF2] - Calendar

Submitted by Phillay, , Thread ID: 101004

Thread Closed
06-09-2018, 09:10 AM
#1
Description:

A fully integrated Calendar system based on thread information.

This add-on will create a fully integrated Calendar system based on thread information. Each calendar entry links back to the thread it was created from.

(Example of Calendar tab - pic 1)


[Image: pic001-jpg.1347]

(Example of Calendar - pic 2)


[Image: pic002-jpg.1715]

(Example of optional Upcoming calendar events in sidebar block - pic 3)

[Image: pic003-jpg.137]


(Example of Calendar add and Calendar remove links in thread view - pic 4)

[Image: pic004-jpg.1683]


(Example of calendar notice in thread view - pic 5)


[Image: pic005-jpg.139]

(Example of calendar notice in thread list - pic 6)


[Image: pic006-jpg.140]

(Example of Calendar add - pic 7)

[Image: pic007-jpg.698]


(Example of Calendar add recurring - pic 8)

[Image: pic008-jpg.1684]


(Example of Calendar remove - pic 9)

[Image: pic009-jpg.1880]


(Example of Options page - pic 10)

[Image: pic010-jpg.1686]


(Example of User group permissions - pic 11)

[Image: pic011-jpg.1687]


Features:
  • Adds Calendar tab to navigation bar (pic 1).

  • Easy to use calendar format (pic 2).

  • Option for calendar widget block (pic 3).

  • Add or remove calendar dates directly from Thread Tools (pic 4).

  • Thread view shows which calendar dates have been added (pic 5).

  • Thread list shows which threads have calendar entries (pic 6).

  • Calendar add allows adding event dates (pic 7).

  • Calendar add recurring allows adding recurring event dates (pic 8).

  • Calendar remove will remove calendar entries for that thread (pic 9).

  • Full customization of holiday options.

  • Thread view permissions honored.

  • All phrases start with calendar_ for your convenience.
Installation:
  1. Download Andy-Calendar-2.7.zip and unzip it.

  2. Copy the src/addons/Andy/Calendar directory to your server.

  3. From the Admin Control Panel Install the add-on.
User Group Permissions:

Calendar View

This determines which user group will see the Calendar.

Calendar Add and Remove Own

This allows adding and removing calendar events for the thread starter. Typically set to Allow for the Registered user group.

Calendar Add and Remove All

This allows adding and removing calendar events for any thread. Typically set to Allow for Administrative and Moderating user groups.

Widget setup:

To add a Calendar events widget in the sidebar do the following:

1) Admin Control Panel -> Appearance -> Widgets
2) Add widget
3) Select Calendar events and Add widget
4) Enter the following:

Widget key = calendar_events
Title = Calendar events
Display in positions = Forum list: Sidebar

5) In the Options page of Calendar:

Show events = checked
Show events maximum = 5 or whatever maximum you would like

Steps to add a new calendar entry:
  1. Create a new thread or navigate to existing thread.

  2. Click Thread Tools.

  3. Click Calendar add.

  4. Select calendar event date and optional end date.

  5. Submit calendar event.
Database modifications:
  • Creates a new table called xf_andy_calendar

  • Adds a column to xf_thread called andy_calendar
Questions and Answers:

Q: Is there an option to sync this calendar to other calendars?
A: No.

Q: How can I edit or add holidays?
A: See this link:https://www.xf2addons.com/threads/how-to...lidays.51/

Download:

Content locked
This content has been locked. Please login or register in order to unlock it.

Users browsing this thread: 1 Guest(s)