jclarke Posted July 28, 2012 Author Share Posted July 28, 2012 I using your script and get error when client login in dologin.php I would recommend disabling the check for an IP Block upon client login feature and make sure that it is working for you normally. Double check the README that you have followed every step correctly. 0 Quote Link to comment Share on other sites More sharing options...
jetdino Posted July 31, 2012 Share Posted July 31, 2012 Yes sure, i already using your module from first time you release it. If i using version 1.3 its run normally, i get error only using newer version. 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted July 31, 2012 Author Share Posted July 31, 2012 (edited) Yes sure, i already using your module from first time you release it. If i using version 1.3 its run normally, i get error only using newer version. I think I see the issue, edit the functions.php in the unblockip directory and change the first line from <? to <?php The first line will work depending on your php configuration. I will update the download to fix this as well shortly. Edited July 31, 2012 by jclarke 0 Quote Link to comment Share on other sites More sharing options...
jetdino Posted August 2, 2012 Share Posted August 2, 2012 Oh i see, this cause by short open tag Thank you 0 Quote Link to comment Share on other sites More sharing options...
mrl14 Posted August 7, 2012 Share Posted August 7, 2012 Thanks great work. Can you add a sidebar in v1.6 that lists the version on the plugin page, so it's easier to tell what we're using 0 Quote Link to comment Share on other sites More sharing options...
ljesh Posted October 21, 2012 Share Posted October 21, 2012 Before I go ahead and test this script, is this script multi language? I mean, when using English WHMCS -> unblock IP but when using another language, does/can it say something in another language? 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted October 22, 2012 Author Share Posted October 22, 2012 Multi language support is not built into this module, however, the module is open source so you can edit the files and change the language manually if needed. 0 Quote Link to comment Share on other sites More sharing options...
ljesh Posted October 22, 2012 Share Posted October 22, 2012 I believe I can change the language, but my point was to keep the text strings on more then one language. 0 Quote Link to comment Share on other sites More sharing options...
infojurman Posted November 4, 2012 Share Posted November 4, 2012 I am using a custom WHMCS index.php file eg. user.php How to change in Unblock IP url from index.php?m=unblockip to user.php?m=unblockip ? 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted November 5, 2012 Author Share Posted November 5, 2012 You will have to do this manually by editing the unblock.tpl file and changing the form post action from {$modulelink} to user.php?m=unblockip. 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted November 30, 2012 Share Posted November 30, 2012 Today, one of my client tried to unblock IP and it said that there is no block while I cuold see that IP was blocked in CSF due to mod_security catch. May be this adon is not compatible with the latest ver of CSF! 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 3, 2012 Author Share Posted December 3, 2012 The module works fine with the latest version of CSF, there may be something else wrong with your setup. 0 Quote Link to comment Share on other sites More sharing options...
trillium Posted December 14, 2012 Share Posted December 14, 2012 Hi I just installed the script and when in the search function for admin I receive an Invalid IP address error. Is this by design? 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 14, 2012 Author Share Posted December 14, 2012 Hi I just installed the script and when in the search function for admin I receive an Invalid IP address error. Is this by design? Yes, if you put in an invalid ip address than you will get that error. Double check that the ip you entered is valid and that you didn't accidentally copy and paste a whitespace for example. 0 Quote Link to comment Share on other sites More sharing options...
acethemaster Posted December 15, 2012 Share Posted December 15, 2012 Does this work on reseller accounts? 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 15, 2012 Author Share Posted December 15, 2012 Does this work on reseller accounts? Yes, for the addon to work with a reseller account, you need to grant access to the reseller user on each server by editing the /etc/csf/csf.resellers file and granting the user permission to USE,GREP,UNBLOCK. e.g. myresellerusername:0:USE,GREP,UNBLOCK 0 Quote Link to comment Share on other sites More sharing options...
trillium Posted December 18, 2012 Share Posted December 18, 2012 We also had a case where we did a search and the IP was not found however on the server, the IP was indeed in the block group 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted December 18, 2012 Share Posted December 18, 2012 Today once again, this module was unable to find the IP while I whitelisted manually. However, I am sure that settings was correct. 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 18, 2012 Author Share Posted December 18, 2012 (edited) If you edited the csf.deny manually and didn't properly format the csf.deny then this addon will return that the ip is not found. It requires the entries be in the following format: ipaddress # reason If you continue to have issues, please provide more detailed information including how the block line looks in your /etc/csf.deny Edited December 18, 2012 by jclarke 0 Quote Link to comment Share on other sites More sharing options...
trillium Posted December 18, 2012 Share Posted December 18, 2012 We have not touched the csf.deny manually but have the tool reported no block but see the block and can unblock in CSF directly. Not sure why it is reporting in this way 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 18, 2012 Author Share Posted December 18, 2012 We have not touched the csf.deny manually but have the tool reported no block but see the block and can unblock in CSF directly. Not sure why it is reporting in this way If this happens again, please provide us the line from your csf.deny, you can send it to me via PM if you wish, that will help us debug the issue. 0 Quote Link to comment Share on other sites More sharing options...
ace Posted December 21, 2012 Share Posted December 21, 2012 I tried adding the code of the unblock page to products and service page and it appears fine but it won't let you unblock IP. Please help. Basically what i want is the unblock section in the products and service page and works. I seen this done on a host before. Or how can you integrate the index.php?m=unblockip page with the WHMCS theme. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 22, 2012 Author Share Posted December 22, 2012 I tried adding the code of the unblock page to products and service page and it appears fine but it won't let you unblock IP. Please help. Basically what i want is the unblock section in the products and service page and works. I seen this done on a host before. Or how can you integrate the index.php?m=unblockip page with the WHMCS theme. This addon is designed to be added as a menu option in WHMCS by adding the following to the header.tpl inside whatever menu option you would like. In the example below it is being added to the Support menu. 5.1 Default Template Example adding Unblock IP Address to the support menu. <ul class="nav"> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">{$LANG.navsupport} <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="supporttickets.php">{$LANG.navtickets}</a></li> <li><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></li> <li><a href="downloads.php">{$LANG.downloadstitle}</a></li> <li><a href="serverstatus.php">{$LANG.networkstatustitle}</a></li> {if $unblockip_isactive}<li><a href="index.php?m=unblockip">Unblock IP Address</a></li>{/if} </ul> </li> </ul> You could also just link directly to index.php?m=unblockip from any page you wish, for example you could add a link from the product/services page. It will not work just taking the contents of the unblock.tpl and placing it on another page since that template is designed to work from the unblock module page. 0 Quote Link to comment Share on other sites More sharing options...
ace Posted December 22, 2012 Share Posted December 22, 2012 Okay. How can I edit the page so it looks like the rest of the site? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 22, 2012 Author Share Posted December 22, 2012 You can change the way the unblock page looks by editing the unblock.tpl file. 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.