Log In · Register

 
 
Closed TopicStart new topic
Block users script, confuse about it.
emerika66
post Jan 16 2005, 03:28 PM
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
 
creamysmile11
post Jan 16 2005, 04:48 PM
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.
 
starwberry_apple...
post Jan 16 2005, 04:55 PM
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.
 
sherryvu
post Jan 16 2005, 05:11 PM
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 happy.gif
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();
 
177emories
post Jan 27 2005, 07:06 PM
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?
 
Tupperware
post Jul 17 2006, 11:04 AM
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 Jul 17 2006, 12:14 PM
Post #7





Guest






^ you ought to start your own topic ... please don't bump year-old topics
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: