Title: Modal Wackness
Last modified: August 21, 2016

---

# Modal Wackness

 *  Resolved [AME Network](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/)
 * 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/](https://wordpress.org/plugins/zm-ajax-login-register/)

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

 *  Thread Starter [AME Network](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732063)
 * Simple question… got an answer? Thanks.
 *  [jsafire](https://wordpress.org/support/users/jsafire/)
 * (@jsafire)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732137)
 * 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](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732141)
 * [@jsafire](https://wordpress.org/support/users/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.
 *  [jsafire](https://wordpress.org/support/users/jsafire/)
 * (@jsafire)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732143)
 * 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.](http://xyz.com)…
   </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](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732144)
 * [@jsafire](https://wordpress.org/support/users/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!
 *  [jsafire](https://wordpress.org/support/users/jsafire/)
 * (@jsafire)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732145)
 * 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
 *  [jsafire](https://wordpress.org/support/users/jsafire/)
 * (@jsafire)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732146)
 * 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](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732147)
 * [@jsafire](https://wordpress.org/support/users/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](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732149)
 * [@jsafire](https://wordpress.org/support/users/jsafire/) – This plugin looks 
   like the solution to our user access question: [http://wordpress.org/plugins/advanced-access-manager/](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](https://wordpress.org/support/users/zanematthew/)
 * (@zanematthew)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732160)
 * 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](https://wordpress.org/support/users/ame-network/)
 * (@ame-network)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732169)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/zm-ajax-login-register_479bd1.svg)
 * [ZM Ajax Login & Register](https://wordpress.org/plugins/zm-ajax-login-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zm-ajax-login-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zm-ajax-login-register/)
 * [Active Topics](https://wordpress.org/support/plugin/zm-ajax-login-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zm-ajax-login-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zm-ajax-login-register/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [AME Network](https://wordpress.org/support/users/ame-network/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/modal-wackness/#post-4732169)
 * Status: resolved