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 [URL=https://vborg.vbsupport.ru/showthread.php?t=173693look here.[/URL] This uses the vB 3.7 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 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) Change log Version 3.00 (21st March 2008)
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 |
#52
|
|||
|
|||
Hm why "if ($vbulletin->userinfo['usergroupid'] == '6,2' )" doesn't work?
|
#53
|
|||
|
|||
was wondering is it possible to get this to automatically redirect the user to the forums once they have logged in on this page
been trying alsorts but can not figure it out at all |
#54
|
||||
|
||||
Is anyone able to tell me if they are using with script with a cms? I wanted to use it with Expression Engine but this script and that script don't get along.
Can anyone point me in the direction of a good cms that works with this login script? Thanks. |
#55
|
|||
|
|||
Great mod, my fav so far.
I have this almost working with wordpress, the only problem being when it redirects back to wordpress it doesn't seem to check login status. Works great on my other pages. Quote:
PHP Code:
|
#56
|
|||
|
|||
For some reason, after trying the troubleshooting steps, the mod still shows that I'm logged in even if I'm not and it won't log me in through the php page on the website even after I've logged out on the forums.
|
#57
|
|||
|
|||
Fixed
|
#58
|
|||
|
|||
I haven't fully tested this and I'm no vbulletin expert but so far it works.
In the login box code find PHP Code:
PHP Code:
It works the same for the other code snippets like no ads for members below. PHP Code:
|
#59
|
||||
|
||||
Thanks for that steveneff.
I might try making a widget for this. |
#60
|
|||
|
|||
This might be a stupid question, but where do i put all this code in this file?
|
#61
|
|||
|
|||
This is a great mod I've been looking for a while now. I'll be sure to tell you how smoothly I configure it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|