<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
<channel>
	<title>DevFuse Forums - Tutorials: IP.Board 3</title>
	<link>http://www.devfuse.com/forums/tutorials/category/1-ip-board-3/</link>
	<pubDate>Wed, 08 Sep 2010 18:49:44 +0000</pubDate>
	<ttl>1800</ttl>
	<description>IP.Board (IPB) 3 tutorials and articles.</description>
	<item>
		<title>Marking new PM counter in red</title>
		<link>http://www.devfuse.com/forums/tutorials/article/75-marking-new-pm-counter-in-red/</link>
		<description><![CDATA[There were for the 2.x series a few small mods to highlight the unread pm counter in a different colour, typically red so they stood out more.<br />
<br />
With the arrival of the 3.0.x series there was no need for this since we had a pm popup option. However as this has changed to notifications with 3.1.x, some have expressed an interest in having the pm counter to be more visible again. This is very easy to achieve. <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' /><br />
<br />
A small css edit is needed, nothing more. Thanks to Morrigan for pointing me in the right direction with this.<br />
<br />
ACP &gt; Look / Feel &gt; Skin Manager &gt; (choose skin) &gt; Manage Templates / CSS &gt; CSS &gt; ipb_styles.css<br />
<br />
Find this section (its about 1/4 the way down)...<br />
<pre class='prettyprint'>
	#user_navigation #new_msg_count {
		background-color: #528f6c;
		font-weight: bold;
		font-size: 0.9em;
		padding: 3px 7px;
		top: 0px;
		left: 45px;
		position: absolute;
	}
</pre><br />
<br />
Change the background-color line to suit.<br />
<br />
Two quick examples with screenshots:<br />
<br />
Red:<br />
<pre class='prettyprint'>background-color: #ff3300;</pre><br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/mark_pm_red_1.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Blue:<br />
<pre class='prettyprint'>background-color: #3399ff;</pre><br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/mark_pm_red_2.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Don't like those ? , there is a quick reference of sensible colours to choose from here &gt; <a href='http://html-color-codes.com' class='bbc_url' title='External link' rel='nofollow'>http://html-color-codes.com</a><br />
<br />
You may need to re-cache the skin and / or hard fresh your board index to see the change. <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' /><br />
<br />
Note: This will only effect it initially, if you have more than one message once you read one it will change back, this is intentional (and easier to do) as its intended to just highlight the initial need to check your inbox.]]></description>
		<pubDate>Sun, 08 Aug 2010 12:06:53 +0000</pubDate>
		<guid isPermaLink="false">75</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Adding more post icons</title>
		<link>http://www.devfuse.com/forums/tutorials/article/74-adding-more-post-icons/</link>
		<description><![CDATA[In this tutorial I will explain how to add more post icons <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' /><br />
<br />
Two essential requirements:<br />
<br />
The icons must all be the same size (I just used some emoticons to replace the default post icons) , if you do not have equal sizes it will look very messy and unspaced<br />
<br />
Make sure you keep the ones you want in the same place (ie icon1.gif is a smile so if replacing it be aware that existing topics that had this will have the replacement)<br />
<br />
In this tutorial am going to go from the default of 14 icons to 18 (so I am adding four) , and using some emoticons to replace the existing icons with some slightly better ones<br />
<br />
First step is to pick your post icons, name them correctly (icon1.gif , icon2.gif etc etc) and upload them here...<br />
<br />
<em class='bbc'>/public/style_extra/post_icons</em><br />
<br />
So it looks like this:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/post_icons_3_1.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Another image so you can see what I have:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/post_icons_3_2.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Next step is to edit the template html to allow IPB to display them, take your time with this as its quite easy to get it wrong. Look carefully. <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' /><br />
<br />
ACP &gt; Look / Feel &gt; Skin Manager &gt; (edit skin) &gt; Manage Templates / CSS &gt; Post Screen &gt; PostFormTemplate:<br />
<br />
Find...<br />
<br />
<pre class='prettyprint'>		&lt;ul id='post_icons'&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="1"&lt;if test="posticon1:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'1'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon1.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="2"&lt;if test="posticon2:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'2'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon2.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="3"&lt;if test="posticon3:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'3'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon3.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="4"&lt;if test="posticon4:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'4'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon4.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="5"&lt;if test="posticon5:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'5'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon5.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="6"&lt;if test="posticon6:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'6'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon6.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="7"&lt;if test="posticon7:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'7'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon7.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li class='clear'&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="8"&lt;if test="posticon8:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'8'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon8.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="9"&lt;if test="posticon9:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'9'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon9.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="10"&lt;if test="posticon10:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'10'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon10.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="11"&lt;if test="posticon11:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'11'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon11.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="12"&lt;if test="posticon12:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'12'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon12.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="13"&lt;if test="posticon13:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'13'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon13.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="14"&lt;if test="posticon14:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'14'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon14.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li class='clear'&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="0"&lt;if test="posticon0:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'0'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;&nbsp;{$this-&gt;lang-&gt;words&#91;'picons_none'&#93;}
			&lt;/li&gt;
		&lt;/ul&gt;</pre><br />
<br />
Replace with:<br />
<br />
<pre class='prettyprint'>		&lt;ul id='post_icons'&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="1"&lt;if test="posticon1:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'1'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon1.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="2"&lt;if test="posticon2:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'2'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon2.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="3"&lt;if test="posticon3:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'3'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon3.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="4"&lt;if test="posticon4:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'4'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon4.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="5"&lt;if test="posticon5:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'5'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon5.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="6"&lt;if test="posticon6:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'6'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon6.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="7"&lt;if test="posticon7:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'7'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon7.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="15"&lt;if test="posticon15:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'15'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon15.gif" alt='' /&gt;
			&lt;/li&gt;			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="16"&lt;if test="posticon16:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'16'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon16.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li class='clear'&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="8"&lt;if test="posticon8:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'8'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon8.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="9"&lt;if test="posticon9:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'9'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon9.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="10"&lt;if test="posticon10:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'10'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon10.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="11"&lt;if test="posticon11:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'11'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon11.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="12"&lt;if test="posticon12:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'12'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon12.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="13"&lt;if test="posticon13:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'13'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon13.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="14"&lt;if test="posticon14:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'14'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon14.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="17"&lt;if test="posticon17:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'17'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon17.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="18"&lt;if test="posticon18:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'18'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/icon18.gif" alt='' /&gt;
			&lt;/li&gt;
			&lt;li class='clear'&gt;
				&lt;input type="radio" class="input_radio" name="iconid" value="0"&lt;if test="posticon0:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'0'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;&nbsp;{$this-&gt;lang-&gt;words&#91;'picons_none'&#93;}
			&lt;/li&gt;
		&lt;/ul&gt;</pre><br />
<br />
I've added two extra ones to the top line (15 and 16) and two to the second line (17 and 18)<br />
<br />
To add more (or less) , note the structure of each post icon...<br />
<br />
<pre class='prettyprint'>				&lt;input type="radio" class="input_radio" name="iconid" value="X"&lt;if test="posticonX:|:isset( $formData&#91;'postIconSelected'&#93;&#91;'X'&#93; )"&gt; checked="checked"&lt;/if&gt; /&gt;&nbsp;
				&lt;img src="{$this-&gt;settings&#91;'mime_img'&#93;}/style_extra/post_icons/iconX.gif" alt='' /&gt;
			&lt;/li&gt;</pre><br />
<br />
X being the icon ID, note it appears four times for each.<br />
<br />
To force a new line, you`ll notice instead of having a...<br />
<pre class='prettyprint'>&lt;li&gt;</pre><br />
<br />
You use a <pre class='prettyprint'>&lt;li class='clear'&gt;</pre><br />
<br />
... for each starting icon of that new line.<br />
<br />
This is something I would highly recommend you try on a test board till you are happy with it as it can get messy if you get it anything wrong, its not difficult to do but you do need to watch the spacing carefully.<br />
<br />
My end result screenshot:<br />
<br />
<img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/post_icons_3_3.png' alt='Posted Image' class='bbc_img' />]]></description>
		<pubDate>Sat, 07 Aug 2010 11:37:07 +0000</pubDate>
		<guid isPermaLink="false">74</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Image Background in Username</title>
		<link>http://www.devfuse.com/forums/tutorials/article/73-image-background-in-username/</link>
		<description><![CDATA[I used a 150x25 px image, the long length was so that longer group names did not result in any repeat being needed as in the images below you can see this length worked for me but you can alter it to suit your own needs :<br />
<br />
<img src='http://www.planet-bytes.org.uk/forums/uploads/images/PB-1281086715-U1.gif' alt='Posted Image' class='bbc_img' /><br />
<img src='http://www.planet-bytes.org.uk/forums/uploads/images/PB-1281086749-U1.gif' alt='Posted Image' class='bbc_img' /><br />
<br />
In your ACP, add into usergroups/Group Formatting Prefix:<br />
<br />
<pre class='prettyprint'>&lt;span style="font-weight:bold;border:silver solid 1px;color:#FF0000;background-image:url('http&#58;//www.xxxxxxxxxxx/forums/public/background1.gif')" &gt;</pre><br />
<br />
<br />
<br />
Font-weight,border: and color: can all be edited to suit your own needs,<br />
Hope this helps anyone else who is trying to do this<br />
<br />
John <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Fri, 06 Aug 2010 10:00:30 +0000</pubDate>
		<guid isPermaLink="false">73</guid>
		<creator>planetby</creator>
		<category>1</category>
	</item>
	<item>
		<title>Hiding the latest visitors block</title>
		<link>http://www.devfuse.com/forums/tutorials/article/72-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.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Sat, 24 Jul 2010 18:24:04 +0000</pubDate>
		<guid isPermaLink="false">72</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title><![CDATA[Adjusting Today's Top Posters]]></title>
		<link>http://www.devfuse.com/forums/tutorials/article/71-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. <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' /><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:41:08 +0000</pubDate>
		<guid isPermaLink="false">71</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Adusting the number of Recently Added Topics</title>
		<link>http://www.devfuse.com/forums/tutorials/article/70-adusting-the-number-of-recently-added-topics/</link>
		<description><![CDATA[To adjust the number of Recently Added Topics displayed on the index sidebar hook on IP.Board 3.1, 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 11:01:51 +0000</pubDate>
		<guid isPermaLink="false">70</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title><![CDATA[Restoring the 'About Me' tab as default]]></title>
		<link>http://www.devfuse.com/forums/tutorials/article/69-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.devfuse.com/forums/public/style_emoticons/default/happy.png' 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:30:37 +0000</pubDate>
		<guid isPermaLink="false">69</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Hiding Board Statistics From Guests</title>
		<link>http://www.devfuse.com/forums/tutorials/article/68-hiding-board-statistics-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><br />
<br />
Save the changes and you're done <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Thu, 01 Jul 2010 17:18:29 +0000</pubDate>
		<guid isPermaLink="false">68</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Adding custom avatars</title>
		<link>http://www.devfuse.com/forums/tutorials/article/67-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>Sat, 26 Jun 2010 11:05:59 +0000</pubDate>
		<guid isPermaLink="false">67</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
	<item>
		<title>Adjusting status updates limit for 3.1.x</title>
		<link>http://www.devfuse.com/forums/tutorials/article/66-adjusting-status-updates-limit-for-31x/</link>
		<description><![CDATA[Adjusting the number of status updates displayed is very easy to do with just a tiny edit. This quick article is for 3.1.x only as adjusting it on 3.0.5 a simple matter of editing 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 (3 or 5 seems to be a popular choice), taking care not to disturb any of the syntax and save. <img src='http://www.devfuse.com/forums/public/style_emoticons/default/happy.png' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Sat, 26 Jun 2010 11:05:04 +0000</pubDate>
		<guid isPermaLink="false">66</guid>
		<creator>AndyF</creator>
		<category>1</category>
	</item>
</channel>
</rss>