Jump to content

UnblockMe (CSF/cPanel Unblocker) Addon


Recommended Posts

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?

Link to comment
Share on other sites

  • Replies 123
  • Created
  • Last Reply

Top Posters In This Topic

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 :)

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

 

:)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
  • 2 months later...

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?

Link to comment
Share on other sites

  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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