SMF For Free Support Forum
Signup For Free Forum
September 07, 2008, 03:52:53 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: [req]User/Password Acces code  (Read 223 times)
0 Members and 1 Guest are viewing this topic.
FinishTheFight
SMF For Free Member
*
Offline Offline

Posts: 26



View Profile WWW
« on: April 28, 2008, 10:27:31 am »

 I got these codes off of hscripts.com and I was wandering if anyone could make a code like this, that could go into a post. So I can make it to were only certain groups, members, or whoever I choose can access that topic or should I post a suggestion for SMF to make it to were only certain member groups can see a topic, not just a board?

Javascript
Code:
<script type="text/javascript">
function login()
{
  var username=prompt("Enter usename");
  var password=prompt("Enter password");
  if(username=="hiox" && password=="hioxindia")
   window.location="http://www.hscripts.com";
  else
   alert("Invalid username password");
 }
</script>

HTML
Code:

 <input type="button" name="login" value="Login" onclick="login()">
 &copy; <a href="http://www.hscripts.com" style="color:#3D366F;text-decoration:none;cursor:pointer;font-size=13px">hscripts.com</a>
Logged


Code:
Respect the admins and they will respect you
Follow the Rules
SMF RULES!!!!!!!
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3042



View Profile WWW
« Reply #1 on: April 28, 2008, 10:33:07 am »

You can already do that with Membergroups and Permissions.  You just can't do it with individual posts, only boards.

Logged

FinishTheFight
SMF For Free Member
*
Offline Offline

Posts: 26



View Profile WWW
« Reply #2 on: April 28, 2008, 09:11:24 pm »

 Exactly, I would like it to be with both and there could be a symbol letting a person know that it is a restricted topic to certain members or something.
Logged


Code:
Respect the admins and they will respect you
Follow the Rules
SMF RULES!!!!!!!


Pages: [1]
  Print  
 
Jump to:  

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