Log in

View Full Version : How to authenticate vb users throughout site, not just in VB subdirectory


ubers0ldat
07-28-2006, 04:00 AM
Hello,

Our site uses a php image gallery script along with vBulletin to create an online community.

We would like our users to be able to comment on the photos, but would like to use the vBulletin user database to authenticate their ability to do so.

My question is, is there a way I can have my users login (authenticating against vb users database) anywhere on my site and have their credentials last for as long as they're still there?

Thanks!

Billspaintball
07-28-2006, 04:56 AM
Easy.

Just use the simple login hack listed in my sig :)

Kungfu
07-28-2006, 08:17 PM
very cool bill, i think this may be what i need. This will save me hours of work trying to figure out how to do this. If it works hopefully i can donate some green your way.

ubers0ldat
07-29-2006, 11:31 PM
Hey Bill, It works marvelously, but i'm having one issue involving another script of mine.

My goal is to force people to login before leaving comments for photos. When I follow the instructions for this page, it causes fatal errors to occur in my photo script. Do you possibly know why?