Forum Replies Created
-
AuthorPosts
-
October 6, 2011 at 3:14 am in reply to: User levels and redirects after login suddenly not working #37325akeith2002Member
All sent.
October 5, 2011 at 2:59 am in reply to: User levels and redirects after login suddenly not working #37323akeith2002MemberWho do I email the username/password to?
October 5, 2011 at 12:48 am in reply to: User levels and redirects after login suddenly not working #37321akeith2002MemberIt’s happening in safari, FF and chrome so it’s not a isolated incident in one cookie on one browser. (I only tested in those 3)
October 5, 2011 at 12:38 am in reply to: User levels and redirects after login suddenly not working #37320akeith2002MemberIn order to get it to clear the current $auth data I need to delete both the e_m_bazooka and the PHPSESSID cookies. Clearing just one of them does not change a thing.
October 5, 2011 at 12:27 am in reply to: User levels and redirects after login suddenly not working #37319akeith2002Membernot sure if you saw this but I added it on to my last comment after you responded:
No matter how many times I log out as soon as I remove the logout string and hit refresh the member data pops right back up again… and if i sign in with someone else it will not change the data… it just keeps the same person logged in.
October 5, 2011 at 12:26 am in reply to: User levels and redirects after login suddenly not working #37318akeith2002Memberyes I have over and over again in attempts to figure out the issue. when i remove the cookies it works that first time but after that it goes back to the same issue.
October 5, 2011 at 12:11 am in reply to: User levels and redirects after login suddenly not working #37316akeith2002MemberI just updated the plugin to the newest and the same thing is happening in safari and FF. seems the cookies are just not reseting. So odd.
No matter how many times I log out as soon as I remove the logout string and hit refresh the member data pops right back up again… and if i sign in with someone else it will not change the data… it just keeps the same person logged in.
October 4, 2011 at 11:48 pm in reply to: User levels and redirects after login suddenly not working #37315akeith2002MemberSeems if I do a WordPress logout it does not log out of both WordPress and eMember.. it used to work though… so I then log out of eMember manually thru the url but as soon as I refresh the page its back to the same member data again!!!
October 4, 2011 at 11:46 pm in reply to: User levels and redirects after login suddenly not working #37314akeith2002MemberBTW… I am not using a caching plugin.
October 4, 2011 at 11:31 pm in reply to: User levels and redirects after login suddenly not working #37313akeith2002Memberok something weird is definitely going on here…
I placed <?php global $auth; print_r($auth); ?> above my login and it is saying a certain user is logged in even after i manually logout it continues to say this person is logged in which explains why no matter what user I sign in with it keeps going to level 2 because this user that it is stuck on is.
Any thoughts? This is crazy.
akeith2002MemberSorry I figured it out.
unserialize();
akeith2002MemberI got this going:
<?php
global $auth;
$user_id = $auth->getUserInfo('member_id');
if (!empty($user_id))
{
global $wpdb;
$members_meta_table_name = $wpdb->prefix . "wp_members_meta_tbl";
$resultset = $wpdb->get_results("SELECT meta_value FROM $members_meta_table_name WHERE user_id = $user_id", OBJECT);
print_r($resultset);
}
?>
but it is returning the data in the way wordpress stores it:
a:3:{s:6:"Gender";s:4:"Male";s:26:"Date_of_Birth__MM/DD/YYYY_";s:2:"es";s:5:"Sport";s:6:"Hockey";}
How do I further decipher that?
September 4, 2011 at 7:16 pm in reply to: Execute custom function after registration of a specific level – API or Hooks? #33720akeith2002MemberTHANK YOU so much
akeith2002MemberHow would you get the current logged in user’s membership info INCLUDING all custom registration fields ?!?
September 2, 2011 at 10:37 pm in reply to: Execute custom function after registration of a specific level – API or Hooks? #33718akeith2002MemberHow can I get custom registration fields to show up in the $member_data array?
-
AuthorPosts