• I am using Photonic Gallery to display Google Photos on our website. It does an excellent job.
    I have an issue where Photonic conflicts with another plugin, Timely calendar when subscribing to a calendar feed. How can I resolve conflicts between 2 plugins?
    If I deactivate Photonic, the Timely calendar feed will import events fine.
    At present to import calendar feed, I have to deactivate Photonic, import the calendar feed, then activate Photonic plugin again.
    The only feature of Photonic I am using is displaying Google photos. I am not using all the fancy stuff at this point.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    If I deactivate Photonic, the Timely calendar feed will import events fine.

    Where are you trying this import? On the back-end? If so, please see if the TinyMCE item documented here impacts you.

    Thread Starter pready

    (@pready)

    Hi, it looked like those fixes would help as the calendar feed uses the event ailec
    This is the feed URL
    https://bai.nz/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events

    I first disabled just the visual editing for event ailec and that did not help, so I disabled shortcode editing in visual editor. unfortunately that did not fix it either. How can i diagnose this more?

    Plugin Author Sayontan Sinha

    (@sayontan)

    I tried installing this plugin, but unfortunately I have no idea as to how it is supposed to work. How do I import a feed? Do I need to create a separate account for it? Which screen are you on when you try to import? What are the steps you follow?

    I simply looked at the dashboard page that says Events → Import Feeds, and I am seeing no occurrence of Photonic scripts in the source code for that page; the only reference to Photonic is the menu item, which shouldn’t cause any interference. That would imply that there is no JavaScript interference.

    Some more details would greatly help me understand and troubleshoot this.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Hi,
    Following up on this. Can you provide me with the steps to recreate the problem at my end?

    Thread Starter pready

    (@pready)

    Hi, sorry about the delay.
    With All-in-One Event Calendar by Time.ly plugin installed, you can see the short codes used, Events > Settings > Advanced. they are all to do with ailec.
    To see error/fail, Events > Import Feeds
    The feed can come from any other Timely Calendar. I use the one from our Association bai.nz https://bai.nz/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events
    Click refresh and it works away and returns “Imported 0 events”

    See screen shot here https://docs.google.com/document/d/1Guxl2EXWcL0Ku83zXlE-KMSSDZYiw6mwdtqKPdO-Ung/edit?usp=sharing
    If I deactivate Photonic, then refresh the calendar feed, it imports the available events (22)

    Plugin Author Sayontan Sinha

    (@sayontan)

    This seems to be working fine for me with Photonic activated:

    As I mentioned in a previous post, there is no occurrence of Photonic on the admin page, so this is not a JavaScript conflict (so disabling the visual editor would have no impact).

    Considering the above I dug into the code of the calendar plugin, and I spotted this code in the SG_iCal_Parser.php file:

    if( strstr( $resource, 'https' ) !== FALSE ) {
        curl_setopt($c, CURLOPT_SSLVERSION, 3);
        curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 2);
    }

    It is likely that the “SSL verify peer” code is causing a conflict, but I cannot say for sure. You might want to try selecting the option Photonic → Settings → Advanced → Turn off SSL verification in calls and see if that makes a difference. Note that security practices recommend that SSL peer verification be left on for public facing websites.

    If it doesn’t work by setting the Photonic option, your workaround might be the only viable option. Sorry I couldn’t be more help, but since I cannot replicate the problem at my end this makes it considerably harder to troubleshoot.

    Thread Starter pready

    (@pready)

    Hi
    I just tried turning off SSL verification to no avail.
    Seeing you could not replicate the issue, I guess one of my other plugins and/or configurations must have a bearing on it.
    I will recreate the site with just base theme and plugins and do testing.
    Thanks so much for all your help
    Regards
    Phil

    Hi both.
    I have been having the exact same issue for quite some time (6+ months), which means that I cannot use Photonic (which I would so much like to ?? as I need Timely to automatically import from Google calendars to website Timely calendar once every hour. Just to let you both know that Phil is not the only one having the issue.

    Susie

    Thread Starter pready

    (@pready)

    Yeah I really like both plugins. At the moment I am disabling Photonic to get calendar feed.
    I am still trying to build a new basic site and see if I can repeat the problem. I hope to get a results this week.

    Me too, and good luck. I would be very interested in hearing what you come up with, if you would like to share.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘plugin conflict’ is closed to new replies.