Sure thing.So I updated this plugin for one of my sites to include a right rail block. Want me to send over my updates so they can be merged into the main package?
So I updated this plugin for one of my sites to include a right rail block. Want me to send over my updates so they can be merged into the main package?
You've peaked my curiosity. What's a right rail block?
<form action="mailing-list/join" method="post" class="AutoValidator">
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
<div class="section userList">
<div class="secondaryContent">
<h3>Join Our Mailing List</h3>
Stay in touch with our {$xenOptions.boardTitle} by joining our Mailing List! It is 100% FREE and you can unsubscribe at any time.<br />
<div align="center" style="margin-top: 5px;">
<input type="text" class="textCtrl" name="email" id="email" value="" /><br />
<input type="submit" class="button primary" value="Subscribe NOW!" />
</div>
<div align="center"><small>*We will not sell your email! 100% SPAM Free!</small></div>
</div>
</div>
</form>
well setting up an account and installing the addon was pretty easy and straight forward but once i hit my user preferences to sign up for the newsletter, i ll get the following error message:
Server Error
fsockopen() [function.fsockopen]: unable to connect to us2.api.mailchimp.com:80 (Connection timed out)
I tried to access the mailchimp settings in the acp to see if i might have screwed up the api key or something but the setting page itself will not load. had to disable the newsletter for the time being until i can find a fix. anybody got an idea?
Oops. I changed the CDN and forgot about this.The download doesn't seem to be available any more. Does anyone have a backup of the zip file?
Thanks for the super fast reply Andy. Yeah I'll hold out if there are some bugs in this version.Oops. I changed the CDN and forgot about this.
Should be fixed now.
In any case, you may want to hold out for the next version that fixes many problems and have new features.
The uninstall routine is known to be buggy. We didn't have custom profile field when it was created so it's a pretty raw addon so we can continue to subscribe people to our newsletter when we migrated to XF.Thanks for the super fast reply Andy. Yeah I'll hold out if there are some bugs in this version.
I attached the entire MailChimp directory to this post. Below are the additional things that I created:
Code Event Listener:
Listen to Event: template_hook
Execute Callback: Mailchimp_Listener::templateHook
Callback Execution Order: 10
Add-on: MailChimp
Route Prefix:
Route Prefix: mailing-list
Route Type: Public
Route Class: MailChimp_Route
Use class to build link: Only when data is provided (not sure about this one)
Add-on: MailChimp
Template Created:
Name: mailchimp_sidebar_callout
Template Code:
Code:<form action="mailing-list/join" method="post" class="AutoValidator"> <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" /> <div class="section userList"> <div class="secondaryContent"> <h3>Join Our Mailing List</h3> Stay in touch with our {$xenOptions.boardTitle} by joining our Mailing List! It is 100% FREE and you can unsubscribe at any time.<br /> <div align="center" style="margin-top: 5px;"> <input type="text" class="textCtrl" name="email" id="email" value="" /><br /> <input type="submit" class="button primary" value="Subscribe NOW!" /> </div> <div align="center"><small>*We will not sell your email! 100% SPAM Free!</small></div> </div> </div> </form>
Code to Display Callout Form:
<xen:hook name="mailchimp_sidebar_callout" />
I could of added it to an existing hook, but that isn't really where I wanted it to be placed. Also, I didn't really put anything into phrases. This can be part of the base package update to put things into phrases.
And just in case you need this, I give you complete permission to use/modify/distribute any/all changes I made. (not sure if that is need but what the hell )
We use essential cookies to make this site work, and optional cookies to enhance your experience.