Forum moderator: bigblog  
uCoz Community » Communication » uCoz Discussions » How To Block a persons ip adress (How to ban a person from website via IP Adress)
How To Block a persons ip adress
Sunny
Posts: 9296
Reputation: 456

Message # 16 | 2:44 PM
Quote Horex ()
little question on the end friend: when I want blocking more IP adress ... in how form i can write it?


Code
<?if($IP_ADDRESS$='62.204.252.126' or $IP_ADDRESS$='65.207.254.127')?>You are not allowed to view this page<?else?>


and so on.

I'm not active on the forum anymore. Please contact other forum staff.
Horex
Posts: 34
Reputation: 0

Message # 17 | 3:00 PM
and last question ...when I want block Home Page how is path to Home page module?

for blog is ... Control Panel / Blog / Module design customization

, but for Home Page?

Thank You!!

and with more IP s I did it this way and it's also functional:

<?if($IP_ADDRESS$='62.204.252.126')?><?else?>
<?if($IP_ADDRESS$='36.188.80.900')?><?else?>

and 2x at the end

<?endif?>
<?endif?>

and it seems also functional smile
Post edited by Horex - Monday, 2013-11-25, 3:07 PM
Sunny
Posts: 9296
Reputation: 456

Message # 18 | 3:25 PM
Quote Horex ()
when I want block Home Page how is path to Home page module?


Control Panel -> Customize Design -> Site Pages

Quote Horex ()
and with more IP s I did it this way and it's also functional


Yes, your variant is also correct. My variant just takes a bit less space smile

I'm not active on the forum anymore. Please contact other forum staff.
Horex
Posts: 34
Reputation: 0

Message # 19 | 9:24 AM
Great Sunny....truly many thanks for your SUPER help!!! You´re best!!! smile

Added (2013-11-28, 3:20 AM)
---------------------------------------------
Hi Sunny,

Please friend, it´s possible use this program here on Ucoz to block one country?

http://www.ip2location.com/free/visitor-blocker

How is format pages here? Apache htaccess, Linux IPtable, CID ???

Thank You for reply

H.

Added (2013-11-28, 3:24 AM)
---------------------------------------------
I generate all IP for Czech republic in Apache htaccess code :

<Limit GET HEAD POST>
order allow,deny
allow from all
deny from 4.68.7.237/32
deny from 4.68.7.238/32
deny from 4.68.15.166/
.
.
.
.

it´s possible implement this in Ucoz HTML ?

Sunny
Posts: 9296
Reputation: 456

Message # 20 | 9:26 AM
Horex, htaccess can't be used on a uCoz website.
I'm not active on the forum anymore. Please contact other forum staff.
Horex
Posts: 34
Reputation: 0

Message # 21 | 10:51 AM
Hi Sunny ... bad news sad Through Seznam.cz he normally come to my blog ... and blocking his IP address even though it has the same did not help ... help me only blocking all country everything else is useless sad
Sunny
Posts: 9296
Reputation: 456

Message # 22 | 1:08 PM
Horex, it won't be possible to block the whole country. Why do you think he can still view your website? If you have pasted the code above to all the necessary templates, and his IP hasn't changed, then there shouldn't be any problems.
I'm not active on the forum anymore. Please contact other forum staff.
Horex
Posts: 34
Reputation: 0

Message # 23 | 9:11 AM
Hi Sunny,

Again You´re right !!! I miss block one templates .... I´m a fool, sorry Sunny - You´re best!!! Thank You very much again!!!!

Added (2013-12-18, 2:42 AM)
---------------------------------------------
Hi Sunny, Please is possible backup all blog on another name of blog here on Ucoz?

Thank You for reply
Post edited by Horex - Wednesday, 2013-12-18, 9:11 AM
Sunny
Posts: 9296
Reputation: 456

Message # 24 | 11:22 AM
Horex, I'm afraid I don't understand what exactly you mean. If you mean creation of a duplicate website, then it is not allowed.
I'm not active on the forum anymore. Please contact other forum staff.
Horex
Posts: 34
Reputation: 0

Message # 25 | 12:57 PM
Ok ... and now I have another question friend:

How I can hide my link ... so he could see only one who thanked me for it?....icon to hide the link I do not see...

Added (2013-12-18, 6:57 AM)
---------------------------------------------
And second question friend:

How I can see in my editor only in this BBcode and not only visual or HTML :

[img]http://..... [/img]

...

I need copy this BBCode , but I can switch only between visual mode and HTML .

Thank You!!
Post edited by Horex - Wednesday, 2013-12-18, 1:00 PM
Sunny
Posts: 9296
Reputation: 456

Message # 26 | 1:44 PM
Quote Horex ()
How I can hide my link ... so he could see only one who thanked me for it?....icon to hide the link I do not see...


uCoz doesn't have such feature. However, it is possible to show a link if a user has a certain number of posts (with the help of the hide bb code, e.g.
Code
[hide=10]some text[/hide]


Quote Horex ()
How I can see in my editor only in this BBcode and not only visual or HTML :


What editor do you mean? The one for editing design or posts?

I'm not active on the forum anymore. Please contact other forum staff.
Horex
Posts: 34
Reputation: 0

Message # 27 | 5:36 PM
I mean for posts friend... thanks!!
Sunny
Posts: 9296
Reputation: 456

Message # 28 | 11:56 AM
Horex, please provide the address of your website. You must have all three options: BB Codes, HTML Codes, and Visual Editor.
I'm not active on the forum anymore. Please contact other forum staff.
Horex
Posts: 34
Reputation: 0

Message # 29 | 2:20 PM
All is now OK ... I miss BBCode switch in right above edit window...thank You friend

Added (2014-01-08, 8:20 AM)
---------------------------------------------
Hi friend... I have problem with uiD profile...when I want log out from my iuD profile I see only some tyranosaurus and here is this message : we´re sorry something went very wrong ... how I can log out please and log in another my account on uiD ??? Thank You for reply

Sunny
Posts: 9296
Reputation: 456

Message # 30 | 4:30 PM
Horex, do you have the problem in all browsers? What's the link to your uID profile? Besides, please note that if you need to log out of your uID account in order to log in with another one to your uCoz website, you need to log out at http://guid.uid.me/
I'm not active on the forum anymore. Please contact other forum staff.
uCoz Community » Communication » uCoz Discussions » How To Block a persons ip adress (How to ban a person from website via IP Adress)
Search: