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.

Any way to make Vanilla use wordpress user database or vice versa?

edited April 2015 in Vanilla 2.0 - 2.8

Okey i have a website that is made of wordpress+vanilla.

I atm use the vanilla plugin in order to use vanilla comments as the main comments of my blog. What i would like to is to give my users an option to submit posts on (through) wordpress as well without them needing to have both a forum vanilla account and a wordpress blog account. For example i could let them register on wordpress too, but then they would have two accounts one for forum and other for blog so i wouldn't like that as it would be messy and not user friendly. So i am just looking for some solutions of this? should this be done through forcing wordpress using vanilla user database or something like that?

I other words i would like to give them an option to submit wordpress posts, and forum post with their one account and to have it attributed to them. I am looking for any good friendly solution or a glimpse of insight how would you do the same?

Comments

  • or maybe an option to convert a forum thread made by a user into a wordpress post.
    (opposite of what the plugin does which starts a topic of a wordpress post) that would be cool also, is that doable?

  • edited April 2015

    You can use the forum's rss feed to auto post to wordpress blog using a plugin , the other stuff is more complicated. But t may be possible.

    https://wordpress.org/plugins/wpematico/

    https://wordpress.org/plugins/rss-post-importer/

    http://www.feedsposter.com

  • You need jsConnect

    http://vanillaforums.org/addon/jsconnect-plugin

    and this wordpress plugin
    https://wordpress.org/plugins/wp-vanilla-connect/

    This can also do the SSO

    https://wordpress.org/plugins/vanilla-forums/

    But they used a poor use of hook, which isn't always included in themes, the endpoint is more reliable in the other in my experience.

    grep is your friend.

  • @vrijvlinder that is an interesting solution, however wouldn't that create duplicate content on website?

    It would be ideal to make a option:

    1) User makes interesting thread -> you convert (transfer) it to wordpress post -> the original created thread/post becomes embeded "read more" thread just as the current wordpress vanilla plugin does

    or

    2) Make the wordpress and vanilla forum use same database user query in order for them to have one account in two systems making it irelevant where they login and make them able to use both systems.

    I would like for my website to function like boredpanda/9gag where users can upload and share their stories and in same time to have a forum for discussions. It's an interesting idea that you suggested tho, might be helpful.

    Anyone did anything similar here before?

  • @MarcusMaximus you need a single sign on solution. It is not about posting content, it is about access control.

    That is what jsConnect offers you.

    You have them login through wordpress, and connect when visiting the forum.

    grep is your friend.

  • edited April 2015

    @x00 indeed however if i only use sso the problem is they will have two accounts, one for wordpress and one for vanilla. I need them have just one account on one system to use both wordpress and vanilla and have their forum posts and blog submission bounded onto one account.

    1) So the solution would be to let them only use vanilla forum and comment on blog posts and conver their posts into blog posts (i guess manual php coding would be needed for this?)

    2) or forcing wordpress to use maybe vanillas sql user database table, and let them use both wordpress and vanilla with their one vanilla account? (is this even possible?)

    3) or i have no more ideas...

  • x00x00 MVP
    edited April 2015

    @MarcusMaximus you are over thinking it, these are two different frameworks, unless you are a competent software architect / programmer attempts a melding the frameworks would not be a good idea, as it is complex. In any case you wouldn't be asking this question, or even considering it.

    Nobody would start out wanting to meld two frameworks it doesn't really make sense. I wouldn't advise as a consultant. Even if you manage to get it working which is doubtful, you will have something lesser than the sum of the two parts, with no track record / maturity of stability. You wouldn't be able to receive support here, as it would be another project.

    What I suggest is simply restricting access to part of vanilla you don't want to use. jsConnect syncs the name, picture and role. With correct configuration it is smooth.

    You can style accordingly so it blends in.

    grep is your friend.

  • Might be of interest: https://github.com/linc/glue

Sign In or Register to comment.