<?xml version="1.0" encoding="utf-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>:: TechBlog ::</title>
	<link>http://techblog.touchbasic.com/html</link>
	<description>Techblog is collection of articles covering a wide variety of tech related topics including: Linux, Microsoft, code, design, wordpress, security, new media and more. Site updated regularly; search by category, title, date, or tag.</description>
	<pubDate>Tue, 26 Aug 2008 03:50:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>WP 2.3 Plugin - Per Post Creative Commons License</title>
		<link>http://techblog.touchbasic.com/html/wp-23-plugin-per-post-creative-commons-license/</link>
		<comments>http://techblog.touchbasic.com/html/wp-23-plugin-per-post-creative-commons-license/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 22:33:31 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Copyright]]></category>

		<category><![CDATA[Everything]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[cc]]></category>

		<category><![CDATA[creative commons]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[licensing]]></category>

		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/wp-23-plugin-per-post-creative-commons-license/</guid>
		<description><![CDATA[This plugin will add the ability to choose different Creative Commons licensing structures for different posts that you publish to your WordPress blog.
As far as i could tell, there are currently 2 other CC plugins for WordPress - wpLicense and cc-configurator - however both of them only let you set your license on a global [...]]]></description>
			<content:encoded><![CDATA[<p>This plugin will add the ability to choose different Creative Commons licensing structures for different posts that you publish to your WordPress blog.</p>
<p>As far as i could tell, there are currently 2 other CC plugins for WordPress - <a href="http://wiki.creativecommons.org/WpLicense">wpLicense</a> and <a href="http://www.g-loaded.eu/2006/01/14/creative-commons-configurator-wordpress-plugin/">cc-configurator</a> - however both of them only let you set your license on a global level. That is, they let you pick one license for all your posts and pages throughout your entire site. I thought it might be useful if each WP user/author could choose between different CC licenses and be able to set them on a post-by-post basis. So, i modified the wpLicense plugin to do just that. </p>
<blockquote><p><strong>&#8220;The main purpose of this plugin is to give WP admins who run sites with multiple users/authors the option let these users/authors set specific CC licensing terms on a post by post basis.&#8221;</strong></p></blockquote>
<p><strong>How it works:</strong><br />
It uses the <a href="http://api.creativecommons.org/docs/readme_15.html#details-license-uri-uri">CC api</a> and the <a href="http://wiki.creativecommons.org/JsWidget">JsWidget</a> to add a new section to the write/edit post page and then displays a small CC graphic/button and text on your published posts for all to see. The widget lets you choose the appropriate licensing structure and then your choice is automatically saved to a custom field the next time you click &#8220;Save and Continue Editing&#8221;, &#8220;Save&#8221;, or &#8220;Publish&#8221;. Then, it uses the CC api (details-license-uri-uri) to call some javascript that displays a small graphic/button and some text linking back to the definitions for the license you have chosen. Jquery was used to insert the new CC license section to the write/edit post pages as well as to open/close the new section. I also had to use Jquery to fix the tooltips for the JsWidget. Lastly, this plugin is optimized so that it will add only 1 DB query (the cc_js_result_uri) to each post that has set a CC license and stores it to a custom field for that given post - whereas the wpLicense plugin seemed to use 3 seperate db queries to set the global licencing for the site.</p>
<p><strong>Screenshots:</strong><br />
Check out the plugin in action.<br />
<a href='http://techblog.touchbasic.com/html/wp-23-plugin-per-post-creative-commons-license/cc-edit-post-view/' rel='attachment wp-att-202' title='cc edit post view'><img style="float:left;margin:15px;padding:2px;border:1px solid #bbb;" src='http://techblog.touchbasic.com/html/wp-content/uploads/2008/02/cc-edit-post.thumbnail.jpg' alt='cc edit post view' /></a><a href='http://techblog.touchbasic.com/html/wp-23-plugin-per-post-creative-commons-license/cc-view-post-license/' rel='attachment wp-att-203' title='cc view post license'><img style="float:left;margin:15px;padding:2px;border:1px solid #bbb;" src='http://techblog.touchbasic.com/html/wp-content/uploads/2008/02/cc-view-post.thumbnail.jpg' alt='cc view post license' /></a></p>
<div style="clear:both;"></div>
<p> <a href="http://techblog.touchbasic.com/html/wp-23-plugin-per-post-creative-commons-license/#more-201" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/wp-23-plugin-per-post-creative-commons-license/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Subversion with WordPress - Part 2: Maintaining Vendor Branches and Upgrading WP Core Files</title>
		<link>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/</link>
		<comments>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 23:01:11 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Everything]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[merging]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[svn]]></category>

		<category><![CDATA[upgrade]]></category>

		<category><![CDATA[vendor branches]]></category>

		<category><![CDATA[vendor drop]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/</guid>
		<description><![CDATA[This article assumes you have already read, &#8220;Using Subversion with WordPress - Part 1: Creating Vendor Branches and Integrating your Existing Code&#8220;. In short, you want to use Subversion to track/maintain local versions of both WordPress code and your own internal project code, side-by-side, all in the same svn repository.
In the previously mentioned article we [...]]]></description>
			<content:encoded><![CDATA[<p><em>This article assumes you have already read, &#8220;<a href="http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/">Using Subversion with WordPress - Part 1: Creating Vendor Branches and Integrating your Existing Code</a>&#8220;. In short, you want to use Subversion to track/maintain local versions of both WordPress code and your own internal project code, side-by-side, all in the same svn repository.</em></p>
<p>In the previously mentioned article we used WordPress version 2.3.1 as our initial vendor drop. The following procedure illustrates how to use <em>svn merge</em> to quickly upgrade WordPress core files from version 2.3.1 to version 2.3.2 - without losing your local changes - but could be used as a general outline for upgrading any version of WordPress provided you followed the steps discussed in Part 1. Note: Backup your files and database before attempting any of this. Also, although not strictly required, the following steps assume you have some kind of shell access (like ssh) and a command line subversion client (like svn).</p>
<p><strong><em>Maintaining Vendor Branches -</em></strong><br />
To perform this upgrade, we check out a copy of our current vendor branch (which contains our WP 2.3.1 source code), and replace that code with the new WP 2.3.2 source code. So, we simply copy the new files on top of existing files and directories. The goal here is to make our current directory contain only the new WP 2.3.2 code, and to ensure that all that code is under version control. I use the <em>svn export</em> command to grab the WP 2.3.2 source code - but downloading and extracting the WP files manually works just as well.</p>
<p> <a href="http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/#more-193" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Subversion with WordPress - Part 1: Creating Vendor Branches and Integrating your Existing Code</title>
		<link>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/</link>
		<comments>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 01:03:57 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Everything]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[merging]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[svn]]></category>

		<category><![CDATA[upgrade]]></category>

		<category><![CDATA[vendor branches]]></category>

		<category><![CDATA[vendor drop]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/</guid>
		<description><![CDATA[This article assumes that you&#8217;ve read the basic svn howto and the more specific one provided on the WP Codex but would like to try or need a setup similar to that described here on a page called: Vendor branches. In short, you want to use Subversion to track/maintain local versions of both WordPress code [...]]]></description>
			<content:encoded><![CDATA[<p>This article assumes that you&#8217;ve read the <a href="http://codex.wordpress.org/Using_Subversion">basic svn howto</a> and the <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">more specific one</a> provided on the WP Codex but would like to try or need a setup similar to that described <a href="http://svnbook.red-bean.com/en/1.4/svn.advanced.vendorbr.html">here</a> on a page called: Vendor branches. In short, you want to use Subversion to track/maintain local versions of both WordPress code and your own internal project code, side-by-side, all in the same svn repository.</p>
<p><strong>Scenario:</strong><br />
Let&#8217;s say you have an in-house web developement project that is built upon or otherwise dependent on the WordPress core files. This can be for something as simple as creating/customizing your own WP themes and plugins, or as complex as maintaining your own modified versions of WP core files, with additional components/modules, etc. The important thing is that you imagine a scenario where you are already using Subversion to commit changes/updates to this internal project of yours. However, a problem occurs whenever a new version of WordPress is released. You need to upgrade the WP core files whithout losing any of the custom modifications you&#8217;ve been making up until now. Ideally, you would like to apply (to your internal project) only the changes made to the upgraded WP core files without over-writing any of your own work.</p>
<p><strong>Solution:</strong></p>
<blockquote><p>&#8220;The solution to this problem is to use vendor branches. A vendor branch is a directory tree in your own version control system that contains information provided by a third-party entity, or vendor. Each version of the vendor&#8217;s data that you decide to absorb into your project is called a vendor drop.&#8221; (<a href="http://svnbook.red-bean.com/en/1.4/svn.advanced.vendorbr.html">quote</a>)</p></blockquote>
<p>So, in this case, the third-party entity or vendor, is WordPress. What we want to do is: absorb the WP code into our own project. The rest of this article is going to illustrate the concept of &#8220;vendor drops&#8221; as they would apply to this particular scenario and using WordPress as the third-party vendor. Some of the benefits of this method are described in the article that the previously mentioned quote came from. In addition, this article goes on to describe the exact same process (but in more general terms) in a section entitled: General Vendor Branch Management Procedure. Well, here is my &#8220;Specific Vendor Branch Management Procedure&#8221; for WordPress.</p>
<p><strong><em>Vendor Branch Management - Description</em></strong></p>
<blockquote><p>&#8220;Managing vendor branches generally works like this. You create a top-level directory (such as /vendor) to hold the vendor branches. Then you import the third party code into a subdirectory of that top-level directory. You then copy that subdirectory into your main development branch (for example, /trunk) at the appropriate location. You always make your local changes in the main development branch. With each new release of the code you are tracking you bring it into the vendor branch and merge the changes into /trunk, resolving whatever conflicts occur between your local changes and the upstream changes.&#8221; (<a href="http://svnbook.red-bean.com/en/1.4/svn.advanced.vendorbr.html">quote</a>)</p></blockquote>
<p><strong><em>Our Setup -</em></strong><br />
Let&#8217;s use WordPress 2.3.1 as an example. A newer version of WP (2.3.2) was just released and we&#8217;ll be using that version in a follow-up article to show how you can maintain this setup across multiple WP version upgrades without losing your local changes. However, for right now, we&#8217;ll assume that this is your first vendor drop and that your current project is already using Subversion and is also built against WP 2.3.1. In theory, you could use this same procedure with any version of WP - just make sure to start with an initial vendor drop that is the exact same version of WP as the one your project is currently using. Remember, we are not upgrading WP yet. We are just importing the WP code into our existing subversion-based system, side-by-side with our internal project. Note: Backup your files and database before attempting any of this. Also, although not strictly required, the following steps assume you have some kind of shell access (like ssh) and a command line subversion client (like svn).</p>
<p> <a href="http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/#more-192" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress 2.3 Plugin - ezmlm mailing list subscribe form</title>
		<link>http://techblog.touchbasic.com/html/wordpress-23-plugin-ezmlm-mailing-list-subscribe-form/</link>
		<comments>http://techblog.touchbasic.com/html/wordpress-23-plugin-ezmlm-mailing-list-subscribe-form/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 21:15:18 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[ezmlm]]></category>

		<category><![CDATA[mailing list]]></category>

		<category><![CDATA[web]]></category>

		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/wordpress-23-plugin-ezmlm-mailing-list-subscribe-form/</guid>
		<description><![CDATA[ezmlm is a qmail-based mailing list manager written by Dan J. Bernstein. 
From their site: &#8220;It has all the basic functionality of a mailing list manager, such as subscriber address management including automated bounce handling as well as message distribution and archiving. Its purpose is to efficiently send a message to a large number of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ezmlm.org/">ezmlm</a> is a qmail-based mailing list manager written by Dan J. Bernstein. </p>
<blockquote><p>From their site: &#8220;It has all the basic functionality of a mailing list manager, such as subscriber address management including automated bounce handling as well as message distribution and archiving. Its purpose is to efficiently send a message to a large number of recipients with minimal delay. It allows automated additions and subtractions from the subscriber database.&#8221;</p></blockquote>
<p>i have seen it installed as the default built-in mailing list software for some shared hosting providers.<br />
i needed a way to let visitors subscribe/unsubscribe to the ezmlm mailing list directly from a webpage.<br />
but, when i searched the web for any existing WordPress plugins that could do this - i could not find any.<br />
so, i thought there might be some wordpress users or admins that want to integrate ezmlm with their website using a standard web-based html signup form and some php magic.</p>
<p><strong>description:</strong><br />
This plugin will allow visitors to subscribe and unsubscribe to your ezmlm mailing list - directly from your website - without having to manually send an email from their email client.</p>
<p>tested with WordPress 2.3.x<br />
tested on Superb Hosting, and ezmlm mailing list software.</p>
<p><strong>features:</strong></p>
<ol>
<li>basic error and spam checking built right into the plugin.</li>
<li>automatically prints out a &#8220;Thank You&#8221; or &#8220;Error&#8221; message on submit</li>
<li>you can use css to style the submit form to your heart&#8217;s content.</li>
<li>works even when your ezmlm is on a different server than you web server.</li>
<li>choose between using a standard text button or an image as your submit button.</li>
<li>choose between using the defulat privacy message, a custom message, or no message at all.</li>
</ol>
<p> <a href="http://techblog.touchbasic.com/html/wordpress-23-plugin-ezmlm-mailing-list-subscribe-form/#more-196" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/wordpress-23-plugin-ezmlm-mailing-list-subscribe-form/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Site Upgraded - A little facelift is all</title>
		<link>http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/</link>
		<comments>http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 07:52:25 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Everything]]></category>

		<category><![CDATA[Site News]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[customization]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[tagging]]></category>

		<category><![CDATA[themes]]></category>

		<category><![CDATA[upgrade]]></category>

		<category><![CDATA[wordpress template]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/</guid>
		<description><![CDATA[- Finally got around to upgrading from WP 2.0.11 to WP 2.3.1 -
This site was in maintenance mode for a good part of the evening due to an incompatibility with WP 2.3.1 and the previous theme used here on Techblog. I spent some time trying to work out the problems but the breakage was pretty [...]]]></description>
			<content:encoded><![CDATA[<p><strong>- Finally got around to upgrading from WP 2.0.11 to WP 2.3.1 -</strong></p>
<p>This site was in maintenance mode for a good part of the evening due to an incompatibility with WP 2.3.1 and the previous theme used here on Techblog. I spent some time trying to work out the problems but the breakage was pretty severe so i figured it was time to either design something new from scratch, or just grab one of the many readily available WP themes and use that for a while. I decided to go for the latter choice.. i might still spend some time adding more customizations, but for now i needed something that worked well and looked clean.</p>
<p>Anyway, after trying out a bunch of themes from the WP <a href="http://themes.wordpress.net/">Theme Viewer</a> and playing around with the WP <a href="http://www.yvoschaap.com/wpthemegen/">Theme Generator</a>, i was able to narrow my choices down to about 5 themes and finally went with the <a href="http://www.plaintxt.org/themes/blogtxt/" title="blog.txt theme for WordPress">blog.txt</a> theme by <a href="http://scottwallick.com/" title="scottwallick.com">Scott</a>.</p>
<p>I&#8217;ve already made some SEO related modifications to the header.php template file. Also, i had to upgrade my tags structure - twice! Once from some really old wordpress tagging plugin that kept your tags in a key called: ttaglist, in the postmeta table. I had to use the UTW plugin to import these old tags. Then came the second upgrade. I used the new built-in tag import feature in WP 2.3.1 to convert my newly created UTW tags into the native WP tagging structure. Everything seemed to go smoothly, and i was able to get rid of all my old tagging plugins and install <a href="http://wordpress.org/extend/plugins/simple-tags">Simple Tags</a> for advance tag management. I had to get rid of a few other really old plugins, but the site runs much faster now, and i&#8217;m sure it won&#8217;t take me too long to find a ton of new plugins to clutter up my site in no time!</p>
<p>So far, i have to say, i&#8217;m pretty happy with the upgrades. I haven&#8217;t tested everything too thoroughly yet, so more changes might still be on the horizon.. including another complete theme change. Just giving you all heads up!</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WP 2.3 Plugin - Limit Visibility by Capability</title>
		<link>http://techblog.touchbasic.com/html/wp-23-plugin-limit-visibility-by-capability/</link>
		<comments>http://techblog.touchbasic.com/html/wp-23-plugin-limit-visibility-by-capability/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 06:10:35 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Everything]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/wp-23-plugin-limit-visibility-by-capability/</guid>
		<description><![CDATA[This plugin is pretty simple (yet effective) - so i&#8217;ll try and keep things short.
You can use this plugin to limit the visibility of your WordPress 2.3 site to only logged in users that have a specific (pre-defined) WP Capability. Any of the standard WP Capabilities can be used, like: read, edit_posts, publish_posts, edit_users, manage_options, [...]]]></description>
			<content:encoded><![CDATA[<p>This plugin is pretty simple (yet effective) - so i&#8217;ll try and keep things short.</p>
<p>You can use this plugin to limit the visibility of your WordPress 2.3 site to only logged in users that have a specific (pre-defined) WP Capability. Any of the standard <a href="http://codex.wordpress.org/Roles_and_Capabilities">WP Capabilities</a> can be used, like: read, edit_posts, publish_posts, edit_users, manage_options, etc. Custom capabilities can also be used.</p>
<p>Good for multi-blog setups with unified logins (single login with shared cookies) where you want some users to be able to access one site but not another unless they have certain permissions. </p>
<p>This plugin is based on <a href ="http://blog.taragana.com/index.php/archive/angsumans-authenticated-wordpress-plugin-password-protection-for-your-wordpress-blog/">Angsuman&#8217;s Authenticated WordPress Plugin</a>. All I did was combine his redirect function with some of my own logic. Now you can have slightly finer grained control over who is allowed to acces your WP site.</p>
<p><strong>Download:</strong><br />
You can get the Limit Visibility by Capability plugin (v1.0) <strong><a href="http://touchbasic.googlepages.com/limit_by_caps.php">here</a></strong>.</p>
<p><strong>Install:</strong><br />
1. Place the file: limit_by_caps.php in your /wp-content/plugins/ directory.<br />
2. Activate the plugin.<br />
3. Navigate to the Options >> Limit Visibility subpage to enable your settings.</p>
<p><strong>By default, after you activate this plugin it will:</strong><br />
1. Redirect all visitors who try to access your site (who are not logged in) to the Login page. (using Angsuman&#8217;s function)<br />
2. Redirect all logged in users without the &#8220;manage_options&#8221; capability (everyone except the Admin) to http://wordpress.org</p>
<p><strong>You can also Customize the Settings:</strong> (recommended)<br />
1. Change the minimum Capability required to access the site to something lower. (eg: using publish_posts will typically allow all Authors, Editors, and Admins in - but not Contributors or Subscribers)<br />
2. Change the external URL that logged in (but rejected) users get sent to into one of your choosing. (so if you are protecting a subdomain you might send these users to the top-level, &#8220;main&#8221; domain)</p>
<p><strong>Here&#8217;s a screencap of the Options >> Limit Visibility subpage:</strong></p>
<p><img id="image190" src="http://techblog.touchbasic.com/html/wp-content/uploads/2007/12/limit_by_caps.jpg" alt="Limit Visibility by Capability Seetings - screencap" /></p>
<p><strong>Additional Notes:</strong><br />
- Block posts, comments, searches, feeds<br />
- Deny access to the entire back-end of WP (no dashboard, no write post, etc)<br />
<del datetime="2007-12-21T06:31:32+00:00">- No access to uploaded files (no images, no pdfs, requests for exact URLs still get blocked)</del> still working on this..<br />
- Works well with Options >> Privacy turned &#8220;On&#8221; (block search engines and spiders)<br />
- Compatible with <a href="http://www.economysizegeek.com/wp-mail/">Postie</a> plugin (post via email still works)</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/wp-23-plugin-limit-visibility-by-capability/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to get the WPG2 plugin to work with Thickbox</title>
		<link>http://techblog.touchbasic.com/html/how-to-get-the-wpg2-plugin-to-work-with-thickbox/</link>
		<comments>http://techblog.touchbasic.com/html/how-to-get-the-wpg2-plugin-to-work-with-thickbox/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 21:12:07 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Everything]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[g2image]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[thickbox]]></category>

		<category><![CDATA[WPG2]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/how-to-get-the-wpg2-plugin-to-work-with-thickbox/</guid>
		<description><![CDATA[If you have a Gallery2 installation intergrated with Wordpress 2.3 - using the WPG2 plugin - then you are probably aware that the G2Image chooser includes a choice for inserting images into posts using the LightBox effect and pointing to a full-sized image.
Well, i needed a choice/option that worked in a similar way but for [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a Gallery2 installation intergrated with Wordpress 2.3 - using the WPG2 plugin - then you are probably aware that the G2Image chooser includes a choice for inserting images into posts using the LightBox effect and pointing to a full-sized image.</p>
<p>Well, i needed a choice/option that worked in a similar way but for Thickbox. Since both Lightbox and Thickbox are triggered by including special attributes on each anchor (a link) and pointing to a full-sized image - i figured it could not be that hard to find and edit the code that inserts the LightBox bit and swap it out for some Thickbox code.</p>
<blockquote><p>LightBox format is: < a href="fullsized.jpg" rel="lightbox" >< img src="thumb.jpg" />< /a ><br />
ThickBox format is: < a href="fullsized.jpg" class="thickbox" >< img src="thumb.jpg" />< /a ></p></blockquote>
<p>All i ended up doing was adding the thickbox class=&#8221;thickbox&#8221; in addition to the lightbox rel=&#8221;lightbox&#8221;.</p>
<p>So the final result inserts the combined code into your WordPress posts:</p>
<blockquote><p>< a href="fullsized.jpg" class="thickbox" rel="lightbox" >< img src="thumb.jpg" />< /a ></p></blockquote>
<p>Now it works with either Lightbox or Thickbox scripts (i wouldn&#8217;t use both at the same time).<br />
Note: you still need to provide the appropriate javascript (Thickbox or Lightbox) and link to it in your header file for this to work.</p>
<blockquote><p>Tested with:<br />
WordPress v2.3.1<br />
Gallery2 v2.2.3 core 1.2.0.5<br />
WPG2 v3.0.2</p></blockquote>
<p>Anyway, here are the 3 WPG2 plugin files i edited to get this going:</p>
<blockquote><p>
<strong>wp-content/plugins/wpg2/g2image/g2image.php</strong> - [download the changed file <a href="http://touchbasic.googlepages.com/g2image.php">here</a>]<br />
<strong>wp-content/plugins/wpg2/g2image/jscripts/functions.js</strong> - [download the changed file <a id="p187" href="http://techblog.touchbasic.com/html/wp-content/uploads/2007/11/functions.js">here</a>]<br />
<strong>wp-content/plugins/wpg2/wpg2embed.inc</strong> - [download the changed file <a href="http://touchbasic.googlepages.com/wpg2embed.inc">here</a>]
</p></blockquote>
<p>These are the exact edits i made (but watch out! because copy/pasting seems to change the single quote marks):</p>
<p>g2image.php - modify option to give choice (in dropdown menu of W2Image chooser) for specifically inserting Thickbox</p>
<div class="codesnip-container" >
<div class="codesnip"><span class="re0">$message</span><span class="br0">&#91;</span><span class="st0">&#8216;thumbnail_lightbox&#8217;</span><span class="br0">&#93;</span> = T_<span class="br0">&#40;</span><span class="st0">&#8216;Thumbnail with LightBox link to Fullsized Image&#8217;</span><span class="br0">&#41;</span>;</div>
</div>
<div class="codesnip-container" >
<div class="codesnip"><span class="re0">$message</span><span class="br0">&#91;</span><span class="st0">&#8216;thumbnail_lightbox&#8217;</span><span class="br0">&#93;</span> = T_<span class="br0">&#40;</span><span class="st0">&#8216;Thumbnail with ThickBox link to Fullsized Image&#8217;</span><span class="br0">&#41;</span>;</div>
</div>
<p>functions.js - modify javascript to do the actual inserting of code with Thickbox</p>
<div class="codesnip-container" >
<div class="codesnip">htmlCode += <span class="st0">&#8216;&lt;a href=&quot;&#8217;</span> + fullsize_img<span class="br0">&#91;</span>i<span class="br0">&#93;</span> + <span class="st0">&#8216;&quot; rel=&quot;lightbox&#8217;</span>;</div>
</div>
<div class="codesnip-container" >
<div class="codesnip">htmlCode += <span class="st0">&#8216;&lt;a href=&quot;&#8217;</span> + fullsize_img<span class="br0">&#91;</span>i<span class="br0">&#93;</span> + <span class="st0">&#8216;&quot; class=&quot;thickbox&quot; rel=&quot;lightbox&#8217;</span>;</div>
</div>
<p>wpg2embed.inc - modify wpg2tag so option (in dropdown menu of W2Image chooser) will work with Thickbox [optional]<br />
Note: for this to work you also need to have &#8220;Should WPG2 Tags have Lightbox Support?&#8221; set to &#8220;Yes&#8221; in your backend: WPG2 > Lightbox Options.</p>
<div class="codesnip-container" >
<div class="codesnip"><span class="re0">$img</span> = <a href="http://www.php.net/str_replace"><span class="kw3">str_replace</span></a><span class="br0">&#40;</span><span class="st0">&#8216;&gt;&lt;img &#8216;</span>, <span class="st0">&#8216; rel=&quot;lightbox[&#8217;</span>.<span class="re0">$post</span>-/&gt;ID.<span class="st0">&#8216;]&quot;&gt;&lt;img &#8216;</span>, <span class="re0">$img</span><span class="br0">&#41;</span>;</div>
</div>
<div class="codesnip-container" >
<div class="codesnip"><span class="re0">$img</span> = <a href="http://www.php.net/str_replace"><span class="kw3">str_replace</span></a><span class="br0">&#40;</span><span class="st0">&#8216;/&gt;&lt;img &#8216;</span>, <span class="st0">&#8216; class=&quot;thickbox&quot; rel=&quot;lightbox[&#8217;</span>.<span class="re0">$post</span>-/&gt;ID.<span class="st0">&#8216;]&quot;&gt;&lt;img &#8216;</span>, <span class="re0">$img</span><span class="br0">&#41;</span>;</div>
</div>
<p></a/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/how-to-get-the-wpg2-plugin-to-work-with-thickbox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WP 2.3.1 Plugin - Notify Admin Only of Wordpress Updates</title>
		<link>http://techblog.touchbasic.com/html/wp-231-plugin-notify-admin-only-of-wordpress-updates/</link>
		<comments>http://techblog.touchbasic.com/html/wp-231-plugin-notify-admin-only-of-wordpress-updates/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 17:23:04 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Everything]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/wp-231-plugin-notify-admin-only-of-wordpress-updates/</guid>
		<description><![CDATA[Well, Wordpress 2.3.1 is out and if you&#8217;re anything like me, you still haven&#8217;t upgraded..
I know it was just released yesterday but for those of you who had already upgraded to WP2.3 within the last few weeks, you may have noticed the AWESOME NEW UPDATE NAG that appears in the back-end of your site !
WP2.3 [...]]]></description>
			<content:encoded><![CDATA[<p>Well, Wordpress 2.3.1 is out and if you&#8217;re anything like me, you still haven&#8217;t upgraded..</p>
<p>I know it was just released yesterday but for those of you who had already upgraded to WP2.3 within the last few weeks, you may have noticed the AWESOME NEW UPDATE NAG that appears in the back-end of your site !</p>
<p>WP2.3 now lets you know, automatically, as soon as there is a new version released. Then, a yellow nag message appears on every page in the back-end, saying: &#8220;A new version of WordPress is available! Please update now&#8221;. All very cool and useful, especially if you&#8217;ve gone and customized the Dashboard (with plugins or otherwise) so that you don&#8217;t see the headlines coming from WP.</p>
<p><img id="image185" src="http://techblog.touchbasic.com/html/wp-content/uploads/2007/10/wp_notice.jpg" alt="wp notifying the admin" /></p>
<p>My problem, as a site administrator, was that a yellow message also pops up for all my users. It says: &#8220;A new version of WordPress is available! Please notify the site administrator&#8221;. Now, some might not have a problem with this (and for most of my sites this won&#8217;t really be a problem) but for sites like <a href="http://www.indyish.com/">indyish.com</a> that have a lot of users, i personally wouldn&#8217;t want all of them notifying me of this. In fact, i probably don&#8217;t even want them seeing this notice at all.</p>
<p><strong>So, all that to say.. i wrote a simple plugin that disables this notice for all - except - the site Administrator.</strong></p>
<p> <a href="http://techblog.touchbasic.com/html/wp-231-plugin-notify-admin-only-of-wordpress-updates/#more-184" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/wp-231-plugin-notify-admin-only-of-wordpress-updates/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Scribd - publish, convert, embed, analyze, and read documents online.</title>
		<link>http://techblog.touchbasic.com/html/scribd-publish-convert-embed-analyze-and-read-documents-online/</link>
		<comments>http://techblog.touchbasic.com/html/scribd-publish-convert-embed-analyze-and-read-documents-online/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 19:33:47 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Everything]]></category>

		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/scribd-publish-convert-embed-analyze-and-read-documents-online/</guid>
		<description><![CDATA[i just signed up for a Scribd account and i must say: i am really impressed.
the site is clean, and full of useful functionality. you don&#8217;t even need to signup to start using Scribd. you can simply upload a document to see it in action. Scribd will convert your document into an embedded pdf viewer [...]]]></description>
			<content:encoded><![CDATA[<p>i just signed up for a <a href="http://www.scribd.com">Scribd</a> account and i must say: i am really impressed.<br />
the site is clean, and full of useful functionality. you don&#8217;t even need to signup to start using Scribd. you can simply upload a document to see it in action. Scribd will convert your document into an embedded pdf viewer and provide multiple methods of downloading and sharing you work. </p>
<p>here&#8217;s a great example (from their front page) of why i think that Scribd is such a great new web-based service (also one of the reasons i signed up):</p>
<p><object width="600" height="500">
<param name="allowScriptAccess" value="SameDomain" />
<param name="movie" value="http://static.scribd.com/FlashPaperS3.swf?guid=gzxz96a1mh6c5&#038;document_id=5719&#038;page=1" /><embed width="600" height="500" src="http://static.scribd.com/FlashPaperS3.swf?guid=gzxz96a1mh6c5&#038;document_id=5719&#038;page=1" type="application/x-shockwave-flash"></embed> </object></p>
<p>i was able to resize the embed, favorite it, and as you can see it is downloadable in various formats like: adobe .pdf, word .doc, text file, and even streaming audio.</p>
<p>the whole experience was very intuitive, and since Scribd is extremely easy to use, i found myself compelled to read through the entire document (above) whereas under normal circumstances (ie: if it wasn&#8217;t already embedded in the page) i probably wouldn&#8217;t have. it sounds crazy, but a regular &#8220;download this pdf&#8221; link is usually one too many steps for me to take - and i would have just skipped over this &#8220;hidden&#8221; content, or downloaded it to my desktop and read it later (possibly never). </p>
<p>with Scribd, instead of asking myself: <em>do i really want to download this?</em> - i was already on the 4th page before i even thought of asking myself: <em>do i really want to be reading this?</em></p>
<p>great app, a real keeper!</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/scribd-publish-convert-embed-analyze-and-read-documents-online/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web-based Visual Workspaces: A Thinkature Wish List.</title>
		<link>http://techblog.touchbasic.com/html/web-based-visual-workspaces-a-thinkature-wish-list/</link>
		<comments>http://techblog.touchbasic.com/html/web-based-visual-workspaces-a-thinkature-wish-list/#comments</comments>
		<pubDate>Wed, 21 Mar 2007 19:26:16 +0000</pubDate>
		<dc:creator>elran</dc:creator>
		
		<category><![CDATA[Everything]]></category>

		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/web-based-visual-workspaces-a-thinkature-wish-list/</guid>
		<description><![CDATA[Over the last few months, i&#8217;ve tested a number of Flash-based online visualization tools, like Gliffy, and i still prefer the opensource, ajax approach. Of these, my favorite right now, is Thinkature.

I&#8217;m not going to do a full blown review of their features since i feel their website does a pretty good job of that [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few months, i&#8217;ve tested a number of Flash-based online visualization tools, like Gliffy, and i still prefer the opensource, ajax approach. Of these, my favorite right now, is <a href="http://thinkature.com">Thinkature</a>.</p>
<p><img style="border:1px solid #000;" id="image181" src="http://techblog.touchbasic.com/html/wp-content/uploads/2007/03/thinkature_logo.gif" alt="thinkature logo" /></p>
<p>I&#8217;m not going to do a full blown review of their features since i feel their website does a pretty good job of that already.<br />
Instead, i thought i&#8217;d make a list of features that i&#8217;d love to see added to Thinkature some time in the near future.</p>
<p>It&#8217;s be cool if:</p>
<ul>
<li>in &#8220;My Workspaces&#8221; i could provide short descriptions (instead of just titles) for each New Workspace i create</li>
<li>in addition to having &#8220;My Workspaces&#8221; and &#8220;Recent Workspaces&#8221;, there was a &#8220;Archived Workspaces&#8221; (and let me archive ones i don&#8217;t use)</li>
<li>in &#8220;My Account&#8221; there was a place where i could set my default landing page from &#8220;My Workspaces&#8221; to &#8220;Recent Workspaces&#8221; (it&#8217;s an extra click every time for me)</li>
<li>in &#8220;My Account&#8221; there was a place where i could turn off those help/notification pop-ups (they slow down my machine and i know my way around by now)</li>
<li>when inside a given workspace, i could click on the &#8220;Workspaces&#8221; icon (bottom-right corner) and get a link to &#8220;Recent Workspaces&#8221; (not just &#8220;Back to Homepage&#8221; and &#8220;Print this Workspace&#8221;)</li>
<li>i could have users of a given workspace add objects to my shared workspace but not delete my objects (that might just be really wishful thinking, no pun intended)</li>
<li>i could just export a given workspace as: jpg or png</li>
</ul>
<p>I&#8217;ll try and keep this list up-to-date with any changes to Thinkature&#8217;s features (and maybe even add more items to this wish list the more i use their service). Also, if you&#8217;ve used this service and have any suggestions of your own, by all means add them to the comments section below.</p>
<p>In the meantime, for those of you who haven&#8217;t tried it out for yourselves, maybe you should. As long as nothing on this list seems like a show-stopper to you, why not give it a go? Personally, i&#8217;m going to keep using Thinkature to help organize and plan abstract ideas and other complex conceptualizations that usually start to make my brain hurt in that special way. For me, some things just won&#8217;t fit into a traditional spreadsheet. They never will, and so theres always going to be room for a web-based service like Thinkature.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/web-based-visual-workspaces-a-thinkature-wish-list/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
