Home › Forums › Plugin Support › plugin conflict with s2member on redirect
Tagged: plugin conflict, redirect
- This topic has 6 replies, 3 voices, and was last updated 12 years, 11 months ago by 
cramirez77.
 
- 
		AuthorPosts
 - 
		
			
				
May 19, 2012 at 12:02 am #1386May 19, 2012 at 12:11 am #1387
elurie
MemberWhoops, forgot to mention, this is a development site, nothing on it except testing.
May 19, 2012 at 12:28 am #1388Khaled
MemberHello,
Please follow those steps:
1. Open /user-meta/controllers/pro/umPreloadsProController.php by any ftp editor.
2. Find the following line:(line 20)
add_filter( ‘login_redirect’, array( $this, ‘loginRedirect’ ), 10, 3 );
Replace 10 with 80, so that this action hook can be loaded after s2member’s hook
Save Changes.
3. If you still facing problem, go to User Meta >> Settings (Login Tab), check the checkbox saying “Disable AJAX submit”. Save changes.
Thanks.
May 20, 2012 at 4:39 am #1392elurie
MemberThank you for your reply.
I don’t have the pro folder, in Open /user-meta/controllers/pro/umPreloadsProController.php. I have instead:
/user-meta/controllers/umPreloadsProController.php and there is no line add_filter( ‘login_redirect’, array( $this, ‘loginRedirect’ ), 10, 3 );
Am I missing something?Also, Upload Avatar on Profile page fails with 7kb .jpg. and 9k.jpg.
Also, thank you, i found the search forum link, sorry.
many thanks,
eveMay 21, 2012 at 12:06 am #1393elurie
Memberhello,
sorry, i found the pro folder and made all of your suggested changes including “Disable AJAX submit”. Save changes. and also User Meta>>Forms Editor>>Login form, checked “Do not use AJAX submit. This is better, as now, page stays at login successful page instead of page with posts below login. However redirect only works properly for admin (goes to dashboard) when s2member plug in is activated. testuser contributor has the default WordPress contributor role, and boardmember has the s2member level 1 role. The redirect goes correctly to Profile page when s2member is deactivated. I can send you passwords if you want to see.May 21, 2012 at 3:49 pm #1394Khaled
MemberHello, you can send password to support@user-meta.com
Thanks.
December 10, 2012 at 9:07 am #2622cramirez77
MemberHello, I am too having a problem with user meta and s2member / with theme optimizepress. I purchased the Pro. When a user logs in, the redirection isn’t working to go to a new page. It creates the login information just below as if it was in a DIV. Any help please thanks.
 - 
		AuthorPosts
 
- You must be logged in to reply to this topic.
 
