PDA

View Full Version : vbt database


Poggyuk
02-24-2003, 11:36 PM
Does anybody know how to make a script like the one used for the database ova at vbt.com? where you can use htaccess protection & have it use the usernames & passwords from a vbulletin database? plz!

wannaberockstar
02-25-2003, 05:23 PM
aMember?
http://membership.cgi-central.net/scripts/amember/

Other then that, just play around with sessions and such.

Chris Gwynne
02-26-2003, 12:09 AM
It's not using a .htaccess file as such. Search for vBauth on here. :)

Sebastian
02-26-2003, 03:58 AM
that vb auth script doesn't even work for most of us.

best way to protect your pages is to add


chdir("/forums/");
require("global.php");

if($bbuserinfo[userid]==0) {
show_nopermission();
}



at the top of the pages you want to protect, and only registered users can access those pages.

Poggyuk
02-26-2003, 09:56 AM
thanks for that! i'll look into that vbauth
but i'll use that
chdir("/forums/");
require("global.php");

if($bbuserinfo[userid]==0) {
show_nopermission();
}
aswell!