The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Password Protected Forums (vB3 Style) Details »» | |||||||||||||||||||||||||
-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-/\-
Password Protected Forums (vB3) By Shaolyen email: John@eovie.com msn: John@eovie.com TESTED ON A FRESH vB 2.3.0 -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/- Introduction ----------------------------------------------------------- This hack is fairly simple in what it does. If a user tries to access a password protected forum, they will be prompted for the password. Once entered correctly they'll be able to browse the forum as normal. It's as simple as that! There are a few extras in this. When a user enters a password and it's verified as being correct, a cookie is sent to their PC containing the password. This will ensure that they don't need to log in every time they access the protected area, until the cookie expires. The cookie timeout time for each protected forum can be set in the AdminCP. (You can choose anything from 1 minute to 1 year.) Password protected forums are denoted by the text "[Password Protected]" tagged on the end of the forum description. If you don't have a forum description for your password protected area, "[Password Protected]" will take its place. Please bear in mind: ? Threads will appear in searches, but the title, author, etc. are all set to "Restricted". A password is needed to access these threads. ? The password in the cookie IS NOT ENCRYPTED. This is for a reason, so the password can be viewable in the AdminCP. If anyone would prefer MD5 encryption in their cookies, let me know. ? In the very near future I will be adding on options to enable MD5 encryption. ? When you specify "Regular Forum Security" in the AdminCP and a password has been entered, that password will not be recorded. Security level, password, and timeout times can be specified when creating or editing a forum. (AdminCP > Forums & Moderators > Add | Modify) Warning ----------------------------------------------------------- BACKUP YOUR DATABASE AND FORUM FILES BEFORE YOU EVEN THINK ABOUT APPLYING THIS HACK! ----------------------------------------------------------- Shameless Plug ----------------------------------------------------------- This hack was written for the fine people at xAviaHosting - www.xaviahosting.com. Pay them a visit (Or I'm a dead man!) ----------------------------------------------------------- Shameful Plea ----------------------------------------------------------- I'm poor as always, I'd be seriously grateful for any donations..! If you have a few spare pennies in that Paypal account, my address is "John@eovie.com" - share the wealth! ----------------------------------------------------------- Screenshots: ----------------------------------------------------------- Password protected indicator Password prompt AdminCP Settings Search results 1 Search results 2 ----------------------------------------------------------- Update 1.0 > 1.1 ----------------------------------------------------------- ? Search blocking enabled. Screenshots: Search results 1 Search results 2 Available here ----------------------------------------------------------- Show Your Support
|
Comments |
#82
|
|||
|
|||
Quote:
A few problems here I have applied the modifications that were kindly supplied by xiphoid (cheers for those) Now when I go to view a thread, I am getting : Code:
Database error in vBulletin 2.3.0: Invalid SQL: SELECT security,forumpass,passtimeout FROM forum WHERE forumid = mysql error: You have an error in your SQL syntax near '' at line 3 mysql error number: 1064 Date: Wednesday 07th of May 2003 02:46:23 AM Script: http://localhost/rnas/rnas/showthread.php?s=&threadid=7 Referer: Code:
Password protection enabled, yet no password was submitted. (Forum access can be gained by leaving the password field blank on entry.) |
#83
|
|||
|
|||
i have install the hack but dont work 100% beusoe if you test any work 8488 and real password was vb200325 and the user can com in the Protected Forums and can test any t and they can oben how ican fixe it and why dont work 100%
Thankes for helpp it is real cool hack if they work in the my from i need to the hacks very much |
#84
|
|||
|
|||
Has anyone come up with a complete 100% working version of this hack yet ?
|
#85
|
||||
|
||||
Quote:
and everyone else getting mysqp errors. put them in one at a time i was putting them in at the same time and getting the same error. but sucess every time putting 1 in at time |
#86
|
|||
|
|||
Very very nice hack.
|
#87
|
|||
|
|||
i have 2 problems with this
first is i can't change the password once its set or anyting else for that matter it just won't update those feilds Password protection enabled, yet no password was submitted. (Forum access can be gained by leaving the password field blank on entry.) Record updated! thats what it says when i try to update for some reason the password var is not being set and the second it would appear the once a user has a cookie you can access the forum without entering the pass and after the time out period i had mine set for 60 mins i waited 2 days and was able to get access any ideas for a fix?? |
#88
|
||||
|
||||
Sorry everyone, I've been away for the past couple of months - now I'm back, and I've got a bit of time to fix any issues there are with my current hacks.
Is the modified version that xiphoid posted working fine? If so, should I update the original? |
#89
|
|||
|
|||
i'd like to click install but i can't get it to work
|
#90
|
|||
|
|||
Quote:
Cheers amp2000 |
#91
|
|||
|
|||
For everyone getting errors similar to the following from xiphoid's update
Code:
Database error in vBulletin 2.3.0: Invalid SQL: SELECT security,forumpass,passtimeout FROM forum WHERE forumid = Code:
Open up: root/showthread.php Find: ----------------------------------------------------------- eval("dooutput(\"".gettemplate("showthread")."\");"); ----------------------------------------------------------- Replace with: ----------------------------------------------------------- // Showthread Password Protection Code // Updated by Scott $forumid = $foruminfo['forumid']; $seccheck = $DB_site->query_first(" SELECT security,forumpass,passtimeout FROM forum WHERE forumid = $forumid "); The only difference is '$forumid' now has quotes around it. Hope that helps yas Code:
Open up: root/showthread.php Find: ----------------------------------------------------------- eval("dooutput(\"".gettemplate("showthread")."\");"); ----------------------------------------------------------- Replace with: ----------------------------------------------------------- // Showthread Password Protection Code // Updated by Scott $forumid = $foruminfo['forumid']; $seccheck = $DB_site->query_first(" SELECT security,forumpass,passtimeout FROM forum WHERE forumid = '$forumid' "); But then again I've only installed the hack from xiphoid's 1.2 version so I dont know what the bug was with Shaolyen's 1.1 version. If someone can tell me how to reproduce the flaw I'll test it out & let yas know if it works. If anyone is reluctant to tell me how to reproduce the flaw will you pleeeez see does it work on the new updated instructions, ie v1.2, I need to know whether this is secure or not before I use it. This is a great hack Shaolyen, I'll be definitely clicking install if this works, thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|