Registration/login

There are 4 links related to this topic

  • registration

  • login

  • logout

  • forgotten password

if($current == "logout") e107::redirect(SITEURL."index.php?logout");
if($action == "register") e107::redirect(e_SIGNUP); 
if($action == "login") e107::redirect(e_LOGIN); 
if($action == "lostpassword") e107::redirect(SITEURL."fpw.php");

e_SIGNUP is constant for SITEURL."signup.php"

e_LOGIN is constant for SITEURL."login.php"

SITEURL is root of your e107 installation

Those files can be deleted:

  • user/registered.php

  • user/login.php

  • user/logout.php

  • user/lostpassword.php

2. changed panels data

to save efiction functionality otherwise, this is not needed

eFiction

logout

('logout', 'Logout', '', 1, 1, 0, 'U'),

password

('lostpassword', 'Lost Password', '', 0, 0, 1, 'U'),

register

('register', 'Register', '', 0, 0, 1, 'U'),

login

('login', 'Login', '', 0, 0, 1, 'U'),

e107

logout

('logout', 'Logout', 'login.php', 1, 1, 0, 'U'),

password

('lostpassword', 'Lost Password', 'fpw.php', 0, 0, 1, 'U'),

register

('register', 'Register', 'signup.php', 0, 0, 1, 'U'),

login

('login', 'Login', 'login.php', 0, 0, 1, 'U'),

Last updated