Patty Posted September 14, 2012 Share Posted September 14, 2012 Not sure if this is a bug or intentional, but all new clients status is showing Inactive by default. This started to happen after the upgrade to 5.1.2 If it's not a bug, I'd like an option to make Active status the default one, if possible. TIA 0 Quote Link to comment Share on other sites More sharing options...
Jaggl Posted September 17, 2012 Share Posted September 17, 2012 yeah i also see this "problem" 0 Quote Link to comment Share on other sites More sharing options...
Jbro Posted September 17, 2012 Share Posted September 17, 2012 I am happy that they are inactive unless the buy some thing and fully paid 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted September 17, 2012 Author Share Posted September 17, 2012 Yeah, well, that's a matter of opinion. So it should be an option and not a default value. It wasn't like this before and I just rather have it the way it was before. 0 Quote Link to comment Share on other sites More sharing options...
edvan.com.br Posted September 18, 2012 Share Posted September 18, 2012 Yeah, well, that's a matter of opinion. So it should be an option and not a default value. It wasn't like this before and I just rather have it the way it was before. Paty, Check out the explanation, http://docs.whmcs.com/Client_Management#Automatic_Status_Changing Ideally, the administrator decides that ... So I created a generic hook that grabs all clients "inactive" and changes to "active" after cron generate. Create a file with any name, eg (patty.php) and send to /includes/hooks/ <?php function modifica_status() { $AtualizaStatus = mysql_query("UPDATE `tblclients` SET `status`='Active' WHERE `status`='Inactive'"); } add_hook("DailyCronJob", 1, "modifica_status", ""); ?> I published the above tip on my blog Brazilian (http://www.whmcs.blog.br/principal/dicas-whmcs-parte-11/), see Tip 54 Hugs Edvan 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted September 18, 2012 Author Share Posted September 18, 2012 (edited) Hey, Edvan. Nice, thank you. But this hook causes another issue: some clients I might want to leave as inactive, but the hook will set them as active after cron runs. IMHO the ideal is to go back to the way it was before, all new clients set as active by default. It doesn't make sense a client who just signed in and bought something be set as inactive, while I might want other clients set as inactive. It should be the admin decision, not something automatically set by cron or by default. I hope we can have this option on the next version. Anyway, tks a lot for your efforts, Edvan. Edited September 18, 2012 by Patty 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted September 18, 2012 Author Share Posted September 18, 2012 BTW, since it's not a bug, maybe this should be moved to Feature requests. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Jbro Posted September 19, 2012 Share Posted September 19, 2012 OK I don't understand it now. I mark an invoice paid so now shouldn't my inactive customer be active? He must be active now because he paid me and his invoice is marked Paid. He paid by bank 0 Quote Link to comment Share on other sites More sharing options...
edvan.com.br Posted September 20, 2012 Share Posted September 20, 2012 Hey, Edvan. Nice, thank you. But this hook causes another issue: some clients I might want to leave as inactive, but the hook will set them as active after cron runs. IMHO the ideal is to go back to the way it was before, all new clients set as active by default. It doesn't make sense a client who just signed in and bought something be set as inactive, while I might want other clients set as inactive. It should be the admin decision, not something automatically set by cron or by default. I hope we can have this option on the next version. Anyway, tks a lot for your efforts, Edvan. Patty, Actually the customer is inactive unless you have a product / service active. The ideal was that we could define it and not the system. Edvan 0 Quote Link to comment Share on other sites More sharing options...
invictus Posted September 20, 2012 Share Posted September 20, 2012 IMHO the ideal is to go back to the way it was before, all new clients set as active by default. It doesn't make sense a client who just signed in and bought something be set as inactive Did this just start happening to you in 5.1.2? What exactly is happening? When a customer signs up and buys a product they are not activated and stay as "pending" until you manually accept the order? Or is it something else? 0 Quote Link to comment Share on other sites More sharing options...
Jbro Posted September 20, 2012 Share Posted September 20, 2012 In my case a customer just registered but he is active . He did not buy nothing !!!! Another customer signs up buys a product and even he pays for it but he is inactive 0 Quote Link to comment Share on other sites More sharing options...
invictus Posted September 20, 2012 Share Posted September 20, 2012 Hi Jbro - same questions to you above ^^ 0 Quote Link to comment Share on other sites More sharing options...
dahamsta Posted September 20, 2012 Share Posted September 20, 2012 I don't like this "feature" either. I have quite a few clients that may never have products or services, but they're billed on a regular basis for consulting, etc. They should be active. I'm not really sure why this was implemented, what was the logic behind it? 0 Quote Link to comment Share on other sites More sharing options...
ryan311 Posted September 24, 2012 Share Posted September 24, 2012 I don't like this "feature" either. I have quite a few clients that may never have products or services, but they're billed on a regular basis for consulting, etc. They should be active. I'm not really sure why this was implemented, what was the logic behind it? That doesn't make sense. If you have customers that are billed on a regular basis why don't you give them a product or service. I don't see why you would have a client but never have a product or service attached. 0 Quote Link to comment Share on other sites More sharing options...
dahamsta Posted September 24, 2012 Share Posted September 24, 2012 Regular = once in Jan, not in March but twice in June, etc. They remain active customers. 0 Quote Link to comment Share on other sites More sharing options...
altomarketing Posted October 30, 2012 Share Posted October 30, 2012 Remember "In WHMCS 5.1.2 and above any client account with no products, addons or domains active will have their account automatically set to Inactive by the cron job. This does not stop the user logging in, opening a ticket or paying any due invoices. An active product or addon is defined as being in Active or Suspended state. An active domain is Active or Pending-Transfer. Should the client purchase a product domain or addon, then on the next cron run, their status would automatically be set to Active again. " 0 Quote Link to comment Share on other sites More sharing options...
dahamsta Posted October 30, 2012 Share Posted October 30, 2012 Someone already posted that. Please read a thread fully before responding. 0 Quote Link to comment Share on other sites More sharing options...
rob2 Posted November 1, 2012 Share Posted November 1, 2012 i test it on http://demo.whmcs.com/clientarea.php, when i register as a new account and go to admin area,the account shows as active... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.