Skip to content

Incompatibility with NSM Twitter #8

@aboutwout

Description

@aboutwout

Hi,

When you install this module it has some incompatibilities with NSM Twitter, such as a duplicate OAuth class and some weird things when saving the module settings.

The duplicate OAuth is easy to get around by checking if the class is already declared before including it:

if ( ! class_exists('OAuthConsumer'))
{
  require_once PATH_THIRD . 'tgl_twitter/classes/twitteroauth.php';
}

When saving the module settings it is also trying to insert some settings from nsm_twitter. So a check on which settings are relevant to TGL_Twitter might not be a bad idea.

It also looks like NSM twitter is using a different version of the OAuth library.

– Wouter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions