PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Using Gravity to post 'comments' to individual posts?

  1. takemura

    Hi Carl, here's a scenario I'd like to run past you, and I would like to know if this is a possible use for Gravity...

    I want to compile a list of press/media links associated for each post.

    Many of the places I feature on my site receive press attention as a result of being found on my site.

    Some ideas I'm throwing around:

    1. Use the comments form but only allow logged in admins to post comments, i.e. post comments form will be publicly invisible to everyone else. I think this can be done.

    Advantage of this approach is I can display Recent Comments in sidebar but change it to Recent Press Articles. Over time, this could then used as criteria to generate a list popular posts.

    2. Just hard code it by writing the links in the post body - the quickest and cheapest idea. But doesn't allow for me to showcase this info in the sidebar, or elsewhere.

    3. Use a plugin, if one exists, or have a custom plugin developed based on WP's native commenting system

    Or, I could set up a form using Gravity and place it on every post. The form would allow me to enter the following fields from the front-end:

    - Publication date
    - Publication name (linked)
    - Article Title (linked)
    - Brief description (optional)

    Once submitted, the info would appear in the post after the body.

    The submission form would need to be only visible to site admins who are logged in. The form would not be publicly visible.

    The ability to to display in the sidebar the latest posts which have had press articles added to them.

    What do you think? Is this possible with Gravity?

    I like the first idea of using the commenting system exclusively for this. The downside of course is if I decide to use commenting for reviews/feedback in future, and also how would I control any pings and trackbacks using this method.

    Posted 13 years ago on Thursday December 17, 2009 | Permalink
  2. This would be possible, however you would need to write custom code to pull in form entry informaiton your frontend.

    You would want to have a hidden field that would contain the post id and prepopulate it using an api hook so that when they submit a press/media submission form it populates a hidden field with the post id so that you know that entry is associated with that post id.

    Then you would need to write custom code to query the Gravity Forms posts table to get entries for 1) that form id and 2) that post id (which is why you would need to include this as a hidden field) and then output those entries however you want.

    Eventually we do plan on creating an add-on for displaying entry data on the frontend, but it's certainly possible to query that data if you know what you are doing with PHP/MySQL.

    Posted 13 years ago on Thursday December 17, 2009 | Permalink
  3. takemura

    As always Carl, thank you for the speedy response.

    The trouble is, I do not know what I'm doing with PHP/MySQL ;-) I'm an ideas man.

    Posted 13 years ago on Thursday December 17, 2009 | Permalink
  4. rtbenso

    I would love to see this as an add on. Carl do you have a recommendation of any sites that would give more information on this.


    Posted 13 years ago on Monday February 8, 2010 | Permalink