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 |
#152
|
||||
|
||||
Quote:
|
#153
|
|||
|
|||
When i am logged in it says im not, and when i login it jsut redirects me to my vbulletin forum.
|
#154
|
||||
|
||||
Quote:
They are not really compatible. Easiest thing is to is add a login functionaly to vB external. |
#155
|
||||
|
||||
Quote:
Also flush your browser cache and make sure you force a page refresh (CTRL+F5) |
#156
|
|||
|
|||
many thank you, it was the chache.
Now.. i must edit it to suit my needs Thanks bill |
#157
|
|||
|
|||
This is a great script! having a problem though. when browsing to the external site containing the login box while not logged in (cookies cleared) instead of showing the normal site, i get the forum login page. when i log in i get a 404 error because its looking for login.php in the root directory (not the forum directory). What i'd like is for a non-logged-in user navigates into the page, they see the normal page plus the login box. i've tried the simple page as suggested in the instructions and same thing happens. if i am logged in prior to going to the page, it works fine.
your help is appreciated, thanks |
#158
|
||||
|
||||
Quote:
Do step two of troubleshooting to confirm the path, then make sure that it matches PHP Code:
PHP Code:
Quote:
Quote:
|
#159
|
|||
|
|||
Hey bill! you should port this to 3.6, since it allready works with it without a problem
|
#160
|
|||
|
|||
Hey, I'm still getting problems with the logging in, then it doesn't show me logged in. Sometimes, if I clear my cookies it will work. Then the next time I turn on my computer, or anyone elses for that matter, it won't work. The cookies setting in vb is set to /. I really dont understand why this keeps happening.
Another question, is there a way to decrease the loading times? I've gotten a couple comments that it takes a while for the page to load and it gets stuck when grabbing the users information after they logged in. Am I the only one that gets that? |
#161
|
||||
|
||||
Quote:
Well, it's not really a solution, but it will get rid of the error. I've just started using Cutenews, and found that this error really does not effect Cutenews....at all. It's simply very annoying and makes your website look unprofesional. So, I found that the best thing to do is simply turn off error reporting in the Cutenew's shownews.php file. If you are unsure how to do that, browser into your shownews.php file and at the very top you'll see PHP Code:
PHP Code:
While I'm posting, any progress on the avatar issues yet . When I "succeeded' in this I tried to tackle that again...still not finding a good solution. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|