Forum Replies Created

Viewing 15 replies - 16 through 30 (of 95 total)
  • Thread Starter benjaminniess

    (@benjaminniess)

    Hi Paul,

    My mistake, the problem was due to a third party plugin (Members) which allows to give several roles to users. Deactivating this plugin solved my problem.

    Thank you for your time and for this helpful plugin.

    Best,
    Ben

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Paul,

    Thanks your time, I’ll have a look next week and I’ll let you know if I have more info.

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Paul,

    I’m using WordPress multisite, it might be the reason why you can’t reproduce I don’t know.

    To reproduce it :
    – Enable Authorizer in the network and set it up globally as well with a default role as subscriber
    – On a specific site, sign-in with a user
    – It’ll create a user with the subscriber role
    – With a super admin, edit the user on the specific site and promote it to editor
    – Sign-in again with authorizer with the previous user
    – It’ll be unpromoted as subscriber

    Does it make sense?

    Thanks

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Paul,

    I’m talking about changing a user role in the user edit screen in admin (the native way).

    Thanks

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Micheal,

    Thanks for the tip I’ll go for it for now. Let me know if you have some news.

    Thanks again!

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Michael,

    Yes it’s linked to the mailchimp section.

    Here is the beginning of the errors. they only appears on the CPT UI settings page :

    Refused to load the script 'https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com https://apis.google.com https://maps.googleapis.com https://www.googletagmanager.com https://www.google-analytics.com https://cdnjs.cloudflare.com https://cdn.polyfill.io https://s7.addthis.com".
    
    hoverIntent.js?ver=1.8.1:33 Uncaught TypeError: Cannot read property 'fn' of undefined
        at hoverIntent.js?ver=1.8.1:33
        at hoverIntent.js?ver=1.8.1:115
    (anonymous) @ hoverIntent.js?ver=1.8.1:33
    (anonymous) @ hoverIntent.js?ver=1.8.1:115
    common.js:4 Uncaught TypeError: $ is not a function
        at common.js:4
        at common.js:1152
    (anonymous) @ common.js:4
    (anonymous) @ common.js:1152
    svg-painter.js:14 Uncaught TypeError: $ is not a function
        at svg-painter.js:14
        at svg-painter.js:240
    (anonymous) @ svg-painter.js:14
    (anonymous) @ svg-painter.js:240
    heartbeat.js:31 Uncaught TypeError: $ is not a function
        at new Heartbeat (heartbeat.js:31)
        at heartbeat.js:755
        at heartbeat.js:757
    Heartbeat @ heartbeat.js:31
    (anonymous) @ heartbeat.js:755
    (anonymous) @ heartbeat.js:757
    wp-auth-check.js:96 Uncaught TypeError: $ is not a function
        at wp-auth-check.js:96
        at wp-auth-check.js:117
    (anonymous) @ wp-auth-check.js:96
    (anonymous) @ wp-auth-check.js:117
    media-models.js:306 Uncaught TypeError: $ is not a function
        at Object.20 (media-models.js:306)
        at __webpack_require__ (media-models.js:20)
        at 20.$ (media-models.js:63)
        at media-models.js:66
    20 @ media-models.js:306
    __webpack_require__ @ media-models.js:20
    20.$ @ media-models.js:63
    (anonymous) @ media-models.js:66
    wp-plupload.js:321 Uncaught TypeError: Cannot read property 'extend' of undefined
        at wp-plupload.js:321
        at wp-plupload.js:425
    (anonymous) @ wp-plupload.js:321
    (anonymous) @ wp-plupload.js:425
    sortable.min.js?ver=1.11.4:11 Uncaught TypeError: Cannot read property 'widget' of undefined
        at sortable.min.js?ver=1.11.4:11
        at sortable.min.js?ver=1.11.4:11
        at sortable.min.js?ver=1.11.4:11
    (anonymous) @ sortable.min.js?ver=1.11.4:11
    (anonymous) @ sortable.min.js?ver=1.11.4:11
    (anonymous) @ sortable.min.js?ver=1.11.4:11
    wp-mediaelement.js:80 Uncaught TypeError: $ is not a function
        at wp-mediaelement.js:80
        at wp-mediaelement.js:82
    (anonymous) @ wp-mediaelement.js:80
    (anonymous) @ wp-mediaelement.js:82
    api-request.js:82 Uncaught TypeError: Cannot read property 'ajax' of undefined
        at api-request.js:82
        at api-request.js:87
    (anonymous) @ api-request.js:82
    (anonymous) @ api-request.js:87
    media-views.js:87 Uncaught TypeError: Cannot read property 'support' of undefined
        at Object.Array.concat.Region (media-views.js:87)
        at __webpack_require__ (media-views.js:20)
        at media-views.js:63
        at media-views.js:66
    Array.concat.Region @ media-views.js:87
    __webpack_require__ @ media-views.js:20
    (anonymous) @ media-views.js:63
    (anonymous) @ media-views.js:66
    media-editor.js:713 Uncaught TypeError: $ is not a function
        at media-editor.js:713
        at media-editor.js:1058
    (anonymous) @ media-editor.js:713
    (anonymous) @ media-editor.js:1058
    media-audiovideo.js:419 Uncaught TypeError: Cannot read property 'extend' of undefined
        at Object.State (media-audiovideo.js:419)
        at __webpack_require__ (media-audiovideo.js:20)
        at Object.Backbone.Model.extend.initialize (media-audiovideo.js:342)
        at __webpack_require__ (media-audiovideo.js:20)
        at media (media-audiovideo.js:63)
        at media-audiovideo.js:66

    and it goes on and on…

    Hi,

    I agree that if we have a field in plugin’s options page to manage the email from attribute, we should have an extra one with email from name.

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Michael,

    Thank you for your fast reply ?? Ok, I get it. I’ll try to use a hook or the addon you mentioned. I’ll tell you if I have feedback.

    Cheers
    Ben

    Thread Starter benjaminniess

    (@benjaminniess)

    Thanks.

    If necessary, here is an example for the first filter:

    $filename = apply_filters('mailjet_confirmation_email_filename', dirname(__FILE__) . '/templates/confirm-subscription-email.php');
    $message = file_get_contents($filename);
    Thread Starter benjaminniess

    (@benjaminniess)

    Hi,

    Thanks for your reply.

    If you take a look at the plugin in version 4.8.25, you define the home url with

    site_url()."/"

    You can find it for example in the mo_login_saml_sso_widget.php file line 127 and at several other steps in the code.

    Starting from 4.8.26, you’ve been using home_url instead of site_url.

    When you use WP as a composer dependency, most of the time, the site_url function returns an extra /wp at the end of the URL whereas the home_url does not. What I would like to have in the plugin is a get_the_acs_url function for example with a filter before returning the value so developers could fix the acs url if it’s needed.

    Thanks again and happy new year to your team!

    Hi,

    I’m facing the same sort of problem but without external plugin.

    > I set Authorizer default role preference to “subscriber”.
    > I create a new user
    > I edit this user in the native WP user edit screen and grant him with the “editor” role
    > I log the user with Authorizer
    > He’s back as subscriber

    What can I do to force the role to stay as is was?

    Thanks

    Thread Starter benjaminniess

    (@benjaminniess)

    Thanks!

    Thread Starter benjaminniess

    (@benjaminniess)

    That would be awesome, thanks for the issue!

    Best,

    Ben

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Beau,

    I have some more information for you ??

    There’s a LinkedIn API debug tool here where you can try their API endpoints.

    https://apigee.com/console/linkedin

    If you try any of them (for me it’s “Get a company profile (simple)”), you’ll need to sign-in with your Linkedin account and you’ll see that a token is added to the query.

    In the Keyring class, even if we create credentials that seem to work, API calls are made without token so we receive an error. I guess that it’s the point.

    Let me know if you get a chance to give it a go.

    Thanks.
    Best,

    Ben

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi Beau,

    Thanks for your reply and sorry for my late one.

    Actually it seems that LinkedIn uses a OAuth 2.0 to generate a token with a step with a code that you have to send back to get the final token.

    https://developer.linkedin.com/docs/oauth2

    In Keyring, I saw that the LinkedIn class extends from Keyring_Service_OAuth1 and when I call the “request” method of the LinkedIn Keyring_Service there is no added token.

    What I’d like to do is fetch a company feed as per this example at the bottom of the page: https://developer.linkedin.com/docs/rest-api# and as the example, what I receive is an 401 as if you try to reach: https://api.linkedin.com/v1/companies/1337/updates?start=20&count=10&format=json

    I don’t know if LinkedIn Auth protocol has change since you wrote the plugin or if you have a special trick to fetch the data but I guess that the LinkedIn service has to extends from Keyring_Service_OAuth2. Do you agree?

    By the way I’ve just written a Vimeo keyring service. Let me know if you want to give it a go and maybe intergrate it to the plugin.

    Thanks again!
    Best,
    Ben

Viewing 15 replies - 16 through 30 (of 95 total)