The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#62
|
|||
|
|||
I am using this hack to control access to a vBulletin board (I also have vBHome installed). It works, but I have one big annoyance:
I get prompted twice for a login. When entering the site, I get the htaccess "style" prompt. Any username and login I use (that's registered on the vBulletin forum) works. But then I get redirected to the vBulletin "not registered" form. When I enter the same login/pass again, only then do I get redirected to the vBHome page. Shouldn't the data in forms from the first "htaccess style" box be passed to authenticate with Vbulletin? Do I have to have the "browse board w. cookies" set to yes? Here is another wrinkle: This forum is accessed largely by a group of computers in the same workplace. All of these computers have a login prompt at bootup, and most--if not all--of these computers are accessed with the SAME login and prompt (strange, I know....all the computers are shared). So, when user A logs on to a computer, under this common login, a cookie is set "common@forumsite.com". If user B logs into the forum from the SAME computer at a DIFFERENT TIME (remember, the user "common" is still logged into the computer, but has logged out of vBulletin), user B will still get the "htaccess style" prompt, log in with his unique vBulletin user/pass, and get welcomed to the vBulletin home as user A. Obviously user A's info is in the "common" cookie set on the computer. Put another way: is it at all possible to have one, unified login (only one "htacess style" prompt) for many forum members (each with a unique vBulletin username/pass) on a single, shared computer, with one "common" computer login? I'm probably doing something very stupid here....anyone got an idea? |
#63
|
|||
|
|||
very nice hack :banana:
But how is it possible to make users who already loggedin in vb, view the "Non-vb" pages without having to log again and visa-versa. Thanks |
#64
|
||||
|
||||
Quote:
|
#65
|
||||
|
||||
Is it ok with v2.3?
I hope so,, it sound great ... the descrition ... |
#66
|
|||
|
|||
excellent work! gonna use this.. now just need a login page on none vb pages aswell
|
#67
|
|||
|
|||
I have tried using this hack, but when I enter my login information, it just pops up the password box again instead of showing the hidden page. When I hit cancel and give up on entering the info, I get the clear off stoopid message.
Any help, please? ETA is this the best way to password protect a non-vb page? I feel like I've been sitting here for hours looking for a simple way to just have only board members view a certain non-vb page of my site. I really don't need anything fancy and if it can be done without the popup box, that would probably be better. |
#68
|
|||
|
|||
If the user enters incorrect information, is it possible to have them sent to a "standard" 401 page, or one that's been cutomized? Right now, they're taken to a white page with a message.
We have created custom error pages that attempt to provide more information for the user. For example, the reason they were not able to enter the restricted area was because they were not members of the forum and they would have access to the explanation and how to register or login. I don't know if this is something complicated, but basically just have it go to the "default" 401 error page, rather than the current message. |
#69
|
|||
|
|||
Right now the code for an incorrect user name and password is in the section that starts on line 95 inside that else statement.
All you would have to do is chage that table in the else to a header statement to send them to the page you wanted. |
#70
|
|||
|
|||
That makes sense, although I'll have to try to figure out how to do it. My PHP skills are..., well, I don't have any. Can it be made to send them to any page, or just a 401?
|
#71
|
|||
|
|||
Thank you for the hack.
I had random internet users using my picture uploader, now this should clamp them down! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|