vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Password Protected Forums (vB3 Style) (https://vborg.vbsupport.ru/showthread.php?t=50012)

John 03-13-2003 02:28 PM

Quote:

Today at 11:26 AM squawell said this in Post #39
nice hack...

* squawell installed.... ;)

another question if i set timeout 1 week and after 1 week i forget

set new one.so that will let everyone access or the forum still

use the old password??


No, the password will stay the same.

The timeout is the amount of time before the user will have to enter the same password again to access the forum.

John 03-13-2003 02:28 PM

Quote:

Today at 10:11 AM Pady said this in Post #38
does this also cover the profile view where the last post is also listed and within the who's online?

In the next update it will.

John 03-13-2003 02:56 PM

Quote:

Today at 12:11 PM DBs said this in Post #40
Hi

Nice hack but I think I have found a problem.

If I set a forum password and the timeout to say 1 week, then go in and change the password to something else, it doesn't match the cookie and denies access - all is well.

If I then enter the new password it still says access is denied. Seems like the cookie is not being updated with the new password I entered.

Find:

PHP Code:

if ($_COOKIE[cookpass][$forumid]) { 

Above this add:

PHP Code:

if ($_POST[forumpass]) {
$_COOKIE[cookpass][$forumid] = $_POST[forumpass];


Instructions updated.

Davey 03-13-2003 03:00 PM

Find in which file?

Dave.

DBs 03-13-2003 03:05 PM

Quote:

Today at 05:00 PM Davey said this in Post #44
Find in which file?

Dave.


forumdisplay.php
showthread.php

Thanks for the fix.

John 03-13-2003 03:08 PM

Quote:

Today at 05:05 PM DBs said this in Post #45



forumdisplay.php
showthread.php

Thanks for the fix.

That's right, both of them. :)

squawell 03-13-2003 03:25 PM

Quote:

Today at 12:28 AM Shaolyen said this in Post #41



No, the password will stay the same.

The timeout is the amount of time before the user will have to enter the same password again to access the forum.

thankz ur reply!!:D:D

now im understand...... :rambo:

sebastien69 03-14-2003 11:18 PM

install and work perfectly

but on index forumlist the $forum[description] appear what??

I have put the right code in the root/index.php

Code:

if ($forum[security] == 2) {
                $forum[description] .= " [<i>Password Protected</i>]";
        }


above
eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$te mpext")."\";");

i'didn't know what i do wrong

My forum description is like this:

Coding projects [Password Protected]


vb2.2.8

John 03-15-2003 12:25 AM

That's what is supposed to happen. It shows that the forum is password protected.

sebastien69 03-15-2003 03:30 AM

yes ok but in your screenshot the forum with the password hack show no description why??
It's because there is no description for the forum or it is the hack that hide description???

https://vborg.vbsupport.ru/attachmen...&postid=364734


All times are GMT. The time now is 08:07 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.04336 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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