rejetto forum
May 24, 2012, 11:36:00 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: a message for specified ip  (Read 1082 times)
0 Members and 2 Guests are viewing this topic.
asim
Guest


Email
« on: November 27, 2007, 04:01:26 AM »

hi guys

i want to ask about showing a message for specific IP

i am using hfs 2.2a

Thanks  Roll Eyes
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #1 on: November 27, 2007, 07:09:20 AM »

If you mean a ban message, ban the IP and put a message in the reason.

If you mean just a message, make a javascript if statement that will only show the message for the ip. OR use the new HFS macro's.
Logged

ASIM
Guest


Email
« Reply #2 on: November 27, 2007, 07:40:22 AM »

thanks man Smiley


how can i make a JAVA Script cuz i'm not familiar with that

best regards
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #3 on: November 27, 2007, 10:51:55 AM »

I'll keep it simple.

Paste this somewhere in the body of your template, input the message and ip you need.

<script type="text/javascript"> if("%ip%".match(" IP ")) document.write(' MESSAGE '); </script>
Logged

asim
Guest


Email
« Reply #4 on: November 27, 2007, 11:36:03 AM »

Thanx

i appreciate that Smiley


 Cool
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page April 12, 2012, 12:30:09 AM
anything