<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>vBulletin Modifications - vBulletin Modification Tutorials</title>
		<link>http://www.vbhackers.com/</link>
		<description><![CDATA[Post all your vBulletin How-Tos, Hints & Tips here. Please do NOT ask questions here!]]></description>
		<language>en</language>
		<lastBuildDate>Thu, 09 Sep 2010 10:17:29 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.vbhackers.com/images/novera_green/misc/rss.jpg</url>
			<title>vBulletin Modifications - vBulletin Modification Tutorials</title>
			<link>http://www.vbhackers.com/</link>
		</image>
		<item>
			<title><![CDATA[[HowTo] ibProArcade - Make 'Newest Champions' clickable]]></title>
			<link>http://www.vbhackers.com/f80/howto-ibproarcade-make-newest-champions-clickable-13044/</link>
			<pubDate>Sun, 05 Sep 2010 22:02:18 GMT</pubDate>
			<description><![CDATA[*ibProArcade -  
Make 'Newest Champions' clickable* 
 
*Original.:* 
Image: http://img838.imageshack.us/img838/9595/aufnahme1.jpg  
 
*with Game Link.:* 
Image: http://img340.imageshack.us/img340/8952/aufnahme2c.jpg  
 
     *If you want to get the game name in the 'Newest Champions' field...]]></description>
			<content:encoded><![CDATA[<div><font size="3"><font color="Black"><b>ibProArcade - <br />
Make '<font color="Red">Newest Champions</font>' <font color="Blue">clickable</font></b></font></font><br />
<br />
<b><font size="1">Original.:</font></b><br />
<img src="http://img838.imageshack.us/img838/9595/aufnahme1.jpg" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /><br />
<br />
<b><font size="1">with Game Link.:</font></b><br />
<img src="http://img340.imageshack.us/img340/8952/aufnahme2c.jpg" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /><br />
<br />
     <b><font face="Arial"><font size="2"><font color="Black">If you want to get the game name in the '<font color="Red">Newest Champions</font>' field clickable (as a link), than you have to modify only two lines in the <font color="Red">arcade.php<font color="Black">.!<br />
<br />
</font></font></font></font></font></b>    <font color="Red"><b>find.:</b></font><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$DB</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">query</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT&nbsp;c.*,&nbsp;g.gcat,&nbsp;cat.password&nbsp;FROM&nbsp;ibf_games_champs&nbsp;AS&nbsp;c,&nbsp;ibf_games_list&nbsp;AS&nbsp;g,&nbsp;ibf_games_cats&nbsp;AS&nbsp;cat&nbsp;WHERE&nbsp;c.champ_gid=g.gid&nbsp;AND&nbsp;g.gcat=cat.c_id&nbsp;AND&nbsp;g.active=1&nbsp;AND&nbsp;trim(password)=''&nbsp;ORDER&nbsp;BY&nbsp;champ_date&nbsp;DESC&nbsp;LIMIT&nbsp;0,5"</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div>    <b><font color="Red"><br />
<br />
Replace.:</font></b><br />
  <div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;&nbsp;&nbsp;$DB</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">query</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT&nbsp;DISTINCT&nbsp;c.*,&nbsp;g.gcat,&nbsp;g.gid,&nbsp;cat.password&nbsp;FROM&nbsp;ibf_games_champs&nbsp;AS&nbsp;c,&nbsp;ibf_games_list&nbsp;AS&nbsp;g,&nbsp;ibf_games_cats&nbsp;AS&nbsp;cat&nbsp;WHERE&nbsp;c.champ_gid=g.gid&nbsp;AND&nbsp;g.gcat=cat.c_id&nbsp;AND&nbsp;g.active=1&nbsp;AND&nbsp;trim(password)=''&nbsp;ORDER&nbsp;BY&nbsp;champ_date&nbsp;DESC&nbsp;LIMIT&nbsp;0,5"</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div><font color="Red"><b>find.:</b></font><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;&nbsp;&nbsp;$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'text'</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">"/&lt;%&nbsp;GAMENAME&nbsp;%&gt;/i"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'champ_gtitle'</span><span style="color: #007700">&#93;&nbsp;,&nbsp;</span><span style="color: #0000BB">$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'text'</span><span style="color: #007700">&#93;&nbsp;);&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div><font color="Red"><b>Replace.:</b></font><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;&nbsp;&nbsp;$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'text'</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">"/&lt;%&nbsp;GAMENAME&nbsp;%&gt;/i"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'&lt;a&nbsp;href="arcade.php?do=play&amp;gameid='&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'gid'</span><span style="color: #007700">&#93;&nbsp;.&nbsp;</span><span style="color: #DD0000">'"&nbsp;title="'&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'champ_gtitle'</span><span style="color: #007700">&#93;&nbsp;.&nbsp;</span><span style="color: #DD0000">'"&gt;'&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'champ_gtitle'</span><span style="color: #007700">&#93;&nbsp;.&nbsp;</span><span style="color: #DD0000">'&lt;/a&gt;'&nbsp;</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$row</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'text'</span><span style="color: #007700">&#93;&nbsp;);&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div><font size="3"><font color="Red"><b>..finished.!</b></font></font><br />
<br />
<font color="Black"><b>+++++++++++++++++ </b></font><br />
<br />
<font color="Black"><b>greetings, cRs!MP</b></font> :running:</div>

]]></content:encoded>
			<category domain="http://www.vbhackers.com/f80/">vBulletin Modification Tutorials</category>
			<dc:creator>cRs!MP</dc:creator>
			<guid isPermaLink="true">http://www.vbhackers.com/f80/howto-ibproarcade-make-newest-champions-clickable-13044/</guid>
		</item>
		<item>
			<title><![CDATA[[HowTo] ibProArcade - More than one Random Game]]></title>
			<link>http://www.vbhackers.com/f80/howto-ibproarcade-more-than-one-random-game-13043/</link>
			<pubDate>Sun, 05 Sep 2010 21:45:20 GMT</pubDate>
			<description><![CDATA[*For ibProArcade 2.6.X.... 
 
expand it to Random Games from 1 to x.! 
 
Image: http://img841.imageshack.us/img841/4623/aufnahme1m.jpg  
 
 
**in the file "arcade" - "functions" - "randomgame.php"..* 
 
*Find.:*]]></description>
			<content:encoded><![CDATA[<div><font size="2"><font color="Black"><b>For ibProArcade 2.6.X....<br />
<br />
expand it to Random Games from 1 to x.!<br />
<br />
<img src="http://img841.imageshack.us/img841/4623/aufnahme1m.jpg" border="0" alt="" class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);" /><br />
<br />
<br />
</b></font></font><font size="2"><font color="Black"><b>in the file &quot;<font color="Red">arcade</font>&quot; - &quot;<font color="Red">functions</font>&quot; - &quot;<font color="Red">randomgame.php</font>&quot;..</b></font></font><br />
<font color="Red"><br />
<b>Find.:</b></font><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">$DB-&gt;query(&quot;SELECT g.gid, g.gtitle, g.gname, g.gcat, cat.password, cat.active FROM ibf_games_list AS g, ibf_games_cats AS cat WHERE g.active=1 AND cat.active=1 AND g.gcat=cat.c_id AND trim(password)='' ORDER BY RAND() LIMIT <b><font color="Red">1</font></b>&quot;);</code><hr />
</div><font color="Black"><b><br />
<br />
<br />
<font size="2">The Red &quot;</font><font size="2"><font color="Red">1</font></font><font size="2">&quot; is the Number of Random Games</font></b><font size="2"><b>, this number you have <br />
to change, change for five Random Games on five.!<br />
<br />
<br />
<br />
</b></font></font><font size="2"><font color="Red"><b>Example, for five Random Games.:</b></font></font><br />
<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">$DB-&gt;query(&quot;SELECT g.gid, g.gtitle, g.gname, g.gcat, cat.password, cat.active FROM ibf_games_list AS g, ibf_games_cats AS cat WHERE g.active=1 AND cat.active=1 AND g.gcat=cat.c_id AND trim(password)='' ORDER BY RAND() LIMIT <b><font color="Red">5</font></b>&quot;);</code><hr />
</div><font color="Black"><br />
<br />
<br />
---------------------</font><br />
<br />
<font size="2"><font color="Black"><b>greeting, cRs!MP</b></font></font> :rolleyes:</div>

]]></content:encoded>
			<category domain="http://www.vbhackers.com/f80/">vBulletin Modification Tutorials</category>
			<dc:creator>cRs!MP</dc:creator>
			<guid isPermaLink="true">http://www.vbhackers.com/f80/howto-ibproarcade-more-than-one-random-game-13043/</guid>
		</item>
	</channel>
</rss>
