Hi,
I've installed the newest version of Vanilla Forums 2.0.18b2 today (because ProxyConnect is now working again), but I've got two problems:
1. When a click the logout button in Vanilla Forums the user is not redirected to my logout page.
2. I can't unset/delete the Vanilla cookies from my logout page, although I did set my domain correctly...
Are these bugs, or am I just making some kind of mistake?
Thanks!
0 • •
Comments
My addons: NillaBlog | Vanoogle
- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •However, there is one minor problem I noticed: administrators can't set a message or import a forum. Only the user that was initially created as administrator can do that. Is that done on purpose?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •How did you solve it? What did you change?
Thanks!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I opened class.proxyconnect.plugin.php in the ProxyConnect folder and changed the EntryController_SignOut_Handler function with the following :
public function EntryController_SignOut_Handler(&$Sender) {
if (!Gdn::Authenticator()->IsPrimary('proxy')) return;
Redirect('http://www.yoursitehere.com/wp-login.php?action=logout', 302);
}
note that if your wordpress is not installed on the root, you need to include the installation folder eg. http://www.yoursitehere.com/blog/wp-login.php?action=logout
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •public function EntryController_SignOut_Handler(&$Sender) {
if (!Gdn::Authenticator()->IsPrimary('proxy')) return;
$Authenticator = Gdn::Authenticator()->GetAuthenticator('proxy');
$Authenticator->SetIdentity(NULL);
$Authenticator->DeleteCookie();
$SignoutURL = Gdn::Authenticator()->GetURL(Gdn_Authenticator::URL_REMOTE_SIGNOUT, NULL);
Redirect($SignoutURL,302);
}
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •