vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Thread passwords (https://vborg.vbsupport.ru/showthread.php?t=156147)

netwind 10-11-2008 09:24 AM

Quote:

Originally Posted by Been Told (Post 1624554)
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.

Been Told 10-11-2008 09:32 AM

Quote:

Originally Posted by netwind (Post 1642570)
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.

2impulsiv 11-29-2008 02:23 PM

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

Cheers..

Been Told 11-29-2008 02:40 PM

That would be so annoying...

netwind 11-30-2008 08:27 AM

Maybe your client software does not send cookies ?
It can be browser, firewall, anonymization software.

lostgirl815 12-24-2008 01:28 AM

Quote:

Originally Posted by lostgirl815 (Post 1543385)
Is there by any chance an easy way to allow more characters in the password/allow longer passwords?

Quote:

Originally Posted by netwind (Post 1546133)
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 (Post 1549821)
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.)

inciarco 01-08-2009 02:40 PM

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.

:)

Been Told 04-25-2009 04:55 PM

Seems to work with 3.8.2 with the modifications I described further up this page.

AMUforums 05-03-2009 07:39 PM

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

Nominated for MOTM

BRotondi 06-30-2009 12:49 PM

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


All times are GMT. The time now is 09:41 AM.

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.01175 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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