MyBB Community Forums
logout and specify url for redirect - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: logout and specify url for redirect (/thread-8148.html)



logout and specify url for redirect - Maverickb7 - 2006-04-10

hello-- I have added the ability to login and out from the front page of my site. Currently I'm using this url: http://forums.mysite.com/member.php?action=logout&uid=1

I was wondering how I could specify a a url to redirect to after logging out?


RE: logout and specify url for redirect - zaher1988 - 2006-04-10

Hello there,

Please open member.php

find

redirect("index.php", $lang->redirect_loggedout);

just change index.php to what you want

regards


RE: logout and specify url for redirect - Maverickb7 - 2006-04-10

how do I specific a url without changing the member.php file. Basically I just want the same ability as when u login and specific a url to be redirected. Get it?


RE: logout and specify url for redirect - zaher1988 - 2006-04-10

you are talking about a mybb logout process! how you want it to redirect to a page without editing the member.php?

for both login and logout there is a redirect message in the member.php that will direct you to the index whenever you logout or login.

so to change the final destination after a logout or login withthin mybb you should edit this file.

regards



RE: logout and specify url for redirect - Ryan Ashbrook - 2006-04-10

You cannot change the url without editing the member.php file.