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)
-   -   PasswordHack for v2.2.1 English (https://vborg.vbsupport.ru/showthread.php?t=32956)

Bedhead 12-06-2001 05:12 AM

Add column 'password' to table 'forum'...

This is the error I see when i try to access it directly after the files were all installed.

Any ideas?

Bedhead 12-06-2001 06:00 AM

Sorry guys,

I added the column password to the table forum and all is working.

I love this hack.

Afterburner,

You are the man buddy!!!

Have a merry christmas and a happy new year!

Logo 12-06-2001 07:23 PM

Hi Burner !

Wie schauts den mit einer German Version aus ???

Bedhead 12-06-2001 11:14 PM

I have found a bug.

If members click on a user and check their last posts they can gain access via the memberlist.
In the mean time I have restricted access to the memberlist and all is good otherwise.

Is there a fix for this?

Nam 12-06-2001 11:20 PM

[QUOTE]Originally posted by Bedhead
I have found a bug.

If members click on a user and check their last posts they can gain access.

Is there a fix for this?

Afterburner 12-07-2001 07:33 AM

German Version:
https://vborg.vbsupport.ru/showthrea...threadid=32955


thx for reporting this bug, will fix this asap

Bedhead 12-07-2001 07:48 AM

No problem buddy,
Looks great otherwise.

Afterburner 12-07-2001 09:14 AM

do this to fix the bug:

PHP Code:

download the member.php and make a backup of this file.

look for this code:

$lastposturl="showthread.php?s=$session[sessionhash]&postid=$getlastpost[postid]#post$getlastpost[postid]";

replace it with:

$foruminfo $DB_site->query_first("SELECT forumid,password FROM forum WHERE forumid='$getlastpost[forumid]'");
if (
$foruminfo[password]!="") {
$lastposturl="";
$lastposttitle="$bbtitle";
} else {
        
$lastposturl="showthread.php?s=$session[sessionhash]&postid=$getlastpost[postid]#post$getlastpost[postid]";
}

upload the member.php 


Afterburner 12-07-2001 09:16 AM

oh I forgot to say:

if the last post of a user is in a protected board the title of the last post is replaced with the BB title of your board and the link goes to the mainpage of your board.

Bedhead 12-07-2001 03:57 PM

This works!

I can not see any more bugs now.

This is exactly what I have been looking for.

You are the Man Afterburner.

Thanks.


All times are GMT. The time now is 01:45 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.01568 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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