![]() |
Set 'Receive Admin Emails' according to content of a customfield
I have a custom user field that is a text field - in this case the content is either Yes or No. Using a mySQL command I'd like to set 'Receive Admin Emails' to 'yes' if the value of a custom field contains the text 'Yes'.
Does anyone have any suggestions on what command I should use? |
run it via a cron that will check what is says and then set it in the user table.
i.e. PHP Code:
|
All times are GMT. The time now is 01:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|