Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Julio Potier

    (@juliobox)

    False
    up: logged out
    down : logged in
    http://dl.dropbox.com/u/45956904/screenshots/baw_150731-002314.jpg

    it works.

    Thread Starter MsRoamingHeart

    (@msroamingheart)

    I tweaked the code in the previous version of the script to hide the register link which still appears when the user is logged in. The link appears as “#bawregister#”. I have updated the plugin hoping you had fixed the issue but I see that my changes were reverted (as expected) but the issue is not fixed. Everything works fine for the log in/log out but when a user is logged in, the link “#bawregister#” still appears. So I’ll be implementing the changes I made last time to work around this.

    Plugin Author Julio Potier

    (@juliobox)

    Something is wrong with another plugin or theme, because as you can see, it works on a fresh install, thanks

    Hi Julio

    I can confirm this issue. I just tested it with a new WordPress Installation. The Registration menu entry does indeed not disappear if logged in. Here is what I figured out:

    If the URL field contains #bawregister#, it works as expected. The Registration menu disappears if logged in. However, if I replace #bawregister# with an URL such http://www.wordpressXY.com/?page_id=85, the registration link won’t disappear.

    Thanks for having a look at this again!

    Plugin Author Julio Potier

    (@juliobox)

    if I replace
    you touched it.

    Thread Starter MsRoamingHeart

    (@msroamingheart)

    Julio,

    Your plugin is flawed. Stop marking this as resolved until you solve the issue. I have not replaced the URL in the menu like I thi k Bern did. Mine still reads #bawregister# as tbe URL in the menu. When a use is logged out the text properly reads “Register” when the user is logged in, the text reads “#bawregister#” but it should be invisible.

    Julio,

    In my testing I have seen that when the URL of the menu item is #bawregister# it works fine. IF, however, you set it to #bawregister#%actualpage%, the phrase “#bawregister# is still visible in the menu after login. The %actualpage% modifier is given in the instructions to set the redirect page to the referring page.

    It seems there’s a bug either when the exact value of the URL field is not #bawregister# or when the %actualpage% modifier is added.

    Is there another way to get this effect, or is my syntax flawed in some way?

    It also seems this user’s issue was pertinent to this discussion: https://wordpress.org/support/topic/register-option-are-bespoke-urls-to-custom-page-possible

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Showing Register Link to Logged In Users’ is closed to new replies.