<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
<channel>
	<title>Invision Modding - Tutorials</title>
	<link>http://invisionmodding.com/index.php?app=tutorials</link>
	<pubDate>Sat, 04 Feb 2012 17:46:22 +0000</pubDate>
	<ttl>1800</ttl>
	<description>Tutorials from all available categories.</description>
	<item>
		<title>Center Replies and Posts Automatically</title>
		<link>http://invisionmodding.com/tutorials/article/691-center-replies-and-posts-automatically/</link>
		<description><![CDATA[<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>Center Replies and Posts Automatically</span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>make any post in the center simple </span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>log in ur acp :</span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>and go to look and feel</span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>chose ur style </span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>open style css and find :</span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'><pre class='prettyprint'>
.postcolor{
</pre></span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>add Below :</span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'><pre class='prettyprint'>
text-align: center;</pre></span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>save and reload ur css ...</span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>and any new posts or replies will be centerd <span rel='lightbox'><img src='http://netdna.invisionmodding.com//public/style_emoticons/default/wink.png' alt='Posted Image' class='bbc_img' /></span></span></span></strong><br />
<br />
<strong class='bbc'><span style='color: #FF0000'><span style='font-size: 14px;'>Dr.Ahmed </span></span></strong>]]></description>
		<pubDate>Tue, 03 Jan 2012 20:20:06 +0000</pubDate>
		<guid isPermaLink="false">691</guid>
		<creator>esho</creator>
		<category>13</category>
	</item>
	<item>
		<title><![CDATA[Add Basmalah's to each new topic]]></title>
		<link>http://invisionmodding.com/tutorials/article/690-add-basmalahs-to-each-new-topic/</link>
		<description><![CDATA[Add Basmalah's to each new topic<br />
<br />
&#1575;&#1590;&#1575;&#1601;&#1577; &#1575;&#1604;&#1576;&#1587;&#1605;&#1604;&#1577; &#1575;&#1593;&#1604;&#1609; &#1575;&#1604;&#1605;&#1608;&#1590;&#1608;&#1593; &#1601;&#1610; &#1603;&#1604; &#1605;&#1608;&#1590;&#1608;&#1593; &#1580;&#1583;&#1610;&#1583;<br />
<br />
open file :<br />
<br />
sources/classes/post/class_post.php<br />
<br />
search in compile_post()<br />
<br />
Find :<br />
<br />
<pre class='prettyprint'>$this-&gt;ipsclass-&gt;input&#91;'Post'&#93; = $this-&gt;han_editor-&gt;process_raw_post( 'Post' );</pre>
<br />
<br />
add below :<br />
<br />
<pre class='prettyprint'>if ($this-&gt;ipsclass-&gt;input&#91;'CODE'&#93; == '01')
        {
           
           $basmala = "&lt;center&gt; &lt;img src=&#092;"bismillah.gif&#092;" width=&#092;"254&#092;" height=&#092;"154&#092;" /&gt; &lt;/center&gt;&lt;br&gt;&lt;br&gt;";
           $basmala .= $this-&gt;ipsclass-&gt;input&#91;'Post'&#93;;
           $this-&gt;ipsclass-&gt;input&#91;'Post'&#93; = $basmala;
        }</pre>
<br />
<br />
you can change the image height and width by changing this section <br />
<br />
<span style='color: #FF0000'>width=&#092;"254&#092;" height=&#092;"154&#092;"</span><br />
<br />
and you can add any image you want <img src='http://invisionmodding.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> by changing this section<br />
<br />
<span style='color: #FF0000'>img src=&#092;"bismillah.gif&#092;</span><br />
<br />
screen shot<br />
<br />
<span rel='lightbox'><img src='http://img703.imageshack.us/img703/7536/bsm.jpg' alt='Posted Image' class='bbc_img' /></span><br />
<br />
enjoy ....<br />
<br />
<span style='color: #FF0000'>Dr.Ahmed</span>]]></description>
		<pubDate>Sun, 04 Dec 2011 16:26:36 +0000</pubDate>
		<guid isPermaLink="false">690</guid>
		<creator>esho</creator>
		<category>13</category>
	</item>
	<item>
		<title>Animated snow in forum</title>
		<link>http://invisionmodding.com/tutorials/article/689-animated-snow-in-forum/</link>
		<description><![CDATA[If you want animated snow in all of your forum (useful for north globe hemisphere in this season) , download this javascript:<br />
<a href='http://www.schillmania.com/projects/snowstorm/' class='bbc_url' title='External link' rel='nofollow external'>http://www.schillman...ects/snowstorm/</a><br />
unzip it.<br />
<br />
rename the main downloaded folder in "snow"<br />
<br />
upload this folder via FTP in your skin folder (public/style_images/master or other skin)<br />
<br />
<br />
ACP &gt; Look & Feel &gt; Manage Skin Sets & Templates &gt; select your skin &gt; Global Templates &gt; globalTemplate<br />
<br />
and add just before the close of tag  /head this code<br />
<br />
<pre class='prettyprint'>&lt;script src="{$this-&gt;settings&#91;'img_url'&#93;}/snow/snowstorm.js"&gt;&lt;/script&gt;</pre>
<br />
<br />
Live preview for 1 month  <a href='http://www.invisionita.it/forum' class='bbc_url' title='External link' rel='nofollow external'>http://www.invisionita.it/forum</a>]]></description>
		<pubDate>Fri, 02 Dec 2011 08:31:25 +0000</pubDate>
		<guid isPermaLink="false">689</guid>
		<creator>najaru</creator>
		<category>25</category>
	</item>
	<item>
		<title>Add one or more custom block in sidebar</title>
		<link>http://invisionmodding.com/tutorials/article/688-add-one-or-more-custom-block-in-sidebar/</link>
		<description><![CDATA[As you all know you can add some automatic or custom content  in the sidebar of the board index of IPB 3.2<br />
To insert new custom blocks you can use the classical (e32)Custom Sidebar Blocks 1.5.0 <a href='http://community.invisionpower.com/files/file/2447-e32-custom-sidebar-blocks/' class='bbc_url' title='External link' rel='nofollow external'>http://community.inv...sidebar-blocks/</a> that allows you to insert one or more custom blocks in sidebar, but all these will be displayed next to each other, and not interspaced with other automatic blocks.<br />
With a manual edit of  template you can put at least another 2 blocks, one or more blocks in the sidebar <strong class='bbc'>above</strong> all, and one or more <strong class='bbc'>below</strong> all.<br />
<br />
Look&Feel - Manage Skin Sets & Templates - your skin - boardindexTemplate<br />
<br />
Find this:<br />
<pre class='prettyprint'>
	           &lt;foreach loop="side_blocks:$side_blocks as $block"&gt;
				{$block}
			&lt;/foreach&gt;
</pre>
<br />
<br />
and add BEFORE and or AFTER:<br />
<br />
<pre class='prettyprint'>
&lt!-- SIDEBAR BLOCK MANUAL BEGIN --&gt;
&lt;div class='ipsSideBlock clearfix'&gt;
	&lt;h3&gt;TITLE&lt;/h3&gt;
	&lt;div class='_sbcollapsable'&gt;
		MESSAGGIO HTML  MESSAGGIO HTML MESSAGGIO HTML
	&lt;/div&gt;
&lt;/div&gt;
&lt!-- SIDEBAR BLOCK MANUAL END --&gt;
</pre>
<br />
<img src='http://invisionmodding.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' />]]></description>
		<pubDate>Mon, 07 Nov 2011 07:44:50 +0000</pubDate>
		<guid isPermaLink="false">688</guid>
		<creator>najaru</creator>
		<category>25</category>
	</item>
	<item>
		<title>Adjust the log pruning schedule</title>
		<link>http://invisionmodding.com/tutorials/article/687-adjust-the-log-pruning-schedule/</link>
		<description><![CDATA[IP.Board provides options (System Settings &gt; Advanced &gt; Log Pruning) to enable / disable pruning various logs such as spider logs, database error logs, spam logs etc. <br />
<br />
The only issue some administrators may have is that thirty days may be too long, or in some rare cases not enough but again not enough to justify not pruning them.<br />
<br />
A simple tweak is possible to adjust the pruning schedule. <img src='http://invisionmodding.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /><br />
<br />
Connect via FTP or your hosts file manager and open admin/applications/core/tasks/logprune.php<br />
<br />
Around line 34, find...<br />
<pre class='prettyprint'>protected $deleteTime = 2592000;</pre>
<br />
Replace that line with one of the following, depending on what you require.<br />
<br />
<strong class='bbc'>14 days</strong><br />
<pre class='prettyprint'>protected $deleteTime = 1209600;</pre>
<br />
<strong class='bbc'>7 days</strong><br />
<pre class='prettyprint'>protected $deleteTime = 604800;</pre>
<br />
<strong class='bbc'>3 days</strong><br />
<pre class='prettyprint'>protected $deleteTime = 259200;</pre>
<br />
Save the change. The settings description will still indicate 30 days but the actual pruning will take place at the days interval you have specified. <img src='http://invisionmodding.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> , remember this change will effect them all so you may wish to disable any pruning you do not want to occur at that interval.]]></description>
		<pubDate>Sun, 06 Nov 2011 13:27:52 +0000</pubDate>
		<guid isPermaLink="false">687</guid>
		<creator>AndyF</creator>
		<category>25</category>
	</item>
	<item>
		<title>Public polls by default</title>
		<link>http://invisionmodding.com/tutorials/article/686-public-polls-by-default/</link>
		<description><![CDATA[Here is a quick, simple tutorial on how to have "Make votes public?" checked by default. This may eliminate the problem of members who do wish to have a public poll but are unable to change it after submitting it.<br />
<br />
A small skin edit is required.<br />
<br />
ACP &gt; Look / Feel &gt; Skin Manager &gt; (choose skin) &gt; Manage Templates / CSS &gt; Post Screen &gt; Poll Box &gt;<br />
<br />
Find...<br />
<pre class='prettyprint'>&lt;span class='ipsType_small' id='check_public_poll' data-tooltip="{$this-&gt;lang-&gt;words&#91;'poll_public_warning'&#93;}"&gt;
						&lt;input type='checkbox' class='input_check' name='poll_view_voters' id='poll_view_voters' value='1' &lt;if test="viewPollVoters:|:$data&#91;'poll_view_voters'&#93;"&gt;checked='checked'&lt;/if&gt; /&gt;
						&lt;label for='poll_view_voters'&gt;{$this-&gt;lang-&gt;words&#91;'poll_fs_public'&#93;}&lt;/label&gt;
					&lt;/span&gt;</pre>
<br />
Change to...<br />
<pre class='prettyprint'>&lt;span class='ipsType_small' id='check_public_poll' data-tooltip="{$this-&gt;lang-&gt;words&#91;'poll_public_warning'&#93;}"&gt;
						&lt;input type='checkbox' checked ='checked' class='input_check' name='poll_view_voters' id='poll_view_voters' value='1' &lt;if test="viewPollVoters:|:$data&#91;'poll_view_voters'&#93;"&gt;checked='checked'&lt;/if&gt; /&gt;
						&lt;label for='poll_view_voters'&gt;{$this-&gt;lang-&gt;words&#91;'poll_fs_public'&#93;}&lt;/label&gt;
					&lt;/span&gt;</pre>
<br />
Save the change. Repeat for other skins if required. Quick pic:<br />
<br />
<span rel='lightbox'><img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/default_public_poll.png' alt='Posted Image' class='bbc_img' /></span>]]></description>
		<pubDate>Sat, 29 Oct 2011 10:53:48 +0000</pubDate>
		<guid isPermaLink="false">686</guid>
		<creator>AndyF</creator>
		<category>25</category>
	</item>
	<item>
		<title>Adding joined date to topic view</title>
		<link>http://invisionmodding.com/tutorials/article/685-adding-joined-date-to-topic-view/</link>
		<description><![CDATA[Its very easy with a small skin edit to add the joined date back to topic view on 3.2 if you require it.<br />
<br />
ACP &gt; Look / Feel &gt; Skin Manager &gt; (choose skin) &gt; Manage Templates / CSS &gt; Global Templates &gt; UserInfoPane<br />
<br />
Find...<br />
<pre class='prettyprint'>		&lt;li class='post_count desc lighter'&gt;
			{parse expression="$this-&gt;registry-&gt;getClass('class_localization')-&gt;formatNumber( intval( $author&#91;'posts'&#93; ) )"} {$this-&gt;lang-&gt;words&#91;'m_posts'&#93;}
		&lt;/li&gt;
		&lt;/if&gt;
	&lt;/ul&gt;</pre>
<br />
Add this <em class='bbc'>after</em> the &lt;/if&gt; tag but before the &lt;/ul&gt; tag...<br />
<pre class='prettyprint'>&lt;span class='group_title'&gt;{$this-&gt;lang-&gt;words&#91;'m_joined'&#93;}&lt;/span&gt; &lt;span class='post_count desc lighter'&gt;{parse date="$author&#91;'joined'&#93;" format="joined"}&lt;/span&gt;</pre>
<br />
So you end up with this:<br />
<pre class='prettyprint'>		&lt;li class='post_count desc lighter'&gt;
			{parse expression="$this-&gt;registry-&gt;getClass('class_localization')-&gt;formatNumber( intval( $author&#91;'posts'&#93; ) )"} {$this-&gt;lang-&gt;words&#91;'m_posts'&#93;}
		&lt;/li&gt;
		&lt;/if&gt;
&lt;span class='group_title'&gt;{$this-&gt;lang-&gt;words&#91;'m_joined'&#93;}&lt;/span&gt; &lt;span class='post_count desc lighter'&gt;{parse date="$author&#91;'joined'&#93;" format="joined"}&lt;/span&gt;
	&lt;/ul&gt;</pre>
<br />
Save. <img src='http://invisionmodding.com/public/style_emoticons/default/smile.gif' class='bbc_emoticon' alt=':)' /> Quick pic:<br />
<br />
<span rel='lightbox'><img src='http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/joined_date_topic_view.png' alt='Posted Image' class='bbc_img' /></span><br />
<br />
You might want to add a &lt;br /&gt; tag or suchlike to space it out, but that's essentially it.]]></description>
		<pubDate>Wed, 28 Sep 2011 10:22:30 +0000</pubDate>
		<guid isPermaLink="false">685</guid>
		<creator>AndyF</creator>
		<category>25</category>
	</item>
	<item>
		<title>How to Translate protected Language Packs IPB 3.2</title>
		<link>http://invisionmodding.com/tutorials/article/684-how-to-translate-protected-language-packs-ipb-32/</link>
		<description><![CDATA[Sometimes you want to translate a word in the english (ID = 1) language pack.<br />
But you get the "This is a protected language pack" error.<br />
<br />
<span rel='lightbox'><img src='http://i.imgur.com/yC0x5.png' alt='Posted Image' class='bbc_img' /></span><br />
<br />
In this tutorial i will let you see how to remove this.<br />
<br />
Its very simple.<br />
<br />
1. Login to your ACP<br />
2. Click on the Support Tab<br />
3. On the left side: SQL Management &gt; SQL Toolbox<br />
4. Scroll to the bottom and put the next query in the "Run Query" Textarea<br />
<br />
<pre class='prettyprint'>UPDATE YOURPREFIX_core_sys_lang SET lang_protected = 0 WHERE lang_protected = 1</pre>
<br />
replace "YOURPREFIX" with your own prefix.<br />
if you haven't a database prefix you can just run<br />
<br />
<pre class='prettyprint'>UPDATE core_sys_lang SET lang_protected = 0 WHERE lang_protected = 1</pre>
<br />
<span rel='lightbox'><img src='http://i.imgur.com/EfsIQ.png' alt='Posted Image' class='bbc_img' /></span><br />
<br />
Now you can translate protected language packages. So you're Done!]]></description>
		<pubDate>Sat, 20 Aug 2011 23:35:42 +0000</pubDate>
		<guid isPermaLink="false">684</guid>
		<creator>Paradiizee</creator>
		<category>25</category>
	</item>
	<item>
		<title>Cookie Settings</title>
		<link>http://invisionmodding.com/tutorials/article/683-cookie-settings/</link>
		<description><![CDATA[I see a fair few topics where people are having issues staying logged into their board. I thought I would write a very quick tutorial explaining a recommended settings.<br />
<br />
This is not a "one size fits all" tutorial, but I think most boards will be OK with these settings, although there will always be exceptions.<br />
<br />
Navigate here &gt; ACP &gt; System &gt; Tools / Settings &gt; "System" &gt; Server Environment &gt; Cookies section<br />
<br />
<strong class='bbc'>Cookie Domain</strong> ... Just put your URL into here with a . prefix, regardless of whether your board is at www.site.com or www.site.com/forum, it does not matter. Don't forget the leading <strong class='bbc'>.</strong> , Example:<br />
<pre class='prettyprint'>.site.com</pre>
<br />
<strong class='bbc'>Cookie Name Prefix</strong> ... You can normally leave blank unless you have multiple IPB's installed on this domain. I would suggest you put in something to identify your board simply to help if you decide to install any other applications to your domain. Something like <pre class='prettyprint'>-forum-</pre> is ideal to enter here.<br />
<br />
<strong class='bbc'>Cookie Path</strong> ... Typically you can leave this blank.]]></description>
		<pubDate>Wed, 17 Aug 2011 18:48:52 +0000</pubDate>
		<guid isPermaLink="false">683</guid>
		<creator>AndyF</creator>
		<category>25</category>
	</item>
	<item>
		<title>Change the sidebar to the left side</title>
		<link>http://invisionmodding.com/tutorials/article/682-change-the-sidebar-to-the-left-side/</link>
		<description><![CDATA[Result:<br />
<br />
<span rel='lightbox'><img src='http://gyazo.com/e1172f041465dfaf5f0f9f8ee67b2670.png' alt='Posted Image' class='bbc_img' /></span><br />
<br />
ACP &gt; Look & Feel &gt; Your Skin &gt; board index &gt; boardIndexTemplate<br />
<br />
find:<br />
<br />
<pre class='prettyprint'>
&lt;if test="sideBarEnabled2:|:$this-&gt;templateVars&#91;'sidebar_enabled'&#93;"&gt;
		&lt;div id='index_stats' class='ipsLayout_right clearfix' &lt;if test="sidebarclosed2:|:IPSCookie::get('hide_sidebar') == '1'"&gt;style='display: none'&lt;/if&gt;&gt;
			&lt;foreach loop="side_blocks:$side_blocks as $block"&gt;
				{$block}
			&lt;/foreach&gt;
		&lt;/div&gt;
		&lt;a href='#' id='toggle_sidebar' title='{$this-&gt;lang-&gt;words&#91;'toggle_sidebar'&#93;}' data-closed="{$this-&gt;lang-&gt;words&#91;'_laquo'&#93;}" data-open="&times;"&gt;&nbsp;&lt;/a&gt;
	&lt;/if&gt;
</pre>
<br />
copy and remove this code and paste it before<br />
<br />
<pre class='prettyprint'>
&lt;div id='categories' class='ipsLayout_content clearfix'&gt;
</pre>
<br />
now change<br />
<br />
<pre class='prettyprint'>&lt;div id='index_stats' class='ipsLayout_right clearfix' &lt;if</pre>
<br />
to<br />
<br />
<pre class='prettyprint'>&lt;div id='index_stats' class='ipsLayout_left clearfix' &lt;if</pre>
<br />
<br />
<br />
find:<br />
<br />
<pre class='prettyprint'>&gt;templateVars&#91;'sidebar_enabled'&#93;"&gt;ipsLayout_withright&lt;/if&gt; ipsLayout_largeright clearfix &lt;if </pre>
<br />
change to:<br />
<br />
<pre class='prettyprint'>&gt;templateVars&#91;'sidebar_enabled'&#93;"&gt;ipsLayout_withleft&lt;/if&gt; ipsLayout_largeleft clearfix &lt;if </pre>
<br />
now open ACP &gt; Look & Feel &gt; Your skin &gt; CSS &gt; Styles.css<br />
<br />
find:<br />
<br />
<pre class='prettyprint'>
#toggle_sidebar {
	position: absolute;
	right: -5px;
	top: -13px;
	z-index: 8000;
	background: #333333;
	padding: 3px 7px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #fff;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
}
</pre>
<br />
to:<br />
<br />
<pre class='prettyprint'>
#toggle_sidebar {
	position: absolute;
	left: -5px;
	top: -13px;
	z-index: 8000;
	background: #333333;
	padding: 3px 7px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #fff;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
}
</pre>
<br />
now find:<br />
<br />
<pre class='prettyprint'>
#board_index { position: relative; }
	#board_index.no_sidebar { padding-right: 0px; }
		#board_index.force_sidebar { padding-right: 290px; }
</pre>
<br />
change to<br />
<br />
<pre class='prettyprint'>
#board_index { position: relative; }
	#board_index.no_sidebar { padding-left: 0px; }
		#board_index.force_sidebar { padding-left: 290px; }
</pre>
<br />
and you're done!<br />
<br />
tutorial created by Paradiizee]]></description>
		<pubDate>Thu, 11 Aug 2011 21:11:51 +0000</pubDate>
		<guid isPermaLink="false">682</guid>
		<creator>Paradiizee</creator>
		<category>25</category>
	</item>
</channel>
</rss>
