Monthly Archives: August 2012

Fancybox 2: Remove caption / title

I was testing out Fancybox 2 from Fancyapps and although they have some good documentation on their website I was unable to hide the title / caption when showing an image: After playing around with the code for a bit I got it working using this. It is a little hackish but it did the trick: jQuery(function($){ var fancyBoxOptions = { closeBtn : true ,arrows : false ,nextClick : true ,afterClose : function() { jQuery(‘#wpadminbar’).show(); } } jQuery(‘.fancybox’).fancybox(fancyBoxOptions); }); They have this code listed on their website but it did not work for me: //Disable title helper $(“.fancybox”).fancybox({ helpers: { title: null } }); //Disable overlay helper $(“.fancybox”).fancybox({ helpers: { overlay : null } });

Posted in Tech Tips, Web Development | Tagged , , | Leave a comment

MailChimp for Gravity Forms: Ajax error while selecting a form

If you’re using MailChimp Add-On v1.7 with Gravity Forms 1.6 in WordPress, and trying to set up a MailChimp Feed on the page /wp-admin/admin.php?page=gf_mailchimp, you may possibly be getting the following error: Ajax error while selecting a form This plugin is supposed to be easy to set up forms and lists with MailChimp, but why am I getting a Server 500 error? I looked into the PHP error logs and came across this: PHP Fatal error: Call to undefined method MCAPI::listInterestGroupings() in wp-content/plugins/gravityformsmailchimp/mailchimp.php on line 1123 There is a listInterestGroupings() function but the calling function which uses this code: $api = self::get_api(); self::log_debug(“Retrieving groups”); $groupings = $api->listInterestGroupings($selected_list_id); Is having trouble with it. The workaround for me was to comment out line 1123 which contains: $groupings = $api->listInterestGroupings($selected_list_id); The next part of the function has an if(!empty()) conditional. So until the developers get around to fixing this bug this seems to allow me to move on to the next steps with my Mailchimp widget.

Posted in Linux, Tech Tips, Web Development | Tagged , , , , | 1 Comment

Mailchimp Subscribe Widget for WordPress

There are a few subscription widgets out there for Mailchimp and WordPress – but the big problem is none of them effectively let you choose which list you would like to subscribe to. Recently I came across the Gravity Forms’s MailChimp Add-On: Our MailChimp Add-On makes integrating your online forms with your MailChimp mailing lists quick, easy and pain free. It will in fact let you set up feeds from forms, which can be set as widgets, and then pipe the users to different lists based on “conditional logic” that is defined in the form. It is quite advanced and I think it’s the solution for me.

Posted in Uncategorized | Leave a comment

Amazon RDS Webinars Available

Dear EC2 User, I work in the Business Development team for Amazon Database Services. We co-ordinate interactions between AWS customers and the product teams for DynamoDB, ElastiCache, and Amazon Relational Database Service (RDS). In case you’re not familiar with RDS, it’s a web service designed to make it easy to set up, operate, and scale a relational database in the cloud. We’re running a series of free webinars that will highlight examples and best practices used by RDS customers to help improve performance, reduce costs, and eliminate most of the effort of database administration. Details of the next event are: Save time and effort. Focus on your app with Amazon RDS Amazon RDS simplifies database administration, giving you more time to build and optimize your applications 13 September 2012, 10.00AM to 11:00AM PDT This webinar will provide detailed information on customer use cases and best practices.Topics include: performance, security, migration and data protection. I hope you can make it. Regards, David Pearson Business Development Manager

Posted in Linux, Marketing, Server Admin, Web Development | Tagged , , | Leave a comment

Raspberry Pi – shipping delay

Dear customer, Thanks again for your Raspberry Pi order. We are busy working with the suppliers who provide components for your Raspberry Pi to ensure you receive your order as quickly as possible. Since receiving your order, we have been advised that our next batch of approximately 40,000 Raspberry Pi’s will now be arriving during September, with further deliveries expected in October. This delay is due to the very high level of demand on the core Raspberry Pi processor chip. Unfortunately, this means that your order could be delayed by up to 8 weeks, although we are trying to reduce this as much as possible. We have updated the delivery schedule displayed in our FAQ’s and on the Raspberry Pi forum. As soon as we receive confirmation of any improvements from our manufacturers, we will advise you. Please accept our apologies for this delay and be assured we are doing everything we can to ensure the fastest possible delivery of your Raspberry Pi. Yours sincerely, RS Components & Allied Electronics

Posted in Linux, Marketing | Tagged , , | 1 Comment

In what order are /etc/profile /etc/profile.d ~/bashrc and ~/.profile loaded ?

INVOCATION A login shell is one whose first character of argument zero is a -, or one started with the –login option. An interactive shell is one started without non-option arguments and without the -c option whose standard input and error are both connected to terminals (as determined by isatty(3)), or one started with the -i option. PS1 is set and $- includes i if bash is interactive, allowing a shell script or a startup file to test this state. The following paragraphs describe how bash executes its startup files. If any of the files exist but cannot be read, bash reports an error. Tildes are expanded in file names as described below under Tilde Expansion in the EXPANSION section. When bash is invoked as an interactive login shell, or as a non-interactive shell with the –login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The –noprofile option may be used when the shell is started to inhibit this behavior. When a login shell exits, bash reads and executes commands from the file ~/.bash_logout, if it exists. When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist. This may be inhibited by using the –norc option. The –rcfile file option … Continue reading

Posted in Server Admin | Tagged , | Leave a comment

10 Cloud Backup Services

Barracuda Networks End-to-end protection https://www.barracudanetworks.com/ Druva www.druva.com/endpoint-cloud-backup Amazon S3 Justcloud.com zipcloud myPCBackup.com SOS Online backup SugarSync livedrive mozy dropbox box carbonite

Posted in Linux, Server Administration, Web Development | Tagged , , | Leave a comment

Download Verve Meta Boxes

Verve Meta Boxes used to be available from avenueverve.com at their website – http://www.avenueverve.com/verve-meta-boxes/ The plugin has disappeared from that site as well as from the WordPress plugin repository. The latest version of the plugin, I believe, was Version: 1.2.9 You can download this version from my blog at verve-meta-boxes.zip. Happy WordPressing! Verve Meta Boxes Screenshots

Posted in Tech Tips, Web Development | Tagged , , , | Leave a comment

Does Git change file permissions?

Yes it does. Don’t go working away, for instance, putting you /etc directory in git and then switching branches. Git may change your directories to 755 and your files to 644 which will cause the system problems with security, and may even prevent booting. look at etckeeper or this tutorial for more information about keeping /etc in a git repo, but the answer to “Does Git change file permissions?” is a definitive “Yes”

Posted in Security, Server Admin, Web Development | Tagged | Leave a comment

Google Girl with Glasses in the Inbox

When I open my inbox google is encouraging me to upgrade so I can video chat with up to 9 people. No thanks, I’m ok. But there is a video with Google Girl explaining how to do Hangouts and how to get things done. Video chat with up to nine people Upgrade to Google+ to get more out of Hangouts and go beyond one-to-one video chat. You’ll be able to chat with up to nine people at once, collaborate on Google Docs together and more – just like Google Girl does. Google Girl Images Here are a few more images of Google Girl from the video:

Posted in Marketing, Social Media, Tech Tips | Tagged , , | 5 Comments