Is There A Wordpress Plugin For Doing Something Like This..

4 replies
Hey Guys,

I want create a content generating system WordPress. Here is how it should work..

I ask my users a few questions and they provide me with an answer... for e.g...

What is your name? *John Doe*
What do you live? *New York*
Date of birth? *2nd March 1985*
Where do you work? *Google*
What is your job profile? *Software Developer*

Once my user answers all the questions and clicks on GENERATE CONTENT Button they should see a result like this..
Hi guys, my name is *John Doe* and I currently live in *New York*. I was born on *2nd March 1985*. I work as a *Software Developer* at *Google*

This is just an example. The * is just to show that the answer is inserted there.

The content is a template. I need a way to fill the gaps in theses templates with the answer given by my user.

What is the easiest way to accomplish this in WordPress. Using shortcodes or form makers or whatever... Any plugin available?

Any advice is appreciated. Thanks
#plugin #wordpress
  • Profile picture of the author Damien Roche
    Doubt there is a plugin available for such a specific case, but I could be wrong.

    It is quite simple to code, though. All you do is take the user input, sanitise, check for errors, and, providing input is correct, use preg_replace on a template string to insert those values.

    The template string would be:

    Hi guys, my name is {name} and I currently live in {location}. I was born on {dob}. I work as a {occupation} at {work}.
    I'd submit some code but I've been out of action in PHP for a while, and it would be useless as you'll still need to create the necessary skeleton for a plugin.

    My advice: either find a programming forum (phpfreaks.com) and build the plugin yourself with help from the community, or hire a developer (elance/freelancer/guru/odesk).
    Signature
    >> Seasoned Web Developer (CSS, JavaScript, PHP, Ruby) <<
    Available for Fixed Fee Projects and Hourly ($40/hr)
    {{ DiscussionBoard.errors[8150758].message }}
  • Profile picture of the author Marketer Matt
    You could use User Meta Manager to easily add custom fields for each user and then do what Damien said to pull them in. It's not that difficult to code. A few Google searches will probably help you figure it out.
    {{ DiscussionBoard.errors[8162920].message }}
  • Profile picture of the author curationsoft
    this training video might help you with the content that you are looking for. this might not be a wordpress plugin but you can do a lot from it.

    curationsoft dot com/training-videos
    {{ DiscussionBoard.errors[8165650].message }}
  • Profile picture of the author webworksbd
    hello,
    There is no plugin I know this do. Pardon me if I am wrong. You will need to make a new plugin for this.

    You can also try some survey plugin by google search.

    Thanks
    Mahmud
    Signature

    Need a WordPress Developer? View my gigs at Fiverr.com

    {{ DiscussionBoard.errors[8180155].message }}

Trending Topics