Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Thread passwords Details »»
Thread passwords
Version: 0.3, by netwind netwind is offline
Developer Last Online: Nov 2016 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 08-23-2007 Last Update: 05-06-2008 Installs: 76
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 10-11-2008, 09:24 AM
netwind netwind is offline
 
Join Date: Feb 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Been Told View Post
I had to change the template edit in order to make it work.
But with my edit, only admins can set/change the password.
You must understand, that moderators still can change password by cheating tools.
Template changes not necessary. You must change plugins too.
Reply With Quote
  #53  
Old 10-11-2008, 09:32 AM
Been Told Been Told is offline
 
Join Date: Oct 2006
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by netwind View Post
You must understand, that moderators still can change password by cheating tools.
Template changes not necessary. You must change plugins too.
None of my mods are technically minded enough to do that. Plus, if this mod was INTENDED to make it ok for Moderators to do that, I see no problem.
Reply With Quote
  #54  
Old 11-29-2008, 02:23 PM
2impulsiv 2impulsiv is offline
 
Join Date: Jan 2007
Location: Australia
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way so that each time the thread is viewed the password is required?

Cheers..
Reply With Quote
  #55  
Old 11-29-2008, 02:40 PM
Been Told Been Told is offline
 
Join Date: Oct 2006
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would be so annoying...
Reply With Quote
  #56  
Old 11-30-2008, 08:27 AM
netwind netwind is offline
 
Join Date: Feb 2005
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe your client software does not send cookies ?
It can be browser, firewall, anonymization software.
Reply With Quote
  #57  
Old 12-24-2008, 01:28 AM
lostgirl815 lostgirl815 is offline
 
Join Date: Apr 2006
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lostgirl815 View Post
Is there by any chance an easy way to allow more characters in the password/allow longer passwords?
Quote:
Originally Posted by netwind View Post
try alter thread table :
ALTER TABLE `thread` CHANGE `threadpassword` `threadpassword` VARCHAR(255) DEFAULT NULL;

Input fields in templates are big enough (80 chars), but you can edit them.
Quote:
Originally Posted by netwind View Post
lostgirl815 you don't need change files.
just install product . make database backup . run sql query by mysql client (phpmyadmin or other). text located in message above (alter table)
Okay, my skills don't extend to following any of the above directions, so I just let it go - but at this point it would be really really convenient to have more than 16 characters, since I use this for a lot of games. So if someone could tell me where I find the table that needs to be altered, I would appreciate it. And, I'll give it a try.

(I can't run sql queries, I have to ask my host to run them since so many people evidently accidentally deleted their boards or something by messing with it themselvse.)
Reply With Quote
  #58  
Old 01-08-2009, 02:40 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, Works Fine on vB373. :up:

Also to Protect the Password Change Form you can include the following conditional If so that only admins can access it:

Template threadpassword_form

Code:
	<if condition="in_array($bbuserinfo[usergroupid], array(6))">


<form action="threadpassword.php" method="post">
<input type="hidden" name="threadid" value="$threadid" />
<input type="hidden" name="do" value="domodify" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<table class="tborder" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" align="center" width="100%">
<tr><td colspan=2 class="alt1" align=center><b>$vbphrase[threadpassword_setup_title]</b></td></tr>
<if condition="$show[editpassword]">
        <tr>
		<td nowrap class="alt1">$vbphrase[threadpassword_password]
</td>
		<td nowrap class="alt1"><input type="text" name="threadpassword" value="$threadpassword" /></td>
        </tr>    
</if>               
<if condition="$show['masters']">
<tr>
		<td nowrap class="alt1">$vbphrase[threadpassword_masters]
</td>
		<td class="alt1">$threadmasters_listwlinks</td>
</tr>
</if>
<if condition="$show['editmasters']">
<tr>
		<td nowrap class="alt1">$vbphrase[threadpassword_editmasters]</td>
		<td nowrap class="alt1"><input type="text" name="threadmasters" value="$threadmasters_list" size="80"/></td>
</tr>
</if>
<if condition="$show['editmasters'] OR $show['editpassword']">
<tr>
<td colspan=2 class="alt1">
<center>
<input type="submit" value="$vbphrase[save_changes]">
</center>
</td>
</tr>
</if>
</table>
</form>

	</if>
Notice the

Quote:
<if condition="in_array($bbuserinfo[usergroupid], array(6))">

...

</if>
My Best Regards.

Reply With Quote
  #59  
Old 04-25-2009, 04:55 PM
Been Told Been Told is offline
 
Join Date: Oct 2006
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work with 3.8.2 with the modifications I described further up this page.
Reply With Quote
  #60  
Old 05-03-2009, 07:39 PM
AMUforums AMUforums is offline
 
Join Date: Nov 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly, this should come standard on the next vBulletin Update.

Nominated for MOTM
Reply With Quote
  #61  
Old 06-30-2009, 12:49 PM
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Location: Zurich
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I move the thread into another forum or rename it, the password still will work, right?

And what if I merge or split threads?

Thanks!
Bruno
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:24 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.07208 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete