block user on after user reg, based on fld

12 years 5 months ago - 12 years 5 months ago #182401 by amir00251
Yes, it is required admin approval No
and required email confirmation Yes

Please Log in to join the conversation.

12 years 5 months ago #182414 by nant

Please Log in to join the conversation.

12 years 5 months ago #182419 by amir00251
Hi Nant,

Thank you so much, I was looking to do this for two months and CB Email Action gave somewhere to start. Thank you, your tutorial is perfect.

Please Log in to join the conversation.

12 years 5 months ago #182712 by amir00251
Dear Nant,

I am trying to implement your tutorial and every thing works apart from Query Actions. I receive both emails but user still can use the site after email confirmation.

My query codes are

UPDATE `#_users` SET `block` = '1' WHERE `id` = '[user_id]'

UPDATE `#_comprofiler` SET `approved`= '0' WHERE `user_id` = '[user_id]'

Is there something wrong with above.

Thank you.

Please Log in to join the conversation.

12 years 5 months ago #182713 by nant
you have to do the comprofiler one first - make sure that query autoaction is first in the CB Auto Actions list.

Please Log in to join the conversation.

12 years 5 months ago #182731 by amir00251
Many thanks, I changed the order and also I just realised that I need two underlines before comprofiler. It is working great now.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.233 seconds

Facebook Twitter LinkedIn