<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title>Coders Refuge Tutorials</title>
	<link>http://www.codersrefuge.com/index.php?app=tutorials</link>
	<pubDate>Sat, 31 Jul 2010 16:22:36 +0000</pubDate>
	<ttl>1800</ttl>
	<description>Tutorials from all available categories.</description>
	<item>
		<title>Hiding the latest visitors block</title>
		<link>http://www.codersrefuge.com/tutorials/article/65-hiding-the-latest-visitors-block/</link>
		<description><![CDATA[Although individual members can choose to turn this off or specify how many last visitors to show, some administrators may prefer to not give this option and wish to hide the block globally.<br />
<br />
This is easy to achieve with a small skin edit.<br />
<br />
ACP &gt; Look / Feel &gt; Skin Manager &gt; (choose skin) &gt; Manage Templates / CSS &gt; Profiles &gt; ProfileModern<br />
<br />
Find (about 3/4 the way down)...<br />
<pre class='prettyprint'>&lt;if test="latest_visitors:|:$member&#91;'pp_setting_count_visitors'&#93;"&gt;</pre><br />
<br />
Change to <pre class='prettyprint'>&lt!--&lt;if test="latest_visitors:|:$member&#91;'pp_setting_count_visitors'&#93;"&gt;</pre><br />
<br />
Scroll down a bit, find...<br />
<pre class='prettyprint'>					&lt;p class='no_messages'&gt;{$this-&gt;lang-&gt;words&#91;'no_latest_visitors'&#93;}&lt;/p&gt;
				&lt;/if&gt;
			&lt;/div&gt;
		&lt;/if&gt;</pre><br />
<br />
Change to...<br />
<pre class='prettyprint'>					&lt;p class='no_messages'&gt;{$this-&gt;lang-&gt;words&#91;'no_latest_visitors'&#93;}&lt;/p&gt;
				&lt;/if&gt;
			&lt;/div&gt;
		&lt;/if&gt;--&gt;</pre><br />
<br />
That will hide it neatly. <img src='http://www.codersrefuge.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Sat, 24 Jul 2010 18:26:43 +0000</pubDate>
		<guid isPermaLink="false">65</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title><![CDATA[Adjusting Today's Top Posters]]></title>
		<link>http://www.codersrefuge.com/tutorials/article/64-adjusting-todays-top-posters/</link>
		<description><![CDATA[A quick tutorial on how to adjust the number of members shown in the 'Today's Top Posters' hook on the board index. This is for IP.Board 3.1.x<br />
<br />
A small file edit is required. Connect via FTP.<br />
<br />
Open /hooks/boardIndexTopPosters_**number**.php<br />
<br />
Find...(around line 61)<br />
<pre class='prettyprint'>'limit'	   =&gt; array( 0, 9 ),</pre><br />
<br />
Adjust the 9 there, taking care not to disturb the rest of the syntax or any other lines.<br />
<br />
Save.<br />
<br />
I would recommend you stay with a multiple of 3 to keep it tidy, the most common value here to replace the default of 9 is typically 6 or 3.<br />
<br />
You will need to re-perform this edit if the hook is recached (such as an upgrade) but it will only take a moment to do so.]]></description>
		<pubDate>Sun, 11 Jul 2010 19:33:09 +0000</pubDate>
		<guid isPermaLink="false">64</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Adusting the number of Recently Added Topics</title>
		<link>http://www.codersrefuge.com/tutorials/article/63-adusting-the-number-of-recently-added-topics/</link>
		<description><![CDATA[This tutorial refers to IP.Board 3.1.x<br />
<br />
To adjust the number of Recently Added Topics, a small file edit is required.<br />
<br />
Connect via FTP.<br />
<br />
Look in &#092;admin&#092;applications&#092;forums&#092;sources&#092;classes&#092;forums&#092;<br />
<br />
Edit class_forums.php, around line 2495, find...<br />
<pre class='prettyprint'>$_topics = array_slice( $topicIDs, 0, 5 );</pre><br />
<br />
Adjust the <strong class='bbc'>5</strong> there to what you require (3 or 10 seems to be popular choices, although setting this too high can cause performance issues) and save, taking care not to disturb any other lines or the syntax.]]></description>
		<pubDate>Tue, 06 Jul 2010 10:59:06 +0000</pubDate>
		<guid isPermaLink="false">63</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title><![CDATA[Restoring the 'About Me' tab as default]]></title>
		<link>http://www.codersrefuge.com/tutorials/article/61-restoring-the-about-me-tab-as-default/</link>
		<description><![CDATA[It's very easy to restore the About Me tab as the default when viewing a members profile.<br />
<br />
Two small files edits are needed.<br />
<br />
Connect via FTP<br />
<br />
Open /admin/applications/members/extensions/profileTabs/status.conf.php<br />
<br />
Find...(about line 50)<br />
<pre class='prettyprint'>$CONFIG&#91;'plugin_order'&#93; = 1;</pre><br />
<br />
Change to...<br />
<pre class='prettyprint'>$CONFIG&#91;'plugin_order'&#93; = 2;</pre><br />
<br />
Save.<br />
<br />
<br />
Open /admin/applications/members/extensions/profileTabs/aboutme.conf.php<br />
<br />
Find...(about line 50)<br />
<pre class='prettyprint'>$CONFIG&#91;'plugin_order'&#93; = 2;</pre><br />
<br />
Change to...<br />
<pre class='prettyprint'>$CONFIG&#91;'plugin_order'&#93; = 1;</pre><br />
<br />
Save.<br />
<br />
<br />
You are done. <img src='http://www.codersrefuge.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> , two quick screenshots of before and after:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/change_profile_tab_default_1.png' alt='Posted Image' class='bbc_img' /><br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/change_profile_tab_default_2.png' alt='Posted Image' class='bbc_img' />]]></description>
		<pubDate>Mon, 05 Jul 2010 12:25:47 +0000</pubDate>
		<guid isPermaLink="false">61</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Hiding board stats from guests</title>
		<link>http://www.codersrefuge.com/tutorials/article/60-hiding-board-stats-from-guests/</link>
		<description><![CDATA[Its easy to hide the statistics block from guests, here is a quick tutorial on how to do just that.<br />
<br />
ACP &gt; Look / Feel &gt; Skin Manager &gt; (choose skin) &gt; Click grey button on right &gt; Manage Templates / CSS &gt; <br />
<br />
Board Index &gt; BoardIndexTemplate<br />
<br />
About 3/4 the way down, find...<br />
<pre class='prettyprint'>&lt;div id='board_statistics' class='statistics general_box clearfix'&gt;</pre><br />
<br />
Change to...<br />
<pre class='prettyprint'>&lt;if test="$this-&gt;memberData&#91;'member_id'&#93;"&gt;&lt;div id='board_statistics' class='statistics general_box clearfix'&gt;</pre><br />
<br />
Scroll to the end of that template, find...<br />
<pre class='prettyprint'>&lt;/if&gt;</pre><br />
<br />
Change to...<br />
<pre class='prettyprint'>&lt;/if&gt;&lt;/if&gt;</pre>]]></description>
		<pubDate>Thu, 01 Jul 2010 17:14:35 +0000</pubDate>
		<guid isPermaLink="false">60</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Adjusting the number of status updates</title>
		<link>http://www.codersrefuge.com/tutorials/article/59-adjusting-the-number-of-status-updates/</link>
		<description><![CDATA[Adjusting the number of status updates displayed is very easy to do with just a tiny edit. This tutorial is for 3.1.x as adjusting it on 3.0.5 a simple matter of adjusting the hook itself, whereas 3.1 has it in a different location.<br />
<br />
Connect via FTP.<br />
<br />
Look in /admin/applications/members/sources/classes/hooks/gateway.php<br />
<br />
Find (near the end of the file, around line 84)...<br />
<pre class='prettyprint'>$statuses = $statuses = $this-&gt;registry-&gt;getClass('memberStatus')-&gt;fetch( $this-&gt;memberData, array( 'limit' =&gt; 10, 'status_is_latest' =&gt; 1 ) );</pre><br />
<br />
Change the 10 there to what you require, taking care not to disturb any of the syntax and save.]]></description>
		<pubDate>Sat, 26 Jun 2010 10:50:14 +0000</pubDate>
		<guid isPermaLink="false">59</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Adding custom avatars</title>
		<link>http://www.codersrefuge.com/tutorials/article/58-adding-custom-avatars/</link>
		<description><![CDATA[It's quite easy to add custom avatars to your board for your members to choose from. I will explain in this simple tutorial how to do this.<br />
<br />
Firstly, collect the avatars you wish to add (.gif, .jpg and .png are suitable, do not use .bmp) and put them into a folder each on your desktop. Name each folder appropriately. It's best not to put more than about 20 to 30 into each folder. You can name the avatars numerically or however you wish. Obviously you cannot have two with the same name in the same folder.<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/avatar_folders_1.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Remember you cannot use a space in the folder name. If you wish to have a space use an underscore, so for example "cats and dogs" becomes "cats_and_dogs", the underscore will not show on your board.<br />
<br />
Connect via FTP. Look inside /public/style_avatars. By default it will look something like this:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/avatar_folders_2.png' alt='Posted Image' class='bbc_img' /><br />
<br />
The images that are just in that directory are the ones in the "Base Gallery" , you can also see the two default avatar directories present here too. You can remove those if you wish to.<br />
<br />
Download the index.htm file you see and place a copy of it into each folder you have created on your desktop. You can see here I have added the index.htm file into the the 'dice' folder I made. Adding this file will prevent the directory being listed if someone visits it directly, and is a sensible measure to take.<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/avatar_folders_4.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Simply upload your newly created folders into /public/style_avatars now. The permissions should be OK, but if in doubt ensure the directories you uploaded are 755 and the avatars themselves are 644.<br />
<br />
You can see from my example, I have simply added my new folders to the existing ones:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/avatar_folders_3.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Which results in the folders being listed:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/avatar_folders_5.png' alt='Posted Image' class='bbc_img' /><br />
<br />
And finally the avatars themselves:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/avatar_folders_6.png' alt='Posted Image' class='bbc_img' />]]></description>
		<pubDate>Fri, 25 Jun 2010 20:12:37 +0000</pubDate>
		<guid isPermaLink="false">58</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title><![CDATA[[IP.Board 3.1.X] Show emoticons in members status]]></title>
		<link>http://www.codersrefuge.com/tutorials/article/56-ipboard-31x-show-emoticons-in-members-status/</link>
		<description><![CDATA[Open <strong class='bbc'>admin/sources/classes/member/status.php</strong> and find:<br />
<br />
<pre class='prettyprint'>			$statuses&#91; $row&#91;'status_id'&#93; &#93; = $row;</pre><br />
Add above:<br />
<br />
<pre class='prettyprint'>			$row&#91;'status_content'&#93; = IPSText::getTextClass( 'bbcode' )-&gt;preDisplayParse( IPSText::getTextClass( 'bbcode' )-&gt;preDbParse( $row&#91;'status_content'&#93; ) );</pre><br />
<br />
Shows in hooks sidebar, profile and member card:<br />
<br />
<br />
<img src='http://forum.sosinvision.com.br/uploads/images/SOS-1275652564-U1.png' alt='Posted Image' class='bbc_img' /><br />
<br />
<img src='http://www.codersrefuge.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Fri, 04 Jun 2010 11:57:15 +0000</pubDate>
		<guid isPermaLink="false">56</guid>
		<creator>Adriano</creator>
		<category>1</category>
	</item>
	<item>
		<title>Add Volume Control to MP3 Player</title>
		<link>http://www.codersrefuge.com/tutorials/article/54-add-volume-control-to-mp3-player/</link>
		<description><![CDATA[<strong class='bbc'>Editing the bbcode</strong><br />
Once in the <strong class='bbc'>ACP</strong> go to <strong class='bbc'>Look&feel</strong>, under <strong class='bbc'>post content </strong>click on <strong class='bbc'>Manage Media BBCode</strong><br />
<br />
Replace the  Media Replacement HTML with:<br />
<pre class='prettyprint'>&lt;object type="application/x-shockwave-flash" data="{board_url}/public/mp3player.swf" width="300" height="40"&gt;&lt;param name="movie" value="{board_url}/public/mp3player.swf" /&gt;&lt;param name="FlashVars" value="mp3=$1.mp3&autoplay=0&loop=0&showvolume=1&showstop=1&showinfo=1" /&gt;&lt;/object&gt;</pre><br />
<br />
<strong class='bbc'>Download: <a href="http://www.codersrefuge.com/index.php?app=core&module=attach&section=attach&attach_id=810" title="Download attachment"><img src="http://www.codersrefuge.com/public/style_extra/mime_types/zip.gif" alt="Attached File" /></a>
&nbsp;<a href="http://www.codersrefuge.com/index.php?app=core&module=attach&section=attach&attach_id=810" title="Download attachment">mp3player.zip</a> <span class='desc'><strong>(6.64K)</strong></span>
<br /><span class="desc info">Number of downloads: 649</span><br />
Add to: <strong class='bbc'>Forum Dir/Public/</strong><br />
<br />
[b]Result:</strong><br />
<a class='resized_img' rel='lightbox[54]' id='ipb-attach-url-811-0-52674200 1280593356' href="http://www.codersrefuge.com/index.php?app=core&module=attach&section=attach&attach_rel_module=tutorials&attach_id=811" title="mp3player.png - Size: 2.07K, Downloads: 631"><img src="http://www.codersrefuge.com/uploads/monthly_05_2010/tutorials-34-127268835959_thumb.png" id='ipb-attach-img-811-0-52674200 1280593356' style='width:100;height:18' class='attach' width="100" height="18" alt="Attached Image: mp3player.png" /></a><br />
<br />
Note: You Will Need To Rebuild Post Content to update the bbcode for currently posted content]]></description>
		<pubDate>Sat, 01 May 2010 04:33:25 +0000</pubDate>
		<guid isPermaLink="false">54</guid>
		<creator>atsaunier</creator>
		<category>1</category>
	</item>
	<item>
		<title>Tabbed Categories</title>
		<link>http://www.codersrefuge.com/tutorials/article/53-tabbed-categories/</link>
		<description><![CDATA[This tutorial will show you how to add Tabbed Categories To your Forum. <br />
<br />
<a href='http://www.screencast.com/users/IbeFreddyG/folders/Jing/media/cdff0330-2342-4164-b769-0f80e5d97f4e' class='bbc_url' title='External link' rel='nofollow external'>Click Here to see it in action!</a><br />
<br />
If you want buy me a redbull! - (for the tutorial not the tab script) <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FredericoJGonzalez%40Gmail%2ecom&lc=US&item_name=Freddy%20Gonzalez&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted' class='bbc_url' title='External link' rel='nofollow external'><img src='https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif' alt='Posted Image' class='bbc_img' /></a><br />
<br />
<strong class='bbc'>Dependencies:</strong><br />
<ul class='bbc'><li>jQuery<br /></li><li>jwTabs (attached)</li></ul><br />
<br />
A brief note: Jeffrey-Way.com is under construction. If me attaching the script to the record please contact me and I will remove it asap!<br />
<br />
<hr class='bbc' /><br />
<br />
<em class='bbc'><span style='font-size: 17px;'>Lets Get Started!</span></em><br />
<br />
<strong class='bbc'>First Upload: jwTabs.js (attached) to /public/js</strong><br />
<strong class='bbc'>Second: Go to ACP &gt; Look & Feel &gt; {YourSkin} &gt; Global Templates &gt; globalTemplate</strong><br />
<strong class='bbc'>Find:</strong> <pre class='prettyprint'>&lt;/head&gt;</pre><br />
<strong class='bbc'>Add Before:</strong><br />
<pre class='prettyprint'>
		&lt;script type="text/javascript" src="http&#58;//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"&gt;&lt;/script&gt;
		&lt;script type="text/javascript" src="{$this-&gt;settings&#91;'public_dir'&#93;}/js/jwTabs.js"&gt;&lt;/script&gt;
		&lt;script type="text/javascript"&gt;
		 jQuery.noConflict();
		jQuery(document).ready(function(){
			jQuery('#categories').jwTabs({
				fade : 200,
				tabTitleReference : 'h3 a:eq(1)',
			});
		});
		&lt;/script&gt;
</pre><br />
<br />
Thats It!<br />
<hr class='bbc' /><br />
<strong class='bbc'>Optional: Press the CSS Tab - ipb_styles.css </strong><br />
Add to the bottom:<br />
<pre class='prettyprint'>
ul#tab-items li { display:inline; margin-right:10px; }
ul#tab-items li.tab-selected a { text-decoration:none; font-weight:bold; }
</pre>]]></description>
		<pubDate>Sat, 10 Apr 2010 23:43:48 +0000</pubDate>
		<guid isPermaLink="false">53</guid>
		<creator>I am Freddy G</creator>
		<category>1</category>
	</item>
</channel>
</rss>