<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FiddyP &#187; Andy</title>
	<atom:link href="http://fiddyp.co.uk/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://fiddyp.co.uk</link>
	<description>The personal blog of Andy Bailey</description>
	<lastBuildDate>Tue, 17 Jan 2012 09:02:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>CommentLuv Premium</title>
		<link>http://fiddyp.co.uk/commentluv-premium/</link>
		<comments>http://fiddyp.co.uk/commentluv-premium/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 22:25:14 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Blog Tools]]></category>
		<category><![CDATA[commentluv premium]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[profit]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=2033</guid>
		<description><![CDATA[“Awesome Features” CommentLuv Premium allows you to unlock advanced backlink features on 10′s of thousands of blogs. It has been shown to increase comments and traffic to blogs [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fcommentluv-premium%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fcommentluv-premium%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><center><iframe width="560" height="315" src="http://www.youtube.com/embed/nWgQGfDqEtw" frameborder="0" allowfullscreen></iframe></p>
<p class="jboxbtn"><a title="Limited time offer! get it before it's too late" href="http://www.commentluv.com/?mode=paypal&amp;itemID=5"><img src="http://www.commentluv.com/wp-content/themes/profitstheme_11/lib/images/buttons/yellow_add-to-cart.png" alt="" border="0"></a></p>
<div id="jbox" class="orangebox3" style="width: 520px; padding: 10px 20px;"></center></p>
<p class="jboxcommhead">“Awesome Features”</p>
<p><img class="size-thumbnail wp-image-1244 alignleft" title="CommentLuv Premium Features" src="http://www.commentluv.com/wp-content/uploads/2011/11/commentluv-premium-box-step2-150x150.png" alt="CommentLuv Premium Features" width="150" height="150"></center><br />
CommentLuv Premium allows you to unlock advanced backlink features on 10′s of thousands of blogs. It has been shown to increase comments and traffic to blogs that install it and helps to make your posts go viral by integrating with twitter, facebook and google plus.</p>
<p>It combines 8 plugins in to 1 which all work in harmony to reduce spam, provide stats of where your links are being clicked, deny trackbacks from spammers, allow users to use keywords in their name, leave their twitter name in the comments, showcase your top commenters and more.</p>
<p>The plugin has many new features :</p>
<ul class="greencheck">
<li>Integrated anti spam measures that prevent almost 100% of botspam</li>
<li>Dofollow readers links with advanced rules so you look after your most loyal readers</li>
<li>Unique social enticements which helps your posts to go viral on Twitter, facebook and Google+</li>
<li>Integrated twitterlink functions to allow readers to leave their twitter names on comments</li>
<li>Improved version of Keywordluv with much tighter control over who gets to use keywords</li>
<li>Integrates trackback validation with improved heuristics</li>
<li>Exclusive top commentators widget with advanced display control</li>
<li>Dashboard and advanced stats that show you where your links are getting clicked</li>
<li>Free updates for life using the easy one click automatic update system</li>
<li>more being added all the time!</li>
</ul>
<p>You can find out more about CommentLuv Premium at <a href="http://www.CommentLuv.com">CommentLuv.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/commentluv-premium/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Configuring Hostgator VPS for automated CPanel backups to Amazon S3</title>
		<link>http://fiddyp.co.uk/cpanel-backups-to-amazon-s3/</link>
		<comments>http://fiddyp.co.uk/cpanel-backups-to-amazon-s3/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 13:08:44 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Blog Tools]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[hostgator]]></category>
		<category><![CDATA[profit]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=2005</guid>
		<description><![CDATA[Warning! Geekiness ahead Ok, so just had a wonderful time trying to set up a way to automatically backup my hostgator VPS to Amazon S3. I did it [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fcpanel-backups-to-amazon-s3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fcpanel-backups-to-amazon-s3%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://fiddyp.co.uk/wp-content/uploads/cpanel-to-amazon-s3.png" alt="" title="cpanel-to-amazon-s3" width="275" height="126" class="aligncenter size-full wp-image-2006" /></p>
<h2>Warning! Geekiness ahead</h2>
<p>Ok, so just had a wonderful time trying to set up a way to automatically backup my hostgator VPS to Amazon S3.</p>
<p>I did it with the help of some googling, head scratching and tricky bastardness so I thought I&#8217;d better document it here to remind me how to do it when I need to do it again.</p>
<p>I got most of the information from the <a href="http://jackal777.wordpress.com/2011/03/22/cpanel-backup-to-amazon-s3/">post here</a> and in the comments. Although, I had to piss about a lot to get it finally working. Mainly because of curly quotes in the original page, windoze line breaks and my monkey heritage.</p>
<p>(this is for VPS on Hostgator running Centos 5)</p>
<h2>1. Create AmazonS3 bucket</h2>
<p>Easy bit here, just create a bucket</p>
<h2>2. Install S3 client for Linux</h2>
<p>First need to install s3tools repo</p>
<pre class="brush: plain; title: ; notranslate">cd /etc/yum.repos.d
wget http://s3tools.org/repo/CentOS_5/s3tools.repo</pre>
<p>Next need to install</p>
<pre class="brush: plain; title: ; notranslate">yum install s3cmd</pre>
<p>Answer the questions with Y</p>
<h2>3. Configure s3cmd</h2>
<pre class="brush: plain; title: ; notranslate">s3cmd --configure</pre>
<p>Enter in the access key and secret key from Amazon Security Credentials</p>
<h2>4. Enable daily backups from WHM</h2>
<p>You can select which accounts by clicking the button marked &#8216;select&#8217;<br />
<a href="http://fiddyp.co.uk/wp-content/uploads/whm-backup-configure.png"><img src="http://fiddyp.co.uk/wp-content/uploads/whm-backup-configure-300x250.png" alt="" title="whm-backup-configure" width="300" height="250" class="aligncenter size-medium wp-image-2009" /></a><br />
If it&#8217;s already configured, find out the backup directory by typing</p>
<pre class="brush: plain; title: ; notranslate">grep BACKUPDIR /etc/cpbackup.conf</pre>
<h2>5. Create the log directories</h2>
<pre class="brush: plain; title: ; notranslate">mkdir /var/log/backuplogs</pre>
<h2>6. Write a script to automate the backup and save it as /root/dailybackup.sh</h2>
<p>You should change the email and bucket name to reflect your own values</p>
<pre class="brush: plain; title: ; notranslate">
#!/bin/bash

##Notification email address
_EMAIL=youremail@yourdomain.com

ERRORLOG=/var/log/backuplogs/backup.err`date +%F`
ACTIVITYLOG=/var/log/backuplogs/activity.log`date +%F`

##Directory which needs to be backed up
SOURCE=/backup/cpbackup/daily/*.gz

##Name of the backup in bucket
DESTINATION=`date +%F`

##Backup degree
DEGREE=3

#Clear the logs if the script is executed second time
:&gt; ${ERRORLOG}
:&gt; ${ACTIVITYLOG}

##Uploading the daily backup to Amazon s3
/usr/bin/s3cmd -r put ${SOURCE} s3://yourbucketname/${DESTINATION}/ 1&gt;&gt;${ACTIVITYLOG} 2&gt;&gt;${ERRORLOG}
ret2=$?

##Sent email alert
msg=&quot;BACKUP NOTIFICATION ALERT FROM `hostname`&quot;

if [ $ret2 -eq 0 ];then
msg1=&quot;Amazon s3 Backup Uploaded Successfully&quot;
else
msg1=&quot;Amazon s3 Backup Failed!!\n Check ${ERRORLOG} for more details&quot;
fi
echo -e &quot;$msg1&quot;|mail -s &quot;$msg&quot; ${_EMAIL}

#######################
##Deleting backup’s older than DEGREE days
## Delete from both server and amazon
#######################
DELETENAME=$(date --date=&quot;${DEGREE} days ago&quot; +%F)

/usr/bin/s3cmd -r --force del s3://yourbucketname/${DELETENAME} 1&gt;&gt;${ACTIVITYLOG} 2&gt;&gt;${ERRORLOG}
</pre>
<h2>7. Grant execute privilege to the script</h2>
<pre class="brush: plain; title: ; notranslate">chmod u+x /root/dailybackup.sh</pre>
<h2>8. Set up a cpanel hook to run the script after the backup has completed</h2>
<pre class="brush: plain; title: ; notranslate">nano /scripts/postcpbackup</pre>
<p>enter this as the contents</p>
<pre class="brush: plain; title: ; notranslate">#!/usr/bin/perl
system(&quot;/root/dailybackup.sh&quot;);</pre>
<p>make it executable</p>
<pre class="brush: plain; title: ; notranslate">chmod u+x /scripts/postcpbackup</pre>
<h2>That&#8217;s it!</h2>
<p>In case of disaster, copy the file from Amazon s3 with</p>
<pre class="brush: plain; title: ; notranslate">mkdir restore
s3cmd -r get s3://yourbucketname/2011-02-32/filename.gz restore</pre>
<p><strong>Notes</strong><br />
I changed the bash script so it only copies *.gz files<br />
I wanted to change the time at which the cpbackup occurs so I went to &#8216;manage plugins&#8217; in WHM and put &#8216;install and keep udpated&#8217; tick on &#8216;cronconfig&#8217; and then went to &#8216;configure cpanel cron times&#8217; and set the time I wanted cpbackup to run.</p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/cpanel-backups-to-amazon-s3/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>New premium plugin being tested</title>
		<link>http://fiddyp.co.uk/new-premium-plugin-being-tested/</link>
		<comments>http://fiddyp.co.uk/new-premium-plugin-being-tested/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 09:36:02 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Blog Tools]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[aweber]]></category>
		<category><![CDATA[awebergate]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[premium plugin]]></category>
		<category><![CDATA[profit]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1987</guid>
		<description><![CDATA[Weekend Warrior! I&#8217;ve been working feverishly to get premium commentluv ready for beta testing over the past 3 weeks and to give me a break on the weekends, [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fnew-premium-plugin-being-tested%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fnew-premium-plugin-being-tested%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://fiddyp.co.uk/wp-content/uploads/premium.jpg" alt="" title="premium plugin" width="251" height="282" class="aligncenter size-full wp-image-1990" /></p>
<h2>Weekend Warrior!</h2>
<p>I&#8217;ve been working feverishly to get premium commentluv ready for beta testing over the past 3 weeks and to give me a break on the weekends, I&#8217;ve been working on another premium plugin that I&#8217;ll be launching to the warrior forums with my JV partner before releasing it to the wild.</p>
<h2>What is it called?</h2>
<p><img src="http://fiddyp.co.uk/wp-content/uploads/aweber-gate.png" alt="" title="aweber-gate" width="125" height="94" class="alignleft size-full wp-image-1989" /><br />
It&#8217;s got a working title of <strong>WP Aweber Gate</strong></p>
<div class="clear"></div>
<h2>What does it do?</h2>
<p>It allows you to protect post and page content from being viewed and downloads from being accessed by readers unless they are on your Aweber list.</p>
<h2>Why would I want that?</h2>
<ul>
<li>Run a membership site without all the trouble of having members register to your site</li>
<li>Offer ethical bribes to people to join your list and know that only people that have subscribed can access the bribe</li>
<li>Prevent your premium content from being shared with non subscribers</li>
<li>Add bonus materiel to your site for your list subscribers only</li>
<li>No need to change your theme to a membership theme just to have subscribers only content</li>
<li>No need to buy expensive plugins like wishlist or DAP (this plugin will be MUCH cheaper!)</li>
<li>There&#8217;s probably a lot more reasons that I haven&#8217;t thought of!</li>
</ul>
<h2>How does it work?</h2>
<p>Just 4 easy steps to get your subscribers only gateway working:</p>
<p>Upload, activate, authorize, configure.</p>
<ol>
<li><strong>Upload</strong><br />
Upload to your plugins directory or use the plugins page link in your dashboard</li>
<li><strong>Activate</strong><br />
Ummm, click activate!</li>
<li><strong>Authorize</strong><br />
Click the link to authorize the plugin to access your Aweber account</li>
<li><strong>Configure</strong><br />
Choose your desired list (or set to check all) and what you want to happen to non subscribers (off with their heads!). </p>
<ul>
<li>You can show them a message which can contain HTML </li>
<li>You can automatically send a subscription to your desired list</li>
<li>You can forward them to any page on your site</li>
<li>You can forward them to any URL on the web</li>
</ul>
</li>
</ol>
<h2>Let me see!</h2>
<p>Here&#8217;s a set of video instructions on how to rebrand my recent premium plugin called <a href="http://wpmailads.com">WP Mail Ads</a>, you can also download a free bonus plugin for commentluv users called The Dashboard Luvver Widget which shows a list of last blog posts from the people that have commented on your blog so you&#8217;ve always got somewhere to go and visit to get some luv!</p>
<p>You can only access the videos and downloads if you&#8217;re an email subscriber to one of my lists. Chances are that if you have downloaded the commentluv plugin or seen some of my videos you are already so all you need to do is enter your email address in the box and click the button, if you are on my list it&#8217;ll show you the content and cookie you so you can access all the locked content and downloads, if you&#8217;re not on one of my lists then it&#8217;ll auto subscribe you and then you just need to click the authorization link that arrives in your inbox. Sweet huh? <img src='http://fiddyp.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<img src="http://fiddyp.co.uk/wp-content/uploads/arrow8-blue.png" alt="" title="locked content below" width="100" height="96" class="aligncenter size-full wp-image-1998" /><br />
<div class="aweber-check-div"><label for="check-email">You need to be an email subscriber to access this content, enter your email address below and click the button</label><p>Please view this form online to access the content</p><div class="secured">Secured by AweberGate</div></div><br />
<img src="http://fiddyp.co.uk/wp-content/uploads/arrow8-up-blue.png" alt="" title="locked content above" width="100" height="96" class="aligncenter size-full wp-image-1999" /></p>
<h2>When can I get it?</h2>
<p>I&#8217;ll be releasing it in a week or two once all the sales bumpf and bonuses have been put together! watch out for it!</p>
<p>btw&#8230; I have installed premium commentluv to comluv.com. You can read about it here. <a href="http://comluv.com/commentluv-premium-beta-testing-news/">Premium CommentLuv Beta Testing</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/new-premium-plugin-being-tested/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>WP Mail Ads &#8211; Monetize your wordpress emails! (now with PLR)</title>
		<link>http://fiddyp.co.uk/wp-mail-ads-monetize-your-wordpress-emails/</link>
		<comments>http://fiddyp.co.uk/wp-mail-ads-monetize-your-wordpress-emails/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 20:46:26 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Blog Tools]]></category>
		<category><![CDATA[profit]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1979</guid>
		<description><![CDATA[Hey! did you realize that you&#8217;re leaving money on the table? If you have registrations enabled or subscribe to comments activated on your WordPress blog then that&#8217;s exactly [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fwp-mail-ads-monetize-your-wordpress-emails%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fwp-mail-ads-monetize-your-wordpress-emails%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hey! did you realize that you&#8217;re leaving money on the table? If you have registrations enabled or subscribe to comments activated on your WordPress blog then that&#8217;s exactly what you&#8217;re doing! </p>
<p>This is my first paid plugin release and I&#8217;m putting it out there for a fantastic price. Go and <a href="http://ql2.me/1/wpmailads/">see at the warrior forum</a></p>
<p>I&#8217;ve been using it for my own personaly profit for over 1 year and my launch partner convinced me to release it as a plugin so others can leverage the space in the emails that people always open, those are the WordPress generated emails that tell them there&#8217;s a new reply to their comment or for resetting their password or.. well, there are lots of plugins that cause your blog to send emails and WP Mail Ads will allow you to monetize each and every one of them!</p>
<h2>Video Intro</h2>
<p>Here&#8217;s a 3 minute video that gives you all the details</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/baFzqe6A3tA" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed wmode="opaque" src="http://www.youtube.com/v/baFzqe6A3tA" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><br />
<a href="http://www.warriorplus.com/buywso/8lxnw7"><img src="http://comluv.com/wp-content/uploads/2011/07/AddToCart-300x122.gif" alt="" title="Add to cart now!" width="300" height="122" class="aligncenter size-medium wp-image-9248" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/wp-mail-ads-monetize-your-wordpress-emails/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>How to fix radio inputs losing focus when dragging a jquery ui sortable div</title>
		<link>http://fiddyp.co.uk/how-to-fix-radio-inputs-losing-focus-when-dragging-a-jquery-ui-sortable-div/</link>
		<comments>http://fiddyp.co.uk/how-to-fix-radio-inputs-losing-focus-when-dragging-a-jquery-ui-sortable-div/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 07:33:20 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[add_meta_box]]></category>
		<category><![CDATA[draggable]]></category>
		<category><![CDATA[jquery ui]]></category>
		<category><![CDATA[profit]]></category>
		<category><![CDATA[sortable]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1971</guid>
		<description><![CDATA[hows that for a descriptive title eh? haha, that&#8217;s the exact term I used when I ran into trouble with some wordpress meta boxes on a custom admin [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fhow-to-fix-radio-inputs-losing-focus-when-dragging-a-jquery-ui-sortable-div%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fhow-to-fix-radio-inputs-losing-focus-when-dragging-a-jquery-ui-sortable-div%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>hows that for a descriptive title eh? haha, that&#8217;s the exact term I used when I ran into trouble with some wordpress meta boxes on a custom admin page I was making for the new CommentLuv. I am using the WordPress functions for add_meta_box to add, you guessed it, meta boxes to a settings page.</p>
<h2>Draggable killed the radio bar</h2>
<p>ok, lame Queen song title parody I know but it&#8217;s true. I had a bar of radio buttons in one of those meta boxes and if I dragged and dropped the box to a new place, it lost it&#8217;s radio button dots! </p>
<p><img src="http://fiddyp.co.uk/wp-content/uploads/commentluv-drag-meta-box.png" alt="" title="Drag meta box with radio inputs" width="489" height="452" class="aligncenter size-full wp-image-1972" /></p>
<p>When I dropped the sortable meta box, the happy little dot in the radio input would disappear which messed things up when I saved the settings because the form would not have a radio input with a status of checked any more. <img src='http://fiddyp.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<h2>jQuery rescues jQuery!</h2>
<p>jQuery is frickin awesome and I love it. It&#8217;s the sole reason CommentLuv was able to become the plugin it is today. It&#8217;s also sometimes a little finicky and it does things in a particular way which causes some mild issues. This is one of them, it&#8217;s all due to jQuery cloning the contents of the sortable box when you drag it and then when you drop it, the radio button loses it&#8217;s happy little dot.</p>
<p>I did a mammoth amount of searching and could only find 2 instances of it happening elsewhere (<a href="http://wordpress.stackexchange.com/questions/13226/moving-dragging-a-metabox-removes-tinymces-content" title="wordpress stack exchange">here</a> and <a href="http://core.trac.wordpress.org/ticket/16972#comment:4" title="wordpress trac">here</a>) and both instances said it was a bug/feature and didn&#8217;t provide a solution.</p>
<h2>Geek me up, I&#8217;m goin in!</h2>
<p><object width="512" height="313" type="application/x-shockwave-flash" data="http://www.youtube.com/v/Z9_jIa2WADc&fs=1&fmt=18">
			<param name="movie" value="http://www.youtube.com/v/Z9_jIa2WADc&fs=1&fmt=18"></param>
			<param name="allowFullScreen" value="true" />
			<param name="allowscriptaccess" value="always" />
			<param name="wmode" value="transparent"></param>
			</object></p>
<p>As a means to procrastinate, an unhealthily strong stubbornness bone and a burning sensation in my pants whenever I can&#8217;t do something that I want to do, I set about trying some code to re click the radio buttons after the meta box had been dropped after dragging.</p>
<p>Here it is, I hope you find it useful! (change the two instances of .wrap to whatever container your sortables are in)</p>
<pre class="brush: php; title: ; notranslate">
// global script for commentluv premium settings pages
// workaround for bug that causes radio inputs to lose settings when meta box is dragged.
// http://core.trac.wordpress.org/ticket/16972
jQuery(document).ready(function(){
    // listen for drag drop of metaboxes , bind mousedown to .hndle so it only fires when starting to drag
    jQuery('.hndle').mousedown(function(){
        // set event listener for mouse up on the content .wrap and wait a tick to give the dragged div time to settle before firing the reclick function
        jQuery('.wrap').mouseup(function(){store_radio(); setTimeout('reclick_radio();',50);});
    })
});
/**
* stores object of all radio buttons that are checked for entire form
*/
function store_radio(){
    var radioshack = {};
    jQuery('input[type=&quot;radio&quot;]').each(function(){
        if(jQuery(this).is(':checked')){
            radioshack[jQuery(this).attr('name')] = jQuery(this).val();
        }
        jQuery(document).data('radioshack',radioshack);
    });
}
/**
* detect mouseup and restore all radio buttons that were checked
*/
function reclick_radio(){
    // get object of checked radio button names and values
    var radios = jQuery(document).data('radioshack');
    //step thru each object element and trigger a click on it's corresponding radio button
    for(key in radios){
        jQuery('input[name=&quot;'+key+'&quot;]').filter('[value=&quot;'+radios[key]+'&quot;]').trigger('click');
    }
    // unbind the event listener on .wrap  (prevents clicks on inputs from triggering function)
    jQuery('.wrap').unbind('mouseup');
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/how-to-fix-radio-inputs-losing-focus-when-dragging-a-jquery-ui-sortable-div/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Guest blogging brings great results at ComLuv.com</title>
		<link>http://fiddyp.co.uk/guest-blogging-brings-great-results-at-comluv-com/</link>
		<comments>http://fiddyp.co.uk/guest-blogging-brings-great-results-at-comluv-com/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 17:26:42 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[video blogging]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[guest blogging]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[profit]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[serps]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1965</guid>
		<description><![CDATA[Why guest blogging on ComLuv.com I&#8217;ve just finished making a video presentation explaining why guest blogging really works, especially if you do it in the right place! In [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fguest-blogging-brings-great-results-at-comluv-com%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fguest-blogging-brings-great-results-at-comluv-com%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<h2>Why guest blogging on ComLuv.com</h2>
<p>I&#8217;ve just finished making a video presentation explaining why guest blogging really works, especially if you do it in the right place!</p>
<p><object width="512" height="313" type="application/x-shockwave-flash" data="http://www.youtube.com/v/-Gj-YGKzASg&fs=1&fmt=18">
			<param name="movie" value="http://www.youtube.com/v/-Gj-YGKzASg&fs=1&fmt=18"></param>
			<param name="allowFullScreen" value="true" />
			<param name="allowscriptaccess" value="always" />
			<param name="wmode" value="transparent"></param>
			</object></p>
<p>In the video, you see how Jane Sheeba of <a href="http://findallanswers.com/">Find All Answers blog</a> got a page 1 on Google for a term that has over 1.2 Billion results for her guest post on <a href="http://comluv.com/how-to-do-business-on-facebook/">how to do business on facebook</a></p>
<h2>Over the moon!</h2>
<p>It&#8217;s not just Jane, lots of guest bloggers are over the moon with their search results! there are multiple page 1 results for some very popular terms.</p>
<p>I&#8217;m about to embark on the coding of the premium CommentLuv so I wont have time to make many blog posts so it&#8217;s a perfect time to encourage people to write them on ComLuv.com which helps me and helps them. awesome.</p>
<p>what do you think of the video?</p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/guest-blogging-brings-great-results-at-comluv-com/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Major work ahead for The CommentLuv Empire</title>
		<link>http://fiddyp.co.uk/major-work-ahead-for-the-commentluv-empire/</link>
		<comments>http://fiddyp.co.uk/major-work-ahead-for-the-commentluv-empire/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 06:58:03 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Blog News]]></category>
		<category><![CDATA[commentluv]]></category>
		<category><![CDATA[dedicated]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[profit]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1953</guid>
		<description><![CDATA[It&#8217;s about bloody time! The new CommentLuv plugin is out there and getting lots and lots of downloads. Over 5000 in the first week actually which is a [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fmajor-work-ahead-for-the-commentluv-empire%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fmajor-work-ahead-for-the-commentluv-empire%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.amazon.com/dp/B004IEAO4G?tag=commentluv-20"><img src='http://ecx.images-amazon.com/images/I/517EstzuuRL.jpg' rel='B004IEAO4G' class='alignleft' width='250' height='250' alt='Brady 113298 B-959 30'  /></a>It&#8217;s about bloody time! The new CommentLuv plugin is out there and getting lots and lots of downloads. Over 5000 in the first week actually which is a pretty big number!</p>
<p>The plugin is now standalone which means it will no longer require my expensive dedicated server to work which also means there&#8217;ll be no registering to my site to add a feed url or buy additional urls and static links.</p>
<p>Hurray! do you know what that will do to my support tickets? it&#8217;ll virtually decimate them! No more pointing people to the member page, no more spoon feeding them their feed urls or explaining how www.something.com is different to something.com . Oh, and no more crashed server in the middle of the night due to excessive load.</p>
<p>Actually, it&#8217;s the excessive server load and regular crashes that motivated me to turn the whole CommentLuv thing on it&#8217;s head and make it standalone. Once I do that, I can move away from dedicated hosting and put all my sites on a VPS that is scalable, a VPS that&#8217;s a bit closer to the majority of visitors to my sites. USA! USA! USA! lol</p>
<h2>What&#8217;s next?</h2>
<p>Well according to the stats at WordPress.org, it takes about a month for most people to update their plugin when they get the notification in their dashboard and so when the end of the month comes around, I&#8217;ll switch off the CommentLuv API for the wordpress plugin and set it to send back a message about having to upgrade to the latest plugin.</p>
<p>That&#8217;s sure to piss off a few people but, seriously, I can&#8217;t keep paying for this server out of my own pocket and I just don&#8217;t have the time to maintain the server. I just wanna make plugins!</p>
<p>I&#8217;m itching to do a cool facebook plugin, multi author blog plugin, the premium version of CommentLuv plugin and much much more but so far, I&#8217;ve been stuck fire fighting the bloody server! time to say goodbye and within this month!</p>
<h2>But, before that can happen</h2>
<p>I have to transfer all my existing minor sites to the new VPS <img src='http://fiddyp.co.uk/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' /> </p>
<p>And then, design a new theme for comluv.com which is still going to be an awesome guest blogger site with oodles of pagerank and traffic and then move that to the VPS and then code the premium commentluv and then design the site to handle the purchases and then I have to launch the premium plugin and to do that I have to make the videos and to do that&#8230;.. arrrrggh!</p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/major-work-ahead-for-the-commentluv-empire/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>New CommentLuv version 2.9</title>
		<link>http://fiddyp.co.uk/new-commentluv-version-2-9/</link>
		<comments>http://fiddyp.co.uk/new-commentluv-version-2-9/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 09:04:57 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Blog News]]></category>
		<category><![CDATA[Blog Tools]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[commentluv]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[profit]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1928</guid>
		<description><![CDATA[I&#8217;ve had a blast launching the new free version of CommentLuv and it occurred to me that I haven&#8217;t actually put a feature list out there so people [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fnew-commentluv-version-2-9%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fnew-commentluv-version-2-9%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve had a blast launching the new free version of CommentLuv and it occurred to me that I haven&#8217;t actually put a feature list out there so people know what&#8217;s changed in this new version.</p>
<p>So, here&#8217;s what&#8217;s new :</p>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Completely Standalone</span><br />
No need to ask your readers to register elsewhere or for you to save your feed URL</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">New leaner faster code</span><br />
More reliable and secure code that conforms to WP standards</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Dofollow Control</span><br />
You decided if you want to make the links dofollow and who gets to have dofollow</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Grows your membership/list</span><br />
Enable 10 last posts for readers that register to your site and grow your list!</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Auto response to other CommentLuv blogs</span><br />
Never worry about your feed again when you comment on other CommentLuv enabled blogs</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Activate Only Option</span><br />
You can install it so it works when you comment on other CommentLuv enabled blogs but not actually have it on your comments</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">On Pages, Posts or Both!</span><br />
Choose where you want to have CommentLuv enabled (if at all)</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Use your own image</span><br />
Your choice of text, supplied images or use your own image below the comment form. Link it to commentluv or not, it&#8217;s up to you!</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Custom Messages</span><br />
You can set what unregistered users see in the info panel or when they comment</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Minifying Compatibility</span><br />
Ability to make the plugin work with minifying and caching plugins (advanced settings)</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Manual Insert</span><br />
New and improved code to allow you manually insert the badge code anywhere you want</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Diagnostics (advanced)</span><br />
New section to aid in getting help. Full list of settings that you can copy and paste into a support ticket</div>
<div class="sk-notification notification-info"><span class="icon"></span><span style="font-size: 1.2em; font-weight: bold;">Helpful Embedded Videos</span><br />
Helpful videos right where you need them (with subtitles), right in the settings page.</div>
<p>phew! that took a while&#8230;</p>
<p>just you wait until you see what&#8217;s coming in CommentLuv premium!</p>
<p>You can <a href="http://www.commentluv.com">Download CommentLuv</a> here</p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/new-commentluv-version-2-9/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>I am NOT a BMX bandit!</title>
		<link>http://fiddyp.co.uk/i-am-not-a-bmx-bandit/</link>
		<comments>http://fiddyp.co.uk/i-am-not-a-bmx-bandit/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 17:30:42 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[cycle]]></category>
		<category><![CDATA[helmet]]></category>
		<category><![CDATA[injury]]></category>
		<category><![CDATA[profit]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1907</guid>
		<description><![CDATA[I like to ride my.. I got given a mountain bike a couple of weeks ago and since I&#8217;ve moved to part time work, I&#8217;ve been going out [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fi-am-not-a-bmx-bandit%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fi-am-not-a-bmx-bandit%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://twitter.com/#!/CommentLuv/status/61417984400424960"><img src="http://fiddyp.co.uk/wp-content/uploads/twitter-crash.png" alt="" title="twitter-crash" width="452" height="873" class="aligncenter size-full wp-image-1909" /></a></p>
<h2>I like to ride my..</h2>
<p>I got given a mountain bike a couple of weeks ago and since I&#8217;ve moved to part time work, I&#8217;ve been going out every day on it riding around Lancaster. I regularly ride over 10 miles in a session and as Lancaster is a cycle friendly town, there&#8217;s loads of different routes to try.</p>
<h2>Bring back the 80&#8242;s</h2>
<p><a href="http://www.amazon.com/dp/B004GSVXC6?tag=commentluv-20"><img src='http://ecx.images-amazon.com/images/I/61EMKItmLGL.jpg' rel='B004GSVXC6' class='alignright' width='195' height='250' alt='BMX Bandits (Blu-ray)'  /></a><br />
Today, I had a crash/scrape. I remember being super awesome on my BMX back in the day (early 80&#8242;s) where bunny hopping up a kerb was almost genetically inherited knowledge. So much so that it didn&#8217;t require a seconds thought.</p>
<p>Now though, much older (and not even that much wiser) I thought it was the same old &#8216;push down, pull up, back flick&#8217; to get up a kerb. The thing is, back then in the good old 80&#8242;s, I never used to travel so frickin fast down a hill, there weren&#8217;t 18 gears, only future rocket bikes had front suspension and kerbs were, well, kerb size.</p>
<p>Now.. 18th gear, at least 30 mph, a kerb (uk term for the bit that raises and separates the sidewalk from the asphalt) that would be more appropriately called a frickin plinth and an unqualified belief that I was still a BMX bandit who could bunny hop anything and you&#8217;ve got a recipe for a soreness.</p>
<h2>Ouch?</h2>
<p>I remember, whilst in mid air, thinking that there&#8217;s nothing I can do. I remember not feeling regret at trying to bunny hop at speed, I accepted that it was now too late to do anything and I was going to crash and it might hurt a little bit. All this went through my head before I&#8217;d even surrendered to gravity and the friction coefficient of concrete.</p>
<p>A scraping sound, an &#8216;oomph&#8217; as I met the floor and even a roll or two and I was on my back staring at the blue blue sky. </p>
<p>&#8220;hmm&#8217;, thought I , &#8220;it doesn&#8217;t hurt&#8221;</p>
<p>A crash at that speed, a meeting of pavement at that velocity and it didn&#8217;t hurt? I must be either dead already or I&#8217;m an undiscovered super hero.  I considered what costume I would have and if I had a home planet that I&#8217;d been sent away from when I was a small child. That explains why I had that &#8220;I must be adopted&#8221; feeling growing up.</p>
<p>As it turns out, I&#8217;m just a little dramatic (and maybe even slightly concussed) and have good leather riding gloves and a wicked good bike helmet that protected me from the almighty whack my head got. </p>
<p>I got up (slowly) and sat on the convenient boulders on the side of the pavement and gathered my thoughts. I felt a little sick but I figured that must be the landing flat on my stomach and then I started white-ing out, everything went to high contrast and gain and I felt a bit dizzy.</p>
<p>So, I took a picture of my arm and sent it to twitter of course!!</p>
<p>Then I laid back and watched the sky until the dizziness faded and I no longer felt sick.</p>
<p>40 minutes and 5 miles later, I was back home to much &#8216;oooh!&#8217; and &#8216;awwww!&#8217; &#8216;s when everyone in my shop saw my arm.</p>
<h2>Get a helmet (and maybe riding gloves)</h2>
<a href="http://www.amazon.com/dp/B00012M5MS?tag=commentluv-20"><img src='http://ecx.images-amazon.com/images/I/51jjBOZH8WL.jpg' rel='B00012M5MS' class='alignleft' width='250' height='226' alt='Schwinn Thrasher Adult Micro Bicycle Helmet (Adult)'  /></a>
<p>You hear those adverts on the radio about safety, you see the reports on the news about cyclists whose lives were saved because they wore a helmet and you think, &#8220;hmm, whatever&#8221;.</p>
<p>It turns out that they were right!! if I hadn&#8217;t been wearing my cycle helmet, I would have probably suffered a serious concussion. I whacked my head on the floor when I met it with a serious amount of force. Not only did my helmet save me from possible brain spillage, it prevented me from getting all scratched up and sore for weeks.</p>
<p>My riding gloves (which I only bought to keep my hands clean and prevent blisters from the grips) were destroyed as my hands went out (superman styley) to protect me from the fall and they certainly helped protect my delicate typing hands.</p>
<p>So, all I have is the graze or two on my arm which wouldn&#8217;t be there if I&#8217;d had elbow pads on but, seriously, there&#8217;s a limit to my safety (un)consciousness!</p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/i-am-not-a-bmx-bandit/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Bypass / Disable print dialog box in firefox with javascript print()</title>
		<link>http://fiddyp.co.uk/bypass-disable-print-dialog-box-in-firefox-with-javascript-print/</link>
		<comments>http://fiddyp.co.uk/bypass-disable-print-dialog-box-in-firefox-with-javascript-print/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 18:23:43 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dialog box]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[profit]]></category>

		<guid isPermaLink="false">http://fiddyp.co.uk/?p=1887</guid>
		<description><![CDATA[Just print! In my ePoS system project, I have the need to open a popup with javascript and print the contents without seeing the dialog box. Everywhere I [..]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ffiddyp.co.uk%2Fbypass-disable-print-dialog-box-in-firefox-with-javascript-print%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ffiddyp.co.uk%2Fbypass-disable-print-dialog-box-in-firefox-with-javascript-print%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://fiddyp.co.uk/wp-content/uploads/no-print-dialog.png" alt="" title="no-print-dialog" width="257" height="196" class="aligncenter size-full wp-image-1900" /></p>
<h2>Just print!</h2>
<p>In my ePoS system project, I have the need to open a popup with javascript and print the contents without seeing the dialog box.</p>
<p>Everywhere I searched, there were the &#8216;you don&#8217;t wanna do that because&#8230;.&#8217; from know it all keyboard warriors saying it was bad because evil doers could send porn to your printer. </p>
<h2>What about intranets and web apps?</h2>
<p>Finally, I figured it out and as long as you&#8217;re using Firefox and you have access to it then you&#8217;re ready to make it print without a nasty dialog&#8230;</p>
<ul>
<li>Open firefox and put <strong>about:config</strong> in the address bar and press enter (you will need to click the button that shows to say you know what you&#8217;re doing)</li>
<li>Type <strong>print.always_print_silent</strong> in the filter box at the top<br />
If you have an entry already there and it is set to false just right click it and choose &#8216;toggle&#8217; to set it to true.<br />
If there is no entry there already then follow on&#8230;</p>
<ul>
<li>right click the screen and choose New->boolean</li>
<li>enter <strong>print.always_print_silent</strong> as the preference name when asked and press enter</li>
<li>set boolean value to <strong>true</strong> and press enter</li>
</ul>
</li>
</ul>
<p>That&#8217;s it, you will no longer see the dialog box when you print. Beware though, it will try to print to the last printer you used when you had the dialog box open. If you ever need to change it then you will need to toggle the value for print.always_print_silent by following the above steps.</p>
<h2>Open a javascript popup and print the contents</h2>
<p>Now you can print without dialogs, you can use the following code to open a popup window and print it.</p>
<h3>open the popup</h3>
<p><code><br />
windowname = window.open('url.html','name',options);<br />
</code></p>
<p>the options you have available are:</p>
<table border="0" cellspacing="5" cellpadding="5">
<tbody>
<tr>
<th>Option</th>
<th>Values</th>
<th>Description</th>
</tr>
<tr>
<td>location</td>
<td>yes|no</td>
<td>Does the location bar show?</td>
</tr>
<tr>
<td>menubar</td>
<td>yes|no</td>
<td>Does the menubar show?</td>
</tr>
<tr>
<td>scrollbars</td>
<td>yes|no</td>
<td>Do scrollbars show?</td>
</tr>
<tr>
<td>status</td>
<td>yes|no</td>
<td>Does the status bar show|</td>
</tr>
<tr>
<td>titlebar</td>
<td>yes|no</td>
<td>Does the titlebar show?</td>
</tr>
<tr>
<td>toolbar</td>
<td>yes|no</td>
<td>Does the toolbar show?</td>
</tr>
<tr>
<td>resizable</td>
<td>yes|no</td>
<td>Can you resize the window?</td>
</tr>
<tr>
<td>height</td>
<td>pixels</td>
<td>height of window</td>
</tr>
<tr>
<td>width</td>
<td>pixels</td>
<td>width of window</td>
</tr>
<tr>
<td>directories</td>
<td>yes|no</td>
<td>Does the personal toolbar show?</td>
</tr>
<tr>
<td>innerHeight</td>
<td>pixels</td>
<td>specifies the inner height of window</td>
</tr>
<tr>
<td>innerWidth</td>
<td>pixels</td>
<td>specifies the inner width of window</td>
</tr>
<tr>
<td>screenX</td>
<td>pixels</td>
<td>specifies distance from left edge of screen</td>
</tr>
<tr>
<td>screenY</td>
<td>pixels</td>
<td>specifies distance from top edge of screen</td>
</tr>
</tbody>
</table>
<p>For example, to open a pop window showing the file called <strong>example.html</strong> with no menu bar, with a width of 430 pixels, height of 700 pixels, no toolbar, with scrollbars and with the window you would use this command</p>
<p><code><br />
winname = window.open('/example.html','newwin','menubar=no,width=430,height=700,toolbar=no,scrollbars=yes,screenX=300');<br />
</code></p>
<p>To close that window, you can add this</p>
<p><code><br />
winname.close();<br />
</code></p>
<p>To print the window, you can add this to the example.html page </p>
<p><code><br />
self.print();<br />
</code></p>
<p>or to print it from the calling page, you might need to pause for a little while before issuing the print command so it has time to load the page content first..</p>
<p><code><br />
setTimeout("winname.window.print();",500);<br />
</code></p>
<p>All the commands need to be within &lt;script&gt; /script tags</p>
]]></content:encoded>
			<wfw:commentRss>http://fiddyp.co.uk/bypass-disable-print-dialog-box-in-firefox-with-javascript-print/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

