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
Do you think this could work as a wrapper in WordPress, where we use your authentication system to require people to authenticate against vB before they're allowed to post comments?
I can easily extend WordPress' comment section and would like to do something like (pseudo code obviously):
Code:
<?php
if (!not_vb_authenticated) {
echo 'Please login with your forum username and password first';
} else {
comments_template('', true);
?>
Would it display the forum's username (if echoed correctly) or do we need the deluxe version for that? (which sounds like a better solution anyway, since I'd like to use the avatars as well). I don't care so much about all the other vB stuff, but would love to have this as a simple vB powered authentication system inside WordPress.
Works on a standalone file, but won't work properly on my wordpress site.
The login boxes and what not appear, but after I am directed to the login.php file I am sent back to my wordpress page with the login boxes still showing.
I tried all the steps with the cookie settings and login.php file.
Moviecrematorium.com is my site. Any help would be appreciated.
well, I'm using this in the root of the site for a custom html page. I feel like a dumbass because i looked at the source and it had "<html>" twice. So my "custom.php" file that I made all I included in it was:
Do you think this could work as a wrapper in WordPress, where we use your authentication system to require people to authenticate against vB before they're allowed to post comments?
I can easily extend WordPress' comment section and would like to do something like (pseudo code obviously):
Code:
<?php
if (!not_vb_authenticated) {
echo 'Please login with your forum username and password first';
} else {
comments_template('', true);
?>
Would it display the forum's username (if echoed correctly) or do we need the deluxe version for that? (which sounds like a better solution anyway, since I'd like to use the avatars as well). I don't care so much about all the other vB stuff, but would love to have this as a simple vB powered authentication system inside WordPress.
Im interested in incorporating this on WP as well, comments would be handy but not totally needed, but what I am looking to do is use the wordpress usergroup permission settings to restrict access to certain articles, has anyone tried this yet?
Unable to add cookies, header already sent.
File: /home/content/v/e/n/mydir/html/mywebsite.com/staging/index.php
Line: 2
Community
My file paths are correct and there is no white space. Any idea's?
Quote:
Originally Posted by NittoMOD
Any help with this?
Quote:
Originally Posted by David Regimbal
I too have the same issue as you =[
My Fix:
well, I'm using this in the root of the site for a custom html page. I feel like a dumbass because i looked at the source and it had "<html>" twice. So my "custom.php" file that I made all I included in it was:
That seemed to work for me and fixed my issue. Hope this helps someone else.
From the included instructions file:
If you get a message saying headers already sent or cookies already sent, chances are that there is something, even just a space before the 4 lines of code in part 1. Edit this and ensure that there are no spaces before it.
This is pretty damn useful. Tagged for later.
I'm guessing once the Deluxe version comes out we gotta pay? :P
It'd be nice if it had option to show newest threads, users postcount, etc.
I'm guessing once the Deluxe version comes out we gotta pay? :P
No it will be free, because otherwise that would mean that I whould have to provide an acceptable level of support, and currently I dont have time to do that.