Title: rahultanwar's Replies | WordPress.org

---

# rahultanwar

  [  ](https://wordpress.org/support/users/rahultanwar/)

 *   [Profile](https://wordpress.org/support/users/rahultanwar/)
 *   [Topics Started](https://wordpress.org/support/users/rahultanwar/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rahultanwar/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rahultanwar/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rahultanwar/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rahultanwar/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rahultanwar/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login With Ajax - Fast Logins, 2FA, Redirects] Calling modal dialog from any page](https://wordpress.org/support/topic/calling-modal-dialog-from-any-page/)
 *  Thread Starter [rahultanwar](https://wordpress.org/support/users/rahultanwar/)
 * (@rahultanwar)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/calling-modal-dialog-from-any-page/#post-6327465)
 * If the user is not logged in then on clicking the menu with restricted content
   should show the modal login box (if possible with message like “you should be
   logged in as contributor to view this page. Please login below.”.
 * But if the logged in user is of not of desired role then the message would be“
   You are not authorized to view the contents. Pl contact website administrator”
   
   As only given that user certain role will allow him to view the page.
 * Thanks.

Viewing 1 replies (of 1 total)