Moderation plugin
Hello we would like to migrate from another online community (outside WP) with thousand of articles to Wordpress and then to FC (not easy because it seems we need first to go to BuddyBoss). On our current site, all members of our community who have published at least four articles automatically become "moderators". Then all moderators are tasked with individually voting on each article submitted by the community. Only when an article reaches a certain number of positive votes then it can go online. I think weβll need to develop something specific to handle this here. Do you think a plugin of this kind would be easy to develop for FC, or is it very complicated? It would be better to develop it within FC or outside FC because the workflow is too complex for FC? Or perhaps a plugin for Fluentforms? Thanks for help!
Some thoughts on how this could possibly work...
- Create a space for pending articles. Assign all current moderators to be moderators of this space. This assumes all existing data and users have been imported into FC.
- Create a space for published articles (or multiple spaces, if desired).
- Create a form for submitting new articles using FluentForms or other forms plugin.
- Using an automation tool like FlowMattic, take the form submission and create a poll (vote Yes/No or Approve/Reject) post with the submitted article content in the space for pending articles. All current moderators would have access and could vote on the new article.
- Ask Shahjahan JewelΒ Β to add a hook for when poll votes take place (this doesn't exist now, I don't believe). If that gets added, configure a workflow in FlowMattic to trigger on poll votes. Once the poll has enough yes/approve votes, configure the FlowMattic workflow to create the post in the space for published articles.
- In the same FlowMattic workflow, configure it to write/update a user meta value for the article author for the number of approved articles. If that number meets the threshold for becoming a moderator, configure the workflow to add the author to the space for pending articles as a moderator.
I think all that would work except for item #5 (we need the poll vote hook added to the FC code....pretty please Shahjahan Jewel :-).
Thomas OatesΒ Thanks a lot! Your answer is incredibly rich and interesting. π I will investigate all that!
Thomas OatesΒ I would like to ask you another suggestion if it's possible. Β Currently, we are on an old French CMS but we know very well how to migrate articles, authors, and comments from this CMS to WordPress thanks to an existing plugin. However, we are not sure how to move the thousands of articles and authors from WordPress into FluentCommunity. It seems that the only solution is to install Buddyboss to import these articles and authors from WP and then to exporte them from BB to FC. In your opinion there is a faster and direct way to do that avoiding to use BuddyBoss or we don't have the choice? Perhaps we should write a special script to allow direct migration from WP to FC? Or it would be safer and easier to use BB? Β Thanks again!
ProsperΒ Using BB might work OK. I've never used BB but it may work in this case as long as you are able to migrate the articles, authors, and comments from your existing CMS into BB.
Another option that I think might work....if you can create export files (CSV may work) of authors, articles, and comments, you could use FlowMattic to loop through each import file (users first, then articles, and finally comments) and create the posts in FC. When importing users, create a user meta value for each user that matches their ID from the old system that is presumably used in both the articles and comments import files. Use this user meta value to match articles and comments to newly created WordPress users when importing them into FC using a loop in FlowMattic.
Alternatively, given you already have a plugin to migrate the info to WordPress users, posts, and comments (I read that part right, correct?), you could then create a FlowMattic workflow to loop through all the imported WordPress posts and create posts in FC. Ditto with comments. FlowMattic could also add users to spaces, if needed.
I think one of those would work. There may be much easier ways (maybe even doing some direct database imports but that would have to be heavily tested to make sure all the field values and keys are correct).
Sounds like an interesting project.
Thomas OatesΒ Thank you so much once again. These are very interesting avenues to explore. Weβll try to work on them in the coming days, and Iβll keep you updated. π