Log In · Register

 
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
 
 
Start new topic
Replies
sherryvu
post Jan 16 2005, 05:11 PM
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 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();
 

Posts in this topic


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