vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   HTACCESS hack (https://vborg.vbsupport.ru/showthread.php?t=26088)

weezle 08-22-2001 05:28 AM

HTACCESS hack.. that allow Members to use the LOGIN info..?????

mjames 08-22-2001 05:51 PM

What? Be more specific.

Admin 08-22-2001 05:57 PM

He wants to use the login info from the MySQL for a folder that is protected with .htaccess.

weezle 08-22-2001 06:20 PM

heres what im looking for:

htaccess hack for vbb 2
Simple htaccess by kennydies [global user and pass mode]

edit your global.php and ABOVE
// ###################### Start init #######################

add this code:

code:--------------------------------------------------------------------------------

// Simple htaccess by kennydies [global user and pass mode] (made on 28-5-2001)

if ( !isset( $PHP_AUTH_USER ) ) {
header('WWW-Authenticate: Basic realm="Htaccess login system"');
header('HTTP/1.0 401 Unauthorized');
echo "Sorry, we don't allow gayness on our board\n";
exit;
} else if ( isset( $PHP_AUTH_USER ) ) {
if ( $PHP_AUTH_USER != "mofo" or $PHP_AUTH_PW != "spankme" ) { // username and pass required
header('WWW-Authenticate: Basic realm="Htaccess login system"');
header('HTTP/1.0 401 Unauthorized');
echo "Sorry, we don't allow gayness on our board\n";
exit;
}
}

// Simple htaccess by kennydies [global user and pass mode] (made on 28-5-2001)--------------------------------------------------------------------------------

Change the username/pass in $PHP_AUTH_USER != "mofo" or $PHP_AUTH_PW != "spankme" into what you want.

Why did I make this code when you can just use a simple .htaccess file? Cuzz my board was on a server that doesn't support .htaccess and with this code, htaccess does work.

THIS IS WHAT I NEED

later today I will post the code so username/password are the same as the login on your vbb (i'm at work now and the code is on my home pc)

THIS IS WHAT I NEED

will anyone make this hack?

SpankMe 08-23-2001 10:33 PM

I use the vBulletin logins for access to my porn sites. Check out an Apache module called mod_auth_mysql.

Once setup in Apache, all I needed to do was create a new group in my forums and add people to it when I want to give them access.


HEY, who you calling gay :(

joecrow 08-24-2001 01:53 PM

could someone make this hack it would be kool.

tweak 08-25-2001 10:35 PM

It made... But they wont give it out.. :( dunno why we cant get it ?

JoshFink 08-25-2001 10:54 PM

What you pay for is the vBulletin product. Nothing else is guaranteed. The hacks aren't supported in any way by Jelsoft.

You should feel lucky that this is such a great community and people provide these hacks.

Josh

Barret 10-09-2002 02:02 AM

But where would you put that to use on the whole board?

Erwin 10-09-2002 02:07 AM

This thread is over a year old... so I wouldn't use this hack in the first place. But if you read the post carefully, it says to edit the global.php file. And the .htacess file, if you want to use that, goes into your root directory or forum directory depending on what you want it to do.

Barret 10-11-2002 02:22 AM

Yep that it is but I found a way to make it work anyway and just for the admin cp.


All times are GMT. The time now is 04:44 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.01260 seconds
  • Memory Usage 1,726KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete