Log out to portal
5 posters
Page 1 of 1
Log out to portal
Hi again, here's my problem this time around:
I've recently made the portal my main site page. Now when users log out OR log in, it goes to the forum page, NOT the portal page
i would like it when users log in and log out for it to go to my portal page, NOT my forum page
here's the link i use currently for logging out:
 http://sports-forumbuzz.canadian-forum.com/login?logout=1
thanks! it'd be really awesome if we could figure this out!!
I've recently made the portal my main site page. Now when users log out OR log in, it goes to the forum page, NOT the portal page
i would like it when users log in and log out for it to go to my portal page, NOT my forum page
here's the link i use currently for logging out:
 http://sports-forumbuzz.canadian-forum.com/login?logout=1
thanks! it'd be really awesome if we could figure this out!!
Re: Log out to portal
Hi,
Have you tried this?
ACP >> Display >> Homepage >> Generalities >> Your forum redirects to : []Portal
Regards,
Sir Chivas.
Have you tried this?
ACP >> Display >> Homepage >> Generalities >> Your forum redirects to : []Portal
Regards,
Sir Chivas.
Re: Log out to portal
Yeah I've already done that. I think I'll have to set a cookie, or insert JavaScript to fix this.Sir Chivas™ wrote:Hi,
Have you tried this?
ACP >> Display >> Homepage >> Generalities >> Your forum redirects to : []Portal
Regards,
Sir Chivas.
Re: Log out to portal
Just gonna keep bumping till i get an answer hah!
i could help with suggestions: Log out javascript code i could insert? change/add something to templates?
please this would really be awesome!
i could help with suggestions: Log out javascript code i could insert? change/add something to templates?
please this would really be awesome!
Re: Log out to portal
I have not seen any codes that will achieve this.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Log out to portal
well that sucksSLGray wrote:I have not seen any codes that will achieve this.
absolutely nothing? no javascript? no CSS? Couldn't add any code to templates?
Re: Log out to portal
Hello !
Let's give it a try
Let's give it a try
- Code:
$(function() {
var url = $('a[href^="/login?logout="]').attr('href');
$('a[href^="/login?logout="]').attr('href',''+url+'&redirect=/portal');
});
Re: Log out to portal
this didnt work buit thank you for trying!Neptune- wrote:Hello !
Let's give it a tryTo place as a new javascript active on all pages.
- Code:
$(function() {
var url = $('a[href^="/login?logout="]').attr('href');
$('a[href^="/login?logout="]').attr('href',''+url+'&redirect=/portal');
});
now i dont know if this will do anything... but the link im using for logging out is:
http://sports-forumbuzz.canadian-forum.com/login?logout=1
thats the link our users use for logging out all of the time.
i put in "1" after the = symbol in those 2 lines but it still didnt work... i also tried switching the logout url to
1. http://sports-forumbuzz.canadian-forum.com/portal/login?logout=1
2. http://sports-forumbuzz.canadian-forum.com/portal?login?logout=1
3. http://sports-forumbuzz.canadian-forum.com/login?logout=1/portal
4. http://sports-forumbuzz.canadian-forum.com/login?logout/portal
5. http://sports-forumbuzz.canadian-forum.com/portal=login?logout=1
Re: Log out to portal
The logout links (numbers) change every time you login and out automatically, its done server side with scripting, when you make a permanent link like what you're doing your members aren't clicking the new updated scripted logout link, they are clicking your logout link thats suppose to change. That can cause a lot of problems. You shouldn't write a logout link, let the forum server handle it.
this is a typical ending of a logout link, after the address/ and it changes numbers all the time by the forum server, and its different for everyone.
this is a typical ending of a logout link, after the address/ and it changes numbers all the time by the forum server, and its different for everyone.
- Code:
logout=1&tid=74c96cd47094a93191e135cd6c474161&key=423c34
Re: Log out to portal
i've got a different navbar, a drop down one so im forced to create a link for itrunawayhorses wrote:The logout links (numbers) change every time you login and out automatically, its done server side with scripting, when you make a permanent link like what you're doing your members aren't clicking the new updated scripted logout link, they are clicking your logout link thats suppose to change. That can cause a lot of problems. You shouldn't write a logout link, let the forum server handle it.
this is a typical ending of a logout link, after the address/ and it changes numbers all the time by the forum server, and its different for everyone.
- Code:
logout=1&tid=74c96cd47094a93191e135cd6c474161&key=423c34
also when you use the logout on the toolbar at the very top, it has a written code, same as the one i just posted
i havent had a single problem with logging out with this written code. Not 1 single problem.
Re: Log out to portal
Hmm, I see what you mean I just looked at the toolbar link. But understand the toolbar uses javascript, and the link clicked on the toolbar is processed with scripts.
Re: Log out to portal
ok, so is there a way to make it so i can log out to the portal using javascript?runawayhorses wrote:Hmm, I see what you mean I just looked at the toolbar link. But understand the toolbar uses javascript, and the link clicked on the toolbar is processed with scripts.
logging out isnt a issue, so we dont need to worry about that. no viruses or anything bad has happened once since we've started using that link to log out under "Other"
this problem isnt an absolute must, its just something that'd be really nice, and a lot of my members have asked me to see if its possible to do this
Re: Log out to portal
The issue is really being directed to the portal page when they login, correct? I was going off of your cookie statements when you started talking about logging out might have something to do with it, but really I don't see how logging out has anything to with logging in and being directed to the portal page like you have it set to do in the admin panel. A new member with no previous cookie should go to the portal page just as anyone else logging in. I don't see this as a cookie issue. I don't know what the problem is, seriously.
Re: Log out to portal
ya like lets say a user who is logged out, goes to the portal page. I have a login box as you can see for yourself...runawayhorses wrote:The issue is really being directed to the portal page when they login, correct? I was going off of your cookie statements when you started talking about logging out might have something to do with it, but really I don't see how logging out has anything to with logging in and being directed to the portal page like you have it set to do in the admin panel. A new member with no previous cookie should go to the portal page just as anyone else logging in. I don't see this as a cookie issue. I don't know what the problem is, seriously.
http://sports-forumbuzz.canadian-forum.com/
then when they log in, it re-directs them to the index, NOT the portal
should i try clearing everything on my browser, cookies, history, etc and see if that changes anything?
Re: Log out to portal
I really don't think cookies history or any of that has anything to do with where it directs you when you login.
Is that a default login widget from forumtion or did you make that one yourself?
Is that a default login widget from forumtion or did you make that one yourself?
Re: Log out to portal
defaultrunawayhorses wrote:I really don't think cookies history or any of that has anything to do with where it directs you when you login.
Is that a default login widget from forumtion or did you make that one yourself?
Re: Log out to portal
If you click the toolbar login and it takes you to the regular login page, and you login from there where does it direct you to the portal or the index?
This problem of directing you to the index page at login only happens when you use the widget from the portal page?
This problem of directing you to the index page at login only happens when you use the widget from the portal page?
Re: Log out to portal
index. just tried.runawayhorses wrote:If you click the toolbar login and it takes you to the regular login page, and you login from there where does it direct you to the portal or the index?
This problem of directing you to the index page at login only happens when you use the widget from the portal page?
whenever a user logs outs, it re-directs the page to the index once the user is logged out. then when the user logs back in, using the toolbar, the widget on the portal, or the quick login on the index, it re-directs them to the index.
and yes, i have "forum re-directs to: portal" checked off
Re: Log out to portal
This link here takes you to the portal: http://sports-forumbuzz.canadian-forum.com/
That is a link without the /portal on it and it takes you to the portal, that means your forum is indeed directing people that click that link to the portal page when before it would take them to the index before you switched it, thats all its suppose to do. When someone logs in or out thats a different story, its going to direct them to the index, its supposed to do that, only when you click this link http://sports-forumbuzz.canadian-forum.com/ is it suppose to take you to the portal.
So its the way its suppose to be, I believe.
That is a link without the /portal on it and it takes you to the portal, that means your forum is indeed directing people that click that link to the portal page when before it would take them to the index before you switched it, thats all its suppose to do. When someone logs in or out thats a different story, its going to direct them to the index, its supposed to do that, only when you click this link http://sports-forumbuzz.canadian-forum.com/ is it suppose to take you to the portal.
So its the way its suppose to be, I believe.
Re: Log out to portal
Sorry, code i gave works for standard navbar as you can see hereMr. Eddster wrote:
i've got a different navbar.
Maybe it does not work for you because your navbar is not the standard one.
Re: Log out to portal
its not the standard navbar, i have a dropdown navbarNeptune- wrote:Sorry, code i gave works for standard navbar as you can see hereMr. Eddster wrote:
i've got a different navbar.
Maybe it does not work for you because your navbar is not the standard one.
but thanks for your help
and to limit the comments, runawayhorses: I dont think you fully understand what i need haha but i really appreciate you trying to help
maybe tomorrow ill make a test account and give you the password to show you what i mean runawayhorses.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum