PDA

View Full Version : database question


siraxi
02-06-2007, 05:29 PM
Hi

I have a vbulletin community of users and I want to offer them some other services on the same site. How do I get them to be logged in and manage their personal data in a different environment than vBulletin (somehow MySpace-like)? I know this is pretty basic when it comes to mysql databases and php, but I wonder maybe there is some premade script available...

Thanks!

Reven
02-06-2007, 05:51 PM
Including global.php in any script will allow you to use the user system. If you plan to use the user system outwith the vBulletin installation's domain, you'll need to make sure logins are allowed from all possible domains. In addition, you'll need to set the cookie path to the top level of the domain (e.g. example.com instead of example.com/forums).

There are some PHP constants vBulletin uses to override certain time-consuming functions, such as caching global templates and running cron jobs. You can take a look at the non-standard vBulletin files such as external.php to see these being used.