Re: Guest forced login, should be simple, please help
Stasis, vek, you two are LueLinkers?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Guest forced login, should be simple, please help
Stasis, vek, you two are LueLinkers?
Huh?
Tobi & magnus0c:
Your modifications do exactly what I was looking for. I found one problem, when a login fails, the menu, announcement, and an Info message are displayed. How can you direct the program to go back to just the login box? (info message can stay, but I don't want the other stuff)
Rickard, I understand your reason for not supporting these mods, but as Tobi said it is a design question not a functional issue. I think PunBB is great!
That sounds tricky.
I found this in login.php
if (!$authorized)
message($lang_login['Wrong user/pass'].' <a href="login.php?action=forget">'.$lang_login['Forgotten pass'].'</a>');
The function message calls header.php which includes main.tpl, and I think you shouldn't change that.
So you will have to make an extra function like message() but with your own template instead of main.tpl or you have to tweak the message function itself.
Thanks Tobi:
That gives me a starting point.
C's Daddy
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Guest forced login, should be simple, please help
Powered by PunBB, supported by Informer Technologies, Inc.