Support Forum
I tried searching but couldn't find anything specific to using Gravity Forms.
We are using Simple Press within an Intranet environment but would like to use the flexibility of templating the content of a post using fields from a Gravity Form.
Eg:
IT Issue:
Date of issue:
Time of Issue:
Description of issue:
These fields would then populate the Topic Title, Topic Description and Topic post Content
I'm thinking that this could be done using the notifications emails from Gravity Forms to post via the email plugin maybe?
Feedback from anyone that has tried similar would be most appreciated 🙂
We dont use gravity forms so hard to answer...
Certainly, using the Simple Press API this could be accomplished via a custom plugin...
Or if you use or post by email plugin, it may be possible already... That plugin allows you to post to forums via email... So if gravity forms can email a specific address for a forum, it may be possible... For new topics, pretty straight forward... Existing topics would be a bit more tricky since the topic name is needed... The hardest part would be the user... The email address of the email sender needs to match a valid forum user...
Visit Cruise Talk Central and Mr Papa's World
Hey Rem,
I'll just start by saying that while I do have some experience with Gravity Forms, I've not done anything quite so adventurous myself! You'd probably want to start by using the 'gform_post_submission' action to catch the data after it's validated by GF, and this you can make form ID specific.
The plugins which make posts such as posts by email might not be worth using in the way you've mentioned as they all use the core post class to create posts, and that's probably the way you should be looking at going.
Start by taking a look at the SP post class in simple-press / forum / library / sp-post.php. Also take a look at some of the plugins which make use of it to see how they do it - Have a look at the following and search for '= new spPost;' to find the post class being initialised, then read on from there.
forum-plugins / post-by-email / library / sp-email-post-process.php
forum-plugins / post-multiple / library / sp-post-multiple-components.php
forum-plugins / blog-linking / library / sp-linking-blog.php
1 Guest(s)