vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=281649

Thread Passwords (Updated to VB4 by BOP5)
by BirdOPrey5
16 Apr 2012 22:14

3 Attachment(s)
Updated by BirdOPrey5

This is a quick update of the vBulletin 3.6 mod by netwind: Thread Passwords (VB 3.6)

It is marked Re-Usable Code.

NOTE: Confirmed bug affecting all attachments. See post #20.

By request I have updated this to work on the latest vBulletin, VB 4.1.12. It should work on all 4.x versions.

There are NO new features, it is a simple update so it works with 4.x

I will not be providing official support for this mod- truth be told I'm not sure how it works, only that it does in my quick tests.

This is the original description:

Quote:

This hack allow protect thread by password same way as forums.
Administrator and moderators can change password, can appoint thread masters.
Thread masters can only change password.

All thread content are protected by password : attachments,printable version, archive,
search results. Instant subscription letters will not contain message.
Please "Mark as Installed" if you use it. :)

BirdOPrey5 16 Apr 2012 22:16

Reserved.

Mr_Running 17 Apr 2012 01:33

Okay, Is there an On and Off Switch? I am having trouble finding it. LOL

Settings? as far as settings I am guessing no...


Edit: Tagged. :)

BirdOPrey5 17 Apr 2012 02:04

No settings, just install the mod and it's enabled. Once you make the template edits it will be ready to go.

drchinh 19 Apr 2012 11:01

@BirdOPrey5:
Thank you very much, I will install this mod as soon as possible

thunderclap82 26 Apr 2012 00:25

When someone enters a password (right or wrong) I'm getting a Security Token error. Any ideas?

BirdOPrey5 26 Apr 2012 12:54

Are cookies enabled? Cookies must be enabled on the browser for the mod to work.

If they are can you give me a link to a password tread? I will see if I can see anything obvious. (Assuming it is guest accessible).

thunderclap82 26 Apr 2012 14:02

Cookies are enabled, and I've had several users attempt it.

In setting up a post for you I did narrow down the problem. Unregistered users can access the thread after entering the password, however if a registered user tries that's when the security token error pops up.

BirdOPrey5 26 Apr 2012 16:24

I do confirm the bug with non-logged-in users. Unfortunately still trying to get a new laptop setup so I don't have access to any of my mod source files right now. Will look into it in a few days when I'm back online.

EDIT-

You could try editing the threadpassword.php file.

Change this line near the top:

From:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


thunderclap82 26 Apr 2012 16:25

Quote:

Originally Posted by BirdOPrey5 (Post 2323755)
I do confirm the bug with non-logged-in users. Unfortunately still trying to get a new laptop setup so I don't have access to any of my mod source files right now. Will look into it in a few days when I'm back online.

Whew! Okay. Thanks! I'm happy its not just me. I appreciate your helping to try and resolve the issue.

BirdOPrey5 26 Apr 2012 16:38

You're welcome. I made an edit to the post above with something you can try if you feel like manually editing a file- otherwise wait until I get a chance and I will try it myself.

thunderclap82 26 Apr 2012 16:47

Quote:

Originally Posted by BirdOPrey5 (Post 2323767)
You're welcome. I made an edit to the post above with something you can try if you feel like manually editing a file- otherwise wait until I get a chance and I will try it myself.

That fixed it! Is it safe to have the CSRF Protection off though?

BirdOPrey5 26 Apr 2012 23:04

For a mod like this I don't see a problem. When I get my system back I'll go through the code thoroughly and see why it isn't working to begin with. It's not like anyone can post to the forum via this script- there would be no benefit sending a thread password from an outside domain- nothing to be gained.

BirdOPrey5 28 Apr 2012 19:18

Updated to 0.91- fixes the security token error and keeps cross-site scripting protection enabled.

You must re-upload all files and re-import the product xml file.

New Joe 09 May 2012 08:12

Installed
But they only thing is it shows a preview of what is in the Thread on the CMS page and the sidblock on New Forum Posts

Also on the mouse hover over the Thread title.


All times are GMT. The time now is 16:35.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.