![]() |
Mailchimp plugin for 3.8.7: What do I need to modify?
Hi, this code is working great on the site where I found it, http://www.bestrecipes.com.au/site/mailchimp.html, that is running 3.8.3 but not on my board that is 3.8.7.
This is the plugin code: Code:
require_once 'mailchimp/MCAPI.class.php'; // location of API file, relative to |
In the line:
Code:
$news1=($vbulletin->userinfo['field12']); Did you change the field to match your actual custom profile field number? Also if those are really your api key and list number I'm guessing you shouldn't be posting them (and if they aren't, did you enter your values there when you tried it?). You didn't say what actually happens on your site. |
Thanks for your reply! ;)
Don't worry, I removed the correct keys and list number before posting here ;) Also the fields are correct. This plugin works during registration of a new user. When I try to register, the user is correctly registered but 1) it's not added to the mailing list 2) I get a white page instead of "you need to confirm your account, check your email" page... That's strange! |
Sorry, but occasionally someone will copy a block of code and have no idea about how it shoud be edited :)
Anyway, I'm probably going to say a couple more obvious things, but: if you see a white page I'd guess that maybe it's hitting that die(). Did you "view source" of the blank page to see if those html comments are there? Also maybe make sure that the MCAPI.class.php file is in the right place, but I think you'd see an error message if is wasn't. |
No problem :)
Well I can't view the source because it isn't a real blank page, it's a "Content Encoding Error" page (firefox reports this error) MCAPI.class.php file is in the right place :) |
Hmm...maybe you could comment out the die and put the code after that block in an else and see what that does.
|
If I comment the "die" I get the same message as before... maybe because it isn't an api error...?
|
Yeah, looks like my guess was wrong. :(
|
The problem is, that on a vbulletin 3.8.3 it IS working...
|
All times are GMT. The time now is 05:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|