vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Thread Passwords (Updated to VB4 by BOP5) (https://vborg.vbsupport.ru/showthread.php?t=281649)

BirdOPrey5 04-15-2012 10:00 PM

Thread Passwords (Updated to VB4 by BOP5)
 
1 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 04-16-2012 09:16 PM

Reserved.

Mr_Running 04-17-2012 12:33 AM

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 04-17-2012 01:04 AM

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

drchinh 04-19-2012 10:01 AM

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

thunderclap82 04-25-2012 11:25 PM

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

BirdOPrey5 04-26-2012 11:54 AM

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 04-26-2012 01:02 PM

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 04-26-2012 03:24 PM

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:
PHP Code:

define('CSRF_PROTECTION'true); 

to:

PHP Code:

define('CSRF_PROTECTION'false); 


thunderclap82 04-26-2012 03:25 PM

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.


All times are GMT. The time now is 03:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01718 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete