PDA

View Full Version : Vbtemplates Database - how ??


imported_Vinney
08-30-2002, 04:04 PM
How did you intergrate the forum database via the .htaccess password protection used on the Database section please ?

i've been looking for a way for months .... please help

Tony G
08-30-2002, 11:48 PM
I'm guessing it's a script from FireFly, if I'm not mistaken..

SaintDog
08-30-2002, 11:50 PM
Search for vBAuth at vBulletin.org.

imported_Vinney
08-31-2002, 08:04 AM
Originally posted by SaintDog
Search for vBAuth at vBulletin.org.

sorry i have looked .... but i cant find ..

Tony G
08-31-2002, 10:21 AM
Me neither. It must be named differently.

SaintDog
08-31-2002, 10:34 AM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=34690&highlight=Auth" target="_blank">https://vborg.vbsupport.ru/showt...highlight=Auth</a>

Tony G
08-31-2002, 01:12 PM
Thank ye SaintDog. :)

NickPR
01-23-2003, 11:46 PM
Refrence: http://www.modwest.com/help/kb1-161.html

create a htaccess. file and add the following:-


AuthName "Your Protected Area"
AuthType Basic

# Directives specific to mod_auth_mysql
# mod_auth_mysql automatically connects to
# host: db.modwest.com

# Auth_MySQL_Info [server] [user] [pass]
Auth_MySQL_Username MYSQL_UNAME
Auth_MySQL_Password MYSQL_PASS
Auth_MySQL_DB MYSQL_DATABASE_NAME
Auth_MySQL_Password_Table MYSQL_TABLE_NAME
Auth_MySQL_Username_Field NAME_OF_USERNAME_FIELD
Auth_MySQL_Password_Field NAME_OF_PASSWORD_FIELD
Auth_MySQL_Encrypted_Passwords Off
# turn the above to "On" if you used crypt() on users'
# passwords before storing them
Auth_MySQL_Non_Persistent On
Auth_MYSQL On
# turn the above to "Off" if you want
# other authentication to take over in case the visitor
# fails mysql authentication
Auth_MySQL_Empty_Passwords Off
# turn the above to "On" if you want to allow authenticate
# just a correct username and no password

# End mod_auth_mysql specific directives

require valid-user

+++++++++++++++++++++

Where "MYSQL_UNAME" is your own MySQL
username, "MYSQL_PASS" is your own MySQL
password, "MYSQL_DATABASE_NAME" is your own MySQL
database name
"MYSQL_TABLE_NAME" is the name of the table in your database that contains the username and
password fields that will be used to do the authentication
"NAME_OF_USERNAME_FIELD" is the name of the field in the specified table that stores the username
"NAME_OF_PASSWORD_FIELD" is the name of the field in the specified table that stores the password.

Nairb
01-24-2003, 12:42 AM
THANK YOU SD!
I've been wanting that for a while now

filburt1
01-24-2003, 12:47 AM
Or, if you want to do it yourself, look up sending raw headers, specifically 401 Authorization Required.

Cypher720
01-24-2003, 02:18 AM
thanks sd - this is going to come in handy for vbpanel.com!

Tony G
01-24-2003, 05:22 AM
I can use this for some tutorial blockage maybe. :D

A:\
01-25-2003, 06:58 AM
Ooo mamma :p This will come in very handy. Thanks Saint.

Orfejs
01-31-2003, 07:06 AM
Found what I was looking for. Saint, you're the greatest. Ever. :o)
How can I submit my buttons to the DB?