<?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>Do Know Evil - A Blog by Tyler Mulligan &#187; Wordpress</title> <atom:link href="http://www.doknowevil.net/category/computers/the-internet/web-development/web-applications/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://www.doknowevil.net</link> <description>Tips and Tricks About Computers, Web Development, Linux, the Internet and the Like</description> <lastBuildDate>Sat, 16 Jul 2011 01:25:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.5</generator> <item><title>The Best Way to Tweet to Twitter, Post on Facebook from WordPress</title><link>http://www.doknowevil.net/2010/07/26/the-best-way-to-tweet-to-twitter-post-on-facebook-from-wordpress/</link> <comments>http://www.doknowevil.net/2010/07/26/the-best-way-to-tweet-to-twitter-post-on-facebook-from-wordpress/#comments</comments> <pubDate>Tue, 27 Jul 2010 02:47:47 +0000</pubDate> <dc:creator>Tyler Mulligan</dc:creator> <category><![CDATA[Application Management]]></category> <category><![CDATA[Computers]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web Applications]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[internet marketing]]></category> <category><![CDATA[ping.fm]]></category> <category><![CDATA[publishing]]></category> <category><![CDATA[social networks]]></category> <category><![CDATA[web]]></category><guid isPermaLink="false">http://www.doknowevil.net/?p=762</guid> <description><![CDATA[I&#8217;ve been focusing some time recently to the foundation levels of Internet marketing. I&#8217;m aiming to increase visibility as strongly as possible at the core of a website giving it the power to leverage evolving trends as simply as possible. This of course means utilizing APIs from other web applications, such as social networks. The]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been focusing some time recently to the foundation levels of Internet marketing.  I&#8217;m aiming to increase visibility as strongly as possible at the core of a website giving it the power to leverage evolving trends as simply as possible.  This of course means utilizing APIs from other web applications, such as social networks.  The title of this post is true but deceptive.  I consider the following method the best way to tweet from WordPress but it&#8217;s actually a whole lot more than that. It&#8217;s a gateway to a large number of social media applications; one account to rule them all. <a href="http://www.ping.fm">ping.fm</a> is a service that allows you to link multiple social network websites, such as <a href="http://www.facebook.com" target="_blank">facebook</a>, <a href="http://www.twitter.com" target="_blank">twitter</a>, <a href="http://www.linkedin.com" target="_blank">linkedin</a> and more.</p><p><a href="http://www.doknowevil.net/wp-content/uploads/2010/07/screenshot241.png"><img class="alignnone size-full wp-image-763" title="ping fm services (minus twitter)" src="http://www.doknowevil.net/wp-content/uploads/2010/07/screenshot241.png" alt="" width="757" height="854" /></a><br /> + twitter</p><p>So the idea then, is to leverage then is to utilize the ping.fm application from your website.  If you&#8217;re using WordPress then you&#8217;re set, <a href="http://wordpress.org/extend/plugins/publish-2-pingfm">the simple no frills publish 2 ping.fm plugin</a> will allow you to interact with ping.fm from your blog/website.</p><p><a href="http://www.doknowevil.net/wp-content/uploads/2010/07/wordpress_ping_fm.png"><img class="alignnone size-full wp-image-764" title="wordpress_ping_fm" src="http://www.doknowevil.net/wp-content/uploads/2010/07/wordpress_ping_fm.png" alt="" width="815" height="818" /></a></p><p>I&#8217;ve tested this out with the free open-source GPL First Person Shooter, <a href="http://www.xonotic.org" target="_blank">Xonotic</a> and a new site I just started <a href="http://www.dumbtubes.com">dumbtubes.com</a>.  Both have twitter accounts that you can see publishing <a href="http://twitter.com/dumbtubes" target="_blank">twitter.com/dumbtubes</a>, <a href="http://twitter.com/xonotic" target="_blank">twitter.com/xonotic</a>.  Xonotic also publishes to many other social accounts, see the <a href="http://www.xonotic.org">Xonotic homepage</a> to find other accounts.</p><p>Stay tuned for more wordpress tips.</p><p><strong>WARNING</strong>, this plugin may cause other plugins options panels not to work.  I&#8217;m not sure the cause yet but be aware that it can cause the sub settings of dedicated plugin setting groups to throw access errors.</p> ]]></content:encoded> <wfw:commentRss>http://www.doknowevil.net/2010/07/26/the-best-way-to-tweet-to-twitter-post-on-facebook-from-wordpress/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Patching NextGEN Voting Plugin to Allow Showing of the Vote Form on Single Images</title><link>http://www.doknowevil.net/2010/05/30/patching-nextgen-voting-plugin-to-allow-showing-of-the-vote-form-on-single-images/</link> <comments>http://www.doknowevil.net/2010/05/30/patching-nextgen-voting-plugin-to-allow-showing-of-the-vote-form-on-single-images/#comments</comments> <pubDate>Sun, 30 May 2010 21:17:19 +0000</pubDate> <dc:creator>Tyler Mulligan</dc:creator> <category><![CDATA[The Internet]]></category> <category><![CDATA[Web Applications]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[NextGEN]]></category> <category><![CDATA[Wordpress Plugins]]></category><guid isPermaLink="false">http://www.doknowevil.net/?p=669</guid> <description><![CDATA[Intro NextGEN Voting is a plugin for the wordpress plugin NextGEN Gallery plugin. Keeping this in mind made the task of extending easier. NextGEN Gallery hooks into wordpress functions, NextGEN Voting hooks into NextGEN Gallery. By default, NextGEN Voting hooks into the gallery view, giving access to a function that uses the image id for]]></description> <content:encoded><![CDATA[<h2>Intro</h2><p><a href="http://wordpress.org/extend/plugins/nextgen-gallery-voting/" target="_blank">NextGEN Voting</a> is a plugin for the wordpress plugin <a href="http://wordpress.org/extend/plugins/nextgen-gallery/" target="_blank">NextGEN Gallery</a> plugin.  Keeping this in mind made the task of extending easier.  NextGEN Gallery hooks into wordpress functions, NextGEN Voting hooks into NextGEN Gallery.</p><p>By default, NextGEN Voting hooks into the gallery view, giving access to a function that uses the image id for lookup.  The only reason we see nothing if we try to paste the same template code into a page other than the recommended <em>&#8220;nextgen-gallery/view/gallery.php&#8221;</em> is because that function is not given access in any other view.</p><h2>How-to Add Access to Use the Function in the Image Browser Template</h2><p>Open <em>&#8220;wp-content/plugins/nextgen-gallery-voting/ngg-voting.php&#8221;</em>,</p><p>Look for:</p><pre class="brush:php">add_filter(&quot;ngg_show_gallery_content&quot;, &quot;nggv_show_gallery&quot;, 10, 2);</pre><p>Add After:</p><pre class="brush:php">add_filter(&quot;ngg_show_imagebrowser_content&quot;, &quot;nggv_show_imagebrowser&quot;, 10, 2);</pre><p>Look for:</p><pre class="brush:php">
function nggv_show_gallery($out, $gid) {
	return $out.nggc_voteForm($gid, $buffer);
}
</pre><p>Add After:</p><pre class="brush:php">
function nggv_show_imagebrowser($out, $gid) {
	return $out.nggc_voteForm($gid, $buffer);
}
</pre><p>Now we have given access to the function and can paste the following code into <em>&#8220;wp-content/plugins/nextgen-gallery/imagebrowser.php&#8221;</em>:</p><pre class="brush:php">&lt;?php echo nggv_imageVoteForm($image-&gt;pid); ?&gt;</pre><h2>Conclusion</h2><p>I&#8217;ve tried to explain this in method in a way you can repeat an extend to suit your needs.  By following the same logic and tracing the hooks, you can apply this however you might need.</p><p>You&#8217;ll want to keep <em>&#8220;wp-content/plugins/nextgen-gallery/nggfunctions.php&#8221;</em> open as a reference for what hooks are available.  You can find hooks by searching for &#8220;apply_filters(&#8216;&#8221;, it will be the first parameter.</p> ]]></content:encoded> <wfw:commentRss>http://www.doknowevil.net/2010/05/30/patching-nextgen-voting-plugin-to-allow-showing-of-the-vote-form-on-single-images/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Do you know how to create your own wordpress template?</title><link>http://www.doknowevil.net/2008/01/08/do-you-know-how-to-create-your-own-wordpress-template/</link> <comments>http://www.doknowevil.net/2008/01/08/do-you-know-how-to-create-your-own-wordpress-template/#comments</comments> <pubDate>Tue, 08 Jan 2008 19:14:29 +0000</pubDate> <dc:creator>Tyler Mulligan</dc:creator> <category><![CDATA[Art]]></category> <category><![CDATA[Graphics]]></category> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.doknowevil.net/2008/01/08/do-you-know-how-to-create-your-own-wordpress-template/</guid> <description><![CDATA[I don&#8217;t but I&#8217;m giving it a shot for the first time! I&#8217;m starting from scratch, building an XHTML compliant template the way I like it, then through some reverse engineering / tutorials, I will pass the data I need to my template files. I&#8217;m pretty excited! Here&#8217;s a sneak peak: I&#8217;ve been busy with]]></description> <content:encoded><![CDATA[<p>I don&#8217;t but I&#8217;m giving it a shot for the first time!  I&#8217;m starting from scratch, building an XHTML compliant template the way I like it, then through some reverse engineering / tutorials, I will pass the data I need to my template files.  I&#8217;m pretty excited!</p><p>Here&#8217;s a sneak peak:</p><p><a href='http://www.doknowevil.net/wp-content/uploads/2008/01/dke_teaser.jpg' title='Do Know Evil - New Design - Teaser'><img src='http://www.doknowevil.net/wp-content/uploads/2008/01/dke_teaser-150x150.jpg' alt='Do Know Evil - New Design - Teaser' /></a></p><p>I&#8217;ve been busy with some design work the past few days, finishing up a few more <a href="http://www.doknowevil.net/entrecard" target="_blank" title="Entrecard Designs">entrecards</a> and working close with clients to get a design that properly represents their business:</p><p><a href='http://www.doknowevil.net/wp-content/uploads/2008/01/pl_site_21.jpg' title='Peter Lombardo'><img src='http://www.doknowevil.net/wp-content/uploads/2008/01/pl_site_21-150x150.jpg' alt='Peter Lombardo' /></a></p><p>The <a href="http://www.nexuizninjaz.com" title="Nexuiz Ninjaz" target="_blank">ninjaz</a> have been making some headway and we&#8217;re testing out a new host for ~5 game servers which will run <a href="http://www.nexuizninjaz.com/forum/forumdisplay.php?fid=14" target="_blank" title="NANL - North American Nexuiz League">NANL configs</a> on.  I go back to school in less than a week.</p> ]]></content:encoded> <wfw:commentRss>http://www.doknowevil.net/2008/01/08/do-you-know-how-to-create-your-own-wordpress-template/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>WP-Cache &#8211; Are you using it?</title><link>http://www.doknowevil.net/2008/01/06/wp-cache-are-you-using-it/</link> <comments>http://www.doknowevil.net/2008/01/06/wp-cache-are-you-using-it/#comments</comments> <pubDate>Sun, 06 Jan 2008 16:02:18 +0000</pubDate> <dc:creator>Tyler Mulligan</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://www.doknowevil.net/2008/01/06/wp-cache-are-you-using-it/</guid> <description><![CDATA[I&#8217;m a bit surprised at the number of blogs I come across that fail to load. A lot of the times, this can be fixed with a simple plugin call WP-Cache. WP-Cache will save a copy (cache) a WordPress page the first time a user visits the page. This greatly reduces the overhead as it]]></description> <content:encoded><![CDATA[<p>I&#8217;m a bit surprised at the number of blogs I come across that fail to load.  A lot of the times, this can be fixed with a simple plugin call <a href="http://mnm.uib.es/gallir/posts/2007/01/31/963/" title="WP-Cache 2.1" target="_blank">WP-Cache</a>.  WP-Cache will save a copy (cache) a WordPress page the first time a user visits the page.  This greatly reduces the overhead as it doesn&#8217;t need to run through all the php code and connect to the database on every page call.</p><p>It&#8217;s a very simple install, just upload the contents of the zip to your plugins directory and activate it.  A new menu will appear under your options tab giving you filtering options.</p><p><a href='http://www.doknowevil.net/wp-content/uploads/2008/01/wp_cache-1.png' title='WP-Cache Filtering Options'><img src='http://www.doknowevil.net/wp-content/uploads/2008/01/wp_cache-1-150x150.png' alt='WP-Cache Filtering Options' /></a></p><p>And you can check the status of your cache at anytime, deleting files when necessary.</p><p><a href='http://www.doknowevil.net/wp-content/uploads/2008/01/wp_cache.png' title='WP Cached Pages'><img src='http://www.doknowevil.net/wp-content/uploads/2008/01/wp_cache-150x150.png' alt='WP Cached Pages' /></a></p><p>This plugin is simple and useful.  It should be integrated into the project.</p><p>Please refer to the README.txt if you&#8217;re having trouble.</p><p>It&#8217;s important to note&#8230; that if you have this installed and you&#8217;re making template changes, you will need to disable the cache or clear it every time to see the changes in real time.</p> ]]></content:encoded> <wfw:commentRss>http://www.doknowevil.net/2008/01/06/wp-cache-are-you-using-it/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Object Caching 535/557 objects using disk

Served from: www.doknowevil.net @ 2012-05-16 23:27:48 -->
