• Resolved rapideyemovement

    (@rapideyemovement)


    I want to replace abandoned for a long time “External Database Authentication Reloaded” with “External Login”. The only thing that seems to be missing is role selection based on integer value of some record field. In the current plugin it’s possible to set up like that: user is an Administrator if some field equals to 1, otherwise it is a normal user.
    As far as I can see it can’t be setup like that in “External login”, right? If it’s absolutely necessarry it’s possible to change the original DB layout, but I would like to avoid that.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey @rapideyemovement,

    If I understand you correctly this functionality is supported.
    It’s in the role settings section.

    Image below:
    https://ibb.co/PgwwQ08

    If this solves your problem and this works for you I’d be really grateful if you could take the time to write a review.

    Thanks,

    Tom

    Thread Starter rapideyemovement

    (@rapideyemovement)

    No, as far as I understand it, this is something different. Correct me if I’m wrong.

    For example: let’s assume there is a integer field called “status”. Let’s say: 0 means disabled, 1 means active, 2 means suspended. How do I set up Extrenal Login to pass only the users with status==1? Yes, this is a bit different than the situation I described in the first post, but I’ve just realized that the situation is slightly different to what I thought.

    Plugin Author tbenyon

    (@tbenyon)

    Hey @rapideyemovement,

    Apologies for not understanding first time.

    I presume my new feature may solve your problem. It allows you exclude certain users based on a field in the database.

    Settings example here:
    https://ibb.co/jVNDWKf

    I class it as a Beta feature as it’s new but mostly because of how the settings page works for it. It was quite a large re-write.

    If you try it and it does work I’d appreciate the feedback so I can use that as evidence to strip out the “Beta” label.

    If you have any more questions don’t hesitate to get back in contact.

    Thanks,

    Tom

    Thread Starter rapideyemovement

    (@rapideyemovement)

    That example looks exactly like what I needed. Thanks!
    I’ll try to test it as soon as possible and let you know how it worked for me.

    Plugin Author tbenyon

    (@tbenyon)

    @rapideyemovement Looking forward to hearing from you πŸ™‚

    Thread Starter rapideyemovement

    (@rapideyemovement)

    Am I missing something? Where am I supposed to find the plugin with the recent changes you’ve mentioned? https://plugins.trac.ww.wp.xz.cn/browser/external-login/ doesen’t seem to be that place.

    Plugin Author tbenyon

    (@tbenyon)

    Hey,

    Apologies for the delayed reply.

    You can download the plugin from the main page.

    https://ww.wp.xz.cn/plugins/external-login/

    The feature we discussed has been available since version 1.5.0.

    Hope this helps.

    Tom

    Thread Starter rapideyemovement

    (@rapideyemovement)

    Well, it took me quite long to finally go back to it. But after some scratching head I managed to set it up properly and the way I wanted – at least it seems so at the moment πŸ™‚
    I also didn’t realise at first that the feature we’ve been talking about is already present for some time.
    Anyway, thanks for the plugin!

    Plugin Author tbenyon

    (@tbenyon)

    Hey @rapideyemovement,

    Really glad it’s all working 😊.

    I’d really appreciate it if you could take the time to write a one line review:
    https://ww.wp.xz.cn/support/plugin/external-login/reviews/#new-post

    Thanks,

    Ton

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Role based on integer value’ is closed to new replies.