rejetto forum

Is this possible?

0 Members and 1 Guest are viewing this topic.

Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
LoL i think you can change it in your profile :P rofl 'Dusitn'Duse is supposed to be 'Dustin' i'm assuming.

Um no i don't think you can sign in someone automatically from an IP address.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13525
    • View Profile
yes, it is possible using javascript.
something like if (ip == "1.2.3.4") redirect("http://bill@host");

if you are good to javascript, because HFS has no such feature.


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs

Offline DustinDuse

  • Occasional poster
  • *
    • Posts: 18
    • View Profile
Well i was only planing on setting it up for a few people with static ips...i hate java  :-\

EDIT: I Plan on posting the code here when im done so maybe someone eles will be able to use it.
« Last Edit: February 23, 2007, 02:14:08 AM by DustinDuse »


Offline DustinDuse

  • Occasional poster
  • *
    • Posts: 18
    • View Profile
ok well i got something that works only something is messing with me... i get a message that says your about to login as admin on a website that does not reqiure you login whould you like to visit this site? i click yes and it pops up again and again! err!!!! what do i do? i addeed the code im useing below...
Code: [Select]
<!--#if expr="${REMOTE_ADDR} = /^127.0.0.1/" -->
<script language="javascript">
{location.href="http://admin:password@127.0.0.1:8080" }
</script>
<!--#endif -->


Offline DustinDuse

  • Occasional poster
  • *
    • Posts: 18
    • View Profile
ok well i had most things open and other passwored so i just passworded it all so you have too use a guest account... im useing the Stevens guy login template... i think this could go on the todo list? i like the idea of auto login


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13525
    • View Profile

Offline DustinDuse

  • Occasional poster
  • *
    • Posts: 18
    • View Profile
Yes but if you have firefox people they can get errors so i forwarded them to a hinden folder just like the root folder. If you password protect root folder it dont work. but i think im gunna try something. If you dont password protect root(where i linked to frist) in firefox i get a warning and it keeps repeating. kinda strange?

-Dustin


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13525
    • View Profile
maybe the <!--#if
is not compatible with firefox
i never saw it