<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bgallz.org &#124; Web coding &#38; design tutorials, scripts, resources and more.</title>
	<atom:link href="http://bgallz.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://bgallz.org</link>
	<description>Web coding &#38; design tutorials, scripts, resources and more.</description>
	<lastBuildDate>Tue, 10 Jan 2012 00:58:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Building a Battlefield 3 Machine</title>
		<link>http://bgallz.org/1023/building-battlefield-3-machine/</link>
		<comments>http://bgallz.org/1023/building-battlefield-3-machine/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 03:17:27 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[battlefield 3]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[building]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[motherboard]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[processor]]></category>
		<category><![CDATA[video card]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=1023</guid>
		<description><![CDATA[Battlefield 3 will hit the shelves October 25th, 2011 for the PC, Xbox 360, and Playstation 3. If you are a PC gamer you know you are going to want a powerful machine to experience this much anticipated release. Battlefield 3 introduces the Frostbite 2.0 engine which is based on the 1.5 engine seen in Bad Company 2, so the ...]]></description>
			<content:encoded><![CDATA[<p>Battlefield 3 will hit the shelves October 25th, 2011 for the PC, Xbox 360, and Playstation 3. If you are a PC gamer you know you are going to want a powerful machine to experience this much anticipated release. Battlefield 3 introduces the Frostbite 2.0 engine which is based on the 1.5 engine seen in Bad Company 2, so the system requirements will be similar.</p>
<p><span style="color: #666699;"><strong>Minimum System Requirements:</strong></span></p>
<p><span style="color: #666699;"><span style="text-decoration: underline;">OS</span>: Windows Vista or Windows 7</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Processor</span>: Core 2 Duo @ 2.0GHz</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">RAM</span>: 2GB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphic card</span>: DirectX 10 or 11 compatible Nvidia or AMD ATI card.</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphics card memory</span>: 512 MB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Hard drive</span>: 15 GB for disc version or 10 GB for digital version</span></p>
<p><span style="color: #666699;"><strong>Recommended System Requirements:</strong></span></p>
<p><span style="color: #666699;"><span style="text-decoration: underline;">OS</span>: Windows 7 64-bit</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Processor</span>: Quad-core Intel or AMD CPU</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">RAM</span>: 4GB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphics card</span>: DirectX 11 Nvidia or AMD ATI card, GeForce GTX 460, Radeon Radeon HD 6850</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Graphics card memory</span>: 1 GB</span><br />
<span style="color: #666699;"> <span style="text-decoration: underline;">Hard drive</span>: 15 GB for disc version or 10 GB for digital version</span></p>
<h2>My Battlefield 3 Gaming Machine</h2>
<p><strong>CPU / Processor:</strong><br />
AMD Phenom II X6 1090T Black Edition Thuban 3.2GHz<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819103849" target="_blank">http://www.newegg.com/Product/Produc&#8230;82E16819103849</a></p>
<p><strong>Motherboard:</strong><br />
GIGABYTE GA-990XA-UD3 AM3+ AMD 990X<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813128510" target="_blank">http://www.newegg.com/Product/Produc&#8230;82E16813128510</a></p>
<p><strong>Video Card:</strong><br />
SAPPHIRE 100315L Radeon HD 6850 1GB 256-bit GDDR5<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814102908" target="_blank">http://www.newegg.com/Product/Produc&#8230;82E16814102908</a></p>
<p>with 8GB 1333 DDR3 memory and my current power supply / case which will fit the new components well.</p>
<p>Take the build found here in this article:<br />
<a href="http://pc.mmgn.com/Articles/Building-A-PC-For-Battlefield-3" target="_blank"> http://pc.mmgn.com/Articles/Building-A-PC-For-Battlefield-3</a></p>
<p>This build budget is <span style="color: #ff0000;"><strong>$1000</strong></span>.</p>
<p>With the 3 components I have above I am at $445 with a promotional code (<strong>HARDOCPX817E</strong>) on the processor. This promotion ends <span style="text-decoration: underline;">TODAY</span> &#8211; 8/23/11.</p>
<p>If I added on a Power Supply, HDD, CPU cooler, Case, DVD Drive, and memory:</p>
<p><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817341018">OCZ ModXStream Pro 700W</a> &#8211; <span style="color: #ff0000;">$59.99</span> (After rebate) + Free Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822136073">Western Digital WD5000AAKS 500GB</a> &#8211; <span style="color: #ff0000;">$49.99 + <span style="color: #000000;">Free Shipping</span><br />
<span style="color: #000000;"><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16835118059">ZALMAN CNPS10X Performa 120mm</a> &#8211; <span style="color: #ff0000;">$40.24</span></span></span> &#8211; Free Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811147153">Rosewill CHALLENGER Black Gaming ATX Mid Tower Computer Case</a> &#8211; $49.99 + $9.99 Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16827118039">Sony Optiarc CD/DVD Burner Drive</a> &#8211; <span style="color: #ff0000;">$19.99</span><span style="color: #000000;"> + Free Shipping<br />
<a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820231311">G.SKILL Ripjaws Series 8GB (2 x 4GB)</a> &#8211; <span style="color: #ff0000;">$49.99</span> + Free Shipping</span></p>
<h3><strong>Total</strong>: <span style="text-decoration: underline;"><strong><span style="color: #ff0000;">$749</span></strong></span> (Plus Tax)<br />
Saved: <span style="color: #008000;"><strong>$250!</strong></span><span style="color: #ff0000;"><span style="color: #000000;"><span style="color: #ff0000;"><br />
</span></span></span></h3>
<p>Now whether you are looking to put together a new computer all together or just upgrade some components, this may be helpful to you.</p>
<p>1. <span style="text-decoration: underline;"><strong>Establish your price range</strong></span> &#8211; Sounds simple, but careful &#8211; you may find yourself stretching your boundaries reaching for some luxurious hardware.</p>
<p>2. <span style="text-decoration: underline;"><strong>Look for the deals</strong></span> &#8211; Always look for specials online for websites like <a href="http://newegg.com/">Newegg.com</a> and <a href="http://www.tigerdirect.com/">TigerDirect.com</a>.</p>
<p style="padding-left: 30px;">Promotional codes and coupons can be found online  as well from places like <a href="http://www.retailmenot.com/">RetailMeNot.com</a> or Google. It pays to be patient as well for some upcoming deals for PC components. Check combo deals as well online for Motherboards/CPU&#8217;s or GPU/CPU&#8217;s.</p>
<p>3. <span style="text-decoration: underline;"><strong>Check compatibility</strong></span> -  It is <strong>very</strong> important when picking out computer parts to make sure they are compatible with everything else you are getting or with what you are keeping in your system.</p>
<p style="padding-left: 30px;">With Processors (CPU&#8217;s) you want to make sure your motherboard and CPU are both either Intel or AMD. For example my processor is &#8220;<strong>AMD</strong> Phenom II X6 1090T Black Edition&#8221; and my motherboard is &#8220;GIGABYTE GA-990XA-UD3 <strong>AM3+ AMD</strong> 990X.&#8221; Both are AMD. You also want to make sure that the motherboard accepts the CPU socket type of your processor. My CPU socket type is &#8220;<strong>Socket AM3</strong>&#8221; and if you look under details on my motherboard it says &#8220;CPU Socket Type: <strong>AM3+</strong>.&#8221; Your power supply must also have the power inputs that match your motherboard&#8217;s CPU power input. My motherboard has a 8 pin spot for the CPU and my power supply has that input.</p>
<p style="padding-left: 30px;">You also want to make sure your <span style="text-decoration: underline;">motherboard</span> is compatible with both the <span style="text-decoration: underline;">video card</span> and <span style="text-decoration: underline;">memory</span> you have. Most motherboards have multiple &#8220;PCI Express 2.0 x16&#8243; inputs. You will need at least one for your video card and more than one if you plan on having other components that will use these inputs (sound card, 2nd video card, etc.) The video card must also have the same &#8220;Chipset Manufacturer&#8221; as the motherboard/CPU brand (Intel or AMD). You should also check if features that are available from your video card are possible through your motherboard, such as SLI and CrossfireX. If you are getting a video card for any games (Battlefield 3) make sure it is <strong>DirectX11</strong> under <strong>3D API DirectX</strong>.</p>
<p style="padding-left: 30px;">Most memory online and in stores now is DDR3. If you are upgrading your motherboard you will need to make sure the memory you will have is a compatible speed and type.  If you look at &#8220;Memory Standard&#8221; under details for my motherboard it says &#8220;<strong>DDR3 2000(O.C.)/1866/1600/1333/1066</strong>.&#8221; So it is DDR3 and runs at those speeds &#8211; 2000 is &#8220;Over Clocked.&#8221; My memory is <strong>8GB DDR3 1600MHz</strong> so it is compatible.</p>
<p>Here is my motherboard layout:</p>
<p><img class="alignnone" title="Motherboard Layout" src="http://i671.photobucket.com/albums/vv77/bgallz/motherboard.gif" alt="" width="511" height="382" /></p>
<p>Enjoy building your new PC! Post your builds here or at <a href="http://bfgamerz.com/forum/showthread.php?p=1435#post1435">BFGamerz</a>!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=1023&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/1023/building-battlefield-3-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript &amp; PHP Star Rating Script</title>
		<link>http://bgallz.org/988/javascript-php-star-rating-script/</link>
		<comments>http://bgallz.org/988/javascript-php-star-rating-script/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 00:15:42 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[rater]]></category>
		<category><![CDATA[rating]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[star]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=988</guid>
		<description><![CDATA[I&#8217;ve searched around the interwebs for an ajax star rater and I came across a few different possibilities, all of which looked very good. The top result from google was Nick Stakenburg&#8217;s &#8220;Starbox&#8221; for &#8220;ajax star rater&#8221;. I also found Masuga Web Design&#8217;s Ajax Star Rater and a script from MySandbox to be popular results. However I couldn&#8217;t really seem ...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve searched around the interwebs for an ajax star rater and I came across a few different possibilities, all of which looked very good. The top result from google was <a href="http://www.nickstakenburg.com/projects/starbox/">Nick Stakenburg&#8217;s &#8220;Starbox&#8221;</a> for &#8220;ajax star rater&#8221;. I also found <a href="http://masugadesign.com/software/unobtrusive-ajax-star-rating-bar/">Masuga Web Design&#8217;s Ajax Star Rater</a> and a script from <a href="http://sandbox.ronggur.com/2009/05/30/jquery-tutorial-simple-ajax-star-rating-with-php/">MySandbox</a> to be popular results. However I couldn&#8217;t really seem to find a PHP / Mysql script that used Javascript for the rater effects. So I decided to make one based off of a script I found:</p>
<p><a href="http://www.reignwaterdesigns.com/ad/tidbits/rateme/">Reign Water Design&#8217;s 5 Star Rating System</a></p>
<p>This was a very nice easy to use Javascript 5 star rating script. All I had to do was make some tweaks to my preference and add on some PHP/Mysql code to submit the rating.</p>
<p><a href="http://bfgamerz.com/resource.php?g=bf-bad-company-2" target="_blank"><strong>See the demo</strong></a> or <a href="http://bgallz.org/scripts/bgallz.org-php-star-rater.rar"><strong>download this script</strong></a>.</p>
<p>To view the PHP source code, images, and everything together you must download this script.</p>
<h2>Javascript:</h2>
<p><strong>Insert the following in the &lt;<em>head</em>&gt; tags of your page:</strong><br />
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Javascript Source Code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/script.html"><span class="kw2">script</span></a> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span>&gt;</span>
function insertParam(key, value)
{
    key = escape(key); value = escape(value);
    var kvp = document.location.search.substr(1).split(&quot;<span class="sc1">&amp;&quot;);</span>
    var i=kvp.length; var x; while(i--)
    {
        x = kvp[i].split(&quot;=&quot;);
        if (x[0]==key)
        {
                x[1] = value;
                kvp[i] = x.join(&quot;=&quot;);
                break;
        }
    }
    if(i<span class="sc2">&lt;0<span class="br0">&#41;</span> <span class="br0">&#123;</span>kvp<span class="br0">&#91;</span>kvp.length<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="br0">&#91;</span>key,<span class="kw3">value</span><span class="br0">&#93;</span>.join<span class="br0">&#40;</span><span class="st0">&quot;=&quot;</span><span class="br0">&#41;</span>;<span class="br0">&#125;</span></span>
<span class="sc2">    <span class="sy0">//</span>this will reload the page, it<span class="st0">'s likely better to store this until finished</span>
<span class="sc2">    document.location.search = kvp.join(&quot;&amp;&quot;);</span>
<span class="sc2">}</span>
<span class="sc2">function alterDisplay(id){</span>
<span class="sc2">	var dropdown = document.getElementById(id);</span>
<span class="sc2">	if(dropdown.style.display == &quot;none&quot;){</span>
<span class="sc2">		dropdown.style.display = &quot;&quot;;</span>
<span class="sc2">	} else {</span>
<span class="sc2">		dropdown.style.display = &quot;none&quot;;</span>
<span class="sc2">	}</span>
<span class="sc2">}</span>
<span class="sc2">&lt;/script&gt;</span></span>
<span class="sc2">&lt;<a href="http://december.com/html/4/element/script.html"><span class="kw2">script</span></a> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span> <span class="kw3">language</span><span class="sy0">=</span><span class="st0">&quot;javascript&quot;</span> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;./scripts/ratingsys.js&quot;</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/script.html"><span class="kw2">script</span></a>&gt;</span></pre></div></div></p>
<h2>CSS</h2>
<p>You will need to include this in the &lt;<em>head</em>&gt; tags as well either in &lt;<em>style</em>&gt; tags or by &lt;<em>link</em>&gt;:<br />
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">CSS Styles</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="css" style="font-family:monospace;"><span class="re0">#rateMe</span> <span class="re0">#rate_overlay</span> <span class="br0">&#123;</span>
	<span class="kw1">position</span><span class="sy0">:</span><span class="kw2">absolute</span><span class="sy0">;</span>
	<span class="kw1">display</span><span class="sy0">:</span><span class="kw2">block</span><span class="sy0">;</span>
	<span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>
	<span class="kw1">margin</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
	<span class="kw1">padding</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
	<span class="kw1">height</span><span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span>
	<span class="kw1">width</span><span class="sy0">:</span><span class="kw2">auto</span><span class="sy0">;</span>
	<span class="kw1">background</span><span class="sy0">:</span><span class="re0">#eee</span> <span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_overlay.gif</span><span class="br0">&#41;</span> <span class="kw2">repeat-x</span><span class="sy0">;</span>
	<span class="kw1">z-index</span><span class="sy0">:</span><span class="nu0">2</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="re0">#rateStatus</span><span class="br0">&#123;</span><span class="kw1">width</span><span class="sy0">:</span><span class="re3">100px</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span><span class="re3">20px</span><span class="sy0">;</span>margin<span class="sy0">:</span><span class="re3">2px</span> 0 0 <span class="re3">5px</span><span class="sy0">;</span>font<span class="sy0">:</span> <span class="re3">12px</span> <span class="st0">&quot;Trebuchet MS&quot;</span><span class="sy0">,</span> Arial<span class="sy0">,</span> Helvetica<span class="sy0">,</span> <span class="kw2">sans-serif</span><span class="sy0">;</span> <span class="kw1">font-weight</span><span class="sy0">:</span> <span class="kw2">bold</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span><span class="br0">&#123;</span><span class="kw1">width</span><span class="sy0">:</span><span class="re3">152px</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span><span class="re3">50px</span><span class="sy0">;</span> <span class="kw1">padding</span><span class="sy0">:</span><span class="re3">0px</span><span class="sy0">;</span> <span class="kw1">margin</span><span class="sy0">:</span><span class="re3">0px</span><span class="sy0">;</span> <span class="kw1">vertical-align</span><span class="sy0">:</span><span class="kw1">top</span><span class="sy0">;</span> <span class="kw1">z-index</span><span class="sy0">:</span><span class="kw2">auto</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> li<span class="br0">&#123;</span><span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>list-style<span class="sy0">:</span><span class="kw2">none</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> li a<span class="re2">:hover</span><span class="sy0">,</span>
<span class="re0">#rateMe</span> <span class="re1">.on</span><span class="br0">&#123;</span><span class="kw1">background</span><span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_on.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> a<span class="br0">&#123;</span><span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>background<span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_off.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span><span class="sy0">;</span>width<span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span> <span class="kw1">height</span><span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span>cursor<span class="sy0">:</span><span class="kw2">pointer</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#rateMe</span> a<span class="re2">:hover</span><span class="br0">&#123;</span><span class="kw1">background</span><span class="sy0">:</span><span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_on.gif</span><span class="br0">&#41;</span> <span class="kw2">no-repeat</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re0">#ratingSaved</span><span class="br0">&#123;</span><span class="kw1">display</span><span class="sy0">:</span><span class="kw2">none</span><span class="sy0">;</span><span class="br0">&#125;</span>
<span class="re1">.saved</span><span class="br0">&#123;</span><span class="kw1">color</span><span class="sy0">:</span><span class="kw2">red</span><span class="sy0">;</span> <span class="br0">&#125;</span></pre></div></div></p>
<p>Basically I took the script that Water&#8217;s made and changed a few things to the css styles, added an overlay for the current rating, and wrote a php script to insert rates and determine the current rating, etc. I also added the Javascript functions <strong>insertParam()</strong> and <strong>alterDisplay()</strong>. You do not need to use this function insertParam() to create the url, you can simply set the &lt;<em>a</em>&gt; tags to something like this:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="html4strict" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/a.html"><span class="kw2">a</span></a> <span class="kw3">href</span><span class="sy0">=</span><span class="st0">&quot;./index.php?r=1&quot;</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;_1&quot;</span> <span class="kw3">title</span><span class="sy0">=</span><span class="st0">&quot;Terrible&quot;</span> <span class="kw3">onmouseover</span><span class="sy0">=</span><span class="st0">&quot;rating(this)&quot;</span> <span class="kw3">onmouseout</span><span class="sy0">=</span><span class="st0">&quot;off(this)&quot;</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/a.html"><span class="kw2">a</span></a>&gt;</span></pre></div></div>
<p>The Javascript function <strong>alterDisplay()</strong> is used to hide and show the overlay &lt;div&gt; that holds the current rating (if there is one). So when you mouse over the rating bar holder it hides the overlay so you can rate.</p>
<p>The PHP script grabs the information from the Mysql table that you specify in the function. You will need to adjust the following values:</p>
<ul>
<li><strong>$var</strong> &#8211; The column to base your mysql selection off of. Grab all rows where this column equals $id.</li>
<li><strong>$table</strong> &#8211; The table where the ratings are being held.</li>
<li><strong>$star_width</strong> &#8211; Width of the stars, default is 30px.</li>
</ul>
<p><strong><font color="red">You will need to be connected to a MYSQL database before calling the rating bar function.</font></strong></p>
<p>Since the syntax of the function is the following:</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Rating Bar Syntax</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="php" style="font-family:monospace;"><span class="kw2">function</span> rating_bar<span class="br0">&#40;</span><span class="re0">$id</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></div></div>
<p>You will need to supply the identifier (<strong>$id</strong>) which tells the PHP script which row to grab from the Mysql table.</p>
<p>To display the current rating after it has been rated on &#8211; because Javascript alone is not enough &#8211; I added an overlay &lt;<em>div</em>&gt; which will hold the current rating. This is done by setting the css style of this overlay div to the following:</p>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Rate Overlay CSS Style</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://bgallz.org/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://bgallz.org/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="css" style="font-family:monospace;"><span class="re0">#rateMe</span> <span class="re0">#rate_overlay</span> <span class="br0">&#123;</span>
	<span class="kw1">position</span><span class="sy0">:</span><span class="kw2">absolute</span><span class="sy0">;</span>
	<span class="kw1">display</span><span class="sy0">:</span><span class="kw2">block</span><span class="sy0">;</span>
	<span class="kw1">float</span><span class="sy0">:</span><span class="kw1">left</span><span class="sy0">;</span>
	<span class="kw1">margin</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
	<span class="kw1">padding</span><span class="sy0">:</span><span class="nu0">0</span><span class="sy0">;</span>
	<span class="kw1">height</span><span class="sy0">:</span><span class="re3">30px</span><span class="sy0">;</span>
	<span class="kw1">width</span><span class="sy0">:</span><span class="kw2">auto</span><span class="sy0">;</span>
	<span class="kw1">background</span><span class="sy0">:</span><span class="re0">#eee</span> <span class="kw2">url</span><span class="br0">&#40;</span><span class="co2">./images/star_overlay.gif</span><span class="br0">&#41;</span> <span class="kw2">repeat-x</span><span class="sy0">;</span>
	<span class="kw1">z-index</span><span class="sy0">:</span><span class="nu0">2</span><span class="sy0">;</span>
<span class="br0">&#125;</span></pre></div></div>
<h3>The <strong>position: aboslute </strong>and <strong>z-index: 2</strong> style attributes make the div lay over top of the <strong><span style="text-decoration: underline;">rateMe</span></strong> div which holds the rater and has a <strong>z-index: 1</strong>.</h3>
<img src="http://bgallz.org/?ak_action=api_record_view&id=988&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/988/javascript-php-star-rating-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battlefield 2142 v1.51 Patch &#8211; Final Release!</title>
		<link>http://bgallz.org/983/battlefield-2142-v1-51-patch-final-release/</link>
		<comments>http://bgallz.org/983/battlefield-2142-v1-51-patch-final-release/#comments</comments>
		<pubDate>Mon, 23 May 2011 23:03:51 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Gaming]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=983</guid>
		<description><![CDATA[
After a beta release of the patch version 1.51 for Battlefield 2142, EA Games has released a final patch now available for download. The patch includes a number of bug fixes, an increase in account security, four brand new maps, and the unlock of the expansion pack &#8220;Northern Strike&#8221; for all players with the patch installed. You will need patch ...]]></description>
			<content:encoded><![CDATA[<div style="float:right;padding: 5px"><img src="http://bfgamerz.com/images/gameimg/bf-2142.jpg" border="0" title="Battlefield 2142" /></div>
<p>After a beta release of the patch version 1.51 for Battlefield 2142, EA Games has released a final patch now available for download. The patch includes a number of bug fixes, an increase in account security, four brand new maps, and the unlock of the expansion pack &#8220;Northern Strike&#8221; for all players with the patch installed. <strong>You will need patch 1.50 installed before installing 1.51. </strong></p>
<p>You can download the <strong>Battlefield 2142 v1.50 Full Patch</strong> (525.30 MB) full patch here:<br />
<a title="Battlefield 2142 v1.50 Full Patch" href="http://bfgamerz.com/downloads.php?id=10&amp;key=Battlefield-2142-v150-Full-Patch" target="_blank">http://bfgamerz.com/downloads.php?id=10&amp;key=Battlefield-2142-v150-Full-Patch</a></p>
<p><strong>Patch Notes:</strong></p>
<ul>
<li>No Digital Rights Management on BF2142.exe file.</li>
<li>Northern Strike expansion free for all.</li>
<li>Four new maps: Strike at Karkand 2142 Operation Blue Pearl, Yellow Knife, and Molokai.</li>
<li>Account security updates.</li>
<li>Added fix for nVidia drivers to solve tinitus visual effect.</li>
<li>Hit detection bug fix:  Changed so that latency compensation history takes correct stored positions from buffer.</li>
<li>Updated as_titan_wake.tweak to allow for two attack choppers instead of the one previously allowed.</li>
</ul>
<p>Download the full update and much more at BFGamerz.com here:</p>
<p><a title="Battlefield 2142 v1.51 Full Patch Download" href="http://bfgamerz.com/downloads.php?id=45&amp;key=Battlefield-2142-v151-Final-Patch" target="_blank"><strong>Click here to download the Battlefield 2142. v1.51 Full Patch!</strong></a></p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=983&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/983/battlefield-2142-v1-51-patch-final-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check if Field Exists in Mysql Table</title>
		<link>http://bgallz.org/977/check-field-exists-mysql-table/</link>
		<comments>http://bgallz.org/977/check-field-exists-mysql-table/#comments</comments>
		<pubDate>Tue, 10 May 2011 17:03:42 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[PHP Functions]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[exists]]></category>
		<category><![CDATA[field]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=977</guid>
		<description><![CDATA[Sometimes it is useful to know if a field exists in a mysql table before running a query using that field name, especially when the field name is coming from some kind of user input.
So to do this we use the function mysql_list_fields to grab the fields out of a table and run through them with a for loop until ...]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is useful to know if a field exists in a mysql table before running a query using that field name, especially when the field name is coming from some kind of user input.</p>
<p>So to do this we use the function <strong>mysql_list_fields</strong> to grab the fields out of a table and run through them with a <em>for loop</em> until we find the one we are looking for &#8211; using the function <strong>mysql_field_name</strong>, in which case we return true. If we don&#8217;t find it, the function returns false.</p>
<pre>
&lt;?php

function fieldExists($table,$field)
{

global $db; // DATABASE NAME
// This function is made to have a mysql connection previously established. You can pass the database name globally like this.

$tableFields = mysql_list_fields($db,$table);

for($i=0;$i&lt;mysql_num_fields($tableFields);$i++){
// Run loop through fields.

if(mysql_field_name($tableFields, $i) == $field){
return true;
// We found the field we were looking for. Return true.
}

}
// No return otherwise, false.

}

?&gt;
</pre>
<p>And it&#8217;s that easy!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=977&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/977/check-field-exists-mysql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHMCS Cron Jobs in cPanel</title>
		<link>http://bgallz.org/873/whmcs-cron-jobs-cpanel/</link>
		<comments>http://bgallz.org/873/whmcs-cron-jobs-cpanel/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 08:46:21 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[whmcs]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=873</guid>
		<description><![CDATA[Here we will look at how to set up your WHMCS to run scheduled cron jobs through your cPanel. This allows you to let your clients automatically have their websites and hosting, etc. set up without actually manually doing it. It is an automation feature, which coming from your system&#8217;s cPanel, is availabile in WHMCS. Basically in cPanel you create ...]]></description>
			<content:encoded><![CDATA[<p>Here we will look at how to set up your WHMCS to run scheduled <strong>cron</strong> jobs through your cPanel. This allows you to let your clients automatically have their websites and hosting, etc. set up without actually manually doing it. It is an automation feature, which coming from your system&#8217;s cPanel, is availabile in WHMCS. Basically in cPanel you create a new job under <strong>Cron Jobs</strong> and set it to your <strong>cron.php</strong> in WHMCS to run the automation. These scheduled tasks are very useful for several web applications for businesses or even personal use.</p>
<p><em>So firstly, we need to create a new server in the Servers menu and a product in our Products and Services menu in WHMCS.</em></p>
<p>Assuming you have your WHMCS installed, go to the admin directory &#8220;whmcs/admin/&#8221; and login.</p>
<p>Under <strong>Setup</strong> go to <strong>Servers</strong> (if you don&#8217;t have a server already made) click <strong>Add New Server</strong>. You generally have one main server for the WHMCS you are using, but some larger companies and business/groups have multiple servers &#8211; VPS, Dedicated, etc. Here you need to fill in the information for your server. Below is an image of what mine looks like:</p>
<p><a href="http://bgallz.org/wp-content/uploads/2011/02/serversettings.jpg"><img class="alignnone size-medium wp-image-922" title="serversettings" src="http://bgallz.org/wp-content/uploads/2011/02/serversettings-300x201.jpg" alt="Server Settings" width="300" height="201" /></a></p>
<p>Depending on the software you are using you will need to select it in &#8220;Type&#8221; and input your connection username and password. You will then need to create at least one group for the server you just made. These groups are the different types of accounts that will be setup to run off of this server you select.</p>
<p>Then, under <strong>Setup</strong> go to <strong>Products/Services</strong>. If you don&#8217;t have any groups or products, click the add group/new product links to create a new group and a product inside that group. Set up whatever specific details you want for your new product. If it is hosting of some kind, or just a purchasable service, fill it out to its entirety.</p>
<p>Under the <strong>Module Settings</strong> tab, you will find the fields and inputs for setting up the cPanel and Cron Job properties. Below is an image of what my Product Module Settings looks like:</p>
<p><a href="http://bgallz.org/wp-content/uploads/2011/02/productmodulesettings.jpg"><img class="alignnone size-medium wp-image-921" title="productmodulesettings" src="http://bgallz.org/wp-content/uploads/2011/02/productmodulesettings-300x201.jpg" alt="Product Module Settings" width="300" height="201" /></a></p>
<p>I use cPanel so that is my Module Name. Then you just select the server group you just made for your server.</p>
<p><span style="text-decoration: underline;"><strong>Web Host Manager Settings</strong></span></p>
<p>In your cPanel at the very bottom of the index (homepage) there is a link for your Web Host Manager (WHM). This is the software that cPanel uses for maintaining all of the hosting accounts you have on your server. You must set up your nameservers here that are used in the server you setup in WHMCS. You do this by clicking the &#8220;<strong><strong>B</strong>asic cPanel &amp; WHM Setup</strong>&#8221; link. You must also add the packages here that are the same titles you used when setting up the products and services in the <strong>Module Settings</strong> tab under &#8220;<em>WHM Package Name</em>.&#8221; Your WHMCS will run Cron jobs based off of these values so make sure they are correct.</p>
<p>Finally, we must set the <strong>Cron Jobs Settings</strong> in cPanel.</p>
<p>On your cPanel index page, towards the bottom there is a link for <strong>Cron Jobs</strong>.</p>
<ol>
<li>Enter an email address for support on these accounts affected.</li>
<li>Enter the time interval for this Cron Job to be ran.</li>
<li>The <span style="text-decoration: underline;">Command</span> is the address to your <em>cron.php</em> file in WHMCS.</li>
</ol>
<p>My command line is something like so:</p>
<pre>php -q /home/mysite/public_html/whmcs/admin/cron.php</pre>
<p>This tells cPanel where to get the cron.php script from so it can run the automated jobs for your WHMCS services. Be sure to go through all the settings for the Product/Service you setup. There are a lot of features you may want on or off depending on what the service is.</p>
<p>And that&#8217;s it! Enjoy setting up endless hosting accounts, hands free!</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=873&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/873/whmcs-cron-jobs-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoid Duplicate Content Pages</title>
		<link>http://bgallz.org/907/avoid-duplicate-content-pages/</link>
		<comments>http://bgallz.org/907/avoid-duplicate-content-pages/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 22:41:29 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[HTML tags]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[pages]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=907</guid>
		<description><![CDATA[Many people do not think about the possibility of duplicate content  pages on their website, when this is very common and easily avoidable.  All it takes is a little HTML in the head tags of the page.
What is a duplicate content page?
Duplicate content is content that is showing up on the Internet by multiple URLs. Another words, a ...]]></description>
			<content:encoded><![CDATA[<p>Many people do not think about the possibility of duplicate content  pages on their website, when this is very common and easily avoidable.  All it takes is a little HTML in the head tags of the page.</p>
<p><span style="text-decoration: underline;"><strong>What is a duplicate content page?</strong></span></p>
<p>Duplicate content is content that is showing up on the Internet by multiple URLs. Another words, a page like <em>aboutus.php</em> might be coming with the same content as <em>aboutus.php?do=send</em>.</p>
<p>This causes some problems with search engines as far as determining  which page the engine should use for query matches, page ranking, use of  meta tags between the two versions, and just which one to include for  their indices.</p>
<p><span style="text-decoration: underline;"><strong>How do you avoid duplicate content?</strong></span></p>
<p>Let&#8217;s say these are your pages that are coming with the same content:</p>
<p><strong>Original source:</strong> <span style="color: blue;"><br />
post.php?id=1</span>.</p>
<p><strong>Duplicate content pages:</strong><br />
<span style="color: blue;">post.php?id=1&amp;lang=en<br />
post.php?id=1&amp;do=login</span></p>
<p>On post.php we can include a &lt;link&gt; tag that will reference to the  original source so Search Engines gather the original correct  information from the server, rather than trying to decide between the  serveral duplicate pages.</p>
<p>Place in the &lt;head&gt; tags of <strong>post.php</strong>:</p>
<pre>
echo&nbsp;&#039;&lt;link&nbsp;href=&quot;./post.php?id=&#039;.((int)$_GET[&#039;id&#039;]).&#039;&quot;&nbsp;rel=&quot;canonical&quot;&nbsp;/&gt;&#039;;
</pre>
<p>This will take the <strong>$id</strong> and put it into the URL as just <strong>post.php?id=$id</strong>.  So any other URL parameters, such as lang=en, or do=login, will not be  read as a duplicate page, but tell search engines to use the content of  just <strong>post.php?id=$id</strong>.</p>
<p>If you do not need to use PHP and you just want the page to load a set content of just <strong>post.php</strong> then you would use the tag like so:</p>
<pre>
&lt;link href=&quot;./post.php&quot; rel=&quot;canonical&quot; /&gt;
</pre>
<p>When using this method, you want to be sure that you are consistent  throughout your website with your canonical URLs. If your canonical url  is like: &#8220;http://www.bgallz.org/&#8221; then you want to use &#8220;www&#8221; in all of  your URL references and tags for the domain.</p>
<p>Now, if you have pages that you do NOT want included in any search  engine queries or crawled by search engine bots, then you want to use a  META tag with &#8220;noindex, nofollow&#8221;.</p>
<p>To block a page from search engine indexes places the following in the &lt;head&gt; tags:</p>
<pre>
<pre>
&lt;meta name=&quot;robots&quot; content=&quot;noindex, nofollow&quot;&gt;
</pre>
<p>Walla!</pre>
<img src="http://bgallz.org/?ak_action=api_record_view&id=907&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/907/avoid-duplicate-content-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gaming Website Script</title>
		<link>http://bgallz.org/875/gaming-website-script/</link>
		<comments>http://bgallz.org/875/gaming-website-script/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 16:43:19 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=875</guid>
		<description><![CDATA[Want to run a gaming website full of screenshots, videos, reviews, downloads and everything else on the games you wish to run? Easily upload and manage all data for the games you include on your website through the admin panel and control the entire site. The BFGamerz Gaming Script comes with vBulletin announcement thread viewer custom installed so you can ...]]></description>
			<content:encoded><![CDATA[<p>Want to run a gaming website full of screenshots, videos, reviews, downloads and everything else on the games you wish to run? Easily upload and manage all data for the games you include on your website through the admin panel and control the entire site. The BFGamerz Gaming Script comes with vBulletin announcement thread viewer custom installed so you can share your forum announcements on your homepage.</p>
<p>The BFGamerz Gaming Script allows you to easily add/edit/remove:</p>
<ul>
<li>Screenshots</li>
<li>Videos</li>
<li>Downloads</li>
<li>Reviews</li>
<li>Maps</li>
<li>Resources</li>
</ul>
<p>for every game you include on your website. Viewers will easily obtain all the information they need for your games. Create categories and sub-categories for your games as far as expansions, mods, etc. Members can use private messaging, add games to their profile with their in-game names, comment on nearly everything, and share videos and so much more.</p>
<p>Login to the BFGamerz Gaming Script using the following demo details:</p>
<p><strong>Username:</strong> Demo11<strong><br />
Password:</strong> demopass</p>
<p><a href="http://bfgamerz.com/" target="_blank">Try the BFGamerz Gaming Script here!</a></p>
<p>The BFGamerz Gaming Script is regularly $80.00 and is currently on sale for <span style="text-decoration: underline;"><strong>50%</strong><strong> OFF</strong></span>!</p>
<h3>Act now and get this script for just $40.00!</h3>
<p><span style="font-size: 11pt;"><del datetime="2010-12-30T15:10:45+00:00">Regular Price: $80.00</del>.</span><br />
<span style="font-size: 15pt; color: green;">Sale Price: $40.00!</span></p>
<p><button onclick="window.location = 'http://bgallz.org/whmcs/cart.php?gid=3';" name="Order Gaming Script" style="font:13pt verdana;font-weight:bold">Order Now</button></p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=875&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/875/gaming-website-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Your New Website</title>
		<link>http://bgallz.org/829/setting-website/</link>
		<comments>http://bgallz.org/829/setting-website/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 01:54:43 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=829</guid>
		<description><![CDATA[Before you do anything, you need to pick a domain name. For example: bgallz.org.
You want your domain to be simple, obvious, effective. Think of what your website is going to be about, think of all possible searches, keywords, and most commonly used phrases or words when talking about your &#8220;niche.&#8221; A niche is a specific/special idea or description to your ...]]></description>
			<content:encoded><![CDATA[<p>Before you do anything, you need to pick a <strong>domain name</strong>. For example: bgallz.org.</p>
<p>You want your domain to be simple, obvious, effective. Think of what your website is going to be about, think of all possible searches, keywords, and most commonly used phrases or words when talking about your &#8220;niche.&#8221; A niche is a specific/special idea or description to your site. Like any website can be about cute puppy dogs, but your site is about&#8230; &#8220;Where to adopt cute puppies!&#8221; Try to keep the domain name short as possible. Something like &#8220;adoptapup.org.&#8221;</p>
<p>You can register one at any of the following domain registars:</p>
<ul>
<li>Namecheap.com</li>
<li>Godaddy.com</li>
<li>Networksolutions.com</li>
</ul>
<p>There are plenty of others, these are just some I know of. Select the  domain you want (that&#8217;s available) and register it with a registrar.  This takes some time to get configured and defined on the registrar&#8217;s  side.</p>
<p>After you have decided on domain name, you need to get space to put the site on. This is where web hosting comes in to play.</p>
<p><a href="http://bgallz.org/hosting/" target="_self">Check out our web hosting packages!</a></p>
<p>Web hosting is not something to just pick any cheap possible option for. Your website is going to be hosted on the place you order from, so make sure it is reliable, dependable, stable, and yeah &#8211; a good price. At bgallz.org you can get 250 GB disk space and 10 TB bandwidth for just $3.99/mo. Web hosting is usually set up very quickly, and once you have your host paid for and cleared you can put your domain on it! You do this by either transferring your recently bought domain to the web host, OR by changing the nameservers to point to your new web host.</p>
<p>You can change the nameservers on your domain at the registrar you just registered at. In your account somewhere under each domain you have there, you should find a link to change domain nameservers or domain name setup.</p>
<p>Here is a screenshot off Namecheap where I have mine:</p>
<p><img class="alignnone" title="Namecheap Domain Nameservers" src="http://bgallz.org/images/namecheap_domain1.gif" alt="" width="646" height="415" /></p>
<p>Then you can enter your nameservers that are provided from your new web host. They are usually like ns1.webhostingsite.com and ns2.webhostingsite.com. These tell the registrar where to load your website&#8217;s files from.</p>
<p>Here is an image:</p>
<p><img class="alignnone" title="Namecheap nameservers Setup" src="http://bgallz.org/images/namecheap_domain2.gif" alt="" width="646" height="415" /></p>
<p>Now that your domain is setup with your new nameservers, you are ready to load your site&#8217;s files onto your new host.</p>
<p>Don&#8217;t have any files or web design? Check out my <a href="http://bgallz.org/web-design/design-packages/" target="_self">web design packages</a>. This is where the programming comes in to play. I recommend using Dreamweaver or something of similar power to program your web code into a beautiful working website. Please contact me for all your web programming needs! My email: support@bgallz.org.</p>
<p>With the purchase of your web hosting you should receive login details for your FTP and cPanel (or whatever system they are using).</p>
<p>I like to use Filezilla as my FTP program, <a href="http://filezilla-project.org/" target="_blank">download it here</a>.</p>
<p>Here is my FTP screen once logged in:</p>
<p><img class="alignnone" title="Filezilla FTP" src="http://bgallz.org/images/filezilla.gif" alt="" width="582" height="415" /></p>
<p>Once you are connected to your FTP you can upload all you want. Well based on whatever your limitations are as far as disk space. Usually you connect to ftp.yourdomain.com with the username and password your host provides you with. You want to upload in the <strong>/public_html/</strong> directory, this is the main directory for your website.</p>
<p>So when people access your website, such as http://yourdomain.com/images/image1.gif &#8211; this would be uploaded to:</p>
<p><em>/public_html/images/</em></p>
<p>Your done! Once your files are uploaded and your domain settles into its new nameservers, everything should be accessible and ready to go. Enjoy.</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=829&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/829/setting-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call of Duty: Black Ops &#8211; Lag &amp; Bug Fixes</title>
		<link>http://bgallz.org/709/call-duty-black-ops-lag-bug-fixes/</link>
		<comments>http://bgallz.org/709/call-duty-black-ops-lag-bug-fixes/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 19:35:27 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Gaming]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=709</guid>
		<description><![CDATA[Okay, so with the release of Call of Duty &#8211; Black Ops for PC there have been a few glitches and bugs found. These are easily fixable if you have any clue what you&#8217;re doing. It&#8217;s very easy actually &#8211; you just have to open the config_mp.cfg file located in:
C:\Program Files\Steam\SteamApps\common\call of duty black ops\players\

But first, open Steam. In your ...]]></description>
			<content:encoded><![CDATA[<p>Okay, so with the release of Call of Duty &#8211; Black Ops for PC there have been a few glitches and bugs found. These are easily fixable if you have any clue what you&#8217;re doing. It&#8217;s very easy actually &#8211; you just have to open the <strong>config_mp.cfg</strong> file located in:</p>
<h3><strong><span style="text-decoration: underline;">C:\Program Files\Steam\SteamApps\common\call of duty black ops\players\</span></strong></h3>
<p><strong><span style="text-decoration: underline;"><img class="alignright" title="Call of Duty Black Ops" src="http://www.pcaction.de/content/contentgfx//2010-07/black_ops_box.jpg" alt="Call of Duty Black Ops" width="170" height="275" /></span></strong></p>
<p>But first, open Steam. In your games list, right click on Call of Duty: Black Ops Multiplayer and go to Properties. Click on Updates and uncheck the &#8220;<strong>Enable Steam Cloud Updates</strong>&#8221; button. This can cause some extra unwanted CPU/bandwidth usage and lag.</p>
<p>In your profile&#8217;s folder you will find the config file.</p>
<p>Right click it, edit as Administrator if possible. Opening it with notepad makes it display all crunched into an unreadable mess. Open with <strong>Wordpad</strong> and you should be fine.</p>
<p>Search in wordpad: <strong>multi</strong></p>
<p>First two changes:</p>
<ol>
<li><span style="text-decoration: underline;">r_multiGpu</span> &#8211; Set &#8220;1&#8243; to &#8220;0&#8243; if you do not have multiple GPU&#8217;s (graphics cards) on your machine.</li>
<li><span style="text-decoration: underline;">r_multithreaded_device</span> &#8211; Set &#8220;0&#8243; to &#8220;1&#8243; if you have multiple cores on your processor. It&#8217;s required to have multi cores to play the game so you probably do&#8230;</li>
</ol>
<p>You can also change the following things in the config_mp file to reduce lag and glitchiness in game:</p>
<ul>
<li><em>cl_maxpackets</em> &#8211; Change to &#8220;100&#8243;. Increases your packet count so it will not fail as easily.</li>
<li><em>r_blur_allowed</em> &#8211; Set &#8220;1&#8243; to &#8220;0&#8243;.</li>
<li><em>r_glow_allowed</em> &#8211; Set &#8220;1&#8243; to &#8220;0&#8243;.</li>
<li><em>r_distortion</em> &#8211; Set &#8220;1&#8243; to &#8220;0&#8243;.</li>
<li><em>r_dof_enable</em> &#8211; Set &#8220;1&#8243; to &#8220;0&#8243;. Turns off depth of view.</li>
</ul>
<p>On top of these changes you should definitely consider the following:</p>
<ul>
<li>Exiting all other unneeded programs running in the background.</li>
<li>Try lowering game resolution / graphic settings. Turn <strong>anti-aliasing</strong> and <strong>game shadows</strong> OFF.</li>
<li>Press Ctrl+Alt+Del and open task manager. Under processes right click the game and set <strong>affinity</strong> to one CPU.</li>
</ul>
<p>I am assuming that Steam will release a patch to update the game and fix these things and others as well as far as the simple bugs in the new release.</p>
<p>These worked for me and many others, hope it works for you.</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=709&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/709/call-duty-black-ops-lag-bug-fixes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML Div Float Property</title>
		<link>http://bgallz.org/686/html-div-float-property/</link>
		<comments>http://bgallz.org/686/html-div-float-property/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 19:16:25 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[HTML tags]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://bgallz.org/?p=686</guid>
		<description><![CDATA[Using the HTML tag &#8211; &#60;div&#62; and the float style property, you can make designs for your websites. Well, you can make layouts for where design could be. This is a good structural tool in laying out where content will be on your web pages, images, blurbs, etc.
Let&#8217;s say we want a page to look like this:
First I&#8217;m going to ...]]></description>
			<content:encoded><![CDATA[<p>Using the HTML tag &#8211; &lt;div&gt; and the float style property, you can make designs for your websites. Well, you can make layouts for where design could be. This is a good structural tool in laying out where content will be on your web pages, images, blurbs, etc.</p>
<div id="attachment_689" class="wp-caption alignright" style="width: 298px"><a href="http://bgallz.org/wp-content/uploads/2010/11/divfloatlayout1.gif"><img class="size-full wp-image-689" title="divfloatlayout" src="http://bgallz.org/wp-content/uploads/2010/11/divfloatlayout1.gif" alt="Div Float Layout" width="288" height="288" /></a><p class="wp-caption-text">Div Float Layout</p></div>
<p>Let&#8217;s say we want a page to look like this:</p>
<p>First I&#8217;m going to set up the CSS styles we will set our &lt;div&gt;&#8217;s to in the HTML to give this page the right look as far as padding, margins, borders, etc. Once we have all the styles defined we will call them to the DIV tags in our HTML like so: &lt;div class=&#8221;CLASSNAME&#8221;&gt;. Using the right float&#8217;s in the right order will place our DIVs in the right places to make this layout.</p>
<p>This will go in our &lt;head&gt;  tags of the HTML page:</p>
<pre>
html, body, center {
padding: 0px;
margin: 0px;
height: 100%;
}
.header {
padding: 8px;
vertical-align: middle;
height: 80px;
background: #d60000;
}
.banner {
float: left;
border: 0;
vertical-align: middle;
width: 500px;
height: 60px;
}
.ads {
padding: 10px 0px;
float: right;
width: 300px;
height: 60px;
vertical-align: middle;
background: #ffb448;
}
.wrapper { /* Main page holder. */
padding: 10px;
width: 875px;
background: #fff;
height: 100%;
}
.page {
padding: 10px 0px;
width: 630px;
float: left;
height: 100%;
}
.top {
padding: 5px;
height: 40px;
background: #ff7c7c;
margin:0;
}
#boxes {
padding: 5px 0px;
}
.box {
width: 197px;
height: 197px;
padding: 3px;
margin: 3px;
background: #ffddaa;
float: right;
}
.rightside {
float: right;
text-align: center;
height: 100%;
padding: 10px 0px;
}
.nav {
padding: 5px;
background: #ccc;
width: 200px;
height: 100%;
min-height: 600px;
}
.content {
margin: 20px 0px;
width: 600px;
text-align: left;
}
</pre>
<p>Now we have to write the HTML to use these styles appropriately.</p>
<p>Here is our &lt;body&gt; HTML:</p>
<pre>
&lt;body&gt;
&lt;center&gt;
&lt;div class=&quot;wrapper&quot; align=&quot;center&quot;&gt;
&lt;div class=&quot;header&quot;&gt;
&lt;div class=&quot;ads&quot;&gt;Ads Here&lt;/div&gt;
&lt;div class=&quot;banner&quot;&gt;Banner Here&lt;/div&gt;
&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;rightside&quot;&gt;
&lt;div align=&quot;center&quot; class=&quot;nav&quot;&gt;Navigation&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot;&gt;
&lt;div class=&quot;top&quot;&gt;Content Here&lt;/div&gt;
&lt;div id=&quot;boxes&quot;&gt;
&lt;div class=&quot;box&quot; id=&quot;3&quot;&gt;Box 3&lt;/div&gt;
&lt;div class=&quot;box&quot; id=&quot;2&quot;&gt;Box 2&lt;/div&gt;
&lt;div class=&quot;box&quot; id=&quot;1&quot;&gt;Box 1&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;p&gt;Content Here, lots and lots of content here! Content Here, lots and lots of content here! Content Here, lots and lots of content here! Content Here, lots and lots of content here! Content Here, lots and lots of content here! Content Here, lots and lots of content here! Content Here, lots and lots of content here! Content Here, lots and lots of content here!Content Here, lots and lots of content here!&lt;/p&gt;
&lt;p&gt;Content Here, lots and lots of content here!Content Here, lots and lots of content here!Content Here, lots and lots of content here!Content Here, lots and lots of content here!Content Here, lots and lots of content here!&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/center&gt;
&lt;/body&gt;
</pre>
<p><a title="Div Float Layout" href="http://bgallz.org/html/divfloat.html" target="_blank">Take a look at the HTML in action here!</a></p>
<p>If you notice in the HTML the box&#8217;s are placed in descending order inside the &#8220;boxes&#8221; div ID. Since the box class is set to to the right:</p>
<pre>
.box {
float: right;
}
</pre>
<p>We put the boxes in descending order so that the HTML will read down the page and float the first one to the right, then the next, then the last. So it floats BOX3, then BOX2, then BOX1.</p>
<p>Using the float style property of DIV tags is really useful in making layouts because it does not require any real guidelines to follow as far as where it is on the page. This sounds a little wordy but basically with a combination of float, and position style attributes you can make your DIV&#8217;s go where ever you want.</p>
<img src="http://bgallz.org/?ak_action=api_record_view&id=686&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://bgallz.org/686/html-div-float-property/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

