Mykyta Synelnikov
c8bd79fceb
Add scheduled user account status check and improve approval
...
Introduce a new `Users` class to handle scheduled tasks for user status checks and batch processing. Refactor user approval functionality to allow silent operations and avoid sending notifications where unnecessary. Enhance user registration to prevent unfinished registrations from being processed in scheduled checks.
2025-04-14 23:12:29 +03:00
Mykyta Synelnikov
8d33c43130
Fixes 'um_dispatch_email' action #1589
...
* Sending email notifications directly (without Action Scheduler) on user delete action;
* Changed activation handler priority for integration with Action Scheduler
* Added 'fetch_user_id' argument for fetching the necessary user before email sending when Action Scheduler is active.
2024-11-19 17:48:10 +02:00
Mykyta Synelnikov
91a0c13399
Merge branch 'development/2.8.x' into feature/action-schedule-integration
2024-10-21 17:45:42 +03:00
Mykyta Synelnikov
7f7820e67c
* fixed sending emails upon registration;
...
* fixed using `um_user( 'status' )` and `um_user( 'account_status' )` functions;
* fixed using `set_status()` function;
* based on https://github.com/ultimatemember/ultimatemember/pull/1564
2024-10-10 18:18:56 +03:00
Mykyta Synelnikov
eb400bf31e
* manual merge of
...
https://github.com/ultimatemember/ultimatemember/tree/fix/after_registration
2024-10-03 14:58:52 +03:00
Mykyta Synelnikov
49b99f10db
* fixed #1554 ;
...
* updated changelog.txt;
* updated readme.txt;
* clean comments;
2024-09-30 23:48:18 +03:00
Mykyta Synelnikov
35e3727bca
* added force attribute to change user status actions for ignore current user condition in some cases;
2024-09-27 15:41:01 +03:00
Yurii Nalivaiko
b1d2f20d84
Renamed action to be more clear
2024-09-26 15:35:25 +02:00
Mykyta Synelnikov
512dc53a18
- changed wp-admin > Users page;
...
* updated filters by status, avoid slow queries for getting users count;
* updated bulk-actions for changing statuses (moved to WP native dropdown)
* separate handlers for changing user statuses on wp-admin and frontend (partially implemented);
* created class UM()->common()->users() to handle user statuses in more clear format;
* deprecated old hooks and old functions
2024-09-20 18:41:08 +03:00
Yurii Nalivaiko
172541fce4
Updated registration email hooks to use maybe scheduler
2024-09-11 14:27:46 +02:00
Mykyta Synelnikov
7aaf47dc2d
- WPCS;
...
- hookdocs;
2024-03-07 14:56:55 +02:00
Mykyta Synelnikov
205a3ea9bc
- reviewed #1428 ;
2024-01-17 16:06:58 +02:00
ashubawork
d9021373ce
- add meta to user
2024-01-16 14:00:22 +02:00
ashubawork
2107336cf9
- change placeholders for set password
2023-12-07 13:36:51 +02:00
Mykyta Synelnikov
be9bb0f239
- partially reviewed #1361 ;
2023-11-30 10:55:00 +02:00
Mykyta Synelnikov
af140bda82
- added hooks for easy integration cases like #1279 ;
2023-09-05 02:04:03 +03:00
yuriinalivaiko
5496162730
- fixed redirection from default registration to UM registration page
2023-08-27 21:29:36 +03:00
Mykyta Synelnikov
c70d67a829
- fixed #1273
2023-08-15 04:22:50 +03:00
Mykyta Synelnikov
ce4cf8fe7b
- updated hookdocs;
...
- reviewed `um_safe_redirect()`;
- updated readme.txt
2023-07-18 12:06:17 +03:00
ashubawork
7cdd2728e0
- add um safe redirect
2023-07-18 09:39:34 +03:00
Mykyta Synelnikov
dad4c8017c
- fix for profile form;
2023-07-01 01:52:43 +03:00
Mykyta Synelnikov
7fafa3a4b3
- fix for registration form;
2023-06-30 21:55:59 +03:00
Mykyta Synelnikov
246de13726
- finished with UM Forms validations;
2023-06-30 16:58:12 +03:00
Mykyta Synelnikov
78a1a32530
Merge pull request #1219 from ultimatemember/fix/remove_extract_frontend
...
Remove extract() frontend
2023-06-28 21:41:00 +03:00
Mykyta Synelnikov
fc07de48b7
- fixed vulnerability with banned keys (made them not case-sensitive);
2023-06-28 11:17:28 +03:00
Mykyta Synelnikov
d7c94b8015
- review um_submit_form_register();
2023-06-26 14:31:25 +03:00
Mykyta Synelnikov
5c8c3411e7
- wpcs fixes;
2023-06-23 16:53:38 +03:00
ashubawork
07fc2592bf
- fix um_submit_form_register()
2023-06-22 12:21:55 +03:00
Nikita Sinelnikov
af5ff9608a
- small fix and avoid PHP warning;
2023-03-28 12:44:33 +03:00
Nikita Sinelnikov
aa8000bde9
- added filter for making 3rd-party roles editable through Ultimate Member interfaces. Use 'um_extend_editable_roles' and pass there an array of role keys( e.g. 'editor', 'administrator', etc. );
...
- reviewed and closed #1151 ;
2023-03-28 01:53:50 +03:00
Nikita Sinelnikov
98d416deaa
- ignore auto_login if the user is already logged in. Fixed #1070 ;
2022-10-10 18:48:16 +03:00
Nikita Sinelnikov
c9f90c54dd
- User queries performance fix;
2022-06-20 17:29:31 +03:00
Nikita Sinelnikov
fa9b85773e
- fixed using special chars inside the password;
2022-06-10 01:53:35 +03:00
Nikita Sinelnikov
7aa8efefff
- fixed strlen() to mb_strlen();
2021-09-21 16:20:37 +03:00
Nikita Sinelnikov
bdbb60e3c4
- fixed show secondary button attribute;
2021-07-27 16:50:19 +03:00
nikitasinelnikov
0b70571c50
- small changes;
2021-02-10 14:10:54 +02:00
denisbaranov
e2f82f5dbf
Sanitize the user_login created from first_name and last_name
2021-02-09 18:46:08 +02:00
nikitasinelnikov
7fadb31449
- fixed not-unique user emails/username on the registration without these fields;
2021-01-08 14:20:43 +02:00
nikitasinelnikov
8234fee3cf
- added a fix for getting status (fetch user again if not exists);
2020-12-22 17:04:18 +02:00
nikitasinelnikov
41350e1391
- fixed PHP notices when there aren't UM custom roles and we get bool variable from get_option( 'um_roles' );
2020-12-16 13:37:13 +02:00
nikitasinelnikov
67420b11b0
- Fixed: Vulnerability with timestamp field on UM Forms
...
- changed readme;
2020-12-04 00:10:20 +02:00
nikitasinelnikov
083a98a50b
- fixed security issues
2020-10-26 17:21:42 +02:00
nikitasinelnikov
e26a6a33ab
- fixed redirect after registration;
...
- removed empty set_roles() function;
- added function for checking AMP;
2020-10-02 15:48:59 +03:00
nikitasinelnikov
78d8a2c845
- fixed slider filter preloader;
...
- fixed redirect_to and approve user status on registration;
2020-08-31 23:08:54 +03:00
nikitasinelnikov
c466e3d3d0
- added security for redirect_to attributes;
...
- updated readme file;
2020-07-27 15:42:50 +03:00
nikitasinelnikov
ef4b7bfc25
Create user uploads directory on registration
...
See https://secure.helpscout.net/conversation/1146469538/39324
See https://secure.helpscout.net/conversation/1116152922/38352/
2020-05-25 18:00:39 +03:00
denisbaranov
1c0e1852d0
fix function um_after_insert_user
2020-03-25 22:48:01 +02:00
nikitasinelnikov
31e84f3e11
- fixed forms preview by overlay;
...
- fixed profile submit and wrong $user_id from um_user();
2019-11-29 19:08:17 +02:00
nikitasinelnikov
6e7eee89bf
- added some localized strings;
...
- fixed the lack of registration user process with empty email or username;
2019-10-17 21:44:11 +03:00
andrewshuba
9374b7e2cb
- fix default buttons text
...
- show default button text if filed value is empty
2019-08-09 14:56:27 +03:00