jackgordon Posted February 28, 2009 Share Posted February 28, 2009 I thought they weren't supposed to be able to do that? Is there a setting I am missing somewhere? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 1, 2009 Share Posted March 1, 2009 if *closed* accounts are able to login to your client area, then it's a bug - raise a ticket with WHMCS 0 Quote Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted March 2, 2009 Share Posted March 2, 2009 yeah, its happened on mine to. It took a while for it to actually CLOSE the account. Once the system actually closed it. (like the cron job or something) It didn't happen 0 Quote Link to comment Share on other sites More sharing options...
jackgordon Posted March 2, 2009 Author Share Posted March 2, 2009 Matt cleared it up for me. Apparently, I can log in to closed accounts if I am also logged in as admin. If I log out as admin, then the user login stops working on closed accounts. 0 Quote Link to comment Share on other sites More sharing options...
jackgordon Posted March 6, 2009 Author Share Posted March 6, 2009 Here is a variation on this subject... If someone signs up, but does not complete the payment, they are still granted access to the client area. Is there a way to prevent that, or at least restrict their access to the invoice for payment? 0 Quote Link to comment Share on other sites More sharing options...
SharedLayer Posted March 6, 2009 Share Posted March 6, 2009 Here is a variation on this subject... If someone signs up, but does not complete the payment, they are still granted access to the client area. Is there a way to prevent that, or at least restrict their access to the invoice for payment? Why would you want that? There's not a lot of harm they can do within the client area, because if you setup your WHMCS correct it won't create the "hosting" account and/or domain. 0 Quote Link to comment Share on other sites More sharing options...
jackgordon Posted March 7, 2009 Author Share Posted March 7, 2009 I use WHMCS a little differently, and I have member-only benefits to my service in the client area. Currently I restrict them to the product-detail page with a special script, but I would like to put them in the main menu. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted March 8, 2009 Share Posted March 8, 2009 If someone signs up, but does not complete the payment, they are still granted access to the client area They have to be able to login to pay But you can add an {if} to your .tpl that if they have an o/s balance then take them to the only page you want them to see - the invoices page ... 0 Quote Link to comment Share on other sites More sharing options...
jasonhk Posted March 8, 2009 Share Posted March 8, 2009 An if statement based on active products pulled from the db could also work 0 Quote Link to comment Share on other sites More sharing options...
jackgordon Posted March 9, 2009 Author Share Posted March 9, 2009 Perfect! Can anyone point me to where that coding is explained? 0 Quote Link to comment Share on other sites More sharing options...
jasonhk Posted March 9, 2009 Share Posted March 9, 2009 Perfect! Can anyone point me to where that coding is explained? Something along the lines of this: if ($_SESSION['uid']) { # User is Logged In - put any code you like here $query = "SELECT * FROM tblhosting WHERE userid='".$_SESSION["uid"]."' AND domainstatus='Active'"; $result = mysql_query($query); $num_rows = mysql_num_rows($result); if ( $num_rows > 0 ) { // do stuff $templatefile = "restrictedstuff"; } else { //send them to some restricted page $templatefile = "restrictedblock"; } } 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.