The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Password protected threads
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 |
#2
|
|||
|
|||
*crickets*
anyone home? |
#3
|
|||
|
|||
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.. |
#4
|
||||
|
||||
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 |
#5
|
|||
|
|||
Quote:
Quote:
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|