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™

Exactly how do I "configure a Special Redirection URL" here?

s2Member Plugin. A Membership plugin for WordPress®.

Exactly how do I "configure a Special Redirection URL" here?

Postby shawnblog » August 7th, 2011, 12:54 am

I've read a few threads about this and I'm more confused now. I don't see the option in my pulldown menu from the dashboard as one of the instructions seems to indicate will exist...

Is this something I just need to write into the plugin somewhere? If so, where? And what?

So confused.
User avatar
shawnblog
Registered User
Registered User
 
Posts: 14
Joined: July 24, 2011

Re: Exactly how do I "configure a Special Redirection URL" h

Postby Bruce C » August 7th, 2011, 12:16 pm

Not sure what you're talking about, what do you mean by "Special Redirection URL"?

Can you clarify what you are trying to redirect?

As in, are you making different pages for different members, or a redirect after a person comes back from PayPal, etc.?
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Exactly how do I "configure a Special Redirection URL" h

Postby shawnblog » August 7th, 2011, 12:50 pm

Sorry... I was so deep in my confusion, I didn't give any details. This is when the user logs in.

From the Login Welcome Page section of S2Member Pro, I see dashboard instructions and a menu for picking a page to redirect users to after login. In that instruction set, I am shown a list of Replacement Codes for creating a "special redirection URL", presumably from that menu (?), but I am given no option there to enter anything - only to choose an existing page from my pages. This is a screen shot http://d.pr/1vl4

I read one thread here that indicated there would be an option in that pull down menu to choose special redirection URL (from which I guess one would enter the Replacement Codes/details of the URL

Is that something that must be coded directly in the plugin? If so, where?
User avatar
shawnblog
Registered User
Registered User
 
Posts: 14
Joined: July 24, 2011

Re: Exactly how do I "configure a Special Redirection URL" h

Postby Bruce C » August 7th, 2011, 1:04 pm

Oh, okay. I think I understand better now.

I believe there are two ways to do this.

1 would be to set up one page for all user levels, as shown under s2Member -> API/Scripting -> Custom Capabilities(Packages)

Which would look something like this:

Code: Select all
<?php if (current_user_can("access_s2member_level1")){ ?>
   
    Some premium content for all Level 1 Members.

    <?php } ?>

<?php } else { ?>
    Some public content.
<?php } ?>


Or, you could use the replacement code %%current_user_level%%, like this:

custom login.png


Then, you would have to set up a page for each one of the levels.

Does that help?
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Exactly how do I "configure a Special Redirection URL" h

Postby shawnblog » August 7th, 2011, 1:40 pm

ok, feeling pretty stupid now... I see clearly there is a form field below that instruction where I can enter my replacement string URL (somehow I didn't see that at 3am)
User avatar
shawnblog
Registered User
Registered User
 
Posts: 14
Joined: July 24, 2011

Re: Exactly how do I "configure a Special Redirection URL" h

Postby Bruce C » August 7th, 2011, 1:42 pm

:lol:

Happy you figured it out! :D
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 2 guests

cron