What is the plugin able to do?

Permalink Browser Info Environment
Hello, I have got a question to that plugin.

I use concrete 5.6 and vanilla 2.0.18.8. I have done the installation as written here:
http://www.concrete5.org/marketplace/addons/vanilla-forums/document...

I also made the vanilla-test-proxyConnect Settings with success.

Well, then I log in concrete5 with success.
http://xxxyyyyyzzzzz.de/concrete5/...


After that I call up the url with vanilla,http://xxxyyyyyzzzzz.de/concrete5/vanilla...

I thought that this plugin would made it, that then am logged in to the vanilla-forum, but I`m not.

I can click then the "sign-in-link" of the vanilla forum and then, without writing my username/password
I am logged in (what is already pretty good :-))...
But I wonder if that plugin is able to make it that I`m logged in to vanilla after entering my concrete5 username/login? (without clicking on the vanilla-signin-link)?

And furthermore I wonder if I have to implement the vanilla forum on concrete5 in an iframe or if there is
another solution to integrate it?

Thank you very much, Kaivin

Type: Discussion
Status: New
KaiTrallafitti
View Replies:
KaiTrallafitti replied on at Permalink Reply
KaiTrallafitti
Of course it´s possible to be loggin in directly (without clicking on the vanilla-signin-link), very well plugin :-)

Well, after a while I think I got it,

the loggin to concrete5 must be done by
http://www.theraping.de/index.php/login/?vanilla=1...

...of course.

Furthermore I implemented

setcookie("Vanilla", "deleted", time() - 1,'/', ".mysite.de", false);
setcookie("Vanilla-Volatile", "deleted", time() - 1, '/', ".mysite.de", false);


to ...packages/vanilla_forums/controllers/login.php

like:

public function do_login() {
setcookie("Vanilla", "deleted", time() - 1,'/', ".theraping.de", false);
setcookie("Vanilla-Volatile", "deleted", time() - 1, '/', ".theraping.de", false);

The same I did at:
...packages/vanilla_forums/models/user_logout.php

like:
<?php
defined('C5_EXECUTE') or die("Access Denied.");
class UserLogout extends Object {
public static function userLogoutReal(){
setcookie('Vanilla', ' ', time() - 3600, '/', BASE_URL);
unset($_COOKIE['Vanilla']);
setcookie("Vanilla", "deleted", time() - 1,'/', ".theraping.de", false);
setcookie("Vanilla-Volatile", "deleted", time() - 1, '/', ".theraping.de", false);
}
public function userLogin(){
setcookie('Vanilla', ' ', time() + 3600, '/', BASE_URL);
setcookie("Vanilla", "deleted", time() - 1,'/', ".theraping.de", false);
setcookie("Vanilla-Volatile", "deleted", time() - 1, '/', ".theraping.de", false);
}
}
?>


....with that it works great!!!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.