🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms wpForo Premium Add-on Setup Guide

Updated 7 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Step 1: activate the license and check wpForo
  4. Step 2: build the form
  5. Step 3: add a wpForo feed
  6. Create a topic
  7. Reply to a topic
  8. Options
  9. Who posts
  10. What wpForo may decide for you
  11. What you see after a submission
  12. Conditions and several feeds
  13. Security and privacy
  14. For developers
  15. Frequently asked questions
  16. Does it work with the Gravity Forms add-on framework on a page?
  17. Can visitors without an account post?
  18. Can it reply to a topic that was made by an earlier submission?
  19. Are uploaded files sent to the forum?
  20. Does it send the e-mails of wpForo?
  21. What happens if my license expires?

Video walkthrough

Gravity Forms wpForo Setup Guide: Turn Form Entries into wpForo Forum Topics (Free wpForo)
Video setup guide: Gravity Forms wpForo Watch on YouTube

The Gravity Forms wpForo Premium Add-on turns a Gravity Forms submission into a post in the wpForo forum on the same WordPress site. Depending on the feed, it creates a topic in the forum you choose, or adds a reply to an existing topic. You decide who the post comes from: a fixed user, the person who is logged in, the member with the e-mail address from the form, or a guest.

The add-on does not write into the wpForo tables itself. It calls the same functions wpForo uses when a member posts by hand (the topic and post functions of the free wpForo plugin, version 3.2.2 was read and tested). That means the rights of the posting user, the anti-spam rules, the moderation queue, the e-mail notifications and the subscriptions of wpForo all work exactly as they do for a normal post. Nothing is sent to another server.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • The free wpForo plugin, active, with at least one forum (not only a category).
  • An active license key for this add-on.

If Gravity Forms is missing or older than 2.9, or wpForo is not active, the add-on shows a notice in the WordPress admin. The feed screen tells you when wpForo cannot be found.

Step 1: activate the license and check wpForo

Open Forms → Settings → wpForo and activate your license key. Below it the add-on shows the version of wpForo it found and how many forums there are. There is no API key and no address to type, because the forum lives on your own site.

The wpForo settings screen of the add-on: the license section and the line that says wpForo is active with the number of forums found
Forms, Settings, wpForo: the license, and a check that wpForo is active. There is no key to enter.

Step 2: build the form

Use any Gravity Forms form. For a topic you need at least a title and a text. A drop-down with the forums, a field for tags and a name and e-mail address are optional.

A Gravity Forms form with a title, a question, a forum choice, a tags field and a name and e-mail address that creates a wpForo topic when it is sent
A plain form. The visitor never sees the feed; it does the posting.

Step 3: add a wpForo feed

Open the form, then Settings → wpForo, and press Add New. Give the feed a name and choose what it should do.

The wpForo feed settings: name, action, forum, title with merge tags, tags, the text of the post, options and who posts
A feed: what to post, in which forum, and as whom. Merge tags work in the title, the tags and the text.

Create a topic

  • Forum: choose from the list that the add-on reads from wpForo. Forums are shown with their category, for example Main Category / General Discussion. Categories cannot hold topics, so they are not in the list.
  • Forum from a form field (optional): choose a field whose value is the forum number or the exact name of the forum. If the value does not match a forum, the forum above is used.
  • Title: text with merge tags. Markup is removed and the title is cut at 250 characters, the limit of wpForo.
  • Tags: separated by commas, merge tags work, at most ten. wpForo uses them only when its tags module is on and the posting user may tag in that forum.
  • Text of the post: merge tags work, and the values the visitor typed are escaped, so a visitor cannot add scripts, frames or links of their own. Leave the text empty and the add-on posts every answered field as a bold label and its value, leaving out fields hidden by conditional logic and password, CAPTCHA and payment card fields.

Reply to a topic

Choose Reply to a topic and give the topic number. You find it in the topic list of the wpForo admin. It can come from a form field with a merge tag, so one form can answer different topics. Add a post number if the reply should answer one particular post; if that post is not in the topic, the reply goes to the topic itself and a note says so. A closed topic or a topic that does not exist is refused with a clear message.

