View Full Version : Password protected threads
bandit022
07-11-2004, 10:13 PM
hey guys,
i have searched all around here, and the only thing i have found on this topic is a request for the same hack for vb2
in that thread, people were saying that it could be done, just wouldn't be very secure.
but that's fine. i'm not looking for it to be extremely secure, as long as it functions
and yes, i am aware that with vb3 we can password protect forums, but that will not work for what i am trying to do.
so, if anyone knows how to make a basic password protected threads hack, i would greatly appreciate it!
thank you for your time,
-jeff
bandit022
07-12-2004, 03:15 PM
*crickets*
anyone home?
nexialys
07-12-2004, 03:16 PM
be more specific in your request, we can't do everything with no details...
also, don't try to bump your thread each day, remember, coders are not robots... if nobody can answer your request, you will have no answer here..
Andreas
07-12-2004, 03:32 PM
Idea
- add a new column pwd VARCHAR(32) to table thread
- modify newthread.php to set this to md5(password) if user entered a password when starting a new thread
- modify search.php and forumdisplay.php to check if pwd is set and only display thread summary/post if user has appropriate password cookie, otherwise "This thread is password protected" or smth.
- modify showthread.php to check if the requested thread has a password. If it has and user does not have the appropriate password cookie, display an error message and a form to enter the password. If the user enters the password generate the appropriate cookie (expire = end of session) and redirect to the thread
You might also want to give mods abilities to change/remove password which requires further modifications.
Dunno if this does help to get you started, but i'm too lazy to code that :p
bandit022
07-12-2004, 05:23 PM
be more specific in your request, we can't do everything with no details...
also, don't try to bump your thread each day, remember, coders are not robots... if nobody can answer your request, you will have no answer here..
my appologies...
Dunno if this does help to get you started, but i'm too lazy to code that :p
Kirby,
that sounds like it would work... if only i knew more about php coding! i'm still very new to all of this, not to back at installing hacks and perhaps modifiying one to suit my board, but i've yet to try and code my own hack.
well thanks for the pointers... and if you happen to have some extra time i would greatly appreciate if you could code a hack to do it like you said.
thanks for your time,
-jeff
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.