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 |
#72
|
|||
|
|||
FWIW, I'm running 2.3.0, and have had more reports of people being able to get in without a password today, as well.
|
#73
|
|||
|
|||
I told you guys there was a problem with this in post #61. Did you think I was kidding?
|
#74
|
|||
|
|||
Quote:
|
#75
|
|||
|
|||
That's too bad, this would be pretty badass if it weren't for that odd little bug.
|
#76
|
|||
|
|||
Bug ?
Security flaw ! I hope he can still fix it, I have this installed, working and the flaw is confirmed & reproducable on 2.2.9 I hope he can fix it. |
#77
|
|||
|
|||
We really needed this hack, and after looking at it, I threw it towards Scott and he fixed it in 1 minute, lol.
Here is version 1.2 which at least works on one of the sites I have it installed on. So hopefully it works for you too. The changes are the forumdisplay and showthread text that you have to replace, the whole chunck. So, to upgrade, just remove it from those 2 files again and put this stuff instead. Moo |
#78
|
||||
|
||||
Nice,
/me clicks install |
#79
|
|||
|
|||
im getting this Invalid SQL:
SELECT security,forumpass,passtimeout FROM forum WHERE forumid = mysql error: You have an error in your SQL syntax near '' at line 5 mysql error number: 1064 |
#80
|
|||
|
|||
idem
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. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 mysql error number: 1064 |
#81
|
|||
|
|||
This looks pretty cool, I may have use for this
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|