Support Forums

add new member to 3rd party autoresponder

This is a discussion on add new member to 3rd party autoresponder within the Pre Sales Questions forums, part of the Pre-Sales & Testimonials category; I haven't bought yet but want to make sure that I am building a list as my site membership grows, ...


Go Back   68 Classifieds Forums > Pre-Sales & Testimonials > Pre Sales Questions

Reply
 
Thread Tools Display Modes
Old 01-16-2009, 04:34 PM   #1
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 11
petey is on a distinguished road
Default add new member to 3rd party autoresponder

I haven't bought yet but want to make sure that I am building a list as my site membership grows, where I can communicate back to my list and use auto-followup features and list segmentation etc.

1) Is there a place in the code where I could insert (in developer version) a little snippet so that new members are added to my third party autoresponder - e.g. Email Marketing Software, Email Newsletters and Autoresponders by AWeber or Email Marketing, Autoresponder, Email Marketing Software - GetResponse ?

2) I'll run the code as a 1x1 pixel iframe that the member won't see - I just need access to the name and email variables - are they available to me in this way?

Thanks.
petey is offline   Reply With Quote
Old 01-16-2009, 04:48 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

It is funny you posted this. Last night I started working on an integration with Campaign Monitors api. Not sure if they have an auto responder though.

1. Yes you can add this. Probably on the page after they register.

2. Yes they would be.

This would probably take the developer edition and if you purchase just post any questions here and we would be glad to help you out.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-22-2009, 01:45 AM   #3
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 11
petey is on a distinguished road
Default ok bought...

Hi - ok I bought the developer and need to know what file to edit to place iframe line calling my getresponse script? Also, is there an include I need to put at the top of my script in order to get the variables for name and email? .. and what are those variables, as I need them to submit to the email list service.

Thanks.

(running v4.0.9 Developer)
petey is offline   Reply With Quote
Old 01-22-2009, 12:29 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I think the easiest thing to do would be for you to post what code you need to use or post a link to the instructions. That way I can see how it is supposed to be setup.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-22-2009, 01:55 PM   #5
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 11
petey is on a distinguished road
Default code

Ok no problem. Here's i) the code that calls the php script followed by ii) the script itself.

i) code on page where user has just registered, so we know their name and email, calls "getresponse.php" in (ii) below:

PHP Code:
<iframe src="http://www.your68site.com/getresponse.php" frameborder="0" height="1" width="1"></iframe

ii) getresponse.php

PHP Code:
<? include("http://www.your68site.com/someglobalvariables.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<title>form</title>
<body>
<form action="http://www.getresponse.com/cgi-bin/add.cgi" method="post" id="theform" accept-charset="UTF-8">
<input type="hidden" name="category2" value="<?=$member->getName()?>" id="GRCategory2" />
<input type="hidden" name="category3" value="<?=$member->getEmail()?>" id="GRCategory3" />
<input type="hidden" name="category1" value="yourcampaignname" />
<input type="hidden" name="confirmation" value="http://www.your68site.com/page/blank.htm"/>
<input type="hidden" name="error_page" value="http://www.your68site.com/page/blank.htm"/>
<input type="hidden" name="ref" value="000" />
<input type="hidden" name="getpostdata" value="get" />
</form>
<script language="javascript">
<!--
document.getElementById('theform').submit();
-->
</script>
</body>
</html>
*So I need to know where to place the line in (i) - preferrably just after they've registered. Even if they don't confirm their registration I don't care as I want the max people on my mailing list.

*And I need to know what 68 variables to replace in (ii) value="xxx" lines so I get the person's name and email.

Does that help?
__________________
(Running v4.0.9 Developer, Boat template + custom colours/gfx + SEO Plus by templatecodes.com)
petey is offline   Reply With Quote
Old 01-22-2009, 03:35 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I would add this to userjoin.php. Open it and go to line 215 where you should see this:
Code:
//send email                        
                        $to=trim($_POST['email']);
                        $vars['firstname']=@$_POST['firstname'];
                        $vars['lastname']=@$_POST['lastname'];
                        $vars['username']=$_POST['username'];
                        $vars['password']=$_POST['password'];
Just below that add:
Code:
echo '<iframe src="http://www.your68site.com/getresponse.php?name='.$_POST['firstname'].'&email='.$_POST['email'].'" frameborder="0" height="1" width="1"></iframe>';
Finally in your getresponse.php file:

Code:
<input type="hidden" name="category2" value="<?php echo $_GET['name']; ?>" id="GRCategory2" /> 
<input type="hidden" name="category3" value="<?php echo $_GET['email']; ?>" id="GRCategory3" />

__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-22-2009, 05:49 PM   #7
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 11
petey is on a distinguished road
Default ok

Ok I'll get on it and report back.

If it works then I think it's a powerful way for 68 site owners to do some list building.

Update coming. Got to go fiddle w/ the code now

Thanks Eric.
__________________
(Running v4.0.9 Developer, Boat template + custom colours/gfx + SEO Plus by templatecodes.com)
petey is offline   Reply With Quote
Old 01-22-2009, 06:14 PM   #8
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 11
petey is on a distinguished road
Thumbs up it worked

This worked. Thanks for the great advice Eric.

Now all new members are added to my autoresponder, so I can email
them sequenced followups and broadcasts.

Cheers.
__________________
(Running v4.0.9 Developer, Boat template + custom colours/gfx + SEO Plus by templatecodes.com)
petey is offline   Reply With Quote
Old 01-22-2010, 03:45 PM   #9
Customer
 
Join Date: Jan 2010
Posts: 70
Rep Power: 8
metrony is on a distinguished road
Default

This is a really old post but I wasn't a member then and can still use this functionality. With the solution above I don't think you need to actually submit the entire form to GetResponse since GetResponse has its own API.

Will the following work?

Add to userjoin.php after this:

//send email
$to=trim($_POST['email']);
$vars['firstname']=@$_POST['firstname'];
$vars['lastname']=@$_POST['lastname'];
$vars['username']=$_POST['username'];
$vars['password']=$_POST['password'];

Add this:

echo '<iframe src="http://www.getresponse.com/subscriber_api.html?method=AddSubscriber&api_key=# ##&email='.$_POST['email'].'&campaign=CAMPAIGN_NAME&name='.$_POST['firstname'].' '.$_POST['lastname'].'" frameborder="0" height="1" width="1"></iframe>';

I've tested adding subscribers via a url and it works great. Just don't know if this will work with 68c.

Last edited by metrony; 01-22-2010 at 03:47 PM.
metrony is offline   Reply With Quote
Old 01-26-2010, 10:58 AM   #10
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I would recommend testing it but from I see it should work.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Tags
None

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Member Email x3 tdisraeli Technical Support 3 09-15-2008 09:56 AM
Member creadora Pre Sales Questions 3 09-21-2007 11:14 AM


All times are GMT -4. The time now is 11:43 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0