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.
One more thing... How can I get it to say something like Welcome Back "username" when its is in the
PHP Code:
<?php if ($vbulletin->userinfo['usergroupid'] == '6' ) { echo"
Tag? It doesnt seem to work for me..
Also, when designing it in Dreamweaver, everything disappears from the design view.. Is that because it is restricted to a usergroup and Dreamweaver cannot access it?
Is there a way to get users to redirect to a different page when they login?
E.g if they logged in on your home page, it would redirect them to the members area home page?
One more thing... How can I get it to say something like Welcome Back "username" when its is in the
PHP Code:
<?php
if ($vbulletin->userinfo['usergroupid'] == '6' )
{
echo"
Tag? It doesnt seem to work for me..
Also, when designing it in Dreamweaver, everything disappears from the design view.. Is that because it is restricted to a usergroup and Dreamweaver cannot access it?
Hi does anyone know how to remove the login box from the page once the user has logged in?
i have the <?php
$curdir = getcwd ();
chdir('/path/to/your/forums');
require_once('/path/to/your/forums/global.php');
chdir ($curdir);
?>
at the very top of the page, html code underneath and then the <?php
require_once('/path/to/your/login_inc.php');
?>
below that.
When i use conditionals to display content to users who are logged in it works fine but the login box still remains at the top, is this suppose to happen?
Sorry i'm new to all this.
anyone can tell if this mod work under vbulletin 3.6.7PL? because I got a blank page everytime I try to load my php page. I delete the code and everything is working again!