The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Simple vB User login and access control on non vB pages Details »» | |||||||||||||||||||||||||||
Simple vB User login and access control on non vB pages
Developer Last Online: Nov 2011
Hack Description
This is a cutdown version of the user authentication and access control system I use on the non vB pages on my website. This uses the vB 3.5 login system to log you in and out. It allows you to move between your forums and other pages on your site while remaining logged in. It allows you to do things such as restrict pages by usergroup, display different content depending on a user being logged in or not. For example, you can have banner Adds displying to non members only, and/or let members access to specific content. Ive cut it down to the bare minimum that it needs to work, no fancy stuff such as avatars, PM's, or even formating. I will try and offer support, but work and family commitments mean I dont have much free time. This code is a mix of my own, and pieces I have used from other hacks that are floating around. This script has been confirmed as working on
Changelog Version 1.30 (24th April 2007)
Version 1.20 (2nd December 2006)
Version 1.10 (4th Feb 2006)
There is no functionality changes or bug fixes between these 2 releases. Version 1.0 (17th November 2005)
Deluxe Version of this hack is now available Has Avatars, PM's, Number of Posts etc. Click Here Click on Install If you have this script installed then please click on the install link because;
Donations First of all, to be clear. This script is 100% free. However if you feel an urge to donate I'm not going to say no. Donations can be made at http://www.billspaintball.com/vb3/bd_donate.php Show Your Support
|
Comments |
#112
|
||||
|
||||
this seems perfect for what i want, however, i can't get it working correct.
I can get the log into to work, so that it says 'welcome Magik' and all that jazz, but it then redirects me to a page with the login bar there again. Not a 'wecome magik' thing. what am i doing wrong? |
#113
|
||||
|
||||
Quote:
See https://vborg.vbsupport.ru/showpost....98&postcount=2 Did that fix it? |
#114
|
||||
|
||||
OK. I've been playing around with it all day because i really ened this to work, and i've got it working. However, I now get
Quote:
|
#115
|
|||
|
|||
I am just starting to play with this and your test scripts work great for me...
I am trying to take an old php script (Recipe Script) that uses it's own member login and password and use your mod to use vB UserId to be forced... As long as the person has to be signed in and I can capture their user ID that is good enough for this need (for now). I am curious if the fact that this script I am working with conects to a different database then vB will cause me problems using this method? |
#116
|
||||
|
||||
Quote:
Are you running any other scripts on that page? If so, my guess there is a conflict with one of them. |
#117
|
||||
|
||||
Quote:
I do something similar on my site where a couple of custom databases record the record owner by their vB id. Short answer is that I dont know if it will conflict with your script or not. All you can really do is try and see. |
#118
|
|||
|
|||
I have installed the script as described. I named my page members.php and put it in the root directory. The page shows up fine, but when I try to login it just refreshes back to the page. I have changed the Cookie path to / and still nothing.
Any ideas? Thanks |
#119
|
||||
|
||||
What version of vB are you using?
Your profile says 3.0.3 |
#120
|
|||
|
|||
Quote:
|
#121
|
||||
|
||||
okay, i got it to work... however once logged in it won't keep you logged in
http://www.areyouserios.com/ - removed for now. you can test by loggin in with username: demo password: demo http://www.seriosgaming.com/test_login.php it sort of works here, log out doesn't work though. i've tried all the cookie settings as suggested |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|