This topic has 10 replies, 3 voices, and was last updated 9 years by mcoombes.

  • Author
  • #72873
     mcoombes
    Participant

    Hi Guys,

    almost there with my site: http://www.hellosexyworld.com

    Just a few minor questions in regard to login.

    The two menu bars “login” and “register” …. now with “register” no problem I have redirected that to a membership
    page …. so that is ok 🙂

    With the login popout box … there is a link “create an account” … if you click that you go to Kleo register page (which is a bit strange as I do not even have that page).

    Anyway my question is how do I change that so I can direct it to the membership page?

    Also I noticed the same thing happens on the widget on the sidebar on other pages.

    Any help on this would be great …. thank you 🙂

    #72933
     jerome
    Participant

    I have the same problem

    #73240
     mcoombes
    Participant

    ok … I have been reading through the support forums this weekend and I am a little bit wiser.

    If I understand I have two “register pages” – one created via Buddypress and one via Paid Pro Membership.

    Now following the links via the menu you will follow the path that I have created with Paid Pro.

    Follow the path on the popout box “create an account” you go via the Buddypress route.

    So I need to do one of the following (bearing in mind I have’nt a clue how to do either)

    Redirect the “create account” link to go directly to my Paid Pro register page (this would be great)

    or

    Add the paid membership details onto the buddypress created register page (which looks impossible).

    I was happy the other day when I discovered I had my first memebers …… but this quickly vanished once I realised they had all joined and not paid 🙁

    Please help me sort out this problem

    Thank you

    #73270
     sharmstr
    Moderator

    Copy /kleo/page-parts/general-popups.php to your child theme and edit the create account link. Change it to this

    COPY CODE
    
    <em><?php _e( "or", 'kleo_framework' );?></em>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.yoursite.com/membership-account/membership-levels/" class="new-account"><?php _e( "Create an account", "kleo_framework" ); ?></a>
    

    Keep in mind that you need to check for any changes to that page after every Kleo update to ensure you are running the latest code.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73290
     mcoombes
    Participant

    Hi, thank you for replying on a Sunday.

    Although I do not understand your advice (I have zero knowledge of WordPress).

    How do I find the Kleo / page-parts / general popups /

    I have looked at the Theme via my Dashboard but that does not show anything.

    If you can point me in the direction I am happy to try to do this.

    Thank you for patience 🙂

    #73291
     sharmstr
    Moderator

    Its in the file system. You should hire someone who knows wordpress to assist you or learn how to override themes and plugins using a child theme: https://codex.wordpress.org/Child_Themes

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73356
     mcoombes
    Participant

    Good morning,

    I have found the File System (learning each day).

    But before I continue I just want to confirm a few things:

    You say that I should copy and paste the section – I presume you mean the whole script – then make the change as
    you have already told me (I fully understand that part) and paste it into the Kleo Child Theme (I am not sure how to do this yet).

    If that is correct than great . but why can I not edit it directly in the main theme.

    Would that do any harm?

    #73389
     sharmstr
    Moderator

    I didnt say you should copy and paste the section. I said you should copy the page. You can edit the main theme directly, but you’ll have to re-edit it after every upgrade unless you copy the file to the child theme. Read the link I gave you. It explains that.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73527
     mcoombes
    Participant

    Hi, thank you for sticking with me on this!

    I have made the change and it works fine 🙂

    Sadly we are not finished yet …… If we look at a page like:
    http://www.hellosexyworld.com/sea-side-postcards-naughty-but-nice/

    On the right hand side bar you will see the “Login”

    The “Register” link works fine .. that links to the correct page.

    But if you click the login box you go to “wp-login.php” on this if you click “Register” it goes to the
    Kleo register page and not to my membership page.

    As I write this I feel that I should just copy what I have already done before with the above.

    Is that correct … Or should I do something else ?

    Thanks for your continue help.

    #73550
     sharmstr
    Moderator

    Try this in your child theme’s function.php file

    COPY CODE
    
    add_filter( 'register_url', 'custom_register_url' );
    function custom_register_url( $register_url )
    {
        $register_url = "http://www.yoursite.com/membership-account/membership-levels/";
        return $register_url;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #73587
     mcoombes
    Participant

    All done and works great 🙂

    Thank you

Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?