Can that be used for this (from another post) -
I've seen a few scripts that prompt a user to login, but nothing that would redirect the user to the internal login page on non-vB pages.
I have a directory structure like this -
/forums
/ads
/games
/faqs
/blog
and so on.
I want to use vB security throughout my entire site, even outside the actual /forums dir.
If you would go straight to /blog/blog.php for example, a piece of code would detect whether the visitor is logged in or not.
If so, display the page normally.
If not, redirect them to the exact same login screen that's invoked when you go to
http://www.onlinepokerlistings.com/forums/calendar.php.
Ok, after logging in, the visitor would be directed back to /blog/blog.php.
It would work exactly the same as normally requiring a login to see a vB page, but in this case it's outside of vB.