*

umimo

  • ***
  • 88 posts
phone verification plugin
« on: June 10, 2023, 03:28:49 PM »
How remove all un verified users?

*

MB Themes

Re: phone verification plugin
« Reply #1 on: June 11, 2023, 11:22:51 AM »
Plugin does not have such feature.
You can do it from DB side.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

VS

  • **
  • 29 posts
Re: phone verification plugin
« Reply #2 on: June 14, 2023, 02:42:20 PM »
Is that also need for free plugin or purchased plugin?

*

MB Themes

Re: phone verification plugin
« Reply #3 on: June 14, 2023, 06:51:52 PM »
No, you go to database and remove data from t_user table based on specified criteria
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: phone verification plugin
« Reply #4 on: June 15, 2023, 02:37:20 PM »
No, you go to database and remove data from t_user table based on specified criteria

How find in t_user table is verified or not ?

*

MB Themes

Re: phone verification plugin
« Reply #5 on: June 15, 2023, 03:43:44 PM »
Plugin use own table t_sms_verification, s_status = 'VERIFIED'
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: phone verification plugin
« Reply #6 on: June 16, 2023, 01:21:41 PM »
Plugin use own table t_sms_verification, s_status = 'VERIFIED'

Do you think is possible? 5000+ unverified users


check one table is verified or not then find that user in another table


can you create function for this

*

MB Themes

Re: phone verification plugin
« Reply #7 on: June 16, 2023, 02:42:34 PM »
Something like this could work.
Test well before using.
Use on your own risk.
You may need to change foreign key on t_user_description to cascade (or disable)

Code: [Select]
DELETE FROM oc_t_user
where
  s_phone_mobile <> ''
  and dt_user_reg_date < '2023-01-01'
  and s_phone_mobile in (select s_phone from oc_t_sms_verification where  s_status <> 'VERIFIED')

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: phone verification plugin
« Reply #8 on: June 18, 2023, 12:53:05 PM »
Something like this could work.
Test well before using.
Use on your own risk.
You may need to change foreign key on t_user_description to cascade (or disable)

Code: [Select]
DELETE FROM oc_t_user
where
  s_phone_mobile <> ''
  and dt_user_reg_date < '2023-01-01'
  and s_phone_mobile in (select s_phone from oc_t_sms_verification where  s_status <> 'VERIFIED')


its work.

issue if someone not click send otp then not update status verified or not


How solve this?

*

MB Themes

Re: phone verification plugin
« Reply #9 on: June 19, 2023, 08:59:36 AM »
Sorry did not get your question.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: phone verification plugin
« Reply #10 on: June 23, 2023, 12:50:27 PM »
Sorry did not get your question.

If user click SEND OTP only update VERIFIED OR NOT

*

umimo

  • ***
  • 88 posts
Re: phone verification plugin
« Reply #11 on: June 30, 2023, 10:00:11 AM »
Please check

*

MB Themes

Re: phone verification plugin
« Reply #12 on: June 30, 2023, 04:15:27 PM »
I am still not sure what are you talkiing about
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: phone verification plugin
« Reply #13 on: June 30, 2023, 04:43:35 PM »
Something like this could work.
Test well before using.
Use on your own risk.
You may need to change foreign key on t_user_description to cascade (or disable)

Code: [Select]
DELETE FROM oc_t_user
where
  s_phone_mobile <> ''
  and dt_user_reg_date < '2023-01-01'
  and s_phone_mobile in (select s_phone from oc_t_sms_verification where  s_status <> 'VERIFIED')


This code not working fully.

not removed all unverified users

*

MB Themes

Re: phone verification plugin
« Reply #14 on: June 30, 2023, 08:06:38 PM »
Try to put coalesce funtion on status.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots