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: 1.10, by Billspaintball (Member) Billspaintball is offline
Developer Last Online: Nov 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.5 Rating: (11 votes - 4.82 average) Installs: 195
Released: 02 Dec 2006 Last Update: 24 Apr 2007 Downloads: 1965
Not Supported Additional Files  

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.

However if you feel an urge to donate I'm not going to say no.
Donations can be made at http://www.billspaintball.com/vb3/bd_donate.php

Download Now

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

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
Deluxe vB User login and access control on non vB pages Billspaintball vBulletin 3.5 Add-ons 393 13 Jul 2011 22: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 22: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 15:52
Integration with vBulletin Deluxe vB user login and access control for non vB pages - REVISED Mastar vBulletin 3.6 Add-ons 12 15 May 2009 17:17
Simple vB User login and access control on non vB pages Billspaintball vBulletin 3.5 Add-ons 254 31 Jan 2009 11:57

  #31  
Old 24 Jan 2007, 00:12
RobAC RobAC is offline
 
Join Date: Oct 2001
I like the user authentication system that PhotoPost and ReviewPost utilize from Techimo.

I don't care about showing avatars and have no desire to do so. I just want the same functionality as PhotoPost has.

Does this hack do the same thing?
Reply With Quote
  #32  
Old 25 Jan 2007, 05:19
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Real name: Bill
Originally Posted by RobAC View Post
Does this hack do the same thing?
Sorry, Im not familiar whith how they work.
Reply With Quote
  #33  
Old 27 Jan 2007, 06:59
Jasen Hicks Jasen Hicks is offline
 
Join Date: Oct 2006
Mine isnt working


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

Reply With Quote
  #34  
Old 27 Jan 2007, 07:03
Jasen Hicks Jasen Hicks is offline
 
Join Date: Oct 2006
OK, even with non-moron-2AM code it still doesnt work:


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

Reply With Quote
  #35  
Old 30 Jan 2007, 03:44
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Real name: Bill
What exactly is it doing or not doing?
Any error messages?
A little more info please.

Edit:
Your path statement up the top is wrong.
I suspect that your path statement may not be correct.
Do the 2nd step of the troubleshooting guide (post 2) and see what you get.

Last edited by Billspaintball; 30 Jan 2007 at 03:47.
Reply With Quote
  #36  
Old 31 Jan 2007, 01:16
Jasen Hicks Jasen Hicks is offline
 
Join Date: Oct 2006
Thanks, looking back i realized that 2AM coding is a bad idea I feel ashamed now.
Reply With Quote
  #37  
Old 10 Feb 2007, 01:31
idwf's Avatar
idwf idwf is offline
 
Join Date: Jun 2003
Real name: David
I've just come back to using my vb and i was wondering if this still works, if not..can someone link me? thanks

Last edited by idwf; 10 Feb 2007 at 01:44.
Reply With Quote
  #38  
Old 11 Feb 2007, 23:08
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Real name: Bill
Originally Posted by idwf View Post
I've just come back to using my vb and i was wondering if this still works, if not..can someone link me? thanks
Yes, still working with all versions of 3.6.x to date.
Reply With Quote
  #39  
Old 18 Feb 2007, 04:28
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Originally Posted by Billspaintball View Post
Yes there is a conflict between this and vB external.
We tried to track it down with an earlier release of this but with no luck.

A workaround others have used is use vBexternal for the front page and this hack on the rest to provide access control.
Here you go, took me a hour to solve. ^^
http://www.vbulletin.org/forum/showp...&postcount=399
__________________
~Battlez-avec la Mystique?~
Reply With Quote
  #40  
Old 20 Feb 2007, 04:23
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
How to get this to work wid vbseo?

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


Last edited by Mastar; 20 Feb 2007 at 04:37.
Reply With Quote
  #41  
Old 20 Feb 2007, 04:34
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Uninstall vBSEO.
Reply With Quote
  #42  
Old 20 Feb 2007, 06:05
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Real name: Bill
Originally Posted by Mastar View Post
How to get this to work wid vbseo?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Usually means you have some white space up the top of your page.

Post the first few lines of that page so we can see whats happening.
Reply With Quote
  #43  
Old 20 Feb 2007, 18:26
Skeezster Skeezster is offline
 
Join Date: Jun 2003
Hi,

I'm trying to use this in a page which contains other variables, but they're all being wiped. I've done some general reading on the VBulletin variable cleaning utility, but can't for the life of me figure out what I'm doing wrong.

Basically an "id" variable is passed (using the "request" function) with the URL for a simple news script (news.php?action=viewnews&id=5)
But with global.php (thus init.php) being used the variable is being wiped. How can I get around that?


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


Thanks
Reply With Quote
  #44  
Old 20 Feb 2007, 19:32
Skeezster Skeezster is offline
 
Join Date: Jun 2003
Nevermind, I discovered just how stupid I was being!
Reply With Quote
  #45  
Old 21 Feb 2007, 01:08
Billspaintball's Avatar
Billspaintball Billspaintball is offline
 
Join Date: Sep 2003
Real name: Bill
Originally Posted by Skeezster View Post
Hi,

I'm trying to use this in a page which contains other variables, but they're all being wiped.
At a guess your using the same variable names that vB uses.
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 11:56.

Layout Options | Width: Wide Color: