Version: 1.10, by Billspaintball
Developer Last Online: Nov 2011
Category: Integration with vBulletin -
Version: 3.6.5
Rating:
Released: 12-01-2006
Last Update: 04-23-2007
Installs: 197
Additional Files
No support by the author.
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.6 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
vB 3.6
vB 3.6.1
vB 3.6.2
vB 3.6.3
vB 3.6.4
vB 3.6.5
Changelog
Version 1.10 (24th April 2007)
Fixed - // in paths bug
Fixed - Javascript warning in some browsers
Fixed - Tidied up some code
Version 1.0 (2nd December 2006)
Very similar to my vB 3.5 version, however logout bug fixed and should be more compatible with other scripts on your page.
Click on Install
If you have this script installed then please click on the install link because;
You will get notified if any security issues are reported.
You will get notified when there are any upgrades to this script
It gives me a warm fuzzy feeling and motivates me to develop more
Donations
First of all, to be clear. This script is 100% free.
I am trying to put $vbulletin->userinfo['username'] into a variable named $username, however it isn't working. Here is my code, is there something I am missing?
I am trying to put $vbulletin->userinfo['username'] into a variable named $username, however it isn't working. Here is my code, is there something I am missing?
$username = $vbulletin->userinfo['username'];
That should work as long as the page with that code includes global.php
You dont have anything else that uses the variable $username do you?
What happens if you name the variable something else like $member_name ?
I have one strange issue, when someone is logged out, and they log in (or if they click the log out link) -- it opens in a new window --
is that normal behavior ?
the plan I had for this makes it a look a bit strange...
thanks for the help
I had to remove chdir line as it wasnt finding a file, which kept causing errors, now when I use the login box, it logs me in, but the login box stays there and at the bottom of the screen it says "done, with errors on page"
I know nothing about php so I would appreciate some help here. I have no idea what im doing or anything