<?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>SocialDeveloper.net &#187; Mods</title>
	<atom:link href="http://socialdeveloper.net/category/social-engine/mods/feed/" rel="self" type="application/rss+xml" />
	<link>http://socialdeveloper.net</link>
	<description>Building One Social Network At A Time.</description>
	<lastBuildDate>Thu, 02 Jul 2009 05:40:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ringtone Downloads for SE Music Plugin</title>
		<link>http://socialdeveloper.net/2009/02/ringtone-downloads-for-music-plugin/</link>
		<comments>http://socialdeveloper.net/2009/02/ringtone-downloads-for-music-plugin/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 04:30:38 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[Mods]]></category>
		<category><![CDATA[monetize]]></category>
		<category><![CDATA[ringtones]]></category>
		<category><![CDATA[Social Engine]]></category>
		<category><![CDATA[thumbplay]]></category>

		<guid isPermaLink="false">http://socialdeveloper.net/?p=123</guid>
		<description><![CDATA[Ok since ive been waiting for John to finish up the overdue updates for the upcoming video box, I decided to post my own mod that will help SE owners monetize there music plugin by offering Ringtone downloads   Its fairly simple so lets get started.
First off, you need to get a thumbplay affiliate [...]]]></description>
			<content:encoded><![CDATA[<p>Ok since ive been waiting for John to finish up the overdue updates for the upcoming video box, I decided to post my own mod that will help SE owners monetize there music plugin by offering Ringtone downloads <img src='http://socialdeveloper.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Its fairly simple so lets get started.</p>
<p>First off, you need to get a thumbplay affiliate id, get yours <a href="http://open.thumbplay.com/" target="_blank">here.</a> Make note of your id, it should look something like open_xxxxxx</p>
<p>Next, we need to open up our admin panel and navigate to Edit Html Templates</p>
<p>Click on &#8220;browse_music.tpl&#8221; and scroll down to the bottom where the following code comes up-</p>
<blockquote><p>3=$browse_music_list[browse_music_list_loop].music_uploader-&gt;user_displayname}<br />
&lt;/div&gt;</p></blockquote>
<p>Now write under it, paste the following code, replacing the open_xxxxx with your Thumbplay id</p>
<blockquote><p>&lt;a href=&#8221;http://offers.thumbplay.com/plp/artisttitle/landing.do?method=home&amp;pname=open_xxxxx&amp;thpartist={$browse_music_list[browse_music_list_loop].music_title|truncate:15:&#8221;&#8230;&#8221;:true}&#8221; target=&#8221;_blank&#8221;&gt;<br />
&lt;img height=&#8221;16&#8243; width=&#8221;15&#8243; BORDER=&#8221;0&#8243; src=&#8221;http://www.skreemr.com/images/thumbplay.gif&#8221; alt=&#8221;Get ringtones by this artist on Thumbplay!&#8221; /&gt; Download Ringtone<br />
&lt;/a&gt;</p></blockquote>
<p>Once your done, you should have something like this:</p>
<p><a href="http://socialdeveloper.net/wp-content/uploads/2009/02/finalsocial.gif"><img class="alignnone size-medium wp-image-128" title="finalsocial" src="http://socialdeveloper.net/wp-content/uploads/2009/02/finalsocial-300x92.gif" alt="finalsocial" width="300" height="92" /></a></p>
<p>And when you click the download ringtone button, it goes to this page in a new window</p>
<p><a href="http://socialdeveloper.net/wp-content/uploads/2009/02/finalsocial2.gif"><img class="alignnone size-medium wp-image-130" title="finalsocial2" src="http://socialdeveloper.net/wp-content/uploads/2009/02/finalsocial2-300x210.gif" alt="finalsocial2" width="300" height="210" /></a></p>
<p>Hope yall like this mod so leave your comments if you run into any problems!</p>
<p>And for the record, we are not fall out boy fans <img src='http://socialdeveloper.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://socialdeveloper.net/2009/02/ringtone-downloads-for-music-plugin/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>SQL Injection Protection SE 2&amp;3+</title>
		<link>http://socialdeveloper.net/2009/01/sql-injection-protection-se-23/</link>
		<comments>http://socialdeveloper.net/2009/01/sql-injection-protection-se-23/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 00:43:40 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[Mods]]></category>
		<category><![CDATA[se]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://socialdeveloper.net/?p=69</guid>
		<description><![CDATA[One of the most common forms of online misshap that plagues online applications would have to revolve around the act of sql injections. SQL injection is a code injection technique that exploits a security vulnerability within the database layer of an application. So in other words, skilled attackers might possibly exploit SE and gain access [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most common forms of online misshap that plagues online applications would have to revolve around the act of sql injections. <a href="http://en.wikipedia.org/wiki/SQL_injection" target="_blank">SQL injection</a> is a code injection technique that exploits a <span class="mw-redirect">security vulnerability within the </span>database layer of an application. So in other words, skilled attackers might possibly exploit SE and gain access to your site. SE is pretty secure but I dont know if this has been done or if anyone running SE has had this happen. But you can prevent it. Just add this code your your .htaccess and you should be set.</p>
<h2>Step 1</h2>
<p>If this code isn&#8217;t already in your .htaccess then go ahead and add it. If it is, skip to the next part.</p>
<blockquote><p>RewriteEngine On<br />
Options +Followsymlinks</p></blockquote>
<h2>Step 2</h2>
<p>Then place this within your .htaccess at the root of your site.</p>
<blockquote><p># Block out any script trying to base64_encode crap to send via URL<br />
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]<br />
# Block out any script that includes a &lt;script&gt; tag in URL<br />
RewriteCond %{QUERY_STRING} (\&lt;|%3C).*script.*(\&gt;|%3E) [NC,OR]<br />
# Block out any script trying to set a PHP GLOBALS variable via URL<br />
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]<br />
# Block out any script trying to modify a _REQUEST variable via URL<br />
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})<br />
RewriteRule ^(.*)$ /home.php [F,L]</p></blockquote>
<p>So basically this locks out any harmful queries that might be injected into your db. This is usually done through the URL so by using mod_rewrite and these restrictions, your making one SE safer at a time. Hope for the best and plan for the worst I guess. If anyone does know more about SE security bugs or stories please share.</p>
]]></content:encoded>
			<wfw:commentRss>http://socialdeveloper.net/2009/01/sql-injection-protection-se-23/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Integrate Google Analytics into SE 3+</title>
		<link>http://socialdeveloper.net/2009/01/integrate-google-analytics-into-se-3/</link>
		<comments>http://socialdeveloper.net/2009/01/integrate-google-analytics-into-se-3/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 05:32:06 +0000</pubDate>
		<dc:creator>Bryan</dc:creator>
				<category><![CDATA[Mods]]></category>
		<category><![CDATA[google analytics]]></category>

		<guid isPermaLink="false">http://socialdeveloper.net/?p=59</guid>
		<description><![CDATA[For people new to LAMP and other programing languages, you might not be familiar with Google Analytics. Most people have, but for those that haven&#8217;t, its a free reporting tool that lets you track the stats and visitors of visitors on your social network. Here is a quick description on how you can add Google [...]]]></description>
			<content:encoded><![CDATA[<p>For people new to LAMP and other programing languages, you might not be familiar with Google Analytics. Most people have, but for those that haven&#8217;t, its a free reporting tool that lets you track the stats and visitors of visitors on your social network. Here is a quick description on how you can add Google Analytics to your site.</p>
<h2>Step One</h2>
<p>Sign up for google analytics <a href="http://www.google.com/analytics/sign_up.html" target="_blank">here</a>, and add a site profile for your domain and proceed to the screen that gives you your tracking code. It should look something similar to this:</p>
<blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var gaJsHost = ((&#8220;https:&#8221; == document.location.protocol) ? &#8220;https://ssl.&#8221; : &#8220;http://www.&#8221;);<br />
document.write(unescape(&#8220;%3Cscript src=&#8217;&#8221; + gaJsHost + &#8220;google-analytics.com/ga.js&#8217; type=&#8217;text/javascript&#8217;%3E%3C/script%3E&#8221;));<br />
&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
try {<br />
var pageTracker = _gat._getTracker(&#8220;UA-4&#8212;&#8212;-&#8221;);<br />
pageTracker._trackPageview();<br />
} catch(err) {}&lt;/script&gt;</p></blockquote>
<h3>Step Two</h3>
<p>Go ahead and copy this code. You will need it when you edit the footer.tpl in the SocialEngine Admin section. Once you copy the code, go ahead and login to the admin section and navigate to HTML Templates. Once you get there, go ahead and click &#8220;footer.tpl&#8221; and the code should come up. Go ahead and scroll all the way to the bottom where it says <strong>&lt;/body&gt;</strong>.  Now go ahead and paste your Analytics code right before this. Now right above where it says &lt;script type&#8230;&#8230;.&gt; Type <strong>{literal}</strong> and right after where it says&lt;/script&gt; type<strong> {/literal}</strong> .</p>
<p>The literal tags prevent Smarty (The template engine) from confusing some of the code you pasted. You will get error messages if you dont use those literal tags so hope that helps. If you have any problems or ideas post em so we can come up with some easy mods for everyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://socialdeveloper.net/2009/01/integrate-google-analytics-into-se-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
