Forum Replies Created
-
AuthorPosts
-
January 26, 2022 at 6:54 pm in reply to: Sending newsletters from different e-mail adressess #281038Jason RobinsonParticipant
You can set from both friendly name and email for the From headers on a per-email basis in the Advanced tab, in the same screen where you set which lists are being sent to.
Jason RobinsonParticipantup voting this. One of our clients is now requesting this too. Love the plugin!!
Jason RobinsonParticipantUpvoting this again
Jason RobinsonParticipantTo anyone who hasn't seen it, TNP now has GF integration and it works well. Try it!
Jason RobinsonParticipantI will incorporate the get_token and test, I am skipping the activation email as I don't really need it, but I can understand why others would require it (GDPR etc), that could just be another function call?
Jason RobinsonParticipantI can't post a link here apparently. I've tried using the code/link and also just pasting it in and when I click submit, it never shows up
Jason RobinsonParticipantThere is no easy integration right now, I posted prototype code in another thread on this forum that shows how you can do it yourself if you know PHP
Jason RobinsonParticipantadd_action('gform_after_submission', 'tnp_add_entry_to_db', 10, 2); function tnp_add_entry_to_db($entry, $form) { // uncomment to see the entry object //echo '<pre>'; //var_dump($entry); //echo '</pre>'; $source = $entry['source_url']; $email = $entry[2]; $firstname = $entry["1.3"]; $lastname = $entry["1.6"]; $subscribe = $entry["14.1"]; if ($subscribe == 'I want to subscribe to the Dow Art Gallery Newsletter') { global $wpdb; // add form data to custom database table $wpdb->insert( 'wp47_newsletter', array( 'email' => $email, 'name' => $firstname, 'surname' => $lastname, 'http_referer' => $source, 'status' => 'C', 'list_1' => '1', 'list_2' => '1', 'list_3' => '1', 'created' => current_time( 'mysql' ) ) ); } }
Jason RobinsonParticipantThe one field in the database that is not being filled and I am not sure if it needs to be is TOKEN. I am still digging into TNP's code to figure out how this field's value is calculated/created. I am not sure it is even needed initially. I have run this code on a GF and now see the subscriber in the TNP's subscriber page, so I know it works to that point.
Jason RobinsonParticipantI have a prototype function below that can be put into functions.php, this is really rough and fixed to one form, and anyone trying to use this would have to change the array values as well as the table name prefix. Note that some fields are addressed by array index and others are using names. There are a lot of ways this could be expanded, I think my next addition is a simple switch for handling multiple forms.
Jason RobinsonParticipantI'm trying to post a new function to help with this issue and the forum isn't letting me. It shows that it saved, but it's not showing here. Is there a new approval flow for messages posted here?
Jason RobinsonParticipantIf TNP subscribers were registered as a custom post type, there are a number of existing plugins for Gravity Forms that can push the data into the CPT.
Jason RobinsonParticipantThinking about this more:
- Use published/documented GF hooks to intercept form data
- Decide (based on form data?) what list(s) the submitter should belong to (look up list IDs)
- Insert into wp_newsletter (email,name,surname,lists_1,list_2,...) values (email,firstname,lastname,1,0,...)
The above is just a rough outline for custom code running in functions.php approach. A full blown plugin would need UI for picking lists and mapping fields etc.
Jason RobinsonParticipantWhere can we post a bounty to get this done? Or Stefano, I am willing to send you PayPal (as I am sure others would too) to make this happen. This is beyond paying for the Agency level yearly subscription that we already pay for.
Jason RobinsonParticipantEven when grabber was available, I was not able to get it to work with GF, sadly. Otherwise I probably wouldn't be trying to keep this thread alive.
I will reiterate, if a bounty is needed for this, I am happy to organize and kick off the funding. We really need this. 100% of our clients sites used Gravity Forms.
Jason RobinsonParticipantWe really need this integration. I have many clients that would drop MailChimp or Vertical Response or Constant Contact if they knew there was integration with TNP and GF.
I want to express gratitude for all the work being done on TNP in general, it is happy making to see new features and updates come out. How can we help to get the GF integration done? Bounty?
Jason RobinsonParticipantIs Grabber even still supported? I am willing to help pay for this integration to happen. We use TNP on 10+ sites and all of those sites use Gravity Forms. Integration between the two without Grabber would be greatly appreciated!
Jason RobinsonParticipantI found it, I have to go under my downloads, once logged in!
Jason RobinsonParticipantI found this page: https://www.thenewsletterplugin.com/documentation/grabber-extension
But it says I can download Grabber from the downloads page, which I can't find (!)
Jason RobinsonParticipantI really need grabber too, I don't see it listed in the extensions list when I go to /wp-admin/admin.php?page=newsletter_main_extensions
-
AuthorPosts