Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 allowed members AND password (instead of OR passwo
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

funinbc
Junior Member

245 Posts

Posted - 23 March 2003 :  15:30:58  Show Profile
Is this possible? Well I guess anyting is possible...

What we need to do is have only allowed members access a forum (which we have) but we would also like to have it where it also takes a password as well... preferably an expiring cookie? We need to have it where after the user leaves the topic, the cookie expires. This way, others (children, etc..) cannot access the topic eventhough the user may still be logged in the main forum.

Thanks in advance.

Edited by - ruirib on 23 March 2003 18:32:37

funinbc
Junior Member

245 Posts

Posted - 26 March 2003 :  12:29:43  Show Profile
Is there a Mod out there or would this have to be written? Basically what we need is to close the door when you leave the topic. Done with an expiring cookie?

There are two topics that we would like to use a password to get into them to keep sensitive eyes out.

Am I explaining it right?
Go to Top of Page

puzo
Junior Member

Israel
417 Posts

Posted - 26 March 2003 :  14:51:12  Show Profile  Visit puzo's Homepage
i can make you a script which will only allow certain members (which are already regged) (you add them urself) to view your default.asp page


Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 March 2003 :  16:39:41  Show Profile  Send ruirib a Yahoo! Message
There are no individual forum specific cookies. They are all board wise.

This feature is not implemented in any mod that I know of. Of course, I'm certainly not the best informed guy when it comes to mods, but I'm sure that I never read about this.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 27 March 2003 :  21:11:19  Show Profile
so what you are saying is there is no way to do this?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 March 2003 :  21:40:38  Show Profile  Send ruirib a Yahoo! Message
No, I'm not saying that. Just saying that it would be needed to develop code for this.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 17 April 2003 :  22:53:40  Show Profile
has anyone given this some thought? my members are sreaming for this.

there are two rooms that need this because we have kids around
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 April 2003 :  22:57:56  Show Profile  Send ruirib a Yahoo! Message
WHy don't you change the Auth Type to just password protected. Given your situation it would probably be the best option. Anyone could access it as long as the password is specified. Forces password to be written, I know, but looks like that's what you'd want to happen all the time.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 18 April 2003 :  11:51:52  Show Profile
Thank you for your advise. I tried that but we need it to have it where after the user leaves the topic, the cookie expires and has to re-type it in every time he wants to get into the room
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 18 April 2003 :  13:36:43  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Just comment this line out of inc_func_secure and you should be fine. It will prevent the cookie from being stored (the only problem with this method is it will require EVERY access to the forum/topic to enter the password....)

Response.Cookies(strUniqueID & "Forum")("PRIVATE_" & rsStatus("F_SUBJECT")) = Request("pass")

The other thing you could do is add a small section of code to default.asp and active.asp (if you're like me and hardly ever go to the front page of the forums) that is something like this:

strSQL = "SELECT F_SUBJECT " & _
	 "  FROM " & strTablePrefix & "FORUM " & _
         " WHERE F_PRIVATEFORUMS IN (2,3,7)"
Set rsClear = Server.CreateObject("ADODB.Recordset")
rsClear.open strSql, my_Conn
if rsClear.EOF or rsClear.BOF then
   ' Do nothing.  No passwords to clear...
else
  Do while not rsClear.EOF
	' Clear the password for that forum....
	Response.Cookies(strUniqueID & "Forum")("PRIVATE_" & rsClear("F_SUBJECT")) = ""
        rsClear.MoveNext
  Loop
End If



Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07