-
Author
-
October 31, 2013 at 17:10 #5486apine0322Participant
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.
October 31, 2013 at 22:25 #5507SQadminKeymasterDepends 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 solutionNovember 1, 2013 at 04:03 #5521apine0322ParticipantWell, 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?
November 1, 2013 at 05:04 #5522apine0322ParticipantI 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?
November 1, 2013 at 11:31 #5537SQadminKeymasterThat 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 whereHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 1, 2013 at 14:28 #5634apine0322ParticipantIn 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…..
November 1, 2013 at 23:22 #5673SQadminKeymasterThe 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 -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.