rejetto forum

a message for specified ip

Guest · 5 · 1777

0 Members and 1 Guest are viewing this topic.

asim

  • Guest
hi guys

i want to ask about showing a message for specific IP

i am using hfs 2.2a

Thanks  ::)


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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.


ASIM

  • Guest
thanks man :)


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

best regards


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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>