Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Simple vB User login and access control on non vB pages Details »
Simple vB User login and access control on non vB pages
Mod Version: 4.00, by Billspaintball (Member) Billspaintball is offline
Developer Last Online: Nov 2011 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Beta 3 Rating: (8 votes - 4.38 average) Installs: 97
Released: 16 Nov 2009 Last Update: Never Downloads: 1251
Not Supported Additional Files Re-usable Code Translations External Content  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	cep-loggedin.jpg
Views:	2218
Size:	7.2 KB
ID:	106190   Click image for larger version

Name:	cwp-loggedout.jpg
Views:	2299
Size:	7.3 KB
ID:	106191  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin Simple vB User login and access control on non vB pages Billspaintball vBulletin 3.6 Add-ons 188 25 Jan 2013 16:40
Deluxe vB User login and access control on non vB pages Billspaintball vBulletin 3.5 Add-ons 393 13 Jul 2011 21:50
Integration with vBulletin Deluxe vB User login and access control on non vB pages Billspaintball vBulletin 3.7 Add-ons 76 06 Jun 2011 21:44
Integration with vBulletin Simple vB User login and access control on non vB pages Billspaintball vBulletin 3.7 Add-ons 55 23 Apr 2011 14:52
Simple vB User login and access control on non vB pages Billspaintball vBulletin 3.5 Add-ons 254 31 Jan 2009 10:57

  #31  
Old 09 Mar 2010, 14:29
RDx321 RDx321 is offline
 
Join Date: Jan 2008
Quick question, when a user is not logged in, I get the default vbulletin forum login page instead of w/e php echo i set. How can i fix this?
Reply With Quote
  #32  
Old 01 Apr 2010, 19:36
reteep reteep is offline
 
Join Date: Mar 2004
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

All paths are correct. Does anyone have an idea why this is not working with wordpress? Did anyone have success with wordpress so far?

Thanks a lot.
Reply With Quote
  #33  
Old 05 Apr 2010, 13:24
Gursimran Gursimran is offline
 
Join Date: Jun 2008
thanks very much.... i needed it badly!
Reply With Quote
  #34  
Old 08 Apr 2010, 17:03
Gursimran Gursimran is offline
 
Join Date: Jun 2008
not working with wordpress.
i am logged in my forums but it is not showing
Welcome Username.... showing login forum

please help
Reply With Quote
  #35  
Old 20 Apr 2010, 09:13
steveneff steveneff is offline
 
Join Date: Sep 2007
Thanks for this updated mod.

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?
Reply With Quote
  #36  
Old 11 May 2010, 07:09
pertanyaan pertanyaan is offline
 
Join Date: Jan 2010
how to integrate with wordpress ??
Reply With Quote
  #37  
Old 11 May 2010, 07:29
pertanyaan pertanyaan is offline
 
Join Date: Jan 2010
OK, found solution here, its working
Reply With Quote
  #38  
Old 25 Jun 2010, 09:15
Centrix Centrix is offline
 
Join Date: Sep 2005
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 ^^

Originally Posted by Cface View Post
I thought i'd throw out there that i'm getting the old "no such file or directory" error for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

which does exist... I've also tried with full url

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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
Reply With Quote
  #39  
Old 27 Jun 2010, 23:39
Gero50's Avatar
Gero50 Gero50 is offline
 
Join Date: Oct 2009
Tagged for use latter.
Reply With Quote
  #40  
Old 07 Jul 2010, 01:59
bugsie bugsie is offline
 
Join Date: Jul 2010
thanks very much, but is it possible to add the facebook connect button too?
Reply With Quote
  #41  
Old 28 Jul 2010, 14:06
fake83 fake83 is offline
 
Join Date: Sep 2009
testing now on updated vb4
Reply With Quote
  #42  
Old 28 Jul 2010, 14:48
fake83 fake83 is offline
 
Join Date: Sep 2009
does not work: it requires to login everytime I don't know why. I tried with the other solution too but nothing
Reply With Quote
  #43  
Old 27 Sep 2010, 22:35
frog73 frog73 is offline
 
Join Date: Dec 2009
Hi,
Thank you for this great hack
Has anyone integrated the "facebook connect" button on this hack ? I tried to used the SDK but i don't know how to get variables from vbulletin, which ones are usefull for this button ?
Thank you very much for your help
Reply With Quote
  #44  
Old 17 Nov 2010, 13:08
Centrix Centrix is offline
 
Join Date: Sep 2005
Originally Posted by pertanyaan View Post
OK, found solution here, its working
Logout doesnt work though, it cant create a logouthash
Reply With Quote
  #45  
Old 19 Mar 2011, 16:04
Varsh's Avatar
Varsh Varsh is offline
 
Join Date: Aug 2006
Real name: Aaron Varshney
Script is working like a peach for me, had to require the global file on every page and the login script and it all worked as it should. Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 22:59.

Layout Options | Width: Wide Color: