Block users script, confuse about it. |
Block users script, confuse about it. |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 95 Joined: Feb 2004 Member No: 3,903 ![]() |
im still confuse of what to do even when i read the instructions,like how do i block unregistered users and people i dont want viewing in which part of the code |
|
|
![]() |
![]()
Post
#2
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 ![]() |
all you do is replace the word USERNAME with the username of the person you want blocked. if you want to block unregistered users, you do what starwberry_applez said. so it'll end up looking something like this
![]() QUOTE if (xName == null || xName == 'FIRST BLOCKED USER HERE' || xName == 'SECOND BLOCK USER HERE') {
alert("Sorry, you are either blocked from this site or not logged in."); redirect(); |
|
|
![]() ![]() |