Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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)