Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-07-02 06:32:40

MojoTojo Elmore
Member
Registered: 2014-07-02
Posts: 7

Is there a way to BLOCK traffic from certain Locations based on GEO IP?

Question is simple as it gets hehe
Is there a way to BLOCK traffic from certain Locations based on GEO IP?
If not by configuration on the software itself, but perhaps thru a simple hack? i'm a PHP programmer and i dont mind fiddling with the code a bit.

This is really important to me.

Regards



https://groups.google.com/forum/#!topic … 6LVeQ22QdQ

Offline

#2 2014-07-02 07:06:23

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Is there a way to BLOCK traffic from certain Locations based on GEO IP?

It depends what you mean block traffic,
You can block users on online visitors list, just by adding ip or ip ranges in lhc back office configuration.


it can be like
172.168.1.*,172.168.*.* etc... Just play around smile
Or if you want completely block users to avoid starting chat there is also section in back office. Just it supports single ip not such fancy rules as online visitors.



Offline

#3 2014-07-02 07:47:27

MojoTojo Elmore
Member
Registered: 2014-07-02
Posts: 7

Re: Is there a way to BLOCK traffic from certain Locations based on GEO IP?

Hi

What I meant is basically FILTER OUT a region.. either BLOCK certain countries or Allow-Only certain countries.. not just IP blocking...
since the Software can determine country of each traffic, i thing it's not that difficult to block by country ..

A workflow would basically be like this:

when a user is from a Blocked country , it can be
a) he sees a "NOT AVAILABLE"
b) or system can show CHAT Availability as usual, but when it clicks the "chat now" button , nothing happens, or he/she gets prompted not available in your country or some other notice

I would prefer the latter method so it is more friendly to server resources..

This is a feature available on other Chat systems i've used.

regards

Offline

#4 2014-07-02 11:22:53

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Is there a way to BLOCK traffic from certain Locations based on GEO IP?

I have filled github issue.
https://github.com/LiveHelperChat/livehelperchat/issues/421

But you will have to wait for this one to be implemented. As for now you can try to take a look at

https://github.com/LiveHelperChat/livehelperchat-extensions/tree/master/verifyuser this extension verifies users but i ques with some modification could be done also some more stuff.


Also most logical would be just overrides few templates. Anyway all required documentation is on the site.

Offline

#5 2014-07-02 14:49:19

MojoTojo Elmore
Member
Registered: 2014-07-02
Posts: 7

Re: Is there a way to BLOCK traffic from certain Locations based on GEO IP?

ah cool, hope it gets implemented one day, soon perhaps hehe

for now I will definitely do an override somehow and if I don't get it easy, ill do it on the website side (ill create my own CHAT NOW button)

thanks a bunch, and good luck

Offline

Board footer