Version: 2.20, by Billspaintball
Developer Last Online: Nov 2011
Version: 3.5.8
Rating:
Released: 02-14-2006
Last Update: 04-23-2007
Installs: 223
Additional Files
No support by the author.
Hack Description
This is the deluxe version of the user authentication and access control system I use on the non vB pages on my website.
For the simple no frills version look here.
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.
It also displays the logged in users Avatar, number of unread PM's, New posts since last visit, total posts and total threads.
It also allows you to specify a maximum Avatar size, and resize any avatars larger than that, while keeping their height/width ratios in proportion!
Its very handy if you allow large avatars, but want a small format display on your non forum pages.
If the user is not logged in, a login box is displayed, along with total posts and total threads in the forums.
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 is a work in progress and currently a beta version. It was a little rushed as a few people were pushing for it Its missing a couple of planned things like newest member etc, but they will be added in a later version.
This script has been confirmed as working on
vB 3.5.x - All Versions
vB 3.6.x - All Versions
Known Bugs
Will not display Avatars correctly if they are kept in the file system (database avatars are fine)
Changelog
Version 2.20 (24th April 2007)
Fixed - // in paths bug
Fixed - Javascript warning in some browsers
Fixed - Tidied up some code
Fixed - Avatar display code bug
Version 2.10 (4th June 2006)
Fixed - "MySQL Error : Invalid SQL " when using Database thread/forum marking.
Fixed - Number of PM's not displaying in all installs.
Added - Displays date and time of last login.
Added - Total number of saved PM's.
To upgrade just overwrite the existing login_inc.php file with the new one.
You will need to re-edit the path on line 3 and also redo any formatting changes you may have done for the last version.
Version 1.0 (15th Feb 2006)
Initial Release
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.
Got another problem here now, wich i belive is realted to this login addon, since it disables our page navigation system then i adding the 4 lines of code that should be at top of the page. Our navigation looks like index.php?action=home and displays a root.php page inside index.php. You can se part of the navigation system that are in index.php.
PHP Code:
elseif($action == 'home')
{include('root.php');}
If i adding the 4 lines of codes, that points to global.php in my forum folder, i'm getting "header allready sent", but if i add it index.php the navigation stops working and reloads the same page then you click on a link in the menu.
If you need to see more of the code, just tell me here or send me a pm, except for this problem it is working just fine.
$action may be given a variable in global.php I spose.
If thats the cause renaming your $action variable would fix it.
I tried to rename $action to several other options but didnt help me out. I gonna talk to my friend that made that navigation system then i get a chance to se if he have any soloutions, but if anyone here have something else i could try, it will be welcome.