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

There are some Q created by Anonymous 

How can I transfare Anonymous question to any author?

due I see problem in google console

V. 1.8.6

1 Answer

+1 vote
by

To change the ownership of anonymous posts to any given user you need to run a query like this on the database:

UPDATE qa_posts SET userid=1234 WHERE type="Q" AND userid IS NULL;

Replace "1234" with the ID of the user you want to assign the posts to. The clause type="Q" restricts the ownership change to just questions. Remove or modify it if you want to change ownership of answers and/or comments as well.

You may also need to update the statistics after doing so (under Administration center → Stats).

by
where exactly I put this code, pro?
by
It's an SQL query. You put it in whatever database management tool you're using (MySQL commandline client, PHPMyAdmin, ...).
by
thank you dear
...