Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.3k views
in Q2A Core by
edited by

I am running a Q2A site which is using the user DB from a Wordpress site. This is now a mess, since the only registered user is myself (users don't want to register with a small-time site like mine, but they do want to participate in the Q2A forums).

I cannot seem to find a plugin for WP that will allow me to use FB and Twitter users. All the optons are for "comments" in WP, which doesn't help.

My question is how to add OpenID to this situation... if necessary, I can dump the WP integration, but then how can I maintain the questions already asked (and maintain my control as admin)?

If this is not possible, I would like to know at least how to convert to not using the WP database and converving my Admin status.

by
I'm using "OneAll Social Login" and it works fine for me,
login: http://askweb.ir/portal/wp-login.php
Q2A: http://askweb.ir/
WP: http://askweb.ir/portal/
you can see from the login page users can login with Google,FB,Twitter, and Live and other accounts.
by
Will it work with Q2A without WP? Just wondering. I migrated everything yesterday but I'll probably go back to using WP.
by
no, but there are other better plugins(because this one uses a middle man api) which can be easily converted to Q2A plugins. just one of the plugin developers here need to take some time for this matter.
by
I think your original suggestions -- OneAll -- is pretty damn brilliant. This is actually a huge problem and a middle-man API is probably necessary to get full functionality. Thanks!
by
I have OneAll working on my site without WP. It will be really easy to make a plug-in.
by
OneAll is not live on my site yet. I have it working standalone and have not incorporated it into the design.
by
Merkus, I'm probably not going to use it, but it would be amazingly helpful for Q2A users to have that integration. You should share it.

1 Answer

0 votes
by

I'm afraid you can't easily convert an existen Q2A site from external user integration to internal user management. You can try modifying the settings in qa-config.php, but you will also need to convert the type of the userid column to INT UNSIGNED, and NULL-ify the userid column for all posts, votes, etc..., since the user ids will no longer be valid. You should be prompted to add the admin user if you go to the install page.

by
I ended up creating a new Q2A DB, then replacing all my qa_user* tables with that one. Since only one user (and anonymous) had done everything in my system, it kind of worked out (except the points for user #1 were wrong). However, I'll give this OneAll Social thing a try, so I might stay with the WP install. Thanks for your answer, gldgreen.
...