vampirakos at 04h51
08
Jan
2012
Hello, i want to ask how i can redirect to Portal after login?
Now after login redirects me to forum.
I have done Setting in: Display->Generalities->General (The portal) but still redirects me after login to forum.
Please help!
Thanks!
Now after login redirects me to forum.
I have done Setting in: Display->Generalities->General (The portal) but still redirects me after login to forum.
Please help!
Thanks!
1 FL.ux, on 14/01/2012 at 07h27
well i think you can't do that. . . after you log in it always bring you to the forum.. .
well i don't know. .
well i don't know. .
2 vampirakos, on 15/01/2012 at 20h37
Not solved yet! Please help!
3 RoNo, on 16/01/2012 at 03h21
vampirakos wrote:Hello, i want to ask how i can redirect to Portal after login?
Now after login redirects me to forum.
I have done Setting in: Display->Generalities->General (The portal) but still redirects me after login to forum. Please help! Thanks!
You can redirect to the portal by using 2 login widgets... Create a second (copy) Login widget with permissions set to "Guests" and a redirect link like this: form action="/login.forum?redirect=portal" Set the default Login widget permissions to "Administrators, Moderators, Members"
Example: Invision forum "login to inbox" widget [click]
![]() |
- Code:
<center><div class="box-content ipbform"><form action="/login.forum?redirect=/privmsg?folder=inbox" rel="nofollow" method="post"><fieldset><dl><dt><label for="username">Username:</label></dt><dd><input tabindex="1" name="username" id="username" size="15" maxlength="40" value="" class="inputbox autowidth" type="text"></dd></dl><dl><dt><label for="password">Password:</label></dt><dd><input tabindex="2" id="password" name="password" size="15" maxlength="25" class="inputbox autowidth" type="password"></dd><dd class="forgot-pwd"><a href="href="/profile.forum?mode=sendpassword" rel="nofollow">I forgot my password</a></dd></dl><dl><dd><label for="autologin"><input name="autologin" id="autologin" tabindex="4" class="checkbox" checked="checked" type="checkbox"> Auto Log On</label></dd></dl><fieldset class="formbuttonrow"><input name="login" tabindex="6" value="Log in" class="button" type="submit"></fieldset></fieldset></form></div></center>
Phpbb2 forum login widget (redirects to portal) Use a table type: Yes |
- Code:
<form action="/login.forum?redirect=portal" method="post"><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td align="left" width="55%"><span class="gen">Username:</span></td><td style="position:relative;padding-right:5px;"><input type="text" name="username" value="" size="20" maxlength="40" style="width:100%;" /></td></tr><tr><td align="left"><span class="gen">Password:</span></td><td style="position:relative;padding-right:5px;"><input type="password" name="password" size="20" maxlength="32" style="width:100%;"></td></tr><tr align="center"><td colspan="2"><span class="gen">Log me on automatically at each visit: <input type="checkbox" name="autologin" checked="checked"></span></td></tr><tr align="center"><td colspan="2"><input class="mainoption" type="submit" name="login" value="Log in"></td></tr><tr align="center"><td colspan="2"><span class="gensmall"><a class="gensmall" href="/profile?mode=sendpassword" rel="nofollow">:: I forgot my password</a></span></td></tr></table></form>
Phpbb3 forum login widget (redirects to portal) Use a table type: Yes |
- Code:
<form action="/login.forum?redirect=portal" method="post"><fieldset class="fields1"><dl><dt><label for="username">Username:</label></dt><dd><input tabindex="1" name="username" id="username" size="20" maxlength="40" value="" class="inputbox autowidth" type="text"></dd></dl><dl><dt><label for="password">Password:</label></dt><dd><input tabindex="2" id="password" name="password" size="20" maxlength="25" class="inputbox autowidth" type="password"></dd><dd><a href="/profile.forum?mode=sendpassword" rel="nofollow">I forgot my password</a></dd></dl><dl><dd><label for="autologin" style="display: inline; white-space: normal;"><input name="autologin" id="autologin" tabindex="4" class="checkbox" checked="checked" type="checkbox"> Log me on automatically at each visit</label></dd></dl><dl><dt> </dt><br><dd><input name="login" tabindex="6" value="Log in" class="button1" type="submit"></dd></dl></fieldset></form>
4 LGforum, on 16/01/2012 at 12h54
Or this small bit of javascript will do it to the log in pages:
- Code:
$(function() {
var form=document.forms['form_login'];
if (form.redirect) { form.redirect.value="/portal"; }
else { form.innerHTML+="<input name='redirect' type='hidden' value='/portal' />"; }
});
5 vampirakos, on 18/01/2012 at 17h48
Thanksa a lot!
Solved!
Solved!
6 slg, on 19/01/2012 at 03h02
vampirakos wrote:Thanksa a lot!
Solved!
| Topic Solved & Locked |
Similar topics
When you create an HTML page, you are giving the option to add it as your homepage however if you do this then you loss your forum index.
Instead of the main forum the html page replaces it thus you lose your forum.
Why not change this so that the
I would like to have an option to lessen the time on the flood control thing, or to be able to remove the flood control completely, so that people don't have to wait so long between posts.
And also to have the post redirection thing (after you post the
Hello , i want to ask redirection of url when it will open available again?
Replies 1 to 6 on 6 for "Redirection after Login"
Search
Informations
6 Replies For the topic :
"Redirection after Login"
This topic has been viewed 1129 times.
Last message :
08/01/2012 at 04h51 by "vampirakos"







