Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
310 views
in Plugins by

Hi, 

 

I am developing a plugin for the functionality that all user profile changes (email, noted, avartar etc) must be directed to the moderation queue.

I think I have to change filter_profile(&$profile, &$errors, $user, $oldprofile). module. But not able to figure out how I can move the user profile changes to moderation queue . If it was question, we had the queue option.

 

Pl help

 

 

Q2A version: 1.6

1 Answer

0 votes
by
Nice idea. In the site approving the user's registration, method to turn ON approval flag of user who changed own profile is simple. However, the user needing re-approval can't post. This may be problem... ?

Reference:

qa-include/qa-app-users.php::QA_USER_FLAGS_MUST_APPROVE
qa-include/qa-db-users.php::qa_db_user_set_flag()
...