The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am looking to make certain non-vB pages on my site accessible on various levels (i.e. Certain parts are displayed for Registered Users, additional parts are displayed for Mods/Admins, and Guests are brought to the vB login screen,) using the vBulletin cookie, but I have no idea about:
1) How to require the cookie for access. 2) How to make certain parts accessible to certain user-levels. Any help would be greatly appreciated. Thanks |
#2
|
||||
|
||||
![]()
Try these two hacks maybe?
http://www.vbulletin.org/hacks/index...ack&hackid=548 http://www.vbulletin.org/hacks/index...ack&hackid=282 - miSt |
#3
|
|||
|
|||
![]()
Those seem to use sessions, and I am looking to use cookies so users don't have to re-login every time. I want to have users login/register from the vB board itself, while the non-vB pages verify the cookie generated by vB. Is using the vB cookie on non-vB pages relatively safe, or is it opening a potential 'can of worms' of security risks?
|
#4
|
||||
|
||||
![]() |
#5
|
|||
|
|||
![]()
That seems to just be a login portal for vB, but doesn't use the cookie for access to non-vB pages. What I am looking for (not a "hack" per se) is something that will allow me to do this on non-vB pages:
PHP Code:
|
#6
|
||||
|
||||
![]()
I think you'll like WebTemplates
|
#7
|
|||
|
|||
![]()
I am not really looking to hack up my vB, especially since vB3 is due out any month now. I noticed this bit of code in the thread for your hack:
PHP Code:
|
#8
|
||||
|
||||
![]()
If you are ready to manually edit/update permissions per .php file without any user interface for administration, yes you can just insert:
PHP Code:
PHP Code:
|
#9
|
|||
|
|||
![]()
Is it possible to do this using a file that is not in my forums directory?
My directory structure is: public_html -forums ---admin ---images ---mod I'm getting this error PHP Code:
PHP Code:
|
#10
|
||||
|
||||
![]() PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|