<?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>FirmStream Blog</title>
	<atom:link href="http://blog.firmstream.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.firmstream.com</link>
	<description>Blog about Net Engineering techniques like PHP, Typo3, JavaScript, MooTools, (X)Html, CSS, Linux</description>
	<lastBuildDate>Wed, 27 Oct 2010 15:46:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Social Login to TYPO3 (sociallogin2t3)</title>
		<link>http://blog.firmstream.com/2010/10/19/social-login-to-typo3/</link>
		<comments>http://blog.firmstream.com/2010/10/19/social-login-to-typo3/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 14:02:18 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Net Engineering]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[typo3]]></category>
		<category><![CDATA[typo3 extension]]></category>

		<guid isPermaLink="false">http://blog.firmstream.com/?p=52</guid>
		<description><![CDATA[The extension &#8220;sociallogin2t3&#8243; is a social media login tool for logging into the front-end of TYPO3 with social media accounts from Facebook, Hyves, Twitter and LinkedIn based on OAuth authentication. It was developed by Ron Schoellmann and Joost van Berckel for the Dutch trade union CNV (Christelijk Nationaal Vakverbond). User data will be imported/ updated [...]]]></description>
			<content:encoded><![CDATA[<p><!-- p { margin-bottom: 0.08in; } -->The extension &#8220;sociallogin2t3&#8243; is a social media login tool for logging into the front-end of TYPO3 with social media accounts from Facebook, Hyves, Twitter and LinkedIn based on OAuth authentication. It was developed by Ron Schoellmann and Joost van Berckel for the Dutch trade union CNV (Christelijk Nationaal Vakverbond).</p>
<p>User data will be imported/ updated to table fe_users. User will be  logged in as FE user.</p>
<p>Link to the Typo3 Repository: <a href="https://typo3.org/extensions/repository/view/sociallogin2t3/current/">https://typo3.org/extensions/repository/view/sociallogin2t3/current/</a></p>
<h3>Guide</h3>
<p>Server requirements:</p>
<ul>
<li>PHP&gt;=5.2</li>
<li>libcurl package for PHP</li>
</ul>
<p><!-- p { margin-bottom: 0.08in; color: rgb(0, 0, 0); }p.western { font-family: "Tahoma",sans-serif; font-size: 9pt; }p.list-western { font-family: "Tahoma",sans-serif; font-size: 9pt; line-height: 150%; }p.list-cjk { line-height: 150%; }p.list-ctl { line-height: 150%; }h2 { margin-top: 0.2in; margin-bottom: 0.04in; color: rgb(102, 102, 102); text-align: left; page-break-before: always; }h2.western { font-family: "Tahoma",sans-serif; font-size: 20pt; font-style: normal; font-weight: normal; }h2.cjk { font-family: "Arial Unicode MS"; font-size: 14pt; font-style: italic; }h2.ctl { font-family: "Tahoma"; font-size: 14pt; font-style: italic; }h3 { margin-top: 0.16in; margin-bottom: 0.04in; color: rgb(105, 165, 80); text-align: left; page-break-before: auto; page-break-after: auto; }h3.western { font-family: "Tahoma",sans-serif; font-size: 15pt; font-style: normal; font-weight: normal; }h3.cjk { font-family: "Arial Unicode MS"; font-style: italic; }h3.ctl { font-family: "Tahoma"; font-style: italic; } -->User requirements</p>
<ul>
<li>Cookies activated</li>
</ul>
<p>Here is how to use it:</p>
<ul>
<li>Create an application for each service provider login (Facebook, Hyves, Twitter, Linkedin are possible) that you want to include. Don&#8217;t worry, no coding necessary here, you just need some numbers (consumer key or app id and the consumer secret).<br />
Links to service providers:<br />
<a href="http://developers.facebook.com/setup/">http://developers.facebook.com/setup/</a><br />
<a href="http://www.hyves.nl/developer/apiconsumer/">http://www.hyves.nl/developer/apiconsumer/</a><br />
<a href="http://twitter.com/apps/new">http://twitter.com/apps/new</a><br />
<a href="https://www.linkedin.com/secure/developer">https://www.linkedin.com/secure/developer</a></li>
<li>Install extension sociallogin2t3 through TYPO3 Extension Manager</li>
<li>Include static template &#8220;Social Login to TYPO3 (sociallogin2t3)&#8221; in your page template:<br />
Template &gt; Info/Modify &gt; “Edit the whole template record” &gt; Includes &gt; “Include static (from extensions)” &gt; Select  “Social Login to TYPO3 (sociallogin2t3)”</li>
<li>Use Template &gt; Constant Editor &gt; SOCIALLOGIN2T3 to enter user storage page, group id, keys and secrets where needed. The fields should be self-explanatory.</li>
<li>Insert the plugin on whatever page you want the login/ logout buttons to appear</li>
<li>Don&#8217;t use it in conjunction with ext facebook2t3 on the same page</li>
<li>Apply styling as necessary to “div.tx-sociallogin2t3-pi1” and possible children elements (there is a class for every button)</li>
<li>Check for demo on <a href="http://www.contentonline.nl/typo3-login-demo-with-hyves-twitter-facebook-and-linkedin/">http://www.contentonline.nl/typo3-login-demo-with-hyves-twitter-facebook-and-linkedin/</a></li>
<li>Check here for discussion</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.firmstream.com/2010/10/19/social-login-to-typo3/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Facebook Connect to TYPO3 (facebook2t3)</title>
		<link>http://blog.firmstream.com/2010/08/23/facebook-connect-to-typo3/</link>
		<comments>http://blog.firmstream.com/2010/08/23/facebook-connect-to-typo3/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 14:11:25 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Net Engineering]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[typo3]]></category>
		<category><![CDATA[typo3 extension]]></category>

		<guid isPermaLink="false">http://blog.firmstream.com/?p=35</guid>
		<description><![CDATA[TYPO3 extension to let users connect to their Facebook account and import data to fe_users. User will be logged in as FE user and a Facebook logout button will appear instead of the login button. Link to the TYPO3 Repository: https://typo3.org/extensions/repository/view/facebook2t3/current/ Guide Server requirements: PHP&#62;=5.2 libcurl package for PHP Here is how to use it: [...]]]></description>
			<content:encoded><![CDATA[<p>TYPO3 extension to let users connect to their Facebook account and import data to fe_users. User will be logged in as FE user and a 	Facebook logout button will appear instead of the login button.</p>
<p>Link to the TYPO3 Repository: <a href="https://typo3.org/extensions/repository/view/facebook2t3/current/">https://typo3.org/extensions/repository/view/facebook2t3/current/</a></p>
<h3>Guide</h3>
<p>Server requirements:</p>
<ul>
<li>PHP&gt;=5.2</li>
<li>libcurl package for PHP</li>
</ul>
<p>Here is how to use it:</p>
<ul>
<li>Create a Facebook application 	at <a href="http://developers.facebook.com/">http://developers.facebook.com/</a> (don&#8217;t worry, no coding necessary here, you just need some numbers and you have to type in your web site url in the core settings) 	and copy the application id and secret</li>
<li>Install extension facebook2t3 through 	TYPO3 Extension Manager</li>
<li>Include static template &#8220;Facebook 	Connect to TYPO3 (facebook2t3)&#8221; in your page template:<br />
Template &gt; Info/Modify &gt; “Edit the whole template 	record” &gt; Includes &gt; “Include static (from extensions)” 	&gt; Select  “Facebook Connect to TYPO3 (facebook2t3)”</li>
<li>Use Template &gt; Constant Editor &gt; 	FACEBOOK2T3 to enter user storage page, group id, Facebook 	application id, Facebook secret and fields as described in the 	constant editor</li>
<li>Insert the plugin on whatever page you 	want the login/ logout button to appear</li>
<li>Don&#8217;t use it in conjunction with ext sociallogin2t3 on the same page</li>
<li>Apply styling as necessary to 	“div.tx-facebook2t3-pi1” and possible children elements</li>
<li>Check here for discussion</li>
</ul>
<h3>FAQ</h3>
<p><strong>How to import the email address from Facebook?</strong></p>
<p>Just add “email” to constants via Constant Editor or typoscript. Here is an example:</p>
<blockquote><p>plugin.tx_facebook2t3_pi1 {</p>
<p style="padding-left: 30px;">facebookFields4Perms = email, name, first_name, last_name, link, gender, email<br />
facebookFields4Fetch = email, name, first_name, last_name, link, gender, email<br />
fe_usersFields = username, name, tx_facebook2t3_first_name, tx_facebook2t3_last_name, tx_facebook2t3_link, tx_facebook2t3_gender, email</p>
<p>}</p></blockquote>
<p>In this case the email address is imported twice into table fe_users: as username and email.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firmstream.com/2010/08/23/facebook-connect-to-typo3/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Search for string in files and replace string in these files only</title>
		<link>http://blog.firmstream.com/2010/05/25/search-for-string-in-files-and-replace-string-in-these-files/</link>
		<comments>http://blog.firmstream.com/2010/05/25/search-for-string-in-files-and-replace-string-in-these-files/#comments</comments>
		<pubDate>Tue, 25 May 2010 21:47:43 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Net Engineering]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.firmstream.com/?p=25</guid>
		<description><![CDATA[Here is a tiny script that I like to use for batch editing files from the shell command line: find . -iname &#8216;*.php&#8217; &#124; xargs grep &#8216;oldString&#8217; -sl &#124; xargs sed -i &#8216;s/oldString/newString/g&#8217; It is a combined command that does the following: Find all files ending in &#8216;.php&#8217; in the current folder or below and [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a tiny script that I like to use for batch editing files from the shell command line:</p>
<blockquote><p>find . -iname &#8216;*.php&#8217; | xargs grep &#8216;oldString&#8217; -sl | xargs sed -i &#8216;s/oldString/newString/g&#8217;</p></blockquote>
<p>It is a combined command that does the following:</p>
<ol>
<li>Find all files ending in &#8216;.php&#8217; in the current folder or below and pipe the output via xargs to</li>
<li>grep seach for &#8216;oldString&#8217; within these files, generate a result list and pipe it to the stream editor</li>
<li>sed, where &#8216;oldString&#8217; will be replaced by &#8216;newString&#8217;</li>
</ol>
<p>In this example only php files where &#8216;oldString&#8217; occurs will be touched.</p>
<p>Make sure to only edit files you really want to by leaving out the third part:</p>
<blockquote><p>find . -iname &#8216;*.php&#8217; | xargs grep &#8216;oldString&#8217; -sl</p></blockquote>
<p>This will show you the list of files to be touched.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firmstream.com/2010/05/25/search-for-string-in-files-and-replace-string-in-these-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding div layer in front of flash</title>
		<link>http://blog.firmstream.com/2010/04/03/adding-div-layer-in-front-of-flash/</link>
		<comments>http://blog.firmstream.com/2010/04/03/adding-div-layer-in-front-of-flash/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 19:41:42 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Net Engineering]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blog.firmstream.com/?p=10</guid>
		<description><![CDATA[If you want to add a layer in front of a flash object, e.g. to add the ability to make the flash clickable, or put an overlay above a flash, make sure to insert &#60;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221; /&#62; as object parameter. The div layer has to placed with a css style attribute whereever you need [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to add a layer in front of a flash object, e.g. to add the ability to make the flash clickable, or put an overlay above a flash, make sure to insert</p>
<blockquote><p>&lt;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221; /&gt;</p></blockquote>
<p>as object parameter.</p>
<p>The div layer has to placed with a css style attribute whereever you need it. In the example I let the div cover the entire side.</p>
<p>For IE I added a blank gif.</p>
<p>Here is an example that can be checked out on <a href="http://www.oscar-koeln.de/flash">oscar-koeln.de/flash</a>:</p>
<blockquote><p>&lt;object id=&#8221;fsIntro&#8221; classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24&#8243; width=&#8221;1280&#8243; height=&#8221;1024&#8243;&gt;</p>
<p style="padding-left: 30px;">&lt;param name=&#8221;movie&#8221; value=&#8221;flash.swf&#8221; /&gt;</p>
<p style="padding-left: 30px;">&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;</p>
<p style="padding-left: 30px;">&lt;param name=&#8221;menu&#8221; value=&#8221;false&#8221; /&gt;</p>
<p style="padding-left: 30px;">&lt;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221; /&gt;</p>
<p style="padding-left: 30px;">&lt;!&#8211;[if !IE]&gt; &lt;&#8211;&gt;</p>
<p style="padding-left: 30px;">&lt;object data=&#8221;flash.swf&#8221; width=&#8221;1280&#8243; height=&#8221;1024&#8243; type=&#8221;application/x-shockwave-flash&#8221;&gt;</p>
<p style="padding-left: 60px;">&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;</p>
<p style="padding-left: 60px;">&lt;param name=&#8221;menu&#8221; value=&#8221;false&#8221; /&gt;</p>
<p style="padding-left: 60px;">&lt;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221; /&gt;</p>
<p style="padding-left: 60px;">&lt;param name=&#8221;pluginurl&#8221; value=&#8221;http://www.macromedia.com/go/getflashplayer&#8221; /&gt;</p>
<p style="padding-left: 60px;">Alternative Text.</p>
<p style="padding-left: 30px;">&lt;/object&gt;</p>
<p style="padding-left: 30px;">&lt;!&#8211;&gt; &lt;![endif]&#8211;&gt;</p>
<p>&lt;/object&gt;</p>
<p>&lt;div style=&#8221;position:absolute; top:0px; left:0px; width:1280px; height:1024px;&#8221;&gt;</p>
<p style="padding-left: 30px;">&lt;a style=&#8221;position:absolute; top:0px; left:0px; width:1280px; height:1024px;&#8221; href=&#8221;/start&#8221;&gt;</p>
<p style="padding-left: 60px;">&lt;img style=&#8221;position:absolute; top:0px; left:0px; width:1280px; height:1024px;&#8221; src=&#8221;/links/include/blank.gif&#8221; alt=&#8221;"/&gt;</p>
<p style="padding-left: 30px;">&lt;/a&gt;</p>
<p>&lt;/div&gt;</p></blockquote>
<p>It took me a while to figure that out. Hope, it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.firmstream.com/2010/04/03/adding-div-layer-in-front-of-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

