vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Integrating vbulletin Registrations with Constant Contact Mailing List (https://vborg.vbsupport.ru/showthread.php?t=228851)

induslady 11-25-2009 12:23 PM

Integrating vbulletin Registrations with Constant Contact Mailing List
 
Hello,

I would like to code a API that integrates vBulletin Registrations with Constant Contact Mailing List.
This is what the API needs to do:

When a user register in my vb forums, their name and email id has to be automatically updates in a Mailing List in Constant Contact.

Any one tried this with success.

Thanks in advance for the responses.

Brandon_R 11-25-2009 01:36 PM

You could create a hook in the register_addember_process or *_*_complete hooks to insert the Name and email into the database considering it using a mysql database

PHP Code:

$vbulletin->db->query_write("INSERT INTO " TABLE_PREFIX "mailinglist (id, name, email) VALUES ($vbulletin->GPC['username'], $vbulletin->GPC['email'])"); 


induslady 11-25-2009 03:09 PM

Hello,
Thanks for your response.

What am looking for is when a user registers in my forum his contact details has to be added into the constant contact mailing list.

Can you tell me how this plugin / query will help me achieve the same.

Can you tell me a little in detail so that could understand your logic.

Thanks once again.

BTTF.com 01-03-2010 01:35 AM

I'm looking for this too.

Regs 01-03-2010 02:43 AM

Check out the plugin created for MailChimp and perhaps modify it for your needs (search google or go to the mailchimp site)


All times are GMT. The time now is 03:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01110 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete