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 Details »» | |||||||||||||||||||||||||||
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 Its missing a couple of planned things like newest member etc, but they will be added in a later version. 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 |
#122
|
|||
|
|||
Hey Guys.
I have an issue regarding this hack. It is actually working fine, and it was on my old server aswell. However, since I moved across to a new server, this error has been appearing on all the pages I have that chdir script on. The error is as follows. Fatal error: Call to a member function unlock_tables() on a non-object in /home/thrillhi/public_html/forums/includes/functions.php on line 4419 And it is appearing just at the bottom of my page's. A link to it can be found here: www.thrillhistory.com Thanks guys for your assistance. |
#123
|
|||
|
|||
Hey Guys, is anyone able to help an Aussie?
|
#124
|
||||
|
||||
I think it may be the MySQL/PHP config on your new server but Im not sure.
|
#125
|
|||
|
|||
Just wanted to say this works great!
I do have a couple of questions: 1. The login never times out, you have to actually click logout. Is there a way to set a timeout? 2. On both Login and Logout can the VB menus that display(logout you have to actually click out of) can the code actually hide these menu's. Thanks, Bob |
#126
|
||||
|
||||
Quote:
Do you have a session expire time set in your Admin CP? Quote:
Can you give me a little more detail please. |
#127
|
|||
|
|||
Session timeout is set in the admincp
I have attached to screen shots. Both screens stay up until you click continue or hit the back button. |
#128
|
||||
|
||||
Quote:
I havent come accross this before. In the "Cookies and HTTP Header Options" section of the Admon CP what happens if you turn the "Remove Redirection Message Pages" setting off? |
#129
|
|||
|
|||
I have installed the login to our page and it works, but now i need to modify the design a bit. I have added a css file to the login_inc.php but i need to add some linke behaviour with css class. Here is one of the lines i need to modify, i have tried some but no sccess, only getting errors then i do it.
PHP Code:
Getting following error. Quote:
|
#130
|
|||
|
|||
For the CSS.. heres what I did.
The page I included the login_inc.php already had a CSS Style Sheet applied to it so I just used the class... Anyway part of my style sheet. PHP Code:
PHP Code:
notice this part... PHP Code:
As for the CuteNews thingy Im not sure.. I'll need to see the file functions.inc.php and the rest of your code. Anyway hope I was of some help - SKNY |
#131
|
|||
|
|||
That helped alot SKNY, needed an example how to write the class in the php code, THX.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|