<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2475" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>Post Topic &#187; Tag: Mktg Dept - Recent Topics</title>
		<link>http://posttopic.com/tags/mktg-dept</link>
		<description>Open For Discussion</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Sep 2010 10:29:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2475</generator>
				<atom:link href="http://posttopic.com/rss/tags/mktg-dept/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>Chad Smith on "PHP Login Script"</title>
			<link>http://posttopic.com/topic/php-login-script#post-8</link>
			<pubDate>Tue, 06 Jan 2009 20:23:08 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">8@http://posttopic.com/</guid>
			<description><![CDATA[<p><strong>phpMyLogin</strong></p>
<p>Several sites I made required some kind of authentication using PHP, but since the sites were entirely custom coded - and needed to be to serve their purpose - I was unable to use a CMS just to have user registration and sign-ins.</p>
<p>The <a href="http://phpmylogin.com/download">enclosed code</a> is a PHP script I came up with to enable secure logins on any site it's dropped into. Some configuration is required, but as you will see, it's fast, secure, easy to set up, and most of all gets the job done.</p>
<p>This version uses MySQL to read and write user information. If you ask nicely, I might add the same functionality back into the initial SQLite version.</p>
<p><strong>Requirements</strong><br />
<pre><code>- PHP5+
- MySQL Database
- Apache
    - mod_rewrite enabled</code></pre>
<p>View the README file (it's in the zip) for instructions on installing and configuring the script for your site.</p>
<p><strong>Contents</strong></p>
<pre><code>example
    .htaccess - .htaccess file (place in root or add contents to your own)
    auth.php - example page that requires authentication
    change.php - example change/recover password page
    index.php - example index page
    login.css - example stylesheet (place in root or add to your own stylesheet)
    login.php - example login page
    manage.php - example change email page (requires authentication)
    signup.php - example registration page
root
    config.php - configuration file
    includes
        templates
            email
                activation.php - activation/welcome e-mail sent to new users
                change-password.php - change password e-mail sent to users
                html-dtd.php - valid xhtml 1.0 for html e-mails (can be modified
                to effect all emails)
                login-notification.php - user login notification sent to the site admin
                signup-notification.php - new user notification sent to the site admin
            forms
                change-email.php - the change e-mail form
                change-password.php - the new password form (used after e-mail link is
                clicked)
                login.php - the login form
                recover-password.php - the password recovery form
                signup.php - exactly what you think it is
    common.php - common functions, edit this code first
    db.functions.php - the database class, standalone at ezdb.org
    extend.php - set of plugin &#38; notification functions, edit this code second
    functions.php - the main functions for the login system
    plugin.functions.php - functions for action handling and plugins (borrowed from
    wordpress)
CHANGELOG - list of version changes
COPYING - license details
README - the thing you&#39;re reading</code></pre>
<p><strong>Features</strong></p>
<ul>
<li>Authentication using PHP and MySQL</li>
<li>Expiring nonces to deter spam and session hijacking</li>
<li>Salted passwords and sessions</li>
<li>Secured against SQL Injection</li>
<li>Built in change password, e-mail address, &#38; password recovery</li>
<li>Account activation &#38; user registration notification</li>
<li>User meta for profiles or additional data</li>
<li>Extendable using plugins</li>
<li>Easily integrates into other services</li>
<li>Easy to use templating system for customizing forms and e-mails</li>
<li>Valid XHTML 1.0 Strict</li>
</ul>
<p><code></code><br />
<strong><a href="http://phpmylogin.com/">Demo</a></strong></p>
<p><strong><a href="http://phpmylogin.com/download">Download</a></strong></p>
<p><strong><a href="http://phpmylogin.com/donate">Donate</a></strong></p>
<p><strong>Summary</strong></p>
<p>I initially wrote my own login script so I could fix all the bugs and security flaws of the scripts that already exist, and so there would be something that can easily be extended using plugins.</p>
<p>If you find any bugs or have any questions, let me know.  The next things I am working on for this include plugns for profiles and analytics, and OAuth and OpenID versions. The script as is provides a secure system of login, registration, and account management.
</p>]]></description>
					</item>
		<item>
			<title>Chad Smith on "MyDNStore - Domain Sales Script"</title>
			<link>http://posttopic.com/topic/mydnstore-domain-sales-script#post-201</link>
			<pubDate>Sat, 21 Nov 2009 06:35:19 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">201@http://posttopic.com/</guid>
			<description><![CDATA[A while back I launched a service called <a href="http://nocart.com/">No Cart</a> which allows people to sell stuff anywhere online using links. I use it whenever I sell a domain or other item on Craigslist, Twitter, or message board, because it's free to use and makes sending and receiving money via PayPal easy.<br />
<br />
No Cart is a great service (and by all means you should use it) but I found it's not the best solution when I want to sell a domain but don't already have a buyer.  My solution for this: <a href="http://mydnstore.com/">MyDNStore</a>.<br />
<br />
Like No Cart, MyDNStore lets enter your PayPal information and create links for items to sell, however there are a few major differences:<br />
<br />
<ol><li>You run your own store, meaning on your own domain and you're the only person who can use it</li>
<li>You can edit the items you list for sale</li>
<li>It's specifically for domains (I've seen people sell tea, furniture, and even cars using No Cart)</li>
<li>When you sell a domain (such as <a href="http://voteforkids.com/">voteforkids.com</a>) people who visit the name will see it's for sale AND will stay on the domain</li></ol>
<br />
Several people were using No Cart to sell domains but had to create their own redirects to send traffic from the domain to their No Cart page.  A self-hosted install of MyDNStore does this for you.<br />
<br />
<a href="http://mydnstore.com">MyDNStore.com</a> is where I run my store and offer this free script. Try it for yourself at <a href="http://demo.mydnstore.com/">demo.mydnstore.com</a> (admin/admin).<br />
<br />
The script is for personal use only and is not to be modified or sold without my permission.  Contact me for licensing information if you wish to use MyDNStore for commercial purposes.<br />
<br />
Requirements<br />
<br />
- Apache w mod_rewrite enabled<br />
- MySQL<br />
- PHP<br />
<br />
View the README file (it's in the zip) for instructions on installing and configuring the script for your site.<br />
<br />
<strong><a href="http://demo.mydnstore.com/">Demo Store</a><br />
<a href="http://mydnstore.com/">Active Store</a><br />
<a href="http://example.mydnstore.com/">Example Listing</a><br />
<a href="http://demo.mydnstore.com/example">Example Listing</a><br />
<a href="http://voteforkids.org/">Active Listing</a><br />
<a href="http://mydnstore.com/beer-company">Active Listing</a></strong><br />
<br />
<strong><a href="http://mydnstore.com/download">Download</a></strong>]]></description>
					</item>
		<item>
			<title>Chad Smith on "jQuery Shuffle Plugin"</title>
			<link>http://posttopic.com/topic/jquery-shuffle-plugin#post-197</link>
			<pubDate>Sat, 14 Nov 2009 11:51:44 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">197@http://posttopic.com/</guid>
			<description><![CDATA[<style type="text/css">.code{color:#3a6ff8}h3 a{color:#333;cursor:pointer;text-decoration:none}</style>
<h2><a href="http://mktgdept.com/jquery-shuffle">jQuery Shuffle Plugin</a></h2>
<h3>Summary</h3>
A jQuery plugin for shuffling a set of elements.<br />
<br />
<h3>Author</h3>
<a href="http://twitter.com/chadsmith">Chad Smith</a> (<a href="mailto:chad@nospam.me">email</a>)<br />
<br />
<h3>Requires</h3>
<ul>
<li><a href="http://code.jquery.com/jquery-latest.js">jQuery</a></li>
</ul>
<br />
<h3>Download</h3>
<a href="http://mktgdept.com/js/jquery-shuffle.js?v0.0.1">jquery-shuffle.js</a> (713 bytes)<br />
<br />
<h3>License</h3>
Dual licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a> and <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a> licenses.<br />
<br />
<h3>Usage</h3>
To shuffle a set of elements use: <span class="code">$(selector).shuffle();</span> or <span class="code">$.shuffle(selector);</span><br />
<br />
<h3>Version History</h3>
<ul>
<li><strong><a href="http://plugins.jquery.com/node/11349">v0.0.1</a></strong> - November 13th, 2009</li>
</ul>
<br />
<h3><a href="">Support</a></h3>
<h3><a href="http://mktgdept.com/jquery-shuffle">Examples</a></h3>]]></description>
					</item>
		<item>
			<title>Chad Smith on "jQuery Crash"</title>
			<link>http://posttopic.com/topic/jquery-crash#post-196</link>
			<pubDate>Sat, 14 Nov 2009 11:44:49 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">196@http://posttopic.com/</guid>
			<description><![CDATA[<style type="text/css">.code{color:#3a6ff8}h3 a{color:#333;cursor:pointer;text-decoration:none}</style>
<h2><a href="http://mktgdept.com/jquery-crash">jQuery Crash Plugin</a></h2>
<h3>Summary</h3>
A jQuery plugin for crashing IE6. That'll teach those motherf!%@*#s to upgrade their s#*t.<br />
<br />
<h3>Author</h3>
<a href="http://twitter.com/chadsmith">Chad Smith</a> (<a href="mailto:chad@nospam.me">email</a>)<br />
<br />
<h3>Requires</h3>
<ul>
<li><a href="http://code.jquery.com/jquery-latest.js">jQuery</a></li>
</ul>
<br />
<h3>Download</h3>
<a href="http://mktgdept.com/js/jquery-crash.js?v0.0.1">jquery-crash.js</a> (492 bytes)<br />
<br />
<h3>License</h3>
Dual licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a> and <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a> licenses.<br />
<br />
<h3>Usage</h3>
To crash IE6 call: <span class="code">$.crash();</span><br />
<br />
<h3>Version History</h3>
<ul>
<li><strong><a href="http://plugins.jquery.com/node/11294">v0.0.1</a></strong> - November 10th, 2009</li>
</ul>
<br />
<h3><a href="http://www.getfirefox.com/">Support</a></h3>
<h3><a href="http://mktgdept.com/jquery-crash">Example</a></h3>]]></description>
					</item>
		<item>
			<title>Chad Smith on "Alertable - Website monitoring via Twitter"</title>
			<link>http://posttopic.com/topic/alertable-website-monitoring-via-twitter#post-180</link>
			<pubDate>Fri, 30 Oct 2009 10:47:09 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">180@http://posttopic.com/</guid>
			<description><![CDATA[I launched a new service recently that monitors your website traffic and alerts you on Twitter when something goes wrong.<br />
<br />
The service is similar to other uptime monitoring services in the sense that it tells you when something bad happens, but is entirely different since it doesn't constantly poke and prod your server to see if it's still running.<br />
<br />
Instead, Alertable is powered by your visitors. When someone visits your site it sends back a signal telling Alertable, "Hey, I'm still here!"<br />
<br />
<img src="http://imagepng.com/7p.png" alt="Alertable" style="max-width:100%" /><br />
<br />
Sign up using your twitter account and add the addresses of your sites. You are given a line of HTML to place on each of your pages so Alertable can go to work.<br />
<br />
Set how often you expect each of your sites to be visited, and that's it. You will receive a direct message if that length of time passes and no one visits your site.]]></description>
					</item>
		<item>
			<title>Chad Smith on "Free Cron Jobs"</title>
			<link>http://posttopic.com/topic/free-cron-jobs#post-179</link>
			<pubDate>Fri, 30 Oct 2009 10:24:25 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">179@http://posttopic.com/</guid>
			<description><![CDATA[My latest service just went into beta today. If you know what cron jobs are and have a use for them, you might want to check it out.<br />
<br />
<h3><a href="http://cronsource.com/">Cron Source</a></h3>
<br />
In the most basic sense, the service does nothing more than bring crowdsourcing to cron jobs.<br />
<br />
The way it works is simple: if your host limits or does not provide access to cron (or if they do but you hate them), sign up and enter the URLs of your cron jobs. Then, add your Cron code (a JavaScript file) to the bottom of each of your sites.<br />
<br />
Each time your cron code is loaded, your visitors will unknowingly run a cron job if one is waiting. If run time comes and no one is around, another site's visitors will run your cron job for you.<br />
<br />
Cron jobs can be scheduled to run as often as every 5 minutes. Crowdsourcing comes in to play because the cron jobs are initiated by your visitors rather than a web server.<br />
<br />
If you are interested in trying it, visit <a href="http://freecronjobs.com/">FreeCronJobs.com</a>.<br />
<br />
<img src="http://imagepng.com/7o.png" style="max-width:100%" alt="Cron Source" />]]></description>
					</item>
		<item>
			<title>Chad Smith on "Search Friendly URLs"</title>
			<link>http://posttopic.com/topic/search-friendly-urls#post-149</link>
			<pubDate>Fri, 11 Sep 2009 08:57:19 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">149@http://posttopic.com/</guid>
			<description><![CDATA[<a href="http://searchfriendlyurls.com/">Search Friendly URLs</a> is a free service I made to help website owners give their pages Search Friendly URLs.<br />
<br />
Enter your domain name, the ugly URLs you want to make pretty, and hit submit to have it create SEO friendly rewrites for you.<br />
<br />
The service will likely upset a lot of freelancers, because it is something good developers can do in minutes but charge outrageous rates for.  <a href="http://searchfriendlyurls.com/">Search Friendly URLs</a> allows you to do it yourself.<br />
<br />
The idea suddenly came to me the other night and took about an hour to code.<br />
<br />
<img src="http://imagepng.com/5Z.png" alt="Search Friendly URLs" style="max-width:100%" />]]></description>
					</item>
		<item>
			<title>Chad Smith on "jQuery Duff&#039;s Device"</title>
			<link>http://posttopic.com/topic/jquery-duffs-device#post-145</link>
			<pubDate>Fri, 28 Aug 2009 05:54:50 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">145@http://posttopic.com/</guid>
			<description><![CDATA[<style type="text/css">.code{color:#3a6ff8}.code span{color:#0ec925}h3 a{color:#333;cursor:pointer;text-decoration:none}.small{font-size:.8em}</style>
<h2><a href="http://mktgdept.com/jquery-duffs-device">jQuery Duff's Device</a></h2>
<h3>Summary</h3>
Use <a href="http://en.wikipedia.org/wiki/Duff%27s_device">Duff's device</a> for faster<sup>*</sup> loops.<br />
<br />
<h3>Author</h3>
<a href="http://twitter.com/chadsmith">Chad Smith</a> (<a href="&#109;&#97;&#x69;&#x6c;&#x74;&#111;&#58;&#x63;&#104;&#97;&#100;&#x40;&#x6e;&#111;&#x73;&#x70;&#x61;&#x6d;&#46;&#x6d;&#101;">email</a>)<br />
<br />
<h3>Requires</h3>
<ul>
<li><a href="http://code.jquery.com/jquery-latest.js">jQuery</a></li>
</ul>
<h3>Download</h3>
<a href="http://mktgdept.com/js/jquery-duff.js?v0.0.2">jquery-duff.js</a> (842 bytes)<br />
<br />
<h3>License</h3>
Dual licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a> and <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a> licenses.<br />
<br />
<h3>Usage</h3>
Use: <span class="code">$(element).<span>duff</span>(function(){...});</span> or <span class="code">$.<span>duff</span>(element,function(){...});</span><br />
In place of: <span class="code">$(element).<span>each</span>(function(){...});</span> and <span class="code">$.<span>each</span>(element,function(){...});</span><br />
<br />
<span class="small"><sup>*</sup>Duff's device is faster in many cases, but not every case. Loop speed depends on the browser and number of iterations, and can differ on each run.</span><br />
<br />
<h3>Version History</h3>
<ul>
<li><strong><a href="http://plugins.jquery.com/node/10014">v0.0.2</a></strong> - August 28th, 2009</li>
<li><strong><a href="http://plugins.jquery.com/node/9991">v0.0.1</a></strong> - August 27th, 2009</li>
</ul>
<h3><a href="http://posttopic.com/topic/jquery-duffs-device">Support</a></h3>
<h3><a href="http://mktgdept.com/jquery-duffs-device">Examples</a></h3>]]></description>
					</item>
		<item>
			<title>Chad Smith on "Good Karaoke API"</title>
			<link>http://posttopic.com/topic/good-karaoke-api#post-109</link>
			<pubDate>Sat, 27 Jun 2009 11:02:28 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">109@http://posttopic.com/</guid>
			<description><![CDATA[Alright, so it's not so much of an API, but it does a similar thing as #<a href="http://ksstorms.com/">ksstorms</a> and has actually been around for a few more years.<br />
<br />
<a href="http://goodkaraoke.com/">Good Karaoke</a> is a service / company I started that gives karaoke DJs a fancy way to display their song lists online and is instantly searchable. The domain name also happens to get me a ton of search traffic and ad revenue.<br />
<br />
The API &#038; service is free and was recently rewritten to make it faster and give it a smaller footprint.<br />
<br />
Here is what it looks like un-styled:<br />
<br />
<script type="text/javascript" src="http://goodkaraoke.com/karaoke.js"></script>
<script type="text/javascript">try{gk.list('e58XtujhKQ2BPO1QUnOe4l9y0B0BLqJQ')}catch(e){}</script>
<br />
Songs can be e-mailed to me or submitted through the site. Song lists are then delivered to websites via JavaScript in the following manner:<br />
<br />
&#60;script type=&#34;text/javascript&#34; src=&#34;http://goodkaraoke.com/karaoke.js&#34;&#62;&#60;/script&#62;<br />
&#60;script type=&#34;text/javascript&#34;&#62;try{gk.list('random string')}catch(e){}&#60;/script&#62;<br />
<br />
I originally intended on making the site into a social network for karaoke singers, but ultimately decided against it due to time requirements and other opportunities.  Instead, <a href="http://openmikemusic.com">Open Mike Music</a> - Wichita will soon be re-branded as <a href="http://goodkaraoke.com">Good Karaoke</a>, but the web service will still be offered.<br />
<br />
Open Mike Music is currently the #1 DJ service and karaoke company in Kansas City and Wichita.]]></description>
					</item>
		<item>
			<title>Chad Smith on "jQuery TinyMCE Plugin"</title>
			<link>http://posttopic.com/topic/jquery-tinymce-plugin#post-102</link>
			<pubDate>Sat, 13 Jun 2009 02:37:22 +0000</pubDate>
			<dc:creator>Chad Smith</dc:creator>
			<guid isPermaLink="false">102@http://posttopic.com/</guid>
			<description><![CDATA[<style type="text/css">.code{color:#3a6ff8}.code span{color:#0ec925}h3 a,#example{color:#333;cursor:pointer;text-decoration:none}</style>
<h2><a href="http://mktgdept.com/jquery-tinymce-plugin">jQuery TinyMCE Plugin</a></h2>
<h3>Summary</h3>
A plugin for embedding TinyMCE via unobtrusive jQuery.<br />
<br />
<h3>Author</h3>
<a href="http://twitter.com/chadsmith">Chad Smith</a> (<a href="&#109;&#97;&#x69;&#x6c;&#x74;&#111;&#58;&#x63;&#104;&#97;&#100;&#x40;&#x6e;&#111;&#x73;&#x70;&#x61;&#x6d;&#46;&#x6d;&#101;">email</a>)<br />
<br />
<h3>Requires</h3>
<ul>
<li><a href="http://tinymce.moxiecode.com/download.php">TinyMCE</a></li>
<li><a href="http://code.jquery.com/jquery-latest.js">jQuery</a></li>
</ul>
<h3>Download</h3>
<a href="http://mktgdept.com/js/jquery-tinymce.js?v0.0.1">jquery-tinymce.js</a> (804 bytes)<br />
<br />
<h3>License</h3>
Dual licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a> and <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a> licenses.<br />
<br />
<h3>Usage</h3>
Add TinyMCE to textareas or an element using:<br />
<span class="code">$('textarea').tinymce();</span><br />
<br />
Or specify plugins and themes too:<br />
<span class="code">$('.advanced').tinymce(<span>{theme:'advanced',plugins:'contextmenu,save,print'}</span>);</span><br />
<br />
Toggle one or many TinyMCE instances using:<br />
<span class="code">$('.editors').tinymce(<span>'toggle'</span>);</span><br />
<br />
Or remove instances entirely using:<br />
<span class="code">$('.editors').tinymce(<span>'remove'</span>);</span><br />
<br />
You can swap an active editor's skin too:<br />
<span class="code">$('.simple').tinymce(<span>{theme:'advanced',plugins:'contextmenu,save,print'}</span>);</span><br />
<br />
<h3>Version History</h3>
<ul>
<li><strong><a href="http://plugins.jquery.com/node/10016">v0.0.2</a></strong> - August 28th, 2009</li>
<li><strong><a href="http://plugins.jquery.com/node/8617">v0.0.1</a></strong> - June 12th, 2009</li>
</ul>
<h3><a href="http://posttopic.com/topic/jquery-tinymce-plugin">Support</a></h3>
<h3 id="example">Example</h3>
<h3><a href="http://mktgdept.com/jquery-tinymce-plugin">More Examples</a></h3>
<script type="text/javascript" src="http://mktgdept.com/js/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="http://api.mktgdept.com/jquery,tinymce"></script>
<script type="text/javascript">$(function(){$('#example').click(function(){if(!$('#post_content').length)location.href='http://mktgdept.com/jquery-tinymce-plugin';else{$('#post_content').tinymce();$(this).unbind('click')}})});</script>]]></description>
					</item>

	</channel>
</rss>
