Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

WordPress 3 and Vanilla 2 integration attempt

edited October 2010 in Vanilla 2.0 - 2.8
Hi!

I installed Vanilla 2.013 and make it feel and look like my main website powered by WP3 as seen here: http://www.longboard.si and http://www.longboard.si/forum.

1. Please, could someone give me an opinion on this problem solution:
When a user is logged in in WP (main website) and goes to forum the Vanilla Connect makes sure that he is being logged in forum as well.
However, sometimes a user must click the "Sign in" at Vanilla installation once again to get recognized by it.

In WP installation (in my header.php located in my theme) I added a piece of code that checkes if user is logged in and sets the cookie... like a flag "User is logged". Than in my custom default.master.php (in my custom Vanilla theme) I check if the cookie exists, compare the value and make an instant redirection to the "Sign in" URL, generated by Vanilla.

So, if a user is logged in wordpress and not logged in Vanilla he gets installed instantly.

What do you thinnk about that?

2. The "all mighty" problem integration WP and Vanilla ...
I would love to use native WordPress functions in Vanilla theme... I searched the web for solutions and have tryed also some of my own ideas.. nothing worked for me.

Is there any working solution for that?

Thanks!
Tagged:

Comments

Sign In or Register to comment.