View Full Version : Which file does vBulletin use to create sessions?
rgf207
03-07-2008, 10:51 AM
I am working on a script that will integrate vBulletin with my website so they use the same user database and can keep sessesions between them.
Can someone tell me which file vBulletin uses to execute the query to insert a new session into the database.
I have seen where they start the sessions but not where it's actually entered into the database
Thanks
Dismounted
03-07-2008, 11:14 AM
You should use vBulletin's functions, rather than replicating the queries.
rgf207
03-07-2008, 11:21 AM
I see what you are saying but I'm not looking to inherit from vbulletin's classes. I would like my script to be seperate from vbulletin but use their database tables for authentication and session management.
Thanks
Dismounted
03-07-2008, 11:31 AM
I'm not asking you to use vBulletin's classes. I'm asking you to use its functions, as they manage cache and many other things as well. It would probably help you in the future as well when vBulletin updates their routines. Also, it would equal less work for you.
rgf207
03-07-2008, 11:50 AM
Ok you've convinced me :). I'll use their functions. I have 2 additional questions for you since I will be going this route
1. The vBulletin integration script will be a part of my CMS that I will be selling. Does this violate any license agreements or copyright?
2. Can you point me in the right direction to where I can learn what files I need to include and what functions I need to call?
Thanks
Dismounted
03-08-2008, 03:44 AM
1. You may reference vBulletin functions, but not use any of its code in your own scripts. I (personally), would get some sort of verification from Jelsoft before selling your script.
2. This is all contained in the files, just trace where everything goes, it is not very difficult. I'd suggest starting at the login form.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.