The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vbusers + htaccess
I'm sure i read something a whole ago that allows you to protect a web folder combining htacess and your vbulletin database.
Anyone know what i'm on about? |
#2
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=34690&highlight=modauth mysql" target="_blank">https://vborg.vbsupport.ru/showt...t=modauthmysql</a>
|
#3
|
|||
|
|||
you dont need to combine .htaccess and your vBulletin
http://www.javascriptkit.com/howto/htaccess3.shtml http://www.euronet.nl/~arnow/htpasswd/ read the first link then use the second tool to help you create the htpasswd file |
#4
|
|||
|
|||
Quote:
interesting |
#5
|
|||
|
|||
I was hopinh to combine the two so i create a 'forum members only' section of my website so active members get acess to MP3s etc. Exclusive content in short
|
#6
|
|||
|
|||
do you want to protect your files? forums? folders?
forums is obviously the easiest from a vB standpoint folders if they are just for "exclusive content are simple as well. .htaccess files you might have to get creative. you might want to create a usr group assuming that you use linux, limit access to 750 and assign group ownership a new group. you could then write a server side script that runs in conjunction with that usergroup that you created. password protect that page and you should be good to go. as far as direct integration with vBulletin. Not sure if that is possible without some serious hacks. but it is a start oh btw, these are legal mp3's right? |
#7
|
|||
|
|||
Yeah, they are legal. It's just a small collection of exclusive files for my members. Few pictures, few MP3s, and a couple of downloads like screensavers
So, anyway can read the forum... and members who post a lot will then be able to acess a members section of the website |
#8
|
|||
|
|||
I think that you are making this harder than it needs to be
http://www.zend.com/codex.php?id=228&single=1 use that to create a login using cookies on the page... create a folder that is password Code:
RewriteEngine on RewriteCond %{HTTP_COOKIE} !^.*access=granted.*$ RewriteRule .*$ this code should allow access to the folder if the cookie is set... http://www.webpimps.com/scripts/htaccess/ taken from this page then you are good to go just link to your downloads edit changed zend link to show auth script with cookie setting enabled |
#9
|
|||
|
|||
Could you please clarify the steps and code?
I would really like to add .htaccess cookie auth. protected dirs to my vBB site. I have been searching for a good way to add dir. protection to my website using vB user database, could this work? Thanks in advance |
#10
|
|||
|
|||
Umm.
Usergroup. Promotions. Done. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|