latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: masanori teshigawara

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To


Topics I've Started


My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Thursday Jul 26th, 2012 at 3:52 am #20295

Hi, Cristian

Redirection problem was solved in the following code.

<?php $redirect_to = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];	?>

<input type="hidden" name="redirect_to" value="<?php echo $redirect_to; ?>" />

Thank you.

Posted: Thursday Jul 19th, 2012 at 3:22 am #19734

Hi Raam,

I need to redirect to the current page after login from the BuddyPress login Widget.

So I tried to use the Hook.
==> http://www.s2member.com/codex/stable/s2member/login_redirects/package-filters/?tw_p=twt

The source code that describes the above to be redirected to current page
from BuddyPress login Widget.

However, It doesn’t work.
It is redirected to the login page of s2member.

Is there any mistake in “ws_plugin__s2member_login_redirection_url” usage?

Posted: Wednesday Jul 11th, 2012 at 3:57 pm #18950

Hi Raam,
Thank you for your reply.

I will try to inspect a 3rd party plugin such as ‘user role editor’.
http://wordpress.org/extend/plugins/user-role-editor/

Posted: Wednesday Jul 11th, 2012 at 1:56 pm #18944

Hi Raam,

Thank you for your reply.

Redirect can be done without problem, when I use s2Mebmber pro Login Widget which
setting ‘Redirection After Login’ is ‘previous page’.

However, I need to use the BuddyPress login form for the reason of HTML design.

source code is as follows:
——————————————————————————————

<form name="login-form" id="sidebar-login-form" class="standard-form" 
action="<?php echo wp_login_url( get_permalink() ); ?>" method="post">       
                   .
                   .
                   .
                   .

<input type="submit" name="wp-submit" id="sidebar-wp-submit" 
value="<?php _e( 'Log In', 'buddypress' ); ?>" tabindex="100" />

——————————————————————————————

But, there are redirected to the top page.
http://www.MyDomain/?page_id=0

Viewing 4 replies - 1 through 4 (of 4 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.