Forum Replies Created
-
AuthorPosts
-
Lescrocs
Participanti have try to show specific informations for people in inactive state, when account was created, i arrange it in inactive mode for validation of level, and price
Lescrocs
Participanti come back…
the probleme is…
when a user create an account if he insert * in the username, the account isn’t created, it take my account (id = 1) and remplace my informations and acces.No new account is created with username, email…
i have 484 account with this probleme…
TY for your help
Lescrocs
ParticipantHi,
” A user cannot log into another user’s account. That’s just not possible. ”Ok, but many subscriber say me this probleme and show picture of their account, with bad username…
and again this morning, a member have change my account (administrator) i don’t know how they do it. but the member can do it this have a * in username or displayname. my account change usermeta ” administrator to subscriber” and change name, display name…
We have 76000 members, and many account have * in displayname
Lescrocs
ParticipantHi,
Okay, I’ll try to see all the recommendations.But regarding the bug of members logging in on other members’ profiles, this has been happening for over a year (since the beginning) because of accounts with a * in the username. And there was no cache at that time.
November 19, 2017 at 12:48 pm in reply to: Add class ou var for expired account, or change role #12520Lescrocs
ParticipantHi,
i have found my func with
$member_email = ‘test123@yahoo.com’;
$swpm_user = SwpmMemberUtils::get_user_by_email($member_email);and change test123 by $user->email
and after i use $swpm_user->account_state for filter
Great thank you
Have good dayNovember 18, 2017 at 11:24 am in reply to: Add class ou var for expired account, or change role #12506Lescrocs
ParticipantOr only remove role “adherant” when account is expired?? or add another for expired?
November 18, 2017 at 11:21 am in reply to: Add class ou var for expired account, or change role #12505Lescrocs
Participanthi,
sorry for my language, i don’t speack english…
i make a directory page with users member of one role “adherant”. When new member is added, he become “adherant” user. and he have acces to any page and appear on directory page as member and i need to remove this user from this page if member don’t renew him account and become “expired” account.
my page is in PHP and check all user with “adherant” role. i need to find anything to include only active account in loop.
i try code for compare the email from user table and member_tbl table and check if account_state is “active” but this don’t work for moment…
Have you code for check if account is active (in php) i use “$curuser” and “$user->ID”
TY
-
AuthorPosts