<?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>ImetAndy &#187; How Tos</title>
	<atom:link href="http://imetandy.com/category/how-tos/feed/" rel="self" type="application/rss+xml" />
	<link>http://imetandy.com</link>
	<description>Official Home of Andy Kraft</description>
	<lastBuildDate>Thu, 08 Jul 2010 13:59:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Add Static tags to Buddypress Group Tags</title>
		<link>http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/</link>
		<comments>http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 23:36:15 +0000</pubDate>
		<dc:creator>Andy Kraft</dc:creator>
				<category><![CDATA[How Tos]]></category>

		<guid isPermaLink="false">http://imetandy.com/?p=368</guid>
		<description><![CDATA[Adding static Group Tags using the Buddypress Group Tags plugin is pretty simple. We just need to change a few lines of code to change our input method. What you will need: Buddypress Group Tags plugin version 1.2.2 A code editor, I like; Mac &#8211; Esspresso Windows &#8211; notepad ++ Once you have Buddypress Group [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Adding static Group Tags using the Buddypress Group Tags plugin is pretty simple. We just need to change a few lines of code to change our input method.</p>
<hr />What you will need:</p>
<p><a href="http://buddypress.org/community/groups/buddypress-group-tags/" target="_blank">Buddypress Group Tags plugin</a> version 1.2.2</p>
<p>A code editor, I like;</p>
<p>Mac &#8211; <a href="http://macrabbit.com/espresso/" target="_blank">Esspresso</a></p>
<p>Windows &#8211; <a href="http://notepad-plus-plus.org/" target="_blank">notepad ++</a></p>
<hr />Once you have Buddypress Group Tags version 1.2.2 installed we need to locate the <strong><span style="text-decoration: underline;">bp-group-tags.php </span><span style="font-weight: normal;">file</span><span style="font-weight: normal;">. This file is located in wp-content &gt; plugins &gt; buddypress-group-tags. Locate and open the file with your code editor. </span></strong></p>
<p><strong><span style="font-weight: normal;">Lines 197 -199 determine what input objects are used for the tags. We want to add static buttons for choosing tags. </span></strong></p>
<p><strong><span style="font-weight: normal;">Replace lines 197 &#8211; 199 with our custom code. </span></strong></p>
<p>The code to add custom, static buttons looks like this:</p>
<blockquote><p>&lt;input type=&#8221;checkbox&#8221; name=&#8221;group-tags&#8221; id=&#8221;group-tags&#8221; value=&#8221;insert tag name here&#8221; /&gt;insert tag name here&lt;br&gt;</p></blockquote>
<p>And here is the code in action with two check boxes. One is a Business tag, and the other is an Event tag.</p>
<blockquote><p>&lt;label for=&#8221;group-tags&#8221;&gt;This Group is a;&lt;/label&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;group-tags&#8221; id=&#8221;group-tags&#8221; value=&#8221;Business&#8221; /&gt;Business&lt;br&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;group-tags&#8221; id=&#8221;group-tags&#8221; value=&#8221;Event&#8221; /&gt;Event&lt;br&gt;</p></blockquote>
<p>If you want to remove the Tag Chooser you simply remove line 201 which is:</p>
<blockquote><p>gtags_show_tags_chooser();</p></blockquote>
<p>now save the file and make sure you overwrite the file on your server.</p>
<p>Keep in mind, if you auto update the plugin it will break this edit. You will then have to redo the steps above.</p>
<p><img class="aligncenter size-medium wp-image-371" title="buddypress-logo" src="http://imetandy.com/files/2010/07/buddypress-logo-300x70.gif" alt="" width="300" height="70" /></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Add+Static+tags+to+Buddypress+Group+Tags+-+http://bit.ly/aoMg3F+%28via%40roadblock%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/&amp;t=Add+Static+tags+to+Buddypress+Group+Tags" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/&amp;title=Add+Static+tags+to+Buddypress+Group+Tags" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/&amp;title=Add+Static+tags+to+Buddypress+Group+Tags" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/&amp;title=Add+Static+tags+to+Buddypress+Group+Tags" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/&amp;title=Add+Static+tags+to+Buddypress+Group+Tags" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://imetandy.com/2010/07/04/add-static-tags-to-buddypress-group-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Relocate admin-bar in Buddypress</title>
		<link>http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/</link>
		<comments>http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 15:17:06 +0000</pubDate>
		<dc:creator>Andy Kraft</dc:creator>
				<category><![CDATA[How Tos]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://imetandy.com/?p=120</guid>
		<description><![CDATA[I decided to install and play with Buddypress this weekend. The first thing I wanted to do was move the admin-bar to the bottom of the page. Buddypress is still very young and I expect this to be a feature you can add with a simple click. To make things easy you might want a [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I decided to install and play with Buddypress this weekend. The first thing I wanted to do was move the admin-bar to the bottom of the page. Buddypress is still very young and I expect this to be a feature you can add with a simple click.</p>
<p>To make things easy you might want a code editing program. This will add numbers for each line. It will make it super easy to find the right code to change. I recommend <a title="Notepad++" href="http://notepad-plus.sourceforge.net/uk/site.htm" target="_blank">Notepad++</a> on the PC and <a title="Espresso" href="http://macrabbit.com/espresso/" target="_blank">Espresso</a> on the Mac</p>
<p>First things first. If you havent already renamed your custom.css and site-wide.css file, we need to do that first.</p>
<p>You can find the files in <strong>Themes &gt; bphome &gt; CSS</strong></p>
<p>Rename <strong>custom-sample.css</strong> to <strong>custom.css</strong> and <strong>site-wide-sample.css</strong> to <strong>site-wide.css</strong></p>
<p>This will activate a custom css for us to use without modding core files.</p>
<p>Using a code editing program (listed above) add this code to  <strong>site-wide.css</strong>:</p>
<p>/* Relocate Admin-Bar */<br />
body { padding-top: 0px !important; }<br />
#wp-admin-bar {<br />
bottom: 0 !important;<br />
position: fixed !important;<br />
top: auto !important;<br />
}<br />
#wp-admin-bar ul {<br />
bottom: 27px;<br />
}<br />
#wp-admin-bar ul li:hover ul ul, #wp-admin-bar li.sfhover ul li ul{<br />
bottom: auto;<br />
position: relative;<br />
}</p>
<p>/* END Relocate Admin-bar */</p>
<p>You should have a fully functioning admin-bar at the bottom of the page.</p>
<p>This will not break when you update!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Relocate+admin-bar+in+Buddypress+-+http://bit.ly/cQhMDI+%28via%40roadblock%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/&amp;t=Relocate+admin-bar+in+Buddypress" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/&amp;title=Relocate+admin-bar+in+Buddypress" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/&amp;title=Relocate+admin-bar+in+Buddypress" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/&amp;title=Relocate+admin-bar+in+Buddypress" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/&amp;title=Relocate+admin-bar+in+Buddypress" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://imetandy.com/2009/07/27/relocate-admin-bar-in-buddypress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
