DPCalendar

  • Edit Event

    Not sure what I m doing wrong; however, once an event is made for calendar, I can not edit the event. Is there a setting I am missing? I have the permissions correct.

     

    Thanks

  • Error in View Event page

    I went in and added an event and when I tried to  save it I received these errors:

    Notice: Trying to get property of non-object in /home/gnbcoast/public_html/dev2013/jupgrade/administrator/components/com_comprofiler/plugin.foundation.php on line 2926

    "Fatal error: Call to a member function getCfg() on a non-object in /home/gnbcoast/public_html/dev2013/jupgrade/administrator/components/com_comprofiler/plugin.foundation.php on line 2932"

  • Error when I try to create an event

    Hello!

    I installed DPCalendar. I'm beginning to use it and I discovered an error when I try to create an event. The following text appears:

    Table 'joomla3_peryl.peryl_jevents_icsfile' doesn't exist SQL=select * from peryl_jevents_icsfile

    Maybe an error when I installed the plugin and some tables were not created in the database? I enabled all the components and I don't know where the error can come from.

    Thank you very much

  • Facebook Fan Page Integration -- Incorrect Time/Date

     Here is a problem I'm having with the new fanpage integration on my site.  On the right is the facebook live feed, showing a new event at 6:30 on the 6th.  On the left is the event as imported by dpcalendar.  Not only is the timezone off, but the event spans two days in dp, when it only lasts one hour on facebook...

    Here's the event in question:  https://www.facebook.com/events/623053954400597/

  • Facebook plugin

    Does the DPCalendar Facebook plugin not work as expected? Please read this post, how the Cambridge Analytica leak influences the eco system and the DPCalendar - Facebook plugin.

    The Facebook plugin reads events from your Facebook page and transfers them to your DPCalendar Joomla Calendar. More information about external plugins can be found here.

    What we need to fetch your Facebook Page events is the Page ID, an App which has read access to the events and the App secret for authentication. The easiest way is to import your Facebook Pages to make them accessible in DPCalendar. To be able to import the calendars you need to get first an app id and app secret string from the Facebook developer console.

    App Id and App secret

    1. Log in on the Facebook Developer Page you have to click on "Add a New App" to get the App information needed by the DPCalendar plugin.
    2. Define a display name and an E-Mail address and click on "Create App ID".
    3. Do the captcha authentication.
    4. Click on "Facebook Login" as product.
    5. Define the web site url and click on "Save".
    6. In the menu bar on the left side of the page, click on Products -> Facebook Login -> Settings.
    7. Set your web site url (eg. http://example.com) as Valid OAuth redirect URIs. This is required, otherwise the import will not work.
    8. At the bottom of the page, click on "Save Changes".
    9. In the menu bar on the left side of the page, click on "Dashboard". That's the page where you can get then the App ID and App Secret.
    backend plugin facebook app

    Import the Facebook pages

    Click on the import button in the plugin edit form and enter the app id and app secret from your dashboard before you import the pages. If you want to add a page you don't own, then you can fill the Page ID parameter too, but this parameter is optional.

    facebook import events

    Autopublish Event updates

    When you edit an event of the selected DPCalendar calendar, the update should be published to the timeline of the page. You can define which actions should be published and if child calendars should be included in the publish actions.

    If you want to modify the content of the published messages you have to make language overrides of the following constants:

    • PLG_DPCALENDAR_FACEBOOK_STATUS_EVENT_CREATED
    • PLG_DPCALENDAR_FACEBOOK_STATUS_EVENT_UPDATED
    • PLG_DPCALENDAR_FACEBOOK_STATUS_EVENT_DELETED

    How to make a language override can be found in the official Joomla documentation.

    plugin twitter actions

    Private events

    For your private events you have to use the Ical plugin. There you have to add a new calendar with the url to your Facebook events.

    To get the url log in to Facebook and visit the Events section. In the upper you'll see the word "Today" with a small icon that looks like a preferences or configuration icon. Click it to expose a menu. You want the first item, "Export".

    backend plugin facebook export

    Right click on the upcoming events link and copy the url to the DPCalendar facebook plugin.

    backend plugin facebook export url

    Calendar Options

    These settings are the same for every calendar configured in the plugin.

    Page ID [Type: Text]
    The page ID the events should be received from.
    App ID [Type: Text]
    The app ID from the Facebook app console to authenticate. Please check the documentation for more information.
    App Secret [Type: Text]
    The app secret from the Facebook app console to authenticate. Please check the documentation for more information.
    Access Token [Type: Text]
    The access token will be generated during import of the pages.
    Calendars [Type: Dpcalendar]
    Select the calendars to publish updates to your page stream on Facebook.
    Include Child Calendars [Type: Radio] [Default: No]
    Should changes in child calendars be published too?
    The following options are available:
    1. Yes
    2. No
    Publish Create Event [Type: Radio] [Default: Yes]
    Should a new status being posted when a new event is created.
    The following options are available:
    1. Yes
    2. No
    Publish Update Event [Type: Radio] [Default: Yes]
    Should a new status being posted when an event is updated.
    The following options are available:
    1. Yes
    2. No
    Publish Delete Event [Type: Radio] [Default: No]
    Should a new status being posted when an event is deleted.
    The following options are available:
    1. Yes
    2. No

    Plugin Options

    Caching [Type: List] [Default: Joomla]
    Select whether to cache the calendar data.
    The following options are available:
    1. Joomla
    2. Database
    3. Never
    Cache Time [Type: Text] [Default: 900]
    The time for the cache in sec.
    Sync Start [Type: Text] [Default: -3 year]
    The relative start date to sync from.
    Sync End [Type: Text] [Default: +3 year]
    The relative end date to sync from.
    Sync Steps [Type: Text] [Default: 1 year]
    The sync steps.
  • Filter by Location

    Hello,

    is it posible to filter the Calendar on a location?

  • Google calendar plugin

    Introduction

    The Google calendar plugin integrates events from Google calendars into DPCalendar through a plugin. It is a two way sync plugin, means that you can manage (create/edit/delete) the Google events from within your Joomla site.

    The ONLY way to add make you Google calendars accessible in DPCalendar is to import them, because the Google API requires a refresh token. To be able to import the calendars you need to get first a client id and client secret string from the Google developer console.

    Client ID and Client Secret

    To be able to import your Google calendars you need a client ID and client secret from the Google developer console. This credentials are used to make authenticated requests against the google API endpoint. It is OAuth authentication and allows you to revoke the credentials at any time without exposing your private username and password.

    1. Select in the top bar a project, when you open the console the first time, Google creates an initial "API Project" for you automatically. Then click on the "Enable API's And Services" link. Google create API project
    2. You will get redirected to the API search page. Search for calendar and click on the Google Calendar API result. Now a page comes up where you can activate by clicking on the "Enable" link. Google enable API
    3. If you click again on APIs, then you should see in the Enabled APIs tab the Calendar API. In the left toolbar click now on Credentials. Google API list
    4. If you haven't set the consent screen on the API project, then Google tells you to do that. After you have selected the E-Mail address you have to define a Product name and the click on Save. It is recommended that the Product name is the same name as your Project name. Google will forward you back to the screen where you have to create the new Client ID. Google API consent screen
    5. Click on the credentials tab. Click now on the Create credentials button and then on the OAuth client ID list item. Now you are going to create the actual credentials which will be used then later for the import. Google API credentials
    6. You have to select Web application and put into the authorized Javascript origins your web site url. You have to make sure to set http or https correctly, if your web site doesn't have a valid certificate for https traffic use http. In the Authorized Redirect Uri field you have to put an url with the following parameters: https://www.example.com/administrator/index.php?option=com_dpcalendar&task=plugin.action&plugin=google&action=import. Replace example.com with your web site url. This url is important, if it is wrong you can't import your calendars, you will get a redirect_uri_mismatch error! Google API client settings

    Import the Google Calendars

    1. Click on the import button in the plugin edit form.
    2. Copy paste the Client ID and Client Secret from the google developer console to the form. Make sure you are logged in with the Google account you want to import the calendars, otherwise you will get an error like "Could not json decode the token"!
    3. Click the "Import" button.
    4. Accept the permission questions from Google.
    5. The Google calendars should be imported into the DPCalendar Google plugin.
    Google API client settings

    Attachments

    The Google calendar API does support attachments. But only if they are stored on Google Drive. The attachments are rendered in a separate layout in the folder /plugins/dpcalendar/tmpl/attachments.php. If you want to change that, then you need to copy it to /templates/{your template}/html/plg_dpcalendar_google/attachments.php and change it to your needs.

    Troubleshooting

    • 400 Error: redirect_uri_mismatch
      This happens when the Authorized JavaScript origins or Authorized redirect URIs values are incorrect and do not match your web site. Keep in mind also the protocol (http/s) and the port do need to be correct.
    • Times are not correct
      When the times of the Google events are incorrectly displayed, then the cause is mostly that the Joomla timezone is not the same as on your Google calendar. Double check that both timezones are the same.
    • Error too many characters in description
      When editing an event, Google does only allow up to 8912 characters as description.
    • Import with an IP
      When you want to import your Google calendars on a server with an IP address, this happens mostly when you are testing it on a dev server, then things get a bit complicated. This due the fact that Google accepts only uris as restriction parameters. What DPCalendar does when you are working on a IP address it uses localhost. So you have to use localhost in your restrictions uris instead of your IP. After the authentication in the import process you get then redirected back to localhost. In your browser replace then localhost with the IP address of your server in the url bar and the calendars should then import form Google.
    • 403 Error with forbidden screen on import
      A firewall rule is interfering here. If you have a security extension installed like Admin Tools check their settings. If your hoster has a web firewall active, contact them and check if they can add a rule to allow these requests. In mod security, there is a rule with the number 336141 which should be disabled.

    Calendar Options

    These settings are the same for every calendar configured in the plugin.

    Calendar ID [Type: Text]
    Usually an email address like demo@gmail.com.
    Refresh token [Type: Text]
    The refresh token is used to authenticate against Google.
    Client ID [Type: Text]
    The client ID from the Google developer console to authenticate. Please check the documentation for more information.
    Client secret [Type: Text]
    The client secret Google developer console to authenticate. Please check the documentation for more information.
    Format Description [Type: Radio] [Default: Yes]
    Should the description of the events being formated or should it be left as it is (should be disabled when you have plain HTML descriptions).
    The following options are available:
    1. Yes
    2. No

    Plugin Options

    Caching [Type: List] [Default: Joomla]
    Select whether to cache the calendar data.
    The following options are available:
    1. Joomla
    2. Database
    3. Never
    Cache Time [Type: Text] [Default: 900]
    The time for the cache in sec.
    Sync Start [Type: Text] [Default: -3 year]
    The relative start date to sync from.
    Sync End [Type: Text] [Default: +3 year]
    The relative end date to sync from.
    Sync Steps [Type: Text] [Default: 1 year]
    The sync steps.
  • Google Map Zoom Level

    hi,

    I have increased the zoom size on the options and in the menu item to no avail. Can you please advise how i can have a google map with a zoomed map?

    tnx

  • Hiding elements on ADD EVENT

    hi,

    In the add/submit event section, how would it be possible to for example, remove the UPLOAD IMAGE button on the description textbox? Reason being that a registered user will have the facility to upload a photo, and upon upload he will have FULL access to my joomla images folder (which is not good). Thus, I need to eliminate this.

    Also, how can I hide the PUBLISHING OPTIONS, META DATA and LANGUAGE tabs on the frontend whilst one submits an event?

     

    tnx

  • Ical plugin

    Introduction

    The Ical plugin reads files or URLs from remote sources.  It can be file with a .ics extension or it can be a link to a calendar or website that automatically produces the proper formatted output. The DPCalendar iCal plugin reads these files and integrates the events to your Joomla web site.

    If the file is on your server it must have proper permissions to access it. Make sure that the file is accessible to DPCalendar through your Joomla hosting server. If the file is not physically on your server you can define an url like http://joomla.digital-peak.com/demo/dpc/en/component/dpcalendar/?task=ical.download&id=8. To get remote files the server must be able to open connections to the remote server. Ask your hosting company first if outbound connections are included in your hosting plan.

    Calendar Options

    These settings are the same for every calendar configured in the plugin.

    Uri [Type: Text]
    An uri to a file for example http://www.example.com/calendar.ics or plugins/dpcalendar/dpcalendar_ical/examples/calendar.ics. If the uri is a file and starts with a '/' DPCalendar will interprete it as an absolute path otherwise relative to the joomla installation folder.

    Plugin Options

    Caching [Type: List] [Default: Joomla]
    Select whether to cache the calendar data.
    The following options are available:
    1. Joomla
    2. Database
    3. Never
    Cache Time [Type: Text] [Default: 900]
    The time for the cache in sec.
    Sync Start [Type: Text] [Default: -3 year]
    The relative start date to sync from.
    Sync End [Type: Text] [Default: +3 year]
    The relative end date to sync from.
    Sync Steps [Type: Text] [Default: 1 year]
    The sync steps.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.