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
|
|
![]() guess what... chicken butt. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 316 Joined: Apr 2004 Member No: 13,740 ![]() |
i think...
xName = getXName(); ^^it says that in the script. so if u would want me to read the stuff u would put xName = creamysmile11; i think OR.. .just try messing it up a big like put it in the parenthesese or like right before it when it says getXName i think u need the peoples usernames there. |
|
|
![]()
Post
#3
|
|
![]() Star of Berryz ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 406 Joined: May 2004 Member No: 15,033 ![]() |
u changed the
CODE 'username' into the word CODE null without the apostrophes to block unregistered users.
|
|
|
![]()
Post
#4
|
|
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(); |
|
|
![]()
Post
#5
|
|
![]() Prez of Student Council 04/05 ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,888 Joined: Jan 2004 Member No: 851 ![]() |
how come SOMETIMES it blocks people... and then sometimes it doens't work...
i have the blocked users script with the splash screen... and i test it out by logging out and going to my page... most of the time it blocks... but sometime sit doens't/// is there a glitch? |
|
|
![]()
Post
#6
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Jul 2006 Member No: 439,827 ![]() |
Is their any way a blocked user can not see the site? I have noticed that this blocks and everythign but it blocked user can still see current postings. Can anyone help how to block out the view?
|
|
|
*digital.fragrance* |
![]()
Post
#7
|
Guest ![]() |
^ you ought to start your own topic ... please don't bump year-old topics
|
|
|
![]() ![]() |