Title: caiolexis's Replies | WordPress.org

---

# caiolexis

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

 *   [Profile](https://wordpress.org/support/users/caiolexis/)
 *   [Topics Started](https://wordpress.org/support/users/caiolexis/topics/)
 *   [Replies Created](https://wordpress.org/support/users/caiolexis/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/caiolexis/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/caiolexis/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/caiolexis/engagements/)
 *   [Favorites](https://wordpress.org/support/users/caiolexis/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: [[Plugin: Members Only] Theme My Login](https://wordpress.org/support/topic/plugin-members-only-theme-my-login/)
 *  [caiolexis](https://wordpress.org/support/users/caiolexis/)
 * (@caiolexis)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-members-only-theme-my-login/#post-1147462)
 * Hi there,
 * I’ve modified the Members Only plugin to allow various Theme My Login paramters:
   
   on line 217 of members-only.php change the following from
 *     ```
       elseif ($currenturl == $redirection || //...at the redirection page without a trailing slash
       				$currenturl == $redirection.'/' //...at the redirection page with a trailing slash
       				)
       ```
   
 * to
 *     ```
       elseif ($currenturl == $redirection || //...at the redirection page without a trailing slash
       				$currenturl == $redirection.'/' || //...at the redirection page with a trailing slash
       				fnmatch("$redirection"."?*", $currenturl) // at the redirection page with extra parameters
       				)
       ```
   
 * that does the trick, now I just need to figure out how to make it work with URL
   redirections, perhaps some code modification as well
 * hope this helps,
    Cheers, — Alexis

Viewing 1 replies (of 1 total)