![]() |
Login page for none members/not logged in members.
Right i want to make it so only signed in members are able to view the board.
I have made the following page http://www.ultimate-forums.co.uk for people to log in with but i want it so no matter what page a person trying to view if there not loged in they will view this page. eg try to view http://www.ultimate-forums.co.uk/vB/index.php if the uses are not loged in they view my log in page. I know this has been done for ikonboard but can it also be done for vb? if so how? |
you have got to do this:
open member.php find: Code:
// ############################### start login ############################### Code:
if ($user['cookieuser']==1) { Code:
if ($action=="login") { open up your CP and find every template that has anything to do with logging in, like the No permission form. Add right underneath the sessionhash line: Code:
<input type="hidden" name="sort" value="bb"> create a new page index.php and place within: Code:
<?php The code above will produce, when you call the login from a separate page, you won't get the vBulletin errors for username and password, but the errors you specify in your php file good luck! |
p.s.
if you are logged in on the board, you still need to provide your info every time. maybe a good idea for a future hack |
Dexter, please go to this page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you. |
FireFly has your a good hacker (no butt kissing at all) have you got any ideas on just how i might be able to do this?
|
All times are GMT. The time now is 08:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|