<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
<channel>
	<title>IP.Board Latest Tutorials</title>
	<description>Invision Power Board latest tutorials and articles rss feed.</description>
	<link>http://www.devfuse.com/forums/index.php</link>
	<pubDate>Thu, 02 Jul 2009 16:00:22 -0500</pubDate>
	<ttl>120</ttl>
	<item>
		<title>How to install a hook</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=3150</link>
		<description><![CDATA[This is a detailed tutorial on how to install a hook. Some other hooks may require additional steps, so always check the readme/instructions files provided when you download a hook. For the purposes of this tutorial, I'll be using the Guest Message hook as an example.<br /><br /><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Step One</b><!--sizec--></span><!--/sizec--><br />Download the hook and unzip it's contents into a folder on your desktop. Most hook will have a basic folder structure like this. Where the hook xml file is usually in the root folder along with the readme or instructions file. Some hooks may have additional contents that needs to be uploaded such as the Guest Message hook, so check with the hooks readme/instructions file for additional instructions.<br /><br /><img src="http://i41.tinypic.com/zmlidd.jpg" border="0" class="linked-image" /><br /><br /><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Step Two</b><!--sizec--></span><!--/sizec--><br />In your browser open up your Admin CP and navigate to the System Tab then on the left side menu locate the Applications & Modules block then click the Manage Modules link.<br /><br /><img src="http://i42.tinypic.com/jagc4j.jpg" border="0" class="linked-image" /><br /><br />Navigate to the bottom of this page and in the Install a New Hook section, click the Browse book and locate the hooks xml file.<br /><br /><img src="http://i42.tinypic.com/2yodfmc.jpg" border="0" class="linked-image" /><br /><br />Click the Install button and wait until you see this success message. If any errors occur, report them to the hooks author.<br /><br /><img src="http://i44.tinypic.com/osd18y.jpg" border="0" class="linked-image" /><br /><br /><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Requirements</b><!--sizec--></span><!--/sizec--><br /><ol type='1'><li>You'll need the latest version of the IPB 3.0.x series.</li><li>Zip program to unzip the applications contents, most hooks will be zipped. A good free one is <a href="http://www.7-zip.org/" target="_blank">7-zip</a>.</li></ol>]]></description>
		<pubDate>Wed, 24 Jun 2009 22:22:55 -0500</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=3150</guid>
	</item>
	<item>
		<title>How to install an application</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=3149</link>
		<description><![CDATA[This is a detailed tutorial on how to install an application. Some other applications may require additional steps, so always check the readme/instructions files provided when you download an application. For the purposes of this tutorial, I'll be using the Global Messages application as an example.<br /><br /><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Step One</b><!--sizec--></span><!--/sizec--><br />Download the application and unzip it's contents into a folder on your desktop. Most applications will have a basic folder structure like this. Where the files/folders to upload will be placed within one folder, any documentation will be placed in another. And the readme or instructions file will be placed in the root directory.<br /><br /><img src="http://i44.tinypic.com/2mctvd5.jpg" border="0" class="linked-image" /><br /><br /><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Step Two</b><!--sizec--></span><!--/sizec--><br />Open your ftp client, in this example our's being FileZilla and connect to your site. Navigate the contents of the applications upload folder. Now navigate to the root folder of your forum. And copy the contents of that upload folder over to your forums root folder like so.<br /><br /><img src="http://i39.tinypic.com/2n20jmq.jpg" border="0" class="linked-image" /><br /><br /><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Step Three</b><!--sizec--></span><!--/sizec--><br />Now that you have successfully uploaded the application you'll need to install it through the Admin CP. In your browser open up your Admin CP and navigate to the System Tab then on the left side menu locate the Applications & Modules block then click the Manage Applications & Modules link.<br /><img src="http://i39.tinypic.com/sytbvb.jpg" border="0" class="linked-image" /><br /><br />Navigate to the bottom of this page and in the Applications Not Installed section, locate the application you've just uploaded and click the Install link. In this example we will install the Global Messages application.<br /><br /><img src="http://i42.tinypic.com/1pjvrp.jpg" border="0" class="linked-image" /><br /><br />On the next page you begin the application setup utility, which will display information about the application version as well as the application author. In the duplicate tables dropdown, usually that should be left alone, especially if upgrading from IPB2.3.6. But it's best to check with the application author or readme/instructions file before changing this dropdown.<br /><br /><img src="http://i39.tinypic.com/2mnm5uw.jpg" border="0" class="linked-image" /><br /><br />Click the Continue button and the application will automatically redirect through each step until your prompted with a successful installation page. If for some reason the application installer stops and produces any errors, report those errors to the application author.<br /><br /><img src="http://i43.tinypic.com/154hj5x.jpg" border="0" class="linked-image" /><br /><br /><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Requirements</b><!--sizec--></span><!--/sizec--><br /><ol type='1'><li>Unlike hooks, you'll still need to upload some files to your forums folder. The easiest way being via FTP. A good free one is <a href="http://filezilla-project.org/" target="_blank">FileZilla</a>.</li><li>You'll need the latest version of the IPB 3.0.x series.</li><li>Zip program to unzip the applications contents, most applications will be zipped. A good free one is <a href="http://www.7-zip.org/" target="_blank">7-zip</a>.</li></ol>]]></description>
		<pubDate>Wed, 24 Jun 2009 21:49:36 -0500</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=3149</guid>
	</item>
	<item>
		<title>Deleting emoticons via FTP</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2947</link>
		<description><![CDATA[This simple tutorial will learn you how to delete emoticons with FTP  <img src="http://www.devfuse.com/forums/style_emoticons/default/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" />.<br /><br /><ol type='1'><b></li><li></b>You need a FTP-Program. (I reccomend <a href="http://filezilla-project.org/" target="_blank">Filezilla</a>)<br /><b></li><li></b>Log in to your server with own settings.<br /><b></li><li></b>Go to the path of your forums.<br /><b></li><li></b>Go to <i>style_emoticons</i><br /><b></li><li></b>Choose the set you want. Mostly it is '<i>default</i>'<br /><b></li><li></b>Delete the emoticons that you don't want anymore.<br /><b></li><li></b><i>Your Done!</i></li></ol><br /><br /><i>Greetz,<br />DragonFly</i><br /><br /><div align='right'><!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo--><i>© Zamg0d1 / DragonFly - Rip = R.I.P</i><!--sizec--></span><!--/sizec--></div>]]></description>
		<pubDate>Sat, 09 May 2009 16:19:50 -0500</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2947</guid>
	</item>
	<item>
		<title><![CDATA[[IPB 3.0.x] Database Queries]]></title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2456</link>
		<description><![CDATA[IP.Board 3.30.x comes with a built in database class. This will perform just about any database query you may have. Below are some of the basics.<br /><br />Database Select<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$this-&#62;DB-&#62;build&#40; array&#40; 'select' =&#62; '*', 'from' =&#62; 'db_table' &#41; &#41;; <br />&nbsp;&nbsp;$this-&#62;DB-&#62;execute&#40;&#41;;<br />&nbsp;&nbsp;$r = $this-&#62;DB-&#62;fetch&#40;&#41;;<!--c2--></div><!--ec2--><br /><br />Database Insert<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$this-&#62;DB-&#62;insert&#40; 'db_table', array &#40; 'row1' =&#62; &#34;row1&#34;, 'row2' =&#62; &#34;row2&#34;, 'row3' =&#62; &#34;row3&#34;, &#41; &#41;;<!--c2--></div><!--ec2--><br /><br />Database Delete<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$this-&#62;DB-&#62;delete&#40; 'db_table', 'id=1' &#41;;<!--c2--></div><!--ec2--><br /><br />You can also add different code to your query, including where, order and limit.<br /><br />Where<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->'where' =&#62; 'id=1'<!--c2--></div><!--ec2--><br /><br />Order<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->'order' =&#62; 'date DESC'<!--c2--></div><!--ec2--><br /><br />Limit<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->'limit' =&#62; array&#40;0,1&#41;<!--c2--></div><!--ec2--> <br /><br />Some areas of IP.Board 3 may require you to setup the DB object at the construct like so.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$this-&#62;DB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = $this-&#62;registry-&#62;DB&#40;&#41;;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Wed, 25 Feb 2009 04:38:45 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2456</guid>
	</item>
	<item>
		<title>New IPB 3.0.x code changes</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2433</link>
		<description><![CDATA[While I'm converting my own mods I've been building a list of changes. I'll be updating this list as I add new code changes as well as new beta or RC changes. <b>This so far is compatible with IPB 3 Beta 3.</b><br /><br /><b>Database Changes</b><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;simple_contruct<br />New: $this-&gt;DB-&gt;build<br /><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;simple_exec<br /> New: $this-&gt;DB-&gt;execute<br /><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;simple_exec_query<br /> New: $this-&gt;DB-&gt;buildAndFetch<br /><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;get_num_rows<br />  New: $this-&gt;DB-&gt;GetTotalRows<br /><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;fetch_row<br />  New: $this-&gt;DB-&gt;fetch<br /><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;do_update<br />   New: $this-&gt;DB-&gt;update<br /><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;do_delete<br />    New: $this-&gt;DB-&gt;delete<br /><br />Old: $this-&gt;ipsclass-&gt;DB-&gt;do_insert<br />     New: $this-&gt;DB-&gt;insert<br /><br /><br /><b>Old Ipsclass</b><br />Old: $this-&gt;ipsclass-&gt;vars<br />New: $this-&gt;settings<br /><br />Old: $this-&gt;ipsclass-&gt;lang<br />New: $this-&gt;lang-&gt;words<br /><br />Old: $this-&gt;ipsclass-&gt;member<br />New: $this-&gt;memberData<br /><br />Old: $this-&gt;ipsclass-&gt;cache<br />New: $this-&gt;caches<br /><br />Old: $this-&gt;ipsclass-&gt;Error<br /> New: $this-&gt;registry-&gt;output-&gt;showError<br />(Can pass the full text as the first parameter instead of an array with MSG in it.)<br /><br /><br /><b>Url Changes</b><br />Old: autocom=<br />New: app=<br /><br />Old: code=<br /> New: do=<br /><br /><br />IPB3 no longer uses the ipsclass in it's code. Instead the objects are setup and available in applications like above coding illustrates. Some parts of IPB3 require you to setup the objects on your construct function. Example of this is below.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->/* Make registry objects */<br /> $this-&#62;registry&nbsp;&nbsp;&nbsp;&nbsp;= $registry;<br /> $this-&#62;DB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= $this-&#62;registry-&#62;DB&#40;&#41;;<br /> $this-&#62;settings =& $this-&#62;registry-&#62;fetchSettings&#40;&#41;;<br /> $this-&#62;request&nbsp;&nbsp;=& $this-&#62;registry-&#62;fetchRequest&#40;&#41;;<br /> $this-&#62;lang&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= $this-&#62;registry-&#62;getClass&#40;'class_localization'&#41;;<br /> $this-&#62;member&nbsp;&nbsp;&nbsp;&nbsp;= $this-&#62;registry-&#62;member&#40;&#41;;<br /> $this-&#62;memberData =& $this-&#62;registry-&#62;member&#40;&#41;-&#62;fetchMemberData&#40;&#41;;<br /> $this-&#62;cache&nbsp;&nbsp;&nbsp;&nbsp;= $this-&#62;registry-&#62;cache&#40;&#41;;<br /> $this-&#62;caches&nbsp;&nbsp; =& $this-&#62;registry-&#62;cache&#40;&#41;-&#62;fetchCaches&#40;&#41;;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Tue, 24 Feb 2009 06:27:40 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2433</guid>
	</item>
	<item>
		<title>Add link to primary navigation</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2431</link>
		<description><![CDATA[This tutorial will show you how to add another link in the primary navigation area, like pictured below.<br /><br /><img src="http://i43.tinypic.com/2hqxh6x.png" border="0" class="linked-image" /><br /><br />Firstly open your Admin CP &gt; Look & Feel Tab &gt; select your skin &gt; Manage Templates & CSS &gt; Global Templates &gt; globalTemplate<br /><br />Find (around lines 286-288):<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;/if&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/foreach&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/if&#62;<!--c2--></div><!--ec2--><br /><br />Add <b>BELOW</b>:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;li id='nav_linkone' class='left'&#62;&#60;a href='http&#58;//www.testlink.com'&#62;Link One&#60;/a&#62;&#60;/li&#62;<!--c2--></div><!--ec2--><br /><br />Click the Save button above the template bit.]]></description>
		<pubDate>Tue, 24 Feb 2009 05:16:51 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2431</guid>
	</item>
	<item>
		<title><![CDATA[[IPB 3.0.x] Bypass Admin CP Login]]></title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2430</link>
		<description><![CDATA[This is a little edit to get into the Admin CP without loggin in, extremely useful for development boards, where logging in can be a pain. Open admin/sources/base/ipsRegistry.php<br />Find:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40; &#40; ipsRegistry&#58;&#58;$request&#91;'module'&#93; != 'login' &#41; AND &#40; ! $validationStatus &#41; &#41;<!--c2--></div><!--ec2--><br /><br />Replace With:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$memberData&#91;'member_id'&#93; = &#34;1&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$memberData&#91;'members_display_name'&#93; = &#34;Admin&#34;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40; $nothing &#41;<!--c2--></div><!--ec2--><br /><br />Save admin/sources/base/ipsRegistry.php and your done.<br /><!--coloro:#ff0000--><span style="color:#ff0000"><!--/coloro--><b>Please Note: This tip is mainly for localhost development boards, and is a extreme risk when used on live boards, use at your own risk. </b><!--colorc--></span><!--/colorc-->]]></description>
		<pubDate>Tue, 24 Feb 2009 05:00:04 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2430</guid>
	</item>
	<item>
		<title><![CDATA[[IPB 2.3.x] HighSlide Intergation]]></title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2429</link>
		<description><![CDATA[<!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><i>With the following edits to your current forum skin, you will have highslide intergation into your forum. </i><!--sizec--></span><!--/sizec--><br /><br /><br /><br />First, download <a href="http://highslide.com" target="_blank">highslide</a>, extract the zip file, and upload the 'highslide' folder to your forum's jscripts folder. The directory structure should look like this:<br /><br />ROOT/jscripts/highslide/graphics/<br />ROOT/jscripts/highslide/highslide.css<br />ROOT/jscripts/highslide/highslide.js<br />Etc.<br /><br />Next, edit your skin's wrapper, find:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;/head&#62;<!--c2--></div><!--ec2--><br /><br />Add above:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&lt;script type=&#34;text/javascript&#34; src=&#34;jscripts/highslide/highslide.js&#34;&#62;&#60;/script&#62;<br />&#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;jscripts/highslide/highslide.css&#34; /&#62;<br />&lt;script type=&#34;text/javascript&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;// override Highslide settings here<br />&nbsp;&nbsp;&nbsp;&nbsp;// instead of editing the highslide.js file<br />&nbsp;&nbsp;&nbsp;&nbsp;hs.graphicsDir = 'jscripts/highslide/graphics/';<br />&#60;/script&#62;<!--c2--></div><!--ec2--><br /><br />Save the wrapper, repeat for each skin. Next, edit your Topic View -&gt; Show_attachments_img_thumb template, find this :<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&#60;div id='ipb-attach-div-{$data&#91;'_attach_id'&#93;}'&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;div id='ipb-attach-ct-{$data&#91;'_attach_id'&#93;}'&#62;&#60;/div&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;a id='ipb-attach-url-{$data&#91;'_attach_id'&#93;}' href=&#34;{$this-&#62;ipsclass-&#62;base_url}act=attach&amp;type={$data&#91;'type'&#93;}&amp;id={$data&#91;'attach_id'&#93;}&#34; title=&#34;{$data&#91;'location'&#93;} - {$this-&#62;ipsclass-&#62;lang&#91;'attach_size'&#93;} {$data&#91;'file_size'&#93;}, {$this-&#62;ipsclass-&#62;lang&#91;'attach_ahits'&#93;} {$data&#91;'attach_hits'&#93;}&#34; target=&#34;_blank&#34;&#62;&#60;img src=&#34;{$this-&#62;ipsclass-&#62;vars&#91;'upload_url'&#93;}/{$data&#91;'t_location'&#93;}&#34; id='ipb-attach-img-{$data&#91;'_attach_id'&#93;}' style='width&#58;{$data&#91;'t_width'&#93;};height&#58;{$data&#91;'t_height'&#93;}' class='attach' width=&#34;{$data&#91;'t_width'&#93;}&#34; height=&#34;{$data&#91;'t_height'&#93;}&#34; alt=&#34;{$this-&#62;ipsclass-&#62;lang&#91;'pic_attach'&#93;}&#34; /&#62;&#60;/a&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;div id='ipb-attach-cb-{$data&#91;'_attach_id'&#93;}' style='margin&#58;0px'&#62;&#60;/div&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/div&#62;<!--c2--></div><!--ec2--><br /><br />Change it to:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;a href=&#34;{$this-&#62;ipsclass-&#62;vars&#91;'upload_url'&#93;}/{$data&#91;'_location'&#93;}&#34; class=&#34;highslide&#34; onclick=&#34;return hs.expand&#40;this&#41;&#34;&#62;<br />&nbsp;&nbsp;&#60;img src=&#34;{$this-&#62;ipsclass-&#62;vars&#91;'upload_url'&#93;}/{$data&#91;'t_location'&#93;}&#34; style='width&#58;{$data&#91;'t_width'&#93;};height&#58;{$data&#91;'t_height'&#93;}' width=&#34;{$data&#91;'t_width'&#93;}&#34; height=&#34;{$data&#91;'t_height'&#93;}&#34; alt=&#34;{$this-&#62;ipsclass-&#62;lang&#91;'pic_attach'&#93;}&#34; /&#62;<br />&#60;/a&#62;<!--c2--></div><!--ec2--><br /><br />In the same template, find and remove this:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&lt;script type='text/javascript'&#62;<br />//&#60;!&#91;CDATA&#91;<br />&nbsp;&nbsp;&nbsp;&nbsp;fix_linked_image_sizes_attach_thumb&#40; &#34;{$data&#91;'_attach_id'&#93;}&#34;, parseInt&#40;&#34;{$data&#91;'o_width'&#93;}&#34;&#41;, parseInt&#40;&#34;{$data&#91;'o_height'&#93;}&#34;&#41;, &#34;{$data&#91;'file_size'&#93;}&#34; &#41;;<br />//&#93;&#93;&#62;<br />&#60;/script&#62;<!--c2--></div><!--ec2--><br /><br />Save the template, repeat for each skin. Finally, edit your sources/classes/attach/class_attach.php file, find this  (on about line 475):<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->'notinline'&nbsp;&nbsp; =&#62; $not_inline,<!--c2--></div><!--ec2--><br /><br />Add below:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->'_location'&nbsp;&nbsp; =&#62; $row&#91;'attach_location'&#93;,<!--c2--></div><!--ec2--><br /><br />Save and upload. Let me know if you have any problems. <img src="http://www.devfuse.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br /><i>Please do not release to the public. Thank you in advance. <img src="http://www.devfuse.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /></i>]]></description>
		<pubDate>Tue, 24 Feb 2009 03:37:54 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2429</guid>
	</item>
	<item>
		<title><![CDATA[[IPB 2.3.x] Adding your own task]]></title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2240</link>
		<description><![CDATA[There is many reasons while you might need a task in your modification, from clearing out your mods logs to performing resource intensives tasks in the background, like updating categories views.<br /><br />IP.Board allows you to add a task without editing any files. To start off we need to add a file to the sources/tasks/ folder. You can name this file what ever you want, in this example we are going to call it news.php.<br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;?php<br /><br />if ( ! defined( 'IN_IPB' ) )<br />{<br />    print "&lt;h1&gt;Incorrect access&lt;/h1&gt;You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";<br />    exit();<br />}<br /><br />class task_item<br />{<br />    var $class     = "";<br />    var $root_path = "";<br />    var $task      = "";<br />    <br />    function run_task()<br />    {<br />        // Run what ever we need in a task here, this is just like any other file and should be able to<br />        // run what ever you had in components_public and want to run as a task.<br />        <br />        // Add to task log?        <br />        $this-&gt;class-&gt;append_task_log( $this-&gt;task, 'Task news.php has run.' );<br />        <br />        // Unlock Task <br />        // leave this one alone, you need to unlock a task.<br />        $this-&gt;class-&gt;unlock_task( $this-&gt;task );<br />    }<br />    <br />    function register_class(&$class)<br />    {<br />        $this-&gt;class     = &$class;<br />        $this-&gt;ipsclass  =& $class-&gt;ipsclass;<br />        $this-&gt;root_path = $this-&gt;class-&gt;root_path;<br />    }<br />    <br />    function pass_task( $this_task )<br />    {<br />        $this-&gt;task = $this_task;<br />    }    <br />}<br />?&gt;</div><br /><br />It's best to leave all the functions alone and just add your task code above $this-&gt;class-&gt;append_task_log( $this-&gt;task, 'Task news.php has run.' );<br /><br />Next you will need to setup the task details in the admin cp. Go to Admin CP &gt; Tools & Settings Tab &gt; Task Manager &gt; Add New Task button. I've added a screenshot of the example details we need to fill out. Remember to name the <b>Task PHP File To Run</b> field the same name as your sources/tasks/ file with .php added to the end of it.<br /><br /><a href='http://www.devfuse.com/forums/index.php?act=attach&type=post&id=162'>http://www.devfuse.com/forums/index.php?act=attach&type=post&id=162</a>]]></description>
		<pubDate>Wed, 21 Jan 2009 04:47:26 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2240</guid>
	</item>
	<item>
		<title><![CDATA[[IPB 2.3.x] Create an IPB components init page]]></title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2239</link>
		<description><![CDATA[This is a module type way of loading your cache rather than editing a file. In this example our component key will be news. So paste the below contents into a file and call it news.php and save it to the sources/components_init/ folder.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;?php<br /><br />if &#40; ! defined&#40; 'IN_IPB' &#41; &#41;<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;print &#34;&#60;h1&#62;Incorrect access&#60;/h1&#62;You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;exit&#40;&#41;;<br />}<br /><br />class component_init<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;var $ipsclass;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;function run_init&#40;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&#62;ipsclass-&#62;cache_array&#91;&#93; = 'news';<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br />?&#62;<!--c2--></div><!--ec2--><br /><br />There is no need to change the class name, but the cache array your calling should reflect how you have named your cache. It's best to keep your component key in this example <b>news</b> the same.]]></description>
		<pubDate>Wed, 21 Jan 2009 04:22:06 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2239</guid>
	</item>
	<item>
		<title><![CDATA[[IPB 2.3.x] Create an IPB components location page]]></title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2238</link>
		<description><![CDATA[Instead of placing your mods location in the lang_online.php file, IPB 2.3.x offers you the ability to add a mods location without editing files.<br /><br />This file should be placed in the sources/components_location/ folder and be named to reflect your component. I find it easier to name the components_public and components_location file the same.<br /><br />Here is an example of an components_location file.<br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;?php<br /><br />if ( ! defined( 'IN_IPB' ) )<br />{<br />    print "&lt;h1&gt;Incorrect access&lt;/h1&gt;You cannot access this file directly. <br />If you have recently upgraded, make sure you upgraded 'admin.php'.";<br />    exit();<br />}<br /><br />class components_location_news<br />{<br />    var $ipsclass;<br />    <br />    function get_session_variables()<br />    {<br />        return array( '1_type' =&gt; 'news',<br />                      '1_id'   =&gt; $this-&gt;ipsclass-&gt;input['id'],<br />                    );<br />    }<br />        <br />    function parse_online_entries( $array=array() )<br />    {<br />        $this-&gt;ipsclass-&gt;load_language( 'lang_news' );<br />    <br />        $return = array();<br />    <br />        if ( is_array( $array ) and count( $array ) )<br />        {<br />            foreach( $array as $session_id =&gt; $session_array )<br />            {<br />                $return[ $session_id ] = array_merge( $session_array, array( <br />'_url' =&gt; $this-&gt;ipsclass-&gt;base_url.'autocom=news', <br />'_text' =&gt; $this-&gt;ipsclass-&gt;lang['viewing_news'], '_parsed' =&gt; 1 ) );<br />            }<br />        }<br />        <br />        return $return;<br />    }<br />}<br />?&gt;</div><br /><br />You would of course change the component key <b>news</b> to your components key. This is a very simple example of what you can do, you also have the ability to assign a location for individual pages of your component. <br /><br />You can find more examples in sources/components_location/chat_sigma.php and chat_para.php including more details on the functions within the files.]]></description>
		<pubDate>Wed, 21 Jan 2009 04:11:38 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2238</guid>
	</item>
	<item>
		<title>Add a link to useful links area</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2210</link>
		<description><![CDATA[This tutorial will show you how to add a new link to the errors page useful links area.<br /><br />Navigate to Admin CP &gt; Look & feel Tab &gt; select a skin &gt; Edit Template HTML &gt; All Global HTML &gt; error<br /><br />Find:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;li&#62;&#60;a href=&#34;java script&#58;contact_admin&#40;&#41;;&#34;&#62;{$this-&#62;ipsclass-&#62;lang&#91;'er_contact_admin'&#93;}&#60;/a&#62;&#60;/li&#62;<!--c2--></div><!--ec2--><br /><br />Add Below:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;li&#62;&#60;a href=&#34;link&#34;&#62;link name&#60;/a&#62;&#60;/li&#62;<!--c2--></div><!--ec2--><br /><br />Click Save Template Bit and your done: <img src="http://www.devfuse.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />]]></description>
		<pubDate>Sun, 18 Jan 2009 05:56:38 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2210</guid>
	</item>
	<item>
		<title><![CDATA[[IPB 2.3.x] Export settings with postition order]]></title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2209</link>
		<description><![CDATA[When you export groups settings, it exports it by ordering with conf_id. This tutorial will show you how to change that to conf_position, as it's a lot easier to review the settings.xml file later on.<br /><br />Open sources/action_admin/settings.php<br /><br />Find: (around line 2857)<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&#62;ipsclass-&#62;DB-&#62;simple_select&#40; '*', 'conf_settings', &#34;conf_group = {$this-&#62;ipsclass-&#62;input&#91;'conf_group'&#93;}&#34; &#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&#62;ipsclass-&#62;DB-&#62;exec_query&#40;&#41;;<!--c2--></div><!--ec2--><br /><br />Replace With:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//$this-&#62;ipsclass-&#62;DB-&#62;simple_select&#40; '*', 'conf_settings', &#34;conf_group = {$this-&#62;ipsclass-&#62;input&#91;'conf_group'&#93;}&#34; &#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//$this-&#62;ipsclass-&#62;DB-&#62;exec_query&#40;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&#62;ipsclass-&#62;DB-&#62;simple_construct&#40; array&#40; 'select' =&#62; '*',&nbsp;&nbsp;'from' =&#62; 'conf_settings', 'order'&nbsp;&nbsp;=&#62; &#34;conf_position ASC&#34;, 'where' =&#62; &#34;conf_group = {$this-&#62;ipsclass-&#62;input&#91;'conf_group'&#93;}&#34; &#41;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&#62;ipsclass-&#62;DB-&#62;simple_exec&#40;&#41;;<!--c2--></div><!--ec2--> <br /><br />Save sources/action_admin/settings.php and your done. <img src="http://www.devfuse.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />]]></description>
		<pubDate>Sat, 17 Jan 2009 21:20:58 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2209</guid>
	</item>
	<item>
		<title>How to install an IP.Board 2.3.x skin</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2177</link>
		<description><![CDATA[This tutorial will how you how to install an Invision Power Board 2.3.x skin, this tutorial will also work with IPB 2.2.x<br /><br />Step 1. Once you have downloaded your skin and extracted the zip contents onto your desktop, open your Admin CP and navigate to the Look & Feel Tab.<br /><br />Step 2. On the left hand side is a menu, navigate to the <b>Skins & Templates</b> box then click the S<b>kin Import/Export</b> link.<br /><br /><a href='http://www.devfuse.com/forums/index.php?act=attach&type=post&id=144'>http://www.devfuse.com/forums/index.php?act=attach&type=post&id=144</a><br /><br />Step 3. Scroll down to the <b>Importing...</b> area. Look for the <b>Upload XML Template set</b> row, next to that is a browse box. Click Browse then find the skin file, which should be named something like this <b>ipb_skin-rooq.xml</b>, once found click the <b>IMPORT SKIN XML</b> button. If successful you should have a yellow message box, detailing the imported skin files and that it was rebuilt<br /><br /><a href='http://www.devfuse.com/forums/index.php?act=attach&type=post&id=145'>http://www.devfuse.com/forums/index.php?act=attach&type=post&id=145</a><br /><br />Step 4. Scroll down to the <b>Importing...</b> area again. Look for <b>Upload XMLarchive Image set</b> row, next to that is a browse box, Click Browse then find the skin image file, which should be named something like this this <b>ipb_images-rooq.xml</b>, once found click the <b>IMPORT SKIN IMAGES</b> button. A few rows down is a field called <b>Use with which skin set?</b>, click the dropdown next to it and find the skin name, in this example ours is called <b>Rooq (Import)</b>. If successful you should see a yellow message box saying <b>Image set imported!</b><br /><br /><a href='http://www.devfuse.com/forums/index.php?act=attach&type=post&id=146'>http://www.devfuse.com/forums/index.php?act=attach&type=post&id=146</a><br /><br />Your done, you can now browse to your forum home page and select the skin from the dropdown located at the far bottom left.<br /><br /><b>You can also view the video tutorial of these instructions here:</b> <a href="http://www.devfuse.com/forums/index.php?autocom=videos&CODE=view&id=4" target="_blank">http://www.devfuse.com/forums/index.php?au...E=view&id=4</a>]]></description>
		<pubDate>Thu, 08 Jan 2009 20:41:52 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2177</guid>
	</item>
	<item>
		<title>Add / Remove Links from submenu</title>
		<link>http://www.devfuse.com/forums/index.php?showtopic=2175</link>
		<description><![CDATA[This tutorial will show you how to add and remove links from the submenu.<br />e.g. calendar, members, help area.<br /><br /><b>Step 1.</b> Go to Admin CP / Look & Feel Tab / Skins & Templates / Skin Manager / "select your skin" / Edit Root Skin Template HTML / All Global HTML / global_board_header<br /><br />Find:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;div class='ipb-top-right-link'&#62;&#60;a href=&#34;{$this-&#62;ipsclass-&#62;base_url}act=Help&#34;&#62;{$this-&#62;ipsclass-&#62;lang&#91;'tb_help'&#93;}&#60;/a&#62;&#60;/div&#62;<!--c2--></div><!--ec2--><br /><br />  Before Add:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;div class='ipb-top-right-link'&#62;&#60;a href='http&#58;//www.yourlink.com'&#62;Your Link Name&#60;/a&#62;&#60;/div&#62;<!--c2--></div><!--ec2--><br /><br /><b>Step 2.</b> Click 'Save Template Bit'<br /><br />Your Done.]]></description>
		<pubDate>Thu, 08 Jan 2009 18:41:30 -0600</pubDate>
		<guid>http://www.devfuse.com/forums/index.php?showtopic=2175</guid>
	</item>
</channel>
</rss>