ljesh Posted February 17, 2012 Share Posted February 17, 2012 Great, although now I have a small problem. I had 1.1 installed and was running great. I uploaded the new unblockme.php (replaced the old one) I changed the code to the new one in clientareaproductdetails.tpl file (replaced the old code) And then I entered/translated the text strings in the language file. Now the unblock seems to work (it removes the IP from ban list) but the customer never gets a confirmation that the IP has been unblocked. All the time I see the loading image. Also if you enter a IP that is not in the ban list, you never get notified. Any help? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted February 17, 2012 Author Share Posted February 17, 2012 Did you replace the includes/hooks/unblockme.php file as well? 0 Quote Link to comment Share on other sites More sharing options...
ljesh Posted February 17, 2012 Share Posted February 17, 2012 Yes, that is the first thing I did: 1. replaced the unblockme.php in /includes/hooks/ 2. replaced the old code in clientareaproductdetails.tpl 3. Added the text strings in the language file 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted February 17, 2012 Author Share Posted February 17, 2012 There are 2 PHP files you need to replace. Did you replace both of them? 0 Quote Link to comment Share on other sites More sharing options...
ljesh Posted February 17, 2012 Share Posted February 17, 2012 What a shame... I didn't notice that I should replace the unblockme.php file in the root whmcs directory ) Sorry, replaced that one and now everything is good. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted February 18, 2012 Author Share Posted February 18, 2012 Great, glad you got it working again. It was mostly an oversight on my part, when I created the module, I should have named the files differently to provide a bit more clarity and ensure they do not get mixed up. Oh well, maybe in the next release. 0 Quote Link to comment Share on other sites More sharing options...
ljesh Posted February 18, 2012 Share Posted February 18, 2012 Or I think it would be enough if you change the zip structure. For example: - README (in the root) -- unblockme, whmcs or whatever (directory) --- unblockme.php and the dir includes ---- dir hooks ----- unblockme.php My point is to NOT have README and unblockme.php in the same dir. Just a suggestion 0 Quote Link to comment Share on other sites More sharing options...
Jowwow Posted March 9, 2012 Share Posted March 9, 2012 can it be set so they can only request the reset once per day? I'm concerned that hackers would use it to keep resetting when trying to brute force 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 9, 2012 Author Share Posted March 9, 2012 Thats not a feature currently, but the source code is provided with the module if you'd like to add the feature. Only logged in clients are able to use it, so its unlike a hacker would go through that trouble without tripping other fraud filters. 0 Quote Link to comment Share on other sites More sharing options...
Jowwow Posted March 9, 2012 Share Posted March 9, 2012 awesome... I've ordered it, but haven't gotten the info on how to dl it yet.... apparently the order is "being processed." 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 9, 2012 Author Share Posted March 9, 2012 I saw the order come through, but no payment method was selected. Did you select a payment method when signing up? You should be able to login, and view the unpaid invoice, and select a payment option from there. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 9, 2012 Author Share Posted March 9, 2012 Wow, I actually just discovered a bug in this. I have a form in my header.tpl file for my project management login. When choosing paypal, theres an autosubmit function when it redirects to the payment gateway for the paypal form. The form is submitted using the document.forms[] array in javascript. Unfortunately, its calling document.forms[0].submit(), which would be the first form on the page, which is for my project management login rather than paypal. I removed the PM login for now until I can fix this, but it appears to be a bug with the paypal module where it should be calling the explicit ID of the form its trying to submit. 0 Quote Link to comment Share on other sites More sharing options...
Jowwow Posted March 10, 2012 Share Posted March 10, 2012 yeah I selected paypal, my wife does the billing so I'll have her fix it, cool that you found it though 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 10, 2012 Author Share Posted March 10, 2012 I've corrected the error on my website so it should work properly now, but I believe your order has already been put through, let me know if you have any questions. 0 Quote Link to comment Share on other sites More sharing options...
appds Posted March 14, 2012 Share Posted March 14, 2012 Hello, I can activate/deactivated per account? Or the plugin usage is "universal" (work for all customers)? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 14, 2012 Author Share Posted March 14, 2012 The plugin is universal for all accounts by default. 0 Quote Link to comment Share on other sites More sharing options...
appds Posted March 14, 2012 Share Posted March 14, 2012 Thank you for answer. Do you have any plan to add this feature in the future? I think that is important, because you can let only trusted users, use the plugin. 0 Quote Link to comment Share on other sites More sharing options...
chuva Posted March 20, 2012 Share Posted March 20, 2012 Hi Friends, I use Reseller to create webhost in whmcs, and laszlof, helped me with this tip below: Open up unblockme.php in the root of your WHMCS directory, go to line 96 and change: $query_url = $url.'?action=kill&ip='.$ip; to $query_url = $url.'?action=qkill&ip='.$ip; NOTE: Enable your Reseller in "cPanel Resellers option of CSF" (csf.resellers) 0 Quote Link to comment Share on other sites More sharing options...
Marco Antonio Posted March 21, 2012 Share Posted March 21, 2012 1 - I found that if you leave with the option query_url $ = $ url. '? action = kill & ip ='. $ ip; The same works only with dealers and lodging created via root 2 - If you leave the code query_url $ = $ url. '? action = kill & ip ='. $ ip; So works for lodging created by resellers ... Is it possible to make a junction of two codes to work in both environments? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 21, 2012 Author Share Posted March 21, 2012 I will look into it for the next release. 0 Quote Link to comment Share on other sites More sharing options...
Varial Posted April 17, 2012 Share Posted April 17, 2012 Purchased and installed yesterday. Very easy setup and works great! 0 Quote Link to comment Share on other sites More sharing options...
rob2 Posted June 12, 2012 Share Posted June 12, 2012 any review about the modules now ? im interested to install it.thank you 0 Quote Link to comment Share on other sites More sharing options...
Brian Murphy Posted September 5, 2012 Share Posted September 5, 2012 What is a 'junction'? I can't understand what you are saying, but I agree both kill and qkill 'logic' should be embedded. If reseller has access to CSF for CP, does everyone have access to it from the Plugins section in WHM? 1 - I found that if you leave with the option query_url $ = $ url. '? action = kill & ip ='. $ ip; The same works only with dealers and lodging created via root 2 - If you leave the code query_url $ = $ url. '? action = kill & ip ='. $ ip; So works for lodging created by resellers ... Is it possible to make a junction of two codes to work in both environments? 0 Quote Link to comment Share on other sites More sharing options...
rob2 Posted July 3, 2013 Share Posted July 3, 2013 can the module work with the csf now ? 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.