Hello,
Do you if i'ts possible to re-direct to a specific page when user is logged for the fist time... ?
exemple : I have a private page (it's not my homepage). When user log in i want a complete redirection to this private page... is it possible with wb ?
thank's
Hello,
yes this is possible. You can add a redirect statement to the login form of your template (index.php).
Search for <form name="login"...> in the index.php of your template and change it as follows:
<form name="login" id="login" action="<?php echo LOGIN_URL; ?>?redirect=<?php echo WB_URL; ?>/pages/YOUR_PAGE.php" method="post">
Replace YOUR_PAGE with the page name you want to display after login.
Regards Christian
:-D Yes.... !
I did it !
<form name="login" action="<?php echo LOGIN_URL.'?redirect='.WB_URL.'/pages/membres.php'; ?>" method="post">
Thanks a lot Christian
Can this be done conditionally for different user groups? For example, I need one group of users directed to one page and another set of users directed to another.
Thanks in advance for any assistance.
Sue
Hello,
you could link to a page of type code where you check e.g. the group id.
Regards Christian