Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

block user on after user reg, based on fld

  • amir00251
  • amir00251
  • OFFLINE
  • Posts: 66
  • Thanks: 2
  • Karma: 1
13 years 1 month ago - 13 years 1 month ago #182401 by amir00251
Yes, it is required admin approval No
and required email confirmation Yes
Last edit: 13 years 1 month ago by amir00251.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 1 month ago #182414 by nant

Please Log in or Create an account to join the conversation.

  • amir00251
  • amir00251
  • OFFLINE
  • Posts: 66
  • Thanks: 2
  • Karma: 1
13 years 1 month 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 or Create an account to join the conversation.

  • amir00251
  • amir00251
  • OFFLINE
  • Posts: 66
  • Thanks: 2
  • Karma: 1
13 years 1 month 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 or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 1 month 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 or Create an account to join the conversation.

  • amir00251
  • amir00251
  • OFFLINE
  • Posts: 66
  • Thanks: 2
  • Karma: 1
13 years 1 month 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum