Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[vBtise] MailChimp vBulletin Integration Details »»
[vBtise] MailChimp vBulletin Integration
Version: 1.0.2, by vbtise vbtise is offline
Developer Last Online: Mar 2019 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.x.x Rating:
Released: 09-04-2012 Last Update: 09-21-2012 Installs: 46
Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.



Background
This mod is developed to integrate vBulletin with Mailchimp. Mailchimp is one of the popular email marketing platform. Which is also free for upto 2000 subscribers. For more information please visit their website (http://mailchimp.com/).

Installation
  1. Download the latest version of the addon
  2. Upload content from "UPLOAD" directory to your forum root
  3. Go to AdminCP -> Plugin & Products -> Manage Products -> Add/Import Product
  4. Import product-kws_mailchimp.xml
  5. Go to AdminCP -> Settings -> Options -> vBtise Mail Chimp
  6. Change settings to connect with your Mailchimp account

Configure Admin Options
Configure admin options in admin end => settings => options => vBtise Mail Chimp
  • Option 1 => Turn mail chimp integration on/off
  • Option 2 => If this option is selected as YES, user will be subscribe to Mail chimp without his permission, otherwise in case of NO user will be send to mail chimp only when he will checked the Receive Email from Administrators option on registration page.
  • Option 3 => Enter Mailchimp API Key.
  • Option 4 => Enter Mail chimp Unique list id in which you want to subscribe

Configure Admin Options
  • After admin options configuration, go to admin end => User Profile Fields => User profile fields manager. here you can manage already created fields or create new one to configure with mail chimp. NOTE: To display fields in Manage Mailchimp Fields Page select ( Yes, at registration and profile updating) or ( No, but display at registration) in add/edit filed form => Field Required
  • After creating fields move on to admin end => Vbtise Mail Chimp => Manage Mailchimp Fields page
  • Enable fields with the same Merge tag in Mailchimp administration end

How to View Logs
  • admin end => vBtise Mail chimp => View Cron logs ( here you can see logs like total new added / updated records in Mail chimp List)
  • admin end => vBtise Mail chimp => Registraion Subscription error log ( list of users which are not successfully subscribed in mailchimp while registion )

Features
Admin options
  • Enable or disable mail chimp integration
  • Subscribe user to forcefully or with permission
  • Option to target a particular mail chimp list
  • Configure Vbulletin and Mailchimp Fields (Merge tags )
Mailchimp Subscription
There are two ways to add a user into mail chimp list.
  • When new user register?s in forum
  • Run cron job to sync Vbulletin users into mail chimp. ( this will pass all users to mail chimp api , with options to add new subscribers and update which already exists )
  • Two types of logs admin can view
  • Cron logs with summary of ( Total accounts added/updated or number of accounts having error while sync.)

Changelog
Version 1.0.2
  • Security Fixes

Version 1.0.1
  • Cron job missing file added

Version 1.0
  • Cron job issue fixed
  • Improved loggin

A plugin by vBtise.com

Download Now

File Type: zip VBulletin_Mailchimp_1.0.2.zip (41.7 KB, 313 views)

Screenshots

File Type: png admin_config_options.PNG (40.4 KB, 0 views)
File Type: png Configure_merge_fields.PNG (33.1 KB, 0 views)
File Type: png Subscription_error_log.PNG (14.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-26-2015, 11:14 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Scimia
I fixed that error for someone not too long ago.
Open the file /mailchimp/MailChimpSubs.php

Around line 127 you have:
Code:
$qry = "INSERT INTO " . TABLE_PREFIX . "kws_mailchimp_log values(NULL,now(),'C',NULL,'".serialize($this->errors_arr)."')";
Replace with:
Code:
$qry = "INSERT INTO " . TABLE_PREFIX . "kws_mailchimp_log values(NULL,now(),'C',NULL,'".$vbulletin->db->escape_string(serialize($this->errors_arr))."')";
Reply With Quote
  #53  
Old 01-26-2015, 11:49 AM
Scimia Scimia is offline
 
Join Date: Aug 2011
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
@Scimia
I fixed that error for someone not too long ago.
Open the file /mailchimp/MailChimpSubs.php

Around line 127 you have:
Code:
$qry = "INSERT INTO " . TABLE_PREFIX . "kws_mailchimp_log values(NULL,now(),'C',NULL,'".serialize($this->errors_arr)."')";
Replace with:
Code:
$qry = "INSERT INTO " . TABLE_PREFIX . "kws_mailchimp_log values(NULL,now(),'C',NULL,'".$vbulletin->db->escape_string(serialize($this->errors_arr))."')";
Thank you so much, now with this fix the plugin works!
Reply With Quote
  #54  
Old 01-30-2015, 04:41 PM
Paddy Murphy Paddy Murphy is offline
 
Join Date: May 2014
Location: Dublin
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I just installed this. I'm trying to sync my forum members to mailchimp but it hasn't happened.

How do I view the logs? I don't understand where this is;

How to View Logs
admin end => vBtise Mail chimp => View Cron logs ( here you can see logs like total new added / updated records in Mail chimp List)
admin end => vBtise Mail chimp => Registraion Subscription error log ( list of users which are not successfully subscribed in mailchimp while registion )

Also, I noticed the version is 1.0 - it's suppose to be 1.0.2, yeah ?

My board is v4.2.2

Thanks
Reply With Quote
  #55  
Old 02-01-2015, 02:42 PM
Paddy Murphy Paddy Murphy is offline
 
Join Date: May 2014
Location: Dublin
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paddy Murphy View Post
Hi,

I just installed this. I'm trying to sync my forum members to mailchimp but it hasn't happened.

How do I view the logs? I don't understand where this is;

How to View Logs
admin end => vBtise Mail chimp => View Cron logs ( here you can see logs like total new added / updated records in Mail chimp List)
admin end => vBtise Mail chimp => Registraion Subscription error log ( list of users which are not successfully subscribed in mailchimp while registion )

Also, I noticed the version is 1.0 - it's suppose to be 1.0.2, yeah ?

My board is v4.2.2

Thanks
Anyone ?
Reply With Quote
  #56  
Old 08-04-2015, 06:17 PM
fmckinnon fmckinnon is offline
 
Join Date: Jun 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm assuming this is no longer supported - has anyone tried this plugin with vb5?
Reply With Quote
  #57  
Old 10-12-2015, 07:57 AM
giorgioarmani giorgioarmani is offline
 
Join Date: Dec 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod!

Installation has gone smooth...

Can you confirm how often does this CRON script run?
Reply With Quote
  #58  
Old 10-12-2015, 08:40 AM
fmckinnon fmckinnon is offline
 
Join Date: Jun 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@giorgioarmani - did you get this to work with vB5??
Reply With Quote
  #59  
Old 10-12-2015, 08:45 AM
giorgioarmani giorgioarmani is offline
 
Join Date: Dec 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fmckinnon View Post
@giorgioarmani - did you get this to work with vB5??
I'm on vB4.

Installation went fine but it appears to not be adding anyone to the mailchimp list.

I assume it needs to run a cron job but not sure how or where to configure that.
Reply With Quote
  #60  
Old 12-22-2015, 12:23 PM
joyboy2001 joyboy2001 is offline
 
Join Date: Nov 2008
Location: New Delhi, India
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by giorgioarmani View Post
I'm on vB4.

Installation went fine but it appears to not be adding anyone to the mailchimp list.

I assume it needs to run a cron job but not sure how or where to configure that.
AdminCp>Scheduled Tasks>Scheduled Tasks Manager>VBulletinMailchimp

And just after installing run the task manually for the first time.

By default it's scheduled for once a month. I have changed mine to once an hour since Mailchimp doesn't seem to mind
Reply With Quote
Благодарность от:
MarkFL
  #61  
Old 12-22-2015, 12:29 PM
joyboy2001 joyboy2001 is offline
 
Join Date: Nov 2008
Location: New Delhi, India
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DownNout87 View Post
Very shady...this developer has logged in to this forum numerous times and still not replies to these forum posts and emails.

Think twice about dealing with this guy. You won't get any support!
That's too bad because the mod actually works great.

If you manage to get a hold of him, please ask him to incorporate more features in the next version (if he ever makes one):

Should allow the segmentation based on usergroup. If a person is added to a specific usergroup, their account should be removed from sync.

Reverse sync: If a person unsubscribes from the mailchimp list, they should automatically be added to a specific usergroup.

These are the only things I can think of right now.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10570 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete