Jump to content
Sign in to follow this  
ThemeMetro

Unable to remove created users

Recommended Posts

Hi all, I found only 1 working way  it is " you need to delete that user from phpmyadmin --->tblusers , however we need an option at admin panel that why we can delete them from "Manager Users" section after deleting from user profile.

Share this post


Link to post
Share on other sites

Hi all, yes th only way is from phpmyadmin or via command line:

"DELETE FROM `tblusers` WHERE `tblusers`.`id` = 1"

just don't forget to change the user id at the end of the command.

the id's in the WHMCS dashboard reflect exactly the id's in the database.
 

And please @WHMCS support, ask to your dev team to ad a button to delete users.
for me it is unimaginable that an administrator cannot have full control over his software

Ludo

Share this post


Link to post
Share on other sites

Hello everyone,

Exactly I came here for a solution to remove users but no luck, What kind of logic is behind it to not deleting users????!!

I can delete them from DB but why WHMCS  does not put delete button in managment area??????

 

Oh man this is so bad so bad 😞

Share this post


Link to post
Share on other sites
On 10/13/2020 at 4:21 PM, Ardeshir said:

Oh man this is so bad so bad 😞

Tell me about it 🙂  They still not doing nothing about it 

Share this post


Link to post
Share on other sites
On 10/11/2020 at 4:37 PM, Ludo said:

Hi all, yes th only way is from phpmyadmin or via command line:

"DELETE FROM `tblusers` WHERE `tblusers`.`id` = 1"

just don't forget to change the user id at the end of the command.

the id's in the WHMCS dashboard reflect exactly the id's in the database.
 

And please @WHMCS support, ask to your dev team to ad a button to delete users.
for me it is unimaginable that an administrator cannot have full control over his software

Ludo

 

Thank you for that as I needed to resort to this to delete users on the system. There should be no reason on why the Administrator account can not delete these user accounts. This needs to be changed. 

 

Share this post


Link to post
Share on other sites

Hi! We also need an option to delete users.

Updated to v8 last week and have several users "duplicated". When the user/client concept not was available they created same accounts with different emails to manage their clients. Now we consolidated ther clients in one user account and want to delete the unused accounts.

Thanks

Share this post


Link to post
Share on other sites

 

17 hours ago, Beekingo said:

Hi! We also need an option to delete users.

Updated to v8 last week and have several users "duplicated". When the user/client concept not was available they created same accounts with different emails to manage their clients. Now we consolidated ther clients in one user account and want to delete the unused accounts.

Thanks

The only possibility is currently to delete via database.
It is incomprehensible why WHMCS does not improve here.

It is GDPR technically a catastrophe. A customer has his account deleted and the user is still there. No go.

Share this post


Link to post
Share on other sites

I see whmcs.com dont response to this thread is like they dont care. I know they see it 

Share this post


Link to post
Share on other sites
On 10/9/2020 at 7:47 AM, WHMCS John said:

We're very much watching and listening to this thread, and would be interested to hear further thoughts and reasoning for any other approaches.

It would be great if you'd provide some additional commentary now. There's lots of feedback and it appears to be falling on deaf ears. 

Share this post


Link to post
Share on other sites

new version is out but don't fix the more important bugs

Share this post


Link to post
Share on other sites

I logged in specifically to post this comment. THIS HAS TO BE A JOKE. All tricks and no treats. 

Because of encountering this problem today, for the first time in 4 years of using WHMCS I started seriously looking at other software. GDPR  non complicance can ruin an entire business and get you blacklisted. 

Im sorry to say that if this isnt fixed soon I will have to stop using WHMCS

Share this post


Link to post
Share on other sites

The worst thing is that if this information becomes public (WHMCS is not anymore natively GDPR compliant), How many hosts are now in danger because of this update?

how many hosts are working with WHMCS? 70% I think.
Among them, how many have installed version 8?

If the organization in charge of enforcing the GDPR wants to have fun and especially to collect some money for christmas, they have something to work with...

WHMCS has only two solutions:

  • Either they publish a patch as soon as possible.
  • Or there is something preventing them from doing so, in which case they must offer to disable this new feature (user management), or perhaps even a pure rollback.

But I have the feeling that they don't care at all...

Share this post


Link to post
Share on other sites

I find it fascinating how WHMCS skillfully ignores this topic. As a paying customer you feel safe and appreciated.....  .
WHMCS, you can't be serious, come and correct your mistake and take a stand.

Share this post


Link to post
Share on other sites
10 hours ago, Ludo said:

Or there is something preventing them from doing so

I bet there is, because it's a bit more tricky to know when you should delete a user account. There's multiple situations to account for - fx if the client only wishes to have their client account deleted but keep their user account so he can access other accounts they were invited to.

Share this post


Link to post
Share on other sites

WHMCS should give a better admin user management (delete, password change etc). It's cost a lot now delete an user from database. Only a senior dev could do it "safely".

We hope get it a soon as possible. Thanks

Share this post


Link to post
Share on other sites
On 10/9/2020 at 4:24 PM, HardSoftCode said:

It's not hard to create a small hook to do this, I always say you can do anything with WHMCS by using hooks and APIs

Just upload the attached file to the includes\hooks directory and now when you deleted a client the owner user will be deleted

 


<?php

if(!defined("WHMCS")) die("This file cannot be accessed directly");

use WHMCS\User\Relations\UserClient;
use WHMCS\User\Client;
use WHMCS\User\User;

add_hook('ClientDelete', 855412, function($vars)
{
  $clientid = $vars['userid'];
  $userid   = UserClient::where('client_id', $clientid)->value('id');
  
  if(User::find($userid)->isOwner(Client::find($clientid)))
  {
    if(User::where('id', $userid)->delete())
    {
      logActivity('User Deleted - ID: '.$userid, 0);
    }
  }
});

 

deleteClientUser.zip 466 B · 7 downloads

Not working with 8.0.4

Share this post


Link to post
Share on other sites
8 hours ago, Ardeshir said:

Not working with 8.0.4

You should delete the user in your database. 😉

Share this post


Link to post
Share on other sites

I did not update yet, thank all the gods, but if this does not get fixed we will not be able to use WHMCS anymore in the near future.

Share this post


Link to post
Share on other sites
2 hours ago, ZoXx said:

You should delete the user in your database. 😉

I think we can manage everything manually, so what is use for automation software 🙂

Share this post


Link to post
Share on other sites
3 minutes ago, ThemeMetro said:

I think we can manage everything manually, so what is use for automation software 🙂

Sure, but you see actually the problem and there is no other solution for it. A hook doesnt help here.

So we have to do it this way.

Share this post


Link to post
Share on other sites
4 minutes ago, DennisHermannsen said:

A hook could help - you just got to account for a lot of things.

Oh boys. Sure a hook can help for everything. You can buy a simple software and modify it 3 years and it could do everything you need too. So please, no problem or?

This is not the solution of this problem! 

So if WHMCS gives updates with new functions it is not the solution to modify or create hooks again to use them.

The only solution is that WHMCS reacts here and publish an update which is gdpr confirm and works as we need it in europe.

Edited by ZoXx

Share this post


Link to post
Share on other sites

Guys, does anyone of you know a hook to delete users when deleting clients?

Last night some spammers created more than 50 accounts on my whmcs, I did deleted created clients but now I stare at those users with no delete button.

And I don't want to touch DB! Last time my DB corrupted, I prefer a hook or a better permanent solution by WHMCS!

Edited by Ardeshir

Share this post


Link to post
Share on other sites
1 minute ago, Ardeshir said:

Guys, does anyone of you know a hook to delete users when deleting clients?

Last night some spammers created more than 50 accounts on my whmcs, I did deleted created clients but now I stare at those users with no delete button.

And I don't want to touch DB! Last time my DB corrupted, I prefer a hook.

It is easy to delete them from database.
There is no hook.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Similar Content

    • By NitishKumar
      After Upgrading WHMCS FROM 7.8.3 TO 7.9 AM UNABLE TO UPGRADE/CHANGE CPANEL PLAN/Package From WHMCS, But Am Able To Change It From WHM,how i solve it.
       
      It's Possible To Downgrade Whmcs To 7.8.3

    • By slim
      I was beta testing the new eWay secure fields in the RC, and it was working mostly OK.
      However, after updating to the full release, it appears my cron job is no longer attempting to process cards. The cron appears to complete OK - But in the cron email, it says '0' Credit Card Charges..  I can see lots of overdue invoices for the last two days - none have been attempted. I was able to process them manually via the admin area in WHMCS, but obviously somthing has gone wrong.
      Anyone else have same issue?
    • By vidyamantra
      We are getting Segmentation fault in cron after upgrade to 7.9.
    • By zitu4life
      Hello there
      I have found an issue on v7.9
      I detected that  if we have  a product setup as:  Payment   Type   One time 

      when we  try to create quote on v7.9 and try to add predefined product, it will come with price 0 just because we have it setup as   one time, if we change it as  recurring it work as expected.

      PS: It also happen on my dev installation and   production installation. On v7.8.3    it was working fine
       
    • By enrapture
      Hi, I've been trying to resolve this for hours now. We have the Stripe and BAsic PayPal gateways installed and setup. When we make any purchase we are getting an Oops error on the "cart.php?a=complete" URL:
      Error: Undefined class constant 'Active' in /*****/includes/invoicefunctions.php:0
      Stack trace:
      #0 /*******/cart.php(0): getNewClientAutoProvisionStatus(1)
      #1 {main}
      (The *** are redaction not the actual error)
      Has anyone else seen this or have a solution? We can't get past it which is causing us some grief.
      The Stripe orders are not completing and PayPal isn't redirected at all.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated