The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Check logged in state in external script
Hello,
I'm trying to hunt down the code required to check for a valid vBulletin login. I've restricted access to my vBulletin site, but in order to protect my files, I've created a script that will feed the files to the users rather than allow them to access the files directly (i.e. pdfs, videos, audio, etc.). I know that once the members get the content they can go around and distribute it as they feel, but I just want to add an extra layer of protection to at least keep non-members from being able to access the files directly. So now that I have the script that feeds the users the files, I want to have that script check that they are a valid vBulletin user. Is there a simple method to do this? The script currently is not tied into vBulletin at all, so I'm wondering what I need to do to verify the user is logged in and is a valid member. I just need pointed in the right direction, because I'm new to vBulletin. Any feedback is greatly appreciated. Thanks, Wil --------------- Added [DATE]1271442679[/DATE] at [TIME]1271442679[/TIME] --------------- I still have to test it more thoroughly, but so far adding this to the top of my script appears to be working... PHP Code:
Wil |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|