PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

redirect not to register but subsciption page

s2Member Plugin. A Membership plugin for WordPress®.

redirect not to register but subsciption page

Postby gvdsleen » January 25th, 2011, 4:22 am

if somebody tries to access a page/link on the site they do not have access to, they are redirected to the registration page (buddypress). Would like them to land on the memebrship options page as specified in S2Member?

How can I do that?
User avatar
gvdsleen
Registered User
Registered User
 
Posts: 22
Joined: December 20, 2010

Re: redirect not to register but subsciption page

Postby gvdsleen » January 25th, 2011, 4:35 am

Just to elaborate on this question: what I mean is that users receiving a notification from the community (buddypress) and are not logged in, they are redirected to the registration page.
User avatar
gvdsleen
Registered User
Registered User
 
Posts: 22
Joined: December 20, 2010

Re: redirect not to register but subsciption page

Postby gvdsleen » January 25th, 2011, 4:36 am

Actually, redirection to the membership option page stopped working altogether? Have not made any changes to the site, but redirection to the membership options page is no longer working????
User avatar
gvdsleen
Registered User
Registered User
 
Posts: 22
Joined: December 20, 2010

Re: redirect not to register but subsciption page

Postby gvdsleen » January 25th, 2011, 4:58 am

Only change made was starting to use replacement code in Login welcome page:

http://www.mysite.com/registration/welcome-back-%%current_user_level%%

Changing the designated page in membership options page does not work. What happens is that restricted pages are showing page not found, buddypress pages (restricte URI) redirect to registration page.

Suggestions?
User avatar
gvdsleen
Registered User
Registered User
 
Posts: 22
Joined: December 20, 2010

Re: redirect not to register but subsciption page

Postby gvdsleen » January 25th, 2011, 5:02 am

If I use /forums' this will redirect to the login page?!

Notice the ' at the end of the url. Suggestions?
User avatar
gvdsleen
Registered User
Registered User
 
Posts: 22
Joined: December 20, 2010

Re: redirect not to register but subsciption page

Postby gvdsleen » January 25th, 2011, 10:42 am

oK, SOLVED. Don't know how I feel. Am using 2 additional plugins:

User Access Manager - makes posts only visible to correct user groups - redirects invisible pages to page not found. not an S2member issue. Although I personally would like to have the option to hide pages from view on top of restricting access.

Buddypress Registration Options: makes it possible to hold registrations until approves. Redirects Buddpress pages to registration page (and not membership options page).
User avatar
gvdsleen
Registered User
Registered User
 
Posts: 22
Joined: December 20, 2010

Re: redirect not to register but subsciption page

Postby Cristián Lávaque » January 28th, 2011, 12:11 pm

Thanks for sharing how you solved it. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron