<?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>Buyxonline.com - eCommerce &#124; eMarketing &#124; Linux Systems</title>
	<atom:link href="http://www.buyxonline.com/ecommerceblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.buyxonline.com/ecommerceblog</link>
	<description>Buyxonline.com - eCommerce &#124; eMarketing &#124; Linux Systems</description>
	<lastBuildDate>Wed, 01 Sep 2010 09:43:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Network Logon script &#8211; Windows 2008 Domain</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/09/01/network-logon-script-windows-2008-domain/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/09/01/network-logon-script-windows-2008-domain/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 09:37:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Howto's]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=256</guid>
		<description><![CDATA[Ever wanted to Map Network drives for your Domain users when they log on ? How about automatically adding a printer ? Or Map a Network Drive for specific users only ?
No problem !  

@echo off
net use * /delete /y
net use R: \\DATA_SERVER\HOME_DRIVES$\%USERNAME% /persistent:no
net use W: \\DATA_SERVER\SHARE /persistent:no
start \\PRINT_SERVER_IP_ADDRESS\PINTER_NAME /MIN
IF (%USERNAME%) == (SOME_USER_NAME) net [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to Map Network drives for your Domain users when they log on ? How about automatically adding a printer ? Or Map a Network Drive for specific users only ?</p>
<p>No problem ! <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: bash;">
@echo off
net use * /delete /y
net use R: \\DATA_SERVER\HOME_DRIVES$\%USERNAME% /persistent:no
net use W: \\DATA_SERVER\SHARE /persistent:no
start \\PRINT_SERVER_IP_ADDRESS\PINTER_NAME /MIN
IF (%USERNAME%) == (SOME_USER_NAME) net use N: \\DATA_SERVER\SOME_SHARE /persistent:no
</pre>
<p>Put the above code into a text file on windows and rename it to logon_script.bat or any name really, as long as it is a .bat file. </p>
<p>Place the .bat file into your SYSVOL folder, and now, using Active Directory, Users and Groups, add the logon script to each user of your domain, and your done <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>To test, please log off and log on again, your printer should be added now, and your drives mapped. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/09/01/network-logon-script-windows-2008-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>forfiles &#8211; Remove Files older than XX days on Windows 2008</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/08/03/forfiles-remove-files-older-than-xx-days-on-windows-2008/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/08/03/forfiles-remove-files-older-than-xx-days-on-windows-2008/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 19:24:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=253</guid>
		<description><![CDATA[Ever wanted to remove files older than XX days and have it run as a sheduled task on Windows 2008 Server ?
Create a .bat file and paste the following into it, save it and add it as a Scheduled Task in Control Panel


forfiles /p c:\path\to\folder /s /m *.* /d -XX /c &#34;cmd /c del /Q [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to remove files older than XX days and have it run as a sheduled task on Windows 2008 Server ?</p>
<p>Create a .bat file and paste the following into it, save it and add it as a Scheduled Task in Control Panel</p>
<pre class="brush: bash;">

forfiles /p c:\path\to\folder /s /m *.* /d -XX /c &quot;cmd /c del /Q /S /F @file&quot;
</pre>
<p>Easy huh <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/08/03/forfiles-remove-files-older-than-xx-days-on-windows-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to bring in Related Product Data into View.phtml with Downloadable Sample Links</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/07/26/how-to-bring-in-related-product-data-into-view-phtml-with-downloadable-sample-links/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/07/26/how-to-bring-in-related-product-data-into-view-phtml-with-downloadable-sample-links/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 06:04:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=239</guid>
		<description><![CDATA[Morning Guys and Girls,
Today we will learn how to bring in related product data into the View.phtml or product colum or middle column.
To see a demo of this have a look at this page:
3AM Psytrance Timecode Records &#8211; Multistate &#8211; Collaborating with machines 
Ready? Let&#8217;s do it!


&#60;?php foreach ($_product-&#62;getRelatedProducts() as $related_product) {
 if (sizeof($_product-&#62;getRelatedProducts())&#62;0):
 ?&#62;
 [...]]]></description>
			<content:encoded><![CDATA[<p>Morning Guys and Girls,</p>
<p>Today we will learn how to bring in related product data into the View.phtml or product colum or middle column.</p>
<p>To see a demo of this have a look at this page:</p>
<p><a href="http://www.3am.co.za/music/timecode-records/timecode-records-multistate-collaborating-with-machines" title="3am Psytrance, your #1 source for the latest Psytrance Parties, Music and News" alt="3am Psytrance, your #1 source for the latest Psytrance Parties, Music and News">3AM Psytrance Timecode Records &#8211; Multistate &#8211; Collaborating with machines</a> </p>
<p>Ready? Let&#8217;s do it!</p>
<pre class="brush: php;">

&lt;?php foreach ($_product-&gt;getRelatedProducts() as $related_product) {
 if (sizeof($_product-&gt;getRelatedProducts())&gt;0):
 ?&gt;
 &lt;?php

$ids[] = $related_product-&gt;getId();

echo $relatedproduct-&gt;getName(); ?&gt;
</pre>
<p>That will get you related products. However, I actually extended it quite a bit more, in the sense that my related products are downloadable products, and I needed to get the sample link from these products. The complete code that I used therefor looks like this:</p>
<pre class="brush: php;">

&lt;?php $i = 1; ?&gt;
 &lt;?php foreach ($_product-&gt;getRelatedProducts() as $related_product) {
 if (sizeof($_product-&gt;getRelatedProducts())&gt;0):
 ?&gt;
 &lt;?php
 $ids[] = $related_product-&gt;getId();

 //Download product samples code <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ninja Go!!
 $_myprodsamples = Mage::getModel('downloadable/sample');
 $_mySampleCollection = $_myprodsamples-&gt;getCollection()-&gt;addProductToFilter($related_product-&gt;getId());

 $relatedproduct = Mage::getModel('catalog/product');
 $relatedproduct-&gt;load($related_product-&gt;getId());

 if (sizeof($_mySampleCollection)&gt;0):
 ?&gt;

 &lt;?php
 foreach ($_mySampleCollection as $_sample) {
 //$_samplelink = $this-&gt;getUrl('downloadable/download/sample/sample_id/'.$_sample-&gt;getId());
 $_samplelink = Mage::getModel('downloadable/sample')-&gt;load($_sample-&gt;getId())-&gt;getUrl();
 ?&gt;
 &lt;span&gt;&lt;?php echo $i++; ?&gt;&lt;?php echo $this-&gt;__('. ') ?&gt;&lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;player1.sendEvent('STOP'); player1.sendEvent('LOAD', {'image':'&lt;?php echo $_product-&gt;getImageUrl(); ?&gt;', 'file':'&lt;?php echo $_samplelink ?&gt;', 'provider':'sound', 'buffer':0, 'autostart':true});&quot; title=&quot;Click to play &lt;?php echo $relatedproduct-&gt;getName(); ?&gt;&quot;&gt;&lt;?php echo $relatedproduct-&gt;getName(); ?&gt;&lt;/a&gt;&lt;/span&gt;
 &lt;?php } ?&gt;
 &lt;?php /*endforeach;*/ ?&gt;

 &lt;?php endif; ?&gt;

 &lt;?php //Mage::Helper('debug')-&gt;log($_sample) ?&gt;
 &lt;?php endif; ?&gt;
 &lt;?php } ?&gt;
 &lt;?php /*endforeach;*/ ?&gt;
</pre>
<p>Beer time!<br />
There you have it, if you don&#8217;t come right, use the contact form to contact me, and I will set this up for you.</p>
<p>Have a wonderful day!</p>
<p>Winston</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/07/26/how-to-bring-in-related-product-data-into-view-phtml-with-downloadable-sample-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Cape Town</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/07/19/buyx-online-your-magento-friend-in-cape-town/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/07/19/buyx-online-your-magento-friend-in-cape-town/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 04:18:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=236</guid>
		<description><![CDATA[We work with Magento all day long, and know this system very well now.
At BUYX Online, we will be able to support, host, and develop your on-line store. We have also made Magento Partners throughout the world and can recommend someone in Europe, America, and India.
Should you have a Magento related query, contact us here.
]]></description>
			<content:encoded><![CDATA[<p>We work with Magento all day long, and know this system very well now.<br />
At BUYX Online, we will be able to support, host, and develop your on-line store. We have also made Magento Partners throughout the world and can recommend someone in Europe, America, and India.</p>
<p>Should you have a Magento related query, <a title="BUYX Online, Magento eCommerce" href="http://www.buyxonline.com/contacts/index/" target="_self">contact us here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/07/19/buyx-online-your-magento-friend-in-cape-town/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO Compile JW Player from Longtail on Windows</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/07/17/howto-compile-jw-player-from-longtail-on-windows/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/07/17/howto-compile-jw-player-from-longtail-on-windows/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 11:52:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JW Player]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=227</guid>
		<description><![CDATA[Okay today we will learn howto compile Actionscript, and JW Player on Windows Vista.
Normally I only work on Linux but since I have never done this I took the dummy way out. Sue me  
Okay We will need this software:

* Flex SDK 3.3: http://opensource.adobe.com/wiki/display/flexsdk/Downloads
* Ant 1.7.0: http://ant.apache.org/bindownload.cgi
* FlexUnit 4: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit (for testing the player)

Make [...]]]></description>
			<content:encoded><![CDATA[<p>Okay today we will learn howto compile Actionscript, and JW Player on Windows Vista.</p>
<p>Normally I only work on Linux but since I have never done this I took the dummy way out. Sue me <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Okay We will need this software:</p>
<pre class="brush: plain;">
* Flex SDK 3.3: http://opensource.adobe.com/wiki/display/flexsdk/Downloads
* Ant 1.7.0: http://ant.apache.org/bindownload.cgi
* FlexUnit 4: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit (for testing the player)
</pre>
<p>Make sure you get Flex version 3.3!! This is so Important otherwise you&#8217;ll get strange errors.</p>
<p>Okay I put Flex in this directory:</p>
<pre class="brush: plain;">
C:\Program Files\Adobe Flex Builder 3\sdks\3.3.0\
</pre>
<p>Inside this directory is the following contents:</p>
<pre class="brush: plain;">
ant
asdoc
bin
build.properties
build.xml
frameworks
lib
license-mpl.htm
readme-open.htm
samples
templates
</pre>
<p>That&#8217;s Flex done.<br />
Now for Ant</p>
<p>I downloaded ant and put it in the directory</p>
<pre class="brush: plain;">
C:\ant
</pre>
<p>There is no install, just copy the files. Inside the directory is the following contents:</p>
<pre class="brush: plain;">
bin
docs
etc
fetch.xml
get-m2.xml
INSTALL
KEYS
lib
LICENSE
NOTICE
README
WHATSNEW
</pre>
<p>That&#8217;s Ant done.</p>
<p>Now for JAVA SDK. I downloaded this file:<br />
jdk-6u21-windows-i586.exe and installed it. I chose the location:</p>
<pre class="brush: plain;">
C:\jdk_6
</pre>
<p>That&#8217;s JAVA SDK done.</p>
<p>Now grab your version of the JW Player source, and copy it to your C drive. My source is in this directory.</p>
<pre class="brush: plain;">
C:\trunk\fl5\
</pre>
<p>Inside this directory is the following contents:</p>
<pre class="brush: plain;">
assets
bin-release
build
doc
libs   ###NOTE### THIS DIRECTORY I COPIED FROM THE FLEX DIRECTORY
C:\Program Files\Adobe Flex Builder 3\sdks\3.3.0\frameworks
player.swf
player.xml
README.txt
src
test
yt.as
yt.fla
yt.swf
</pre>
<p>That&#8217;s our source Done!<br />
Now before we compile to open up our command line and give the following commands. You have to do this everytime you restart Windows and before you want to compile.</p>
<pre class="brush: plain;">
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk_6
set PATH=%PATH%;%ANT_HOME%\bin
</pre>
<p>Now for the goodstuff or the bad stuff, to compile the source code in the command line, navigate to</p>
<pre class="brush: plain;">
C:\ant\bin and give this command
</pre>
<pre class="brush: plain;">
ant -buildfile C:\trunk\fl5\build\build.xml
</pre>
<p>And that&#8217;s it! Good luck! Let&#8217;s go have a beer <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Winston</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/07/17/howto-compile-jw-player-from-longtail-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

