Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+17 votes
in Plugins by
edited by

I noticed some time ago users were looking for ways to create content programmatically. One of the main reasons to do so was related to having a relatively new site with a small amount of users. Site owners needed to ask and answer most of the questions in order to generate content. This process with a web interface can be bothersome and slow. Related to this, I have seen users asking for a way to change the author of a question, which is likely related to site owners answering their own questions to attract new users.

This is a very common situation most communities face when they are starting from scratch. So I decided to create a simple plugin that would ease the process of creating content on sites: Bulk Content Generator. In short, it allows users to import a spreadsheet that contains questions, answers or comments and turn them into real posts in the site. It is also possible to configure the creation date of the post as well as the user who created them, among other things.

Plugin features include:

  • Create questions, answers and comments taken from a file
  • All posts can be set an author or be anonymous
  • Questions can be set a category, tags and the Q2A extra value, if configured in the site
  • Answers can be selected
  • Ability to disable notifications on the created posts
  • All posts can be set a particular creation date in the past or it can even be generated randomly
  • External users support

If you are interested in reading more about the plugin you can check the plugin page. There, you'll find some additional features, screenshots and how to order it. You can also find a plugin demo here.

@pupi1985, do you see any issue with this plugin if Option1:  db setup is used for multiple site and then this plugin is used for content upload?

The plugin should work fine. Each site will have its own posts table. Each site will share the same users table. Each site will not even know of the existence of other sites so the plugin itself won't know that either.
@pupi1985, Ok, thanks!
Installed pupi and not showing up at all. any particular url to access bcg?

3 Answers

+2 votes
I liked this plugin very much! almost all required features are there in this plugin. Great work, keep it up!

> Upgrade system support: The plugin will be able to properly upgrade from previous versions

what does this mean?

Does this plugin add any entry related to this plugin in database?
Thank you. That is mostly focused on DDL changes required when upgrading. There are some plugins that require creating tables and new versions of those plugins might need to add/remove/modify existing fields or tables. All plugins I write handle versioning of the database (in a similar way as how the core does) so any new versions will detect the old database version and upgrade the database, without the need to ask the user to go to PHPMyAdmin and run some queries.

In this particular case, the plugin does not create any table or perform any DDL change to the existing tables. So it could be useless to say so but the end user does not know this so in order to avoid any questions about support for future releases I tried to make it clear that future versions handle the upgrade on their own. Probably, I should rephrase that :)
Thank you for the details. Good to know it is not adding any additional tables or making changes in db.

btw, any discount for earlybirds :)
You are genius  man @pupi
+1 vote
edited by

Good plugin - I liked this plugin very much! 

0 votes
Hi pupi. Id like to know if this plugin is working with q2a latest version and if it

1. creates new users or can be added to random users (without choose one by one)

2. populates only the posts table


 0. Yes, the plugin works with the following Q2A versions (as explained in the wiki): 1.7.*, 1.8.*
 1. This is explained in the wiki. In short, the plugin does not create new (fake) users. Assigning posts to random users seems to be odd because non-fake users would get posts created out of the blue. The safest approach would be to post anonymously. Regarding user creation, there is another plugin that can be used for that. You could create the users with that plugin and then assign them manually to the import file. I'm open to suggestion to this item.

 2. It creates whatever is needed to create a post. For example, if tags are needed, they are created, if new words are added, they are created, etc.