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)

Afterburner 12-04-2001 10:00 PM

You can make a board password protected with this hack.
You can insert the password here:

Forums and Moderators
--> modify
---> choose a board

suggestion for the final:

- unsubscribe a access to a password protected board

fixed:

- no matches in the searchengine if a board is protected
- fixed the new topic bug.

And all this for free (somebody told me he want to pay, but all my hacks are for free)

Sorry for my english

update 7th December 2001
fixed the bug in the profile of a member.
if you downloaded this hack before see below to update.

pipi 12-05-2001 03:07 PM

Kewl..i love you :D

Afterburner 12-05-2001 03:13 PM

@ pipi

sorry I am engaged :stupid: :D

SirSteve 12-05-2001 04:33 PM

Works great! The only thing I noticed is that it didn't say, "Password incorrect. Please re-enter it."

Also, you may want to include PPN's Failed Login Logging feature to this.

It's located here:
https://vborg.vbsupport.ru/showthrea...threadid=32639

Thanks!

Afterburner 12-05-2001 05:05 PM

@ SirSteve

do you really want this message ?

[QUOTE]Password incorrect. Please re-enter it

Scott MacVicar 12-05-2001 05:10 PM

Would increase my hack size by alot to add parts of your hack.

You can add the query which puts failed logins in the database, its just a single line of code, from my hack. I have no objections to that.

Afterburner 12-05-2001 05:15 PM

@ PPN

whats the standardline (of your hack) to put the errors in the database ? I didnt look into your code. Where are the failed logins saved in the database ? in an seperate database or in adminlog & Co ?

SirSteve 12-05-2001 06:05 PM

[QUOTE]Originally posted by Afterburner
@ SirSteve

do you really want this message ?



I think its better without this message for security reasons.

Afterburner 12-05-2001 06:09 PM

[QUOTE]Without is fine then. Not a big deal.

Bedhead 12-06-2001 05:02 AM

Hello,

I have installed this hack but I do not see where I can set the username or password.
Any ideas?
The board looks like it never changed at all.
TIA

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.

nuno 12-07-2001 06:20 PM

hey cool hack
shouldnt newreply.php be hacked also? :eek:
*BUG* ;)

Afterburner 12-07-2001 06:25 PM

oh a hardcoder *g*
works only if you know the threadid and put it manually in the browserline, but thx for reporting, you know asap :D but at the moment to much beers *g*

nuno 12-07-2001 07:36 PM

oh :D
dont forget printthread.php ;)

YoMama 12-13-2001 10:50 AM

OK,

Maybe I'm missing something, but when I click on the "Go To Last post"-icon in the "Last Post" column on the main page, You can enter the forum without having to enter a password.

Did I miss out on something or is this a bug?

- YoMama

Bedhead 12-13-2001 10:51 PM

Are you logging out and logging back in as a different user?

This hack will only ask for the password once, unless you change it, then it cookies to your username.

A great hack indeed.

Thanks again!

YoMama 12-14-2001 07:03 AM

What I do is:

1. Login
2. Enter password for protected forum
3. Log out
4. In the main forum click on go to last post of protected forum

And I'm in, while I shouldn't...

- YoMama

Afterburner 12-14-2001 07:18 AM

confused
normally this is inpossible, the access for the protected boards are saved in your database not in Cookis.
Do you have enabled guests to view the forum ? if yes disable it for guests.

Afterburner 12-14-2001 07:23 AM

I tested it and it worked correctly:
http://216.40.240.19/vbulletin/showt...ost&forumid=30

YoMama 12-14-2001 10:51 AM

Weird. Mine is still warped...

Check out forums.supaspiffy.com

Try to access the [MOB] Private forums as one would normally (which will prompt for a password like it should)
Then go back to the Forum home, and click on the 'Goto last post button' in the 'last Post' column. This will bring you in the forums without having to enter a password. You need to register first (I disabled guest access as you said)

Regards,

- YoMama

Afterburner 12-14-2001 11:03 AM

I see your problem, have you modified the showtopic.php ?

you had to look for:

PHP Code:

$threadid intval($threadid);
$thread verifyid("thread",$threadid,1,1);

if (
$wordwrap!=0) {
  
$thread['title']=dowordwrap($thread['title']);
}

if (!
$thread['visible']) {
  
$idname="thread";
  eval(
"standarderror(\"".gettemplate("error_invalidid")."\");");
  exit;
}

$forum=getforuminfo($thread['forumid']); 

then you had to add below this code:

PHP Code:

// Password-Hack-by Afterburner-Start 
if ($forum['password']) {
$boardid="userspezial$thread[forumid]";
if (
$bbuserinfo[$boardid] != 1) { 
eval(
"standarderror(\"".gettemplate('fehler_password_showtopic')."\");"); 
exit; 

}
// Password-Hack-by Afterburner-End 


YoMama 12-14-2001 11:08 AM

Showtopic.php?


Don't have that file (I'm getting pretty nervous now :) )

Perhaps U mean showthread.php ?

YoMama 12-14-2001 11:12 AM

Uhoh...

It was indeed showthread.php. I pasted the code, but in the wrong place!

I'm sorry for bothering you.

I'm extremely happy (again)

Thx for the great hack & help :)

- Yomama

Afterburner 12-14-2001 12:53 PM

no problem, you are welcome
sorry I mean showthread.php :D

Ciufs 12-19-2001 06:13 PM

i have some bug...

1) i have to remove member.php modified, because when some user log out.... then if they try to login, received error message that it say "wrong password"

2) when a new user try to register on my forum... user received error message that it say "The two passwords that you typed do not match. Please press the back button, correct the error and try again."


why? pls help me

http://forum.thegames.it

PS: sorry for my bad english

Ciufs 12-19-2001 07:06 PM

i try to reinstall all and i risolve first problem...

but when an user try to register forum say:

"vBulletin Message The two passwords that you typed do not match. Please press the back button, correct the error and try again."

Can you help me ?

http://forum.thegames.it

Afterburner 12-20-2001 06:37 AM

[QUOTE]vBulletin Message The two passwords that you typed do not match. Please press the back button, correct the error and try again

Ciufs 12-20-2001 01:52 PM

no nothing....

can you help me?

i have PHP 4.0.6 and MySQL 4.0

forum is visible on http://forum.thegames.it

nafae 01-03-2002 03:42 AM

Afterburner: Can you update the zip with all of the changes to avoid confusion? I am not quite sure if I should install this or whatnot because I worry I will do it wrong with so many different directions in different areas of the forums :) And, to get this strait, this hack will put a password protect option on any of the forums, and you can hcange the pass for that forum via the adminCP? Thanks, Naf

Lucky 01-03-2002 08:06 AM

One of the coolest hacks out!

Thanks After Burner.

Apollo 01-09-2002 01:30 AM

Heya Afterburner,
Great hack! But I am having a problem getting it to work on my boards.

Okay,
When I click on a board, I enter the password, and press enter - But it just takes me to an error page? 'No forum specified'. I am entering the right password in.

When I try to enter via showtopic, though, it works correctly? (I enter the password, and it enters the forum).

Please help.


All times are GMT. The time now is 02:46 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.01290 seconds
  • Memory Usage 1,824KB
  • 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
  • (3)bbcode_php_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
  • (40)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