Options

  • Stop @mentions in the post (on by default): a visitor can type anything into a form, including the name of a member. With this option the add-on breaks every @mention, so nobody is notified by a submission.
  • Give the post the date of the entry: the post gets the time of the form submission.
  • Hold the post for moderation: the post is saved as unapproved and shows in the forum only after a moderator approves it.
  • Make the topic sticky and make the topic private (topics only).

Who posts

wpForo always checks the rights of the user who posts, in the forum the post goes to. Choose that user in the feed.

  • A fixed WordPress user: the simplest. Give the user number or the login name. Use an administrator or a moderator when the post must not be stopped by the flood and spam rules of wpForo.
  • The logged-in person who sent the form: the post comes from the member. When nobody is logged in, the fixed user posts.
  • The WordPress user with the e-mail address of the form: the add-on looks the address up among your users. Without a match the fixed user posts, or, in the strict variant, nothing is posted and a note says why.
  • A guest: the name and e-mail address come from the form and the post has no user. It works only in forums where the Guest user group of wpForo may post.

The add-on never creates WordPress users. If you want a member for each visitor, let people register first and use the logged-in option.

What wpForo may decide for you

Because the add-on uses wpForo itself, wpForo can refuse or hold a post. When it refuses (for example because the user may not create topics in that forum), nothing is saved, the entry gets a note with the message from wpForo and the entry box shows a Post to the forum now button. When wpForo holds the post (its rule for new members, its duplicate text filter or the option above), the topic is saved and the note says that it waits for moderation.

wpForo keeps its own messages in the visitor session. The add-on posts in a private session of its own, reads the message and removes it, so a refusal is never shown to the next person who opens the forum.

What you see after a submission

Every step writes an entry note, and the new topic is linked from a wpForo box on the entry screen.

  • A success note: what was created, who posted and the address of the post.
  • Entry meta values for the forum, topic, post, address and posting user, which you can use in notifications and confirmations.
  • The merge tags {wpforo:topic_url}, {wpforo:topic_id}, {wpforo:post_id} and {wpforo:user}. Use them in a confirmation, for example to send the visitor straight to the topic.
  • If something was refused, a note with the message from wpForo and the Post to the forum now button.

The add-on posts once per entry and feed. Pressing the button again, or sending the entry through the feeds again, never creates a second topic.

Conditions and several feeds

Use the feed condition to post only when a field has a value, for example only for the forum Support. A form can have several feeds, for example a public topic and a private topic for the team.

Security and privacy

  • The text goes through the filters of WordPress and of wpForo before it is saved, and the values of the visitor are escaped before they reach the text.
  • Only the numbers and the names that the add-on understands are accepted: a topic number such as 12 or a forum number, never a text with extra words.
  • Everything stays on your site. The add-on adds a paragraph about this to the WordPress privacy policy guide.
  • Deleting the add-on removes its settings and entry meta. Topics in the forum and the entries stay.

For developers

  • Filter gfwpforo_job changes the title, text, forum and other values before they are sent to wpForo.
  • Action gfwpforo_after_post runs after a successful post with the result, the entry, the form and the feed.

Frequently asked questions

Does it work with the Gravity Forms add-on framework on a page?

Yes. wpForo starts late on a normal page, after Gravity Forms has handled the form. The add-on starts wpForo at the right moment and makes sure it does not start twice, so a form on a page, in the admin or sent by code all work.

Can visitors without an account post?

Yes. Use a fixed user, or a guest if the forum lets guests post.

Can it reply to a topic that was made by an earlier submission?

Yes. Use the topic number merge tag in a later form, or store the number in a hidden field.

Are uploaded files sent to the forum?

Not in version 1.0.0. Put the address of a file in the text with the field merge tag if you want the post to link to it.

Does it send the e-mails of wpForo?

Yes. The new topic goes through the normal wpForo steps, so subscribers of the forum are told as for any other topic.

What happens if my license expires?

The add-on keeps its settings but posts nothing and writes a note on the entry until the license is active again.

See the wpForo add-on

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr