This topic has 6 replies, 2 voices, and was last updated 11 years by SQadmin.

  • Author
  • #5486
     apine0322
    Participant

    Hi,

    How can I make the paid memberships pro page load in a new tab and not on the same window? If a free member clicks on a section that requires membership, how can i make the page come up in a new tab?

    Thank you.

    #5507
     SQadmin
    Keymaster

    Depends on your links. you need to add the attribute: target=”_blank”

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

    Well, what I actually need is within the activity stream. I have it set up so when a free member clicks on a picture, it re-directs them to the upgrade membership page. However, there seems to be some issue with rtmedia, as the image first tries to load first, then it directs me to the upgrade page, but my top menu creates a second copy of itself and something goes wrong.

    I want to be able to direct free members to a new tab to upgrade their account, as that seems to work fine without any problem. Paid members will simply see the lightbox come up.

    How can I achieve that? Where is the file that I could add the target=”_blank” to?

    #5522
     apine0322
    Participant

    I basically want to open the redirects from the functions-pmpro in a new window/tab. The current code I see is:

    $default_redirect = apply_filters(‘kleo_pmpro_url_redirect’, pmpro_url(“levels”));

    How can I open that in a new window?

    #5537
     SQadmin
    Keymaster

    That filter handles the link to redirect, in case you want to change it from the default membership page.
    You said you did some changes.. in those changes you need to add that attribute…. I don’t know how you did the changes or where

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

    In your theme, there is a section under membership that says “restrict users from adding media with rtmedia, bpmedia”. When I activate this for free members, a free member can see the pic on the activity stream, but when he clicks on it it redirects him to the membership levels page. All I want is to open that redirect in a new window…..

    #5673
     SQadmin
    Keymaster

    The redirection is made in php logic after you already clicked the link so you can’t do the redirection before the users clicks

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?