• Resolved AME Network

    (@ame-network)


    You’re info says we can make the modal window launch from any link, etc., but your demo vid shows it from some code snip tied to a page or post id. Please clarify this… is there a way to place a simple link WITHIN a page or post that launches the modal? The example you provide is poor at best if one doesn’t want the link isolated to a sidebar widget listing posts and pages.

    https://wordpress.org/plugins/zm-ajax-login-register/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter AME Network

    (@ame-network)

    Simple question… got an answer? Thanks.

    AME –

    I just installed this for the first time about 10 minutes ago. Here is what I did:

    <div class="theLoginLink">
      <a id="myLoginLink"><strong>Login</strong></a>
    </div>

    So then, in Admin panel: Settings->Ajax Login & Register
    under the Advanced Usage section in the Login Handle field, I entered “#myLoginLink” (no quotes). Since I happen to have a div surrounding my login link, I could have also used “.theLoginLink” in the Login Handle field instead.

    That’s it. Really couldn’t be simpler.

    Hope that helps!
    Jeff

    Thread Starter AME Network

    (@ame-network)

    @jsafire – You are correct Jeff… thank you! Can’t believe the plugin author didn’t make it this simple to understand. His video only confuses the issue. Now, the only detail we’d like to address is getting the correct pointer when hovering over the links. Appreciate your help… lately WP plugin authors seem to have been abducted by aliens or something.

    Thanks again friend.

    Haha. Glad to help.

    If your link is inside a div, you can do this:

    <div class=”myClass”>
    Here is some text and here is a Link for more info.

    </div>

    In your style.css file (Have you created a child theme with your own style.css file?)…
    do this:

    .myLinkClass {
    cursor: pointer;
    }

    Don’t ask why they call the hand cursor for links a “pointer”. Quite confusing.

    Have fun!
    jeff

    Thread Starter AME Network

    (@ame-network)

    @jsafire – Thanks Jeff. We have not created a child theme. But great to know when we do figure out how to do it correctly. Our experience with BBpress trying to do that was a complete farce. Meanwhile, many login plugins say they have the ability to prevent users of certain levels from accessing the admin. This one does not seem to, but we’d like to implement that feature. Any suggestions? Thanks a mil!

    Hi –

    Have you tried setting your user roles? I’m not sure that’s what you’re refering to. If you set a user role to anything but “Admin”, that user will see less than you do in the left-hand Admin panel. There are also plugins that will completely hide the admin panel but, you must first set the roles for all users except you.

    If this is not what you mean, give it another try?

    jeff

    By the way, I have a question for you about this plugin…
    Does your Login link change to say Logout once you are in fact logged in? Mine isn’t changing and I can’t believe it’s not supposed to do that.

    Thx,
    Jeff

    Thread Starter AME Network

    (@ame-network)

    @jsafire – 1. We’ve set the user roles, but what we want is *zero* access for logged in *participants* and *subscribers* to the admin. The ability to register and login on the front end is for users of our forum only.
    2. Yes, our link does change to logout when logged in.

    Thread Starter AME Network

    (@ame-network)

    @jsafire – This plugin looks like the solution to our user access question: http://wordpress.org/plugins/advanced-access-manager/
    We’ll be testing it over the next few days.

    As for the login/out link, it works on our site but any styling breaks until hovered over. Kinda quirky.

    Plugin Author Zane Matthew

    (@zanematthew)

    Hi AME,

    Regarding login access are you saying you would the ability to choose the access level users are registered with? Currently users are registered with subscriber access.

    I’ve looked at the access manager plugin mentioned above, it is by far more robust than what I would build into the current plugin.

    Thread Starter AME Network

    (@ame-network)

    Actually Zane, no. What I said above was “…what we want is *zero* access for logged in *participants* and *subscribers* to the admin. The ability to register and login on the front end is for users of our forum only.

    Anyway, we had closed this ticket due to very slow response from you, and in the meantime, JSafire helped us with the modal (see his posts above). Also, the plugin we cited has taken care of the admin access issue.

    We suggest using JSafire’s example above somewhere in your documentation, it was truly helpful, where the video was not really.

    Thanks.

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

The topic ‘Modal Wackness’ is closed to new replies.