Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

aldebaran

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 14, 2017 at 5:09 pm in reply to: Login Redirection to Last Page not working #9655
    aldebaran
    Participant

    OK thanks for getting back to me – all clear

    Yes, I’ll leave a message in the other thread, and see what the other person has done about customizing the code code.

    cheers Aldebaran

    January 13, 2017 at 8:10 am in reply to: Login Redirection to Last Page not working #9618
    aldebaran
    Participant

    Hi again

    OK thanks for the reply, I missed that post when searching

    Can I just clarify something – Are you also the developer of the Custom Messages AddOn ? or is it someone else ?

    So basically the other post you referred to, from sezg ALSO says that the Custom Messages is incompatible with your redirect AddOn … And sezg concluded he would just have to modify the core plugin/addOns for now ..

    Any plans to make them compatible ?

    General question, can I get in contact withsezg so I can found out what he did if anything ? is there a private channel ?

    Cheers Aldebaran

    January 12, 2017 at 2:03 pm in reply to: Login Redirection to Last Page not working #9598
    aldebaran
    Participant

    Hi

    Thanks for getting back to me

    1. Yes I have followed the docs
    2. But I now see what the problem is – Its because I am using the Custom Message Add-On . Is this Yours ? ..
    3. The end result is that : I have the ‘please login’ message on he protected page, but the login link is WITHOUT the “swpm_redirect_to” Url param added. And the reason for this is …

    4. When no-one is logged in and clicks on a link for a protected page. We normally get the message
    “You need to login to view this content. Please Login. Not a Member? Join Us “

    5. But I do not want the text/ link “Not a Member? Join Us” and so I have defined in the Custom Message page in field “Restricted Post (Not Logged-in)” a text which replaces the whole of the above with just the first please login part … but as HTML with the login link… I copied this from the page source with “Enable Redirect to Last Page” DISABLED .
    a. NOTE , my Website is in German, set the Backend WP General settings
    b. So I have in this field

    <div class=”swpm-post-not-logged-in-msg”> Sie müssen sich einloggen um den Inhalt lesen zu können. Bitte einloggen</div>

    6. So the problem is : This text included from Custom Messages, overwriting the original which has the Url param “swpm_redirect_to” with the variable value of the page that was clicked ..

    7. WITHOUT the custom message, I get, (in German) (just the visual text)
    “ Sie müssen Sich einloggen um den Inhalt lesen zu können.Bitte Login. Kein Zugang? Noch kein Mitglied? Registriere dich hier!
    AND with this the Redirect to Last Page feature WORKS ..

    8. Take a look at my website http://www.bs-uttigen.ch/.
    a. Click on BSU Intern > Mitglieder or BSU Intern > Vorstand
    b. “Enable Redirect to Last Page” IS enabled
    c. But I have the above custom message, ie without the text “Noch kein Mitglied? Registriere dich hier! ” (I have added “From AddOn Custom Messages – ” so that you see)
    d. NOTE : I DO want this Redirect to Last Page feature, because for example a logged in member with Level ‘Vorstand’ has access to both pages Mitarbeiter and Vorstand, and so when he clicks on page Mitarbeiter then after login he should go direct to page Mitarbeiter, and when he clicks on page Vorstand then after login he should go direct to page Vorstand

    Conclusion

    So is there something I can do differently so that “Enable Redirect to Last Page” works AND I can have the login message without the “Join Us” text/link ?

    The problem at the moment is that I cannot have the fixed text from custom message AND include the variable part of the last clicked page …

    But the fundamental problem is that text defined in the Custom Messages add-On replaces variable/programmable text (ie php programmed code in your redirect add-on) , as well as just fixed text.

    Regards Aldebaran

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy