SMF For Free Support Forum
Signup For Free Forum
September 05, 2008, 08:00:45 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: need a code  (Read 405 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose Jr.
SMF For Free Sr. Member
*
Offline Offline

Posts: 412


Me And My Girlfriend


View Profile WWW
« on: March 16, 2008, 08:42:10 pm »

does anyone have a code that i can use with my forum to password protect a certain page not a board or a topic i just need a general password protect code
Logged

Come Check Out My Forum!

SharpShot
SMF For Free Hero
*
Offline Offline

Posts: 833


Aetus.net is my home


View Profile WWW
« Reply #1 on: March 16, 2008, 08:51:14 pm »

A code i belive is in the proccess like this though i don't know if it works havent tried...heres link

http://www.smfsupport.com/support/javascript/help_with_my_code-t11454.0.html
Logged





Agent Moose
Moderator
*****
Offline Offline

Posts: 625


Do not PM me for Code Support or Request


View Profile WWW
« Reply #2 on: March 17, 2008, 07:56:40 am »

Im guessing you want it for a page you made?
Logged

Eternal Flame Coming Soon

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
Agent Moose Jr.
SMF For Free Sr. Member
*
Offline Offline

Posts: 412


Me And My Girlfriend


View Profile WWW
« Reply #3 on: March 17, 2008, 02:39:50 pm »

yes
Logged

Come Check Out My Forum!

blahs
SMF For Free Sr. Member
*
Offline Offline

Posts: 252


5 out of 4 people have trouble with fractions!


View Profile WWW
« Reply #4 on: March 17, 2008, 04:05:31 pm »

This one will work with ff not ie but it does the whole forum ill try and make it olny for one page:
Code:
<SCRIPT language="JavaScript">
<!--hide
var pass1="cool";
password=prompt('Please enter your password to view this page!','');

if (password==pass1)
   {
  alert('Password Correct! Click OK to enter!');
   }
else
   {
    window.location="www.barbie.com";
    }

//-->
</SCRIPT>
Logged
Agent Moose Jr.
SMF For Free Sr. Member
*
Offline Offline

Posts: 412


Me And My Girlfriend


View Profile WWW
« Reply #5 on: March 17, 2008, 04:19:30 pm »

can you get one that works for IE?
Logged

Come Check Out My Forum!

Agent Moose Jr.
SMF For Free Sr. Member
*
Offline Offline

Posts: 412


Me And My Girlfriend


View Profile WWW
« Reply #6 on: March 17, 2008, 04:20:10 pm »

my schools webpage has one that makes it so you have to enter a password to get in the library thingy and they have IE
Logged

Come Check Out My Forum!

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3026



View Profile WWW
« Reply #7 on: March 18, 2008, 02:02:28 pm »

and are they using SMF?
Logged

Agent Moose Jr.
SMF For Free Sr. Member
*
Offline Offline

Posts: 412


Me And My Girlfriend


View Profile WWW
« Reply #8 on: March 18, 2008, 02:11:22 pm »

no they are not
Logged

Come Check Out My Forum!



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.219 seconds with 17 queries.