Version: 4.00, by Billspaintball
Developer Last Online: Nov 2011
Category: Integration with vBulletin -
Version: 4.0.0 Beta 3
Rating:
Released: 11-15-2009
Last Update: Never
Installs: 99
Re-useable Code Additional Files Translations
No support by the author.
Hack Description
This is a cut down version of the user authentication and access control system I use on the non vB pages on my website.
This uses the vB 4.0 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 displaying to non members only, and/or let members access to specific content.
I've cut it down to the bare minimum that it needs to work, no fancy stuff such as avatars, PM's, or even formating. (That is in the Deluxe version - not yet released)
This is not supported, but if any questions / issues are posted here (not PM'ed or emailed) I will try and answer them if I have 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 4.0 beta3
Change log
Version 4.00 (15th November 2009)
Initial vB 4.0.x 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
I'm trying to get this working on www.mynintendo.de. It works if I put it on a testpage, outside of wordpress. However, whenever I try to use it within wordpress it's not working. The Login process works, but it's not showing me as logged in.
I think it's related to the header code, I got this in header.php in wordpress:
Is it possible to have the text input fields the same as on the forum login, with "user name" and "password" disappearing when you click in the text input?
Thanks for this mod! I love it. I can make pages on my main site that requires users to be logged in, and even better: the coding is really easy to understand, no 3490859345 lines of coding that confuses the hell outa me.
Works perfectly on my site ^^
Quote:
Originally Posted by Cface
I thought i'd throw out there that i'm getting the old "no such file or directory" error for
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/wonderna/public_html/index.php on line 3
Warning: require_once(/global.php) [function.require-once]: failed to open stream: No such file or directory in /home/wonderna/public_html/index.php on line 4
Fatal error: require_once() [function.require]: Failed opening required '/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wonderna/public_html/index.php on line 4
EDIT: nevermind got it fixed, i'm such a dumbass :P
I got the same thing first too, but you need to put the full path to your forum, not just /forums/.
So /home/username/public_html/forums/ for an example. It will work