The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Deluxe vB User login and access control on non vB pages
![]() Developer Last Online: Nov 2011 ![]() ![]()
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 ![]() This script has been confirmed as working on
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)
Version 2.10 (4th June 2006)
Version 2.00 (16th April 2006)
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)
Click on Install If you have this script installed then please click on the install link because;
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 Show Your Support
|
Comments |
#72
|
||||
|
||||
![]() Quote:
However, I'm getting reports that people are being asked to log in every 15 minutes. Is this simply because they didn't click the 'remember me' button? Or is there something else going on? Thanks folks |
#73
|
||||
|
||||
![]() Quote:
You could try adjusting your cookie timeout settings (they are set at 15min by default) AdminCP -> vBulletin options -> Cookies and HTTP header options -> Time-out for cookie I know this setting effects AdminCP timeout, it might do the same for users across a subdomain??? |
#74
|
||||
|
||||
![]() Quote:
![]() EDIT: This is the line in login_inc.php that causes it: PHP Code:
PHP Code:
![]() |
#75
|
|||
|
|||
![]()
What does that line do? is it safe to replace that?
|
#76
|
|||
|
|||
![]()
Blank, excused for my English but are Italian, I have a problem with this mod, practically once made login filler me to the page of login same and me new extension of the form to complilare to the place of the welcome message, where mistake?
my login page: http://pronostici.chorse.it/include/login_inc.php my forum http://forum.chorse.it/forum/ the page test gives error to me to line 17 http://pronostici.chorse.it/include/test.php line 17 is: PHP Code:
thanks |
#77
|
|||
|
|||
![]()
sorry i have misses a ' at line 17
|
#78
|
|||
|
|||
![]()
I'm getting this error too:
Fatal error: Call to a member function on a non-object in /path/to/my/forums/login_inc.php on line 150 (I've changed the path to the forum in this message) Thanks EDIT: Nevermind, managed to fix it. I finally learned exactly what I was doing when using chdir and used this instead of using absolute paths. This seems to have fixed it. Best mod I've found so far by the way!!! Thanks again!!! |
#79
|
||||
|
||||
![]() Quote:
![]() |
#80
|
|||
|
|||
![]() Quote:
|
#81
|
|||
|
|||
![]()
I have a few errors,
First i get the following database error. Database error in vBulletin 3.5.4: Invalid SQL: SELECT COUNT(*) AS count FROM post AS postLEFT JOIN threadread AS threadread ON (threadread.threadid = post.threadid AND threadread.userid = 1) WHERE dateline >= 1148732430 AND dateline > IF(threadread.readtime IS NULL, 1148301836, threadread.readtime); MySQL Error : Unknown table 'post' in on clause Error Number : 1109 Date : Saturday, May 27th 2006 @ 12:43:56 PM Script : http://www.lisascottlee.com/test.php Referrer : IP Address : Username : LSL Webmaster Classname : vb_database The next error is the avatar dont show it outputs the following what is surely not right. <img src="http://forums.lisascottlee.com/image.php?u=1.1" align="middle" border="0"> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|