vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Vbtemplates Database - how ?? (https://vborg.vbsupport.ru/showthread.php?t=84389)

imported_Vinney 08-30-2002 04:04 PM

Vbtemplates Database - how ??
 
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

Quote:

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:-
Code:


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.


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