× Joomla Facebook Connect support forum

Topic-icon Streamsend Subscribers

Active Subscriptions:

None
14 years 8 months ago #13295 by OurBlok
Hey! Before integrating JFBConnect on my site, I had (and still have) a simple email signup form for our newsletter. It's as simple as this:


A BUNCH OF STYLING WOULD GO HERE - I TOOK IT OUT TO SAVE SPACE

Subscribers Signup

E-mail Address:






It uses the POST method to communicate with an external web form - You'll notice that if you go to emarketing.ourblok.com/public/ocnaf02h9q/FbN/subscribe there is an entire form with a bunch of other fields available - even though the current form widget is only requesting an email - so it seems simple enough.

How can I post the results of a new registering user to this subscription sign up form? I don't even need it to capture the name address and all that other fluff. All I need is for it to capture the email to subscribe the user to our newsletter. Perhaps a check box to opt in... How can I make this happen?
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13330 by OurBlok
Replied by OurBlok on topic Streamsend Subscribers
I just noticed that all the example code i put up was removed.... how can i write it all out without loosing the html?
The topic has been locked.
Support Specialist
14 years 8 months ago #13336 by alzander
Replied by alzander on topic Streamsend Subscribers
Generally, our forum will remove any of the angled bracket characters in HTML. You can either convert those tags to [ and ] or just remove them. We can usually tell what you're going for. We agree the forum is too agreessive with this, and should simply be escaping it. Something we're hoping to have fixed in the near future. Sorry for the trouble.

As for what you're looking to do, we'd recommend that you create a User Plugin to check for that form field being set, and then taking whatever action is necessary. We fire off all the standard new user creation events in the plugins, and that's where 'external' additional processing should take place. To add the field to the form, we can help you how to do that. With this method, you'll be able to use the plugin regardless of how a user registers, and you won't have to modify our component so that it won't be lost when you upgrade.

Hope that makes sense, but if you don't know what we're talking about, just let us know and we can help.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13340 by OurBlok
Replied by OurBlok on topic Streamsend Subscribers
I think it might be a little over my head right now. where do i create the new field and the rule for where it gets posted? also, I guess i should have mentioned this from the beginning, but I'm using community builder. I have JFBConnect for the log on module. It creates a "psudo" joomla user and populates the Community builder fields to create the profile for the user. will this hurt my ability to post results to the subscription form?

Thank you so much for your help Alex. I look forward to seeing you speak at Joomla Day Austin.
The topic has been locked.
Support Specialist
14 years 8 months ago #13393 by alzander
Replied by alzander on topic Streamsend Subscribers
I guess I need a bit more information about how it should work. Has the newsletter signup ever been part of your normal registration flow, or is this something you're trying to do? As for posting the data, is there simply a URL you have to post to.. like:
http://emarketing.ourblok.com/public/[email protected]
If so, what happens after the data is posted there: is the user redirected somewhere, or is this something can be done silently in the background?

There's a few options I can see to do this. The simplest, though more manual, is to simply add that field to Community Builder. Then, we can help you display that field during registration (Create a select box with "Yes/No" for signing up, and mark it required.. then, in the Profiles area of JFBConnect, set it to show non-mapped required fields. Once submitted by the user, periodically, you can dump out the users that have that set to 'yes' and import to your mail software.

Depending on your answers to the top, we should be able to help you automate it as well (you'd create the field the same, and we can help you create a user plugin to auto-submit the newsletter subscription).

Either way, we'll help you get setup however we can.

Finally, definitely hunt me down at Joomla Day Austin! Great to hear others we work with will be there. I'm talking for about 30 minutes or so, but will be there the whole day. Can't wait!
Alex
The topic has been locked.