The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Security using VB on non-vb page - Desperate help needed
I have been hunting around for a way to secure non-vb pages using the VB user tables etc. This way only members can view certain pages. I have tried every hack that has been posted here that says it can do the job but I am yet to find one that works 100%.
I am in desperate need of this and would appreciate some help in getting this up and running. Also, the pages I am trying to protect are on another subdomain on the same server. Please help |
#2
|
|||
|
|||
You can either include the gloabl.php and give an access denied if $bbuserinfo['userid'] is at 0. You can also just connect ot teh vb db and do your own login.
|
#3
|
|||
|
|||
I sort of understand the idea behind what needs to be done but after muddling through with code I really didnt get anywhere, my php is really not that great.
I need a user to be able to login on the non-vb front page and the session/cookie to be stored then when they goto a page which is protected it recognises them or asks you to login. If it recognises them it simply opens the page. If they need to login I want get prompte wit the login box then to be sent to the page they were trying to get into when it asked them to login , if that makes ense. I know this is probably relatively simple for someonw who knows tha they are doing with VB but it's causing me all sort of problems and unfortuantely I need to get this up and running quick |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|