Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Ok, so you're wanting the field action to fire after profile update trigger? I don't think I can safely add that at this point as everyone is using it with regards to it not doing that. However, every action fires a trigger of its own when the action is completed. Specifically autoactions_onAction. The variables for it are as follows.Well the idea is, the 'master' user is changed to non-member. This triggers a reset of his information, and also triggers the above action, resetting the members field for the other 'slave' members.
But as the member information is more than just a field, and I already have actions for fixing it all, it would be nice if the change in the field, would activate the other actions that triggers on that field change.
The other thing I could do, was to set the FamilyID to 1 (there is no user with id=1), as that is not a valid FamilyID, I could have a 'Users' trigger that just searched the that familyid, and then triggers all the appropriate actions. This will not remove the users as members immediately, but they would be removed next time the Users is run (it's run once a day).
Neither are valid queries. The prefix replacement is #__ (double underscore). The below will execute, but i'm not sure it makes sense.I just entered this in the query box:
UPDATE `xxx_comprofiler` SET `cb_familyid` = '1' WHERE `cb_familyid` = '[user_id]' AND `id` != '[user_id]'
I also tried
UPDATE `#_comprofiler` SET `cb_familyid` = '1' WHERE `cb_familyid` = '[user_id]' AND `id` != '[user_id]'
UPDATE `#_comprofiler` SET `cb_familyid` = '1' WHERE `cb_familyid` = '[user_id]' AND `user_id` != '[user_id]'
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.