<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUcFQXk8fyp7ImA9Wx5QEUQ.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079</id><updated>2010-08-30T12:36:50.777-07:00</updated><title>CodePyro</title><subtitle type="html">a blog about programming, ideas, and interesting tech</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.codepyro.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.codepyro.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Codepyro" /><feedburner:info uri="codepyro" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Codepyro</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;C0IGRnY-fip7ImA9Wx5RGEo.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-2588316555881771876</id><published>2010-08-26T18:12:00.000-07:00</published><updated>2010-08-26T18:12:07.856-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-26T18:12:07.856-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="k2" /><category scheme="http://www.blogger.com/atom/ns#" term="template" /><title>k2 how to show comments on latestitem or category</title><content type="html">If your here you are wondering how the heck am i able to show the comments section for a K2 item in either the latestitem or category template.&lt;br /&gt;
&lt;br /&gt;
For starters you need to create a customized template override by placing a copy of &lt;br /&gt;
components/com_k2/templates into &lt;b&gt;/templates/[YOUR TEMPLATE]/html/com_k2/&lt;/b&gt;. &lt;br /&gt;
&lt;span class="note"&gt;Note: notice there will not be a templates folder in your custom html/com_k2. The template files go directly into the com_k2 folder!&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://community.getk2.org/notes/index/search?q=view"&gt;More details on templates&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I am using a menu item to pull k2 content, which doesn't show you the menu for selecting a sub-template. Basically this requires you to edit the template in the Default folder.  &lt;br /&gt;
&lt;br /&gt;
Now go ahead and edit the &lt;b&gt;/templates/[YOUR TEMPLATE]/html/com_k2/latest_item.php&lt;/b&gt;. Find the line that says...&lt;br /&gt;
&lt;pre class="brush: plain"&gt;&amp;lt;?php echo $this-&amp;gt;item-&amp;gt;event-&amp;gt;K2AfterDisplay; ?&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
Now paste the following code just after that line.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;
&amp;lt;?php 
     //you can set the limit start by using pagination; we only needed the top 3 comments
  //look at line 143 of /components/com_k2/views/item/view.html.php
  $limitstart =0;
  $limit = 3;
  //get the comments array
  $comments = K2ModelItem::getItemComments($this-&amp;gt;item-&amp;gt;id, $limitstart, $limit);
   $this-&amp;gt;item-&amp;gt;comments = $comments; 
  ?&amp;gt;
  
  &amp;lt;?php if($this-&amp;gt;item-&amp;gt;params-&amp;gt;get('itemComments') &amp;&amp; ( ($this-&amp;gt;item-&amp;gt;params-&amp;gt;get('comments') == '2' &amp;&amp; !$this-&amp;gt;user-&amp;gt;guest) || ($this-&amp;gt;item-&amp;gt;params-&amp;gt;get('comments') == '1'))):?&amp;gt;
  &amp;lt;!-- K2 Plugins: K2CommentsBlock --&amp;gt;
  &amp;lt;?php echo $this-&amp;gt;item-&amp;gt;event-&amp;gt;K2CommentsBlock; ?&amp;gt;
  &amp;lt;?php endif;?&amp;gt;

 &amp;lt;?php if($this-&amp;gt;item-&amp;gt;params-&amp;gt;get('itemComments') &amp;&amp; !JRequest::getInt('print') &amp;&amp; ($this-&amp;gt;item-&amp;gt;params-&amp;gt;get('comments') == '1' || ($this-&amp;gt;item-&amp;gt;params-&amp;gt;get('comments') == '2')) &amp;&amp; empty($this-&amp;gt;item-&amp;gt;event-&amp;gt;K2CommentsBlock)):?&amp;gt;
  &amp;lt;!-- Item comments --&amp;gt;
  &amp;lt;a name="itemCommentsAnchor" id="itemCommentsAnchor"&amp;gt;&amp;lt;/a&amp;gt;

  &amp;lt;div class="itemComments"&amp;gt;

   &amp;lt;?php if($this-&amp;gt;item-&amp;gt;comments): ?&amp;gt;
  

   &amp;lt;ul class="itemCommentsList"&amp;gt;
     &amp;lt;?php foreach ($this-&amp;gt;item-&amp;gt;comments as $key=&amp;gt;$comment): ?&amp;gt;
   &amp;lt;li class="&amp;lt;?php echo ($key%2) ? "odd" : "even"; echo (!$this-&amp;gt;item-&amp;gt;created_by_alias &amp;&amp; $comment-&amp;gt;userID==$this-&amp;gt;item-&amp;gt;created_by) ? " authorResponse" : ""; ?&amp;gt;"&amp;gt;
 
    &amp;lt;span class="commentLink"&amp;gt;
     &amp;lt;a href="&amp;lt;?php echo $this-&amp;gt;item-&amp;gt;link; ?&amp;gt;#comment&amp;lt;?php echo $comment-&amp;gt;id; ?&amp;gt;" name="comment&amp;lt;?php echo $comment-&amp;gt;id; ?&amp;gt;" id="comment&amp;lt;?php echo $comment-&amp;gt;id; ?&amp;gt;"&amp;gt;
      &amp;lt;?php echo JText::_('Comment Link'); ?&amp;gt;
     &amp;lt;/a&amp;gt;
    &amp;lt;/span&amp;gt;
 
     &amp;lt;?php if($comment-&amp;gt;userImage):?&amp;gt;
     &amp;lt;img src="&amp;lt;?php echo $comment-&amp;gt;userImage; ?&amp;gt;" alt="&amp;lt;?php echo $comment-&amp;gt;userName; ?&amp;gt;" width="&amp;lt;?php echo $this-&amp;gt;item-&amp;gt;params-&amp;gt;get('commenterImgWidth'); ?&amp;gt;" /&amp;gt;
     &amp;lt;?php endif; ?&amp;gt;
 
     &amp;lt;span class="commentDate"&amp;gt;
     &amp;lt;?php echo JHTML::_('date', $comment-&amp;gt;commentDate, JText::_('DATE_FORMAT_LC2')); ?&amp;gt;
    &amp;lt;/span&amp;gt;
 
    &amp;lt;span class="commentAuthorName"&amp;gt;
     &amp;lt;?php echo JText::_("posted by"); ?&amp;gt;
     &amp;lt;?php if(!empty($comment-&amp;gt;userLink)): ?&amp;gt;
     &amp;lt;a href="&amp;lt;?php echo $comment-&amp;gt;userLink; ?&amp;gt;" title="&amp;lt;?php echo $comment-&amp;gt;userName; ?&amp;gt;" target="_blank" rel="nofollow"&amp;gt;
      &amp;lt;?php echo $comment-&amp;gt;userName; ?&amp;gt;
     &amp;lt;/a&amp;gt;
     &amp;lt;?php else: ?&amp;gt;
     &amp;lt;?php echo $comment-&amp;gt;userName; ?&amp;gt;
     &amp;lt;?php endif; ?&amp;gt;
    &amp;lt;/span&amp;gt;
 
    &amp;lt;p&amp;gt;&amp;lt;?php echo $comment-&amp;gt;commentText; ?&amp;gt;&amp;lt;/p&amp;gt;
 
     &amp;lt;div class="clr"&amp;gt;&amp;lt;/div&amp;gt;
   &amp;lt;/li&amp;gt;
   &amp;lt;?php endforeach; ?&amp;gt;
    &amp;lt;/ul&amp;gt;
 
  &amp;lt;?php endif; ?&amp;gt;
 

   &amp;lt;?php $user = &amp;JFactory::getUser(); if ($this-&amp;gt;item-&amp;gt;params-&amp;gt;get('comments') == '2' &amp;&amp; $user-&amp;gt;guest):?&amp;gt;
&amp;lt;!--     &amp;lt;div&amp;gt;
   &amp;lt;a href="&amp;lt;?php echo $this-&amp;gt;item-&amp;gt;link.'#itemCommentsAnchor'; ?&amp;gt;" title="&amp;lt;?php if(!empty($this-&amp;gt;item-&amp;gt;image_caption)) echo $this-&amp;gt;item-&amp;gt;image_caption; else echo $this-&amp;gt;item-&amp;gt;title; ?&amp;gt;"&amp;gt;
   &amp;lt;?php echo JText::_('Login to post comments');?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;--&amp;gt;
   
   &amp;lt;div class="s5box_login cboxelement"&amp;gt;&amp;lt;a href="#"&amp;gt;&amp;lt;?php echo JText::_('Login to post comments');?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;
   &amp;lt;?php endif; ?&amp;gt;

  &amp;lt;/div&amp;gt;
  &amp;lt;?php endif; ?&amp;gt;
 

&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
If your interested the magic comes from the call to the K2ModelItem::getItemComments function. It actually retrieves the Comments array since it is not included in the Categories nor latest item. The Comments display code came directly from the item.php in the templates. Take a look at it if you need to add other functionality!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-2588316555881771876?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7IMCTufq4oY9HtENGpQkzxPJ4SE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7IMCTufq4oY9HtENGpQkzxPJ4SE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7IMCTufq4oY9HtENGpQkzxPJ4SE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7IMCTufq4oY9HtENGpQkzxPJ4SE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/mrasQwY94l8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/2588316555881771876/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/08/k2-how-to-show-comments-on-latestitem.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2588316555881771876?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2588316555881771876?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/mrasQwY94l8/k2-how-to-show-comments-on-latestitem.html" title="k2 how to show comments on latestitem or category" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/08/k2-how-to-show-comments-on-latestitem.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4DR3oyfip7ImA9Wx5RF0o.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-3807424359712544893</id><published>2010-08-25T14:14:00.001-07:00</published><updated>2010-08-25T14:16:16.496-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-25T14:16:16.496-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="feedburner" /><category scheme="http://www.blogger.com/atom/ns#" term="rss" /><category scheme="http://www.blogger.com/atom/ns#" term="module" /><title>joomla feedburner email signup module</title><content type="html">Just a simple module so you can setup the feedburner Email form signup. It would be easy to add the RSS link as well. &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://labs.codepyro.com/samples/joomla/mod_feedburner.zip"&gt;mod_feedburner&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-3807424359712544893?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mm_-UucmH2z0HqaBunNIQX6d4Hs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mm_-UucmH2z0HqaBunNIQX6d4Hs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mm_-UucmH2z0HqaBunNIQX6d4Hs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mm_-UucmH2z0HqaBunNIQX6d4Hs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/-qB1NgXszU4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/3807424359712544893/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/08/joomla-feedburner-email-signup-module.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3807424359712544893?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3807424359712544893?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/-qB1NgXszU4/joomla-feedburner-email-signup-module.html" title="joomla feedburner email signup module" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/08/joomla-feedburner-email-signup-module.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8CSHo4eyp7ImA9Wx5SGU8.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-3914028148400007635</id><published>2010-08-15T20:03:00.000-07:00</published><updated>2010-08-15T20:04:29.433-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-15T20:04:29.433-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="mootools" /><category scheme="http://www.blogger.com/atom/ns#" term="squeezebox" /><category scheme="http://www.blogger.com/atom/ns#" term="modalizer" /><title>Modalizer  show hidden DIV in joomla</title><content type="html">If you need to show a hidden div in joomla using modalizer, i have the hack for you!.&lt;br /&gt;
&lt;br /&gt;
Unfortunatly the mootools squeezebox script that comes with modalizer is different than normal joomla 1.5 squeezebox. Yep thats right the developers skipped the "adopt" feature that the normal squeezebox has, so I added it!&lt;br /&gt;
&lt;br /&gt;
Here is an example of how to set it up.&lt;br /&gt;
First download my hacked version of nn_squeezebox.js, extract and copy it to "\plugins\system\modalizer\modals\squeezebox"&lt;br /&gt;
&lt;pre class="brush: plain"&gt;&amp;lt;a   class="nn_squeezebox" rel="{handler: 'adopt', adopt: 'test',size:{x: 650, y: 500}}" &amp;gt;test&amp;lt;/a&amp;gt;

&amp;lt;div id="test" style="display:none"&amp;gt;YEA!!! it works&amp;lt;/div&amp;gt;

&lt;/pre&gt;&lt;br /&gt;
&lt;a href="http://labs.codepyro.com/samples/joomla/modalizer_fix.zip"&gt;DOWNLOAD fixed nn_squeezebox.js&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="note"&gt;NOTE: For some reason all the ID attributes get stripped from the code in the hidden div when displayed in the popup, so make them classes!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-3914028148400007635?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JPB-9rpZtJebQcEVyC5sfTGXzGw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JPB-9rpZtJebQcEVyC5sfTGXzGw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JPB-9rpZtJebQcEVyC5sfTGXzGw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JPB-9rpZtJebQcEVyC5sfTGXzGw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/LyAZGipB-Fo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/3914028148400007635/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/08/modalizer-show-hidden-div-in-joomla.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3914028148400007635?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3914028148400007635?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/LyAZGipB-Fo/modalizer-show-hidden-div-in-joomla.html" title="Modalizer  show hidden DIV in joomla" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/08/modalizer-show-hidden-div-in-joomla.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMAQX4yeip7ImA9Wx5SEU8.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-4682206881377549428</id><published>2010-08-06T12:32:00.000-07:00</published><updated>2010-08-06T12:37:20.092-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-06T12:37:20.092-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="import/export" /><category scheme="http://www.blogger.com/atom/ns#" term="phpmyadmin" /><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="zip" /><title>Zipcodes to go radius search MySQL table</title><content type="html">Recently I have finished a customized zip radius search and used the one from &lt;a href="http://zipcodestogo.com"&gt;Zipcodes to go&lt;/a&gt;. Unfortunately they only have csv, xls, and mdb formats for the database. To make use of their data you need to import it into mysql, but first you must create the table which phpmyadmin won't do automagically (please tell me im wrong by the way). &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;First you must create the table.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I tried to be as lazy as possible and tried to export the mdb to mssql then to mysql but it didn't really work and took waayy too long so i ended up having to write out the create table anyway.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SQL to create the gold table&lt;br /&gt;
&lt;span class="note"&gt;Note: Remove the ID field until after you import all the data from the csv, otherwise the field lengths wont match!&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush: plain"&gt;CREATE TABLE IF NOT EXISTS `zipcodes_full` (
 `ID` int(12) unsigned NOT NULL AUTO_INCREMENT,
 `ZIP_CODE` varchar(255) NOT NULL DEFAULT '' ,
 `CITY_NAME` varchar(255) NOT NULL DEFAULT '' ,
 `STATE_NAME` varchar(255) NOT NULL DEFAULT '' ,
 `STATE_ABBREV` varchar(255) NOT NULL DEFAULT '' ,
 `STATE_FIPS` varchar(255) NOT NULL DEFAULT '' ,
 `COUNTY_FIPS` varchar(255) NOT NULL DEFAULT '' ,
 `COUNTY_NAME` varchar(255) NOT NULL DEFAULT '' ,
 `TOTAL_COUNTY_POPULATION` varchar(255) NOT NULL DEFAULT '' ,
 `TOTAL_COUNTY_HOUSING_UNITS` varchar(255) NOT NULL DEFAULT '' ,
 `LATITUDE` varchar(255) NOT NULL DEFAULT '' ,
 `LONGITUDE` varchar(255) NOT NULL DEFAULT '' ,
 `TIMEZONE` varchar(255) NOT NULL DEFAULT '' ,
 `DAYLIGHT_SAVINGS` varchar(255) NOT NULL DEFAULT '' ,
 `Returns` varchar(255) NOT NULL DEFAULT '' ,
 `$ AVG AGI` varchar(255) NOT NULL DEFAULT '' ,
 `Refunds` varchar(255) NOT NULL DEFAULT '' ,
 `$ AVG Refund` varchar(255) NOT NULL DEFAULT '' ,
 `Single` varchar(255) NOT NULL DEFAULT '' ,
 `Married Joint` varchar(255) NOT NULL DEFAULT '' ,
 `Head of Household` varchar(255) NOT NULL DEFAULT '' ,
 `&lt;30` varchar(255) NOT NULL DEFAULT '' ,
 `30_44` varchar(255) NOT NULL DEFAULT '' ,
 `45_60` varchar(255) NOT NULL DEFAULT '' ,
 `&gt;60` varchar(255) NOT NULL DEFAULT '' ,
 `TV_Designated Market Areas` varchar(255) NOT NULL DEFAULT '' ,
   PRIMARY KEY (`id`)
)  

&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;Second:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Importing the data is a freaking pain through phpmyadmin. I ended up using the commandline on my local machine and now i am trying to use BigDump php to migrate it to the server.&lt;br /&gt;
&lt;br /&gt;
Use the below script in the mysql commandline to import the csv into the db table. It worked wonderfully 4.6 some seconds. Great Now how do i get it to the server....&lt;br /&gt;
&lt;span class="note"&gt;&lt;br /&gt;
Note i dont have mysql mapped in my environment variables in windows so i needed to copy the csv file into the mysql bin directory. &lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;pre class="brush: plain"&gt;load data local infile '5-DIGIT-ZIP-GOLD.csv' into table zipcodes_full fields terminated by ','  ENCLOSED BY '"' LINES TERMINATED BY '\r\n'
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-4682206881377549428?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FYA71C45oGVunOhEPzfEY2p6LPU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FYA71C45oGVunOhEPzfEY2p6LPU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FYA71C45oGVunOhEPzfEY2p6LPU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FYA71C45oGVunOhEPzfEY2p6LPU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/jyc9jJ5KTI4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/4682206881377549428/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/08/zipcodes-to-go-radius-search-mysql.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4682206881377549428?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4682206881377549428?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/jyc9jJ5KTI4/zipcodes-to-go-radius-search-mysql.html" title="Zipcodes to go radius search MySQL table" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/08/zipcodes-to-go-radius-search-mysql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4DRng4eSp7ImA9Wx5TGEw.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-8881326774999422434</id><published>2010-08-02T23:29:00.000-07:00</published><updated>2010-08-02T23:46:17.631-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-02T23:46:17.631-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="firefox" /><category scheme="http://www.blogger.com/atom/ns#" term="as3" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="flash" /><title>flash cs3 file upload IOerror #2038 in firefox 3.6.8</title><content type="html">Narf!  The latest version of firefox 3.6.8 has a bug with flash cs3 file upload. The standard file/image upload throws an ioError, for some reason only in the latest firefox. It works perfectly in previous versions and in IE 8 and Chrome. &lt;br /&gt;
&lt;br /&gt;
Error message from flash&lt;br /&gt;
&lt;br /&gt;
ioerror:[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
here is an example of how to upload an image file using as3 and php&lt;br /&gt;
&lt;a href="http://entrance4.net/labs/?p=51"&gt;http://entrance4.net/labs/?p=51&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
some inter-search (googling) returns 0... &lt;br /&gt;
Does anyone know how to fix this?&lt;br /&gt;
&lt;br /&gt;
NOTE: mod_security is not turned on and the upload does work in other browsers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-8881326774999422434?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/G1D_0KhAuJUgt7cJ1_cxHA9x5Oc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G1D_0KhAuJUgt7cJ1_cxHA9x5Oc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/G1D_0KhAuJUgt7cJ1_cxHA9x5Oc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G1D_0KhAuJUgt7cJ1_cxHA9x5Oc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/6pFZPIOtqJQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/8881326774999422434/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/08/flash-cs3-file-upload-ioerror-2038-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8881326774999422434?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8881326774999422434?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/6pFZPIOtqJQ/flash-cs3-file-upload-ioerror-2038-in.html" title="flash cs3 file upload IOerror #2038 in firefox 3.6.8" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/08/flash-cs3-file-upload-ioerror-2038-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcBR309fSp7ImA9WxFaEEg.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-8580292313938370672</id><published>2010-07-13T13:46:00.000-07:00</published><updated>2010-07-13T13:47:36.365-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-13T13:47:36.365-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="thickbox" /><category scheme="http://www.blogger.com/atom/ns#" term="iframe" /><title>IE thickbox iframe background is white</title><content type="html">If your thickbox iframe background is white you need to add allowtransparency='true' to the iframe. &lt;br /&gt;
&lt;br /&gt;
open up the thickbox.js file and do a search for "&amp;lt;iframe" then just add the missing parameter. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;jQuery("#TB_window").append("&lt;iframe frameborder='0' allowtransparency='true' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'&gt; &lt;/iframe&gt;");
&lt;/pre&gt;&lt;br /&gt;
Or if your lazy just download my &lt;a href="http://labs.codepyro.com/samples/thickbox.js"&gt;fixed version &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-8580292313938370672?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0Yg8HmGKT-CeehQW8SXst0UzUYA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0Yg8HmGKT-CeehQW8SXst0UzUYA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0Yg8HmGKT-CeehQW8SXst0UzUYA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0Yg8HmGKT-CeehQW8SXst0UzUYA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/aVQ7Fdgw0Qk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/8580292313938370672/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/07/ie-thickbox-iframe-background-is-white.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8580292313938370672?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8580292313938370672?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/aVQ7Fdgw0Qk/ie-thickbox-iframe-background-is-white.html" title="IE thickbox iframe background is white" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/07/ie-thickbox-iframe-background-is-white.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcDRnc9cCp7ImA9WxFUGU4.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-8310999775335587734</id><published>2010-06-30T15:14:00.000-07:00</published><updated>2010-06-30T15:14:37.968-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-30T15:14:37.968-07:00</app:edited><title>Virtuemart titles:change the category settings in SH404SEF</title><content type="html">The SH404Sef plugin for sef urls in viretumart appends every category in the title. It does this even when you change the "Insert Categories" parameter in the sh404sef admin config. &lt;br /&gt;
&lt;br /&gt;
(before modification titles look like this)&lt;br /&gt;
example title:  Product Name | Category Name | Category Name | Category Name | Site Name &lt;br /&gt;
&lt;br /&gt;
(after change)&lt;br /&gt;
example title:  Product Name | Category Name &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://labs.codepyro.com/samples/joomla/sh404sef_com_virtuemart fix.zip"&gt;Download the Fix&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The 2 changes made to the plugin.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Used the "Insert Categories" param to show all the categories or just the last one&lt;/li&gt;
&lt;li&gt;Removed the Site name from the title&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
unzip and copy the com_virtuemart.php to&lt;br /&gt;
components\com_sh404sef\meta_ext\&lt;br /&gt;
&lt;br /&gt;
note:&lt;br /&gt;
changed lines: 162 - 179&lt;br /&gt;
added lines: 340-343&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://labs.codepyro.com/samples/joomla/sh404sef_com_virtuemart fix.zip"&gt;Download the Fix&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-8310999775335587734?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KvJqIWFMS_WN4o93Ju5ESoEfXNk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KvJqIWFMS_WN4o93Ju5ESoEfXNk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KvJqIWFMS_WN4o93Ju5ESoEfXNk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KvJqIWFMS_WN4o93Ju5ESoEfXNk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/J0RpOkM690Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/8310999775335587734/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/06/virtuemart-titleschange-category.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8310999775335587734?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/8310999775335587734?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/J0RpOkM690Q/virtuemart-titleschange-category.html" title="Virtuemart titles:change the category settings in SH404SEF" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/06/virtuemart-titleschange-category.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAHSHc_cCp7ImA9WxFUE04.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-1894396886275145546</id><published>2010-06-23T17:02:00.000-07:00</published><updated>2010-06-23T17:02:19.948-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-23T17:02:19.948-07:00</app:edited><title>CSVI virtuemart image export - remove HTTPS</title><content type="html">When exporting products in virtuemart using csvi and using the picture_url field the export will have https for all the image urls. &lt;br /&gt;
&lt;br /&gt;
open up&lt;br /&gt;
administrator\components\com_csvimproved\models\productexport.php&lt;br /&gt;
&lt;br /&gt;
do a quick search for "picture_url". it should be around like 443 (interesting considering http is 443). &lt;br /&gt;
&lt;br /&gt;
Anyway here is the line to swap out https&lt;br /&gt;
&lt;pre class="brush: plain"&gt;if (substr($picture_url, 0, 5) == 'https') $picture_url = 'http'.substr($picture_url, 5);
&lt;/pre&gt;&lt;br /&gt;
place it just after 448, likea so...&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;447:if (substr($record-&gt;product_full_image, 0, 4) == 'http') $picture_url = $record-&gt;product_full_image; 
        else $picture_url = 448:JURI::root().'components/com_virtuemart/shop_image/product/'.$record-&gt;product_full_image;
if (substr($picture_url, 0, 5) == 'https') $picture_url = 'http'.substr($picture_url, 5);

&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-1894396886275145546?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X97h62M49yaWgWDpVWvWqkZy-UA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X97h62M49yaWgWDpVWvWqkZy-UA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X97h62M49yaWgWDpVWvWqkZy-UA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X97h62M49yaWgWDpVWvWqkZy-UA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/NuJpREyA0jw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/1894396886275145546/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/06/csvi-virtuemart-image-export-remove.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1894396886275145546?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1894396886275145546?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/NuJpREyA0jw/csvi-virtuemart-image-export-remove.html" title="CSVI virtuemart image export - remove HTTPS" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/06/csvi-virtuemart-image-export-remove.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcFQHgyeSp7ImA9WxFRGUw.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-949955726712457527</id><published>2010-05-03T13:20:00.000-07:00</published><updated>2010-05-03T13:20:11.691-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-03T13:20:11.691-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="import/export" /><category scheme="http://www.blogger.com/atom/ns#" term="excel" /><title>Excel format cells with quotes</title><content type="html">Here is how to format a text cell so it will have either double or single quotes. I needed to import a csv file with text fields formatted with double quotes. There are probably some more reasons why you might need to do this.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;  &lt;li&gt;Edit the cell or column you need to format&lt;/li&gt;
  &lt;li&gt;choose format cell&lt;/li&gt;
  &lt;li&gt;Select Custom from the bottom&lt;/li&gt;
  &lt;li&gt;use the formula \"@\"&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
The @ symbol represents the text in the field. You can wrap any text field with any character but make sure to escape it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-949955726712457527?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/F6omHTJl9YYRAe137eeJZsPF60I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F6omHTJl9YYRAe137eeJZsPF60I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/F6omHTJl9YYRAe137eeJZsPF60I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F6omHTJl9YYRAe137eeJZsPF60I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/hbBIX_f8kHE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/949955726712457527/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/05/excel-format-cells-with-quotes.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/949955726712457527?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/949955726712457527?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/hbBIX_f8kHE/excel-format-cells-with-quotes.html" title="Excel format cells with quotes" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/05/excel-format-cells-with-quotes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYDQ3Y7cSp7ImA9WxFTFk0.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-4313577244981038441</id><published>2010-04-06T17:29:00.000-07:00</published><updated>2010-04-06T17:29:32.809-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-06T17:29:32.809-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="Shipping" /><category scheme="http://www.blogger.com/atom/ns#" term="FedEx" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>FedEx Handling fee as a percent in virtuemart</title><content type="html">If your like me, and every client needs something special and different. One of my latest e-commerce stores used FedEx for shipping. Great, no problem its an easy setup in Virtuemart. Their FedEx account gives them special pricing for the online shipping calculator, which they need to add 40% too. Virtuemart doesn't allow you to add a percent only a set integer amount. &lt;br /&gt;
&lt;br /&gt;
The handling fee variable in virtuemart is setup only to add a base amount to the shipping cost. We needed to add 40% to each shipping amount. &lt;br /&gt;
&lt;br /&gt;
This is a change specifically for FedEx, but the other shippers should be similar.&lt;br /&gt;
&lt;br /&gt;
Change the handling fee in the FedEx preferences to 0.40. &lt;br /&gt;
&lt;br /&gt;
components/com_virtuemart/classes/shipping/fedex.php: around line 206&lt;br /&gt;
change &amp; add the lines below. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//add the percent or set amount 
if(FEDEX_HANDLINGFEE &amp;lt; 1)
     $charge =$rate_Ret['1419-'.$i]+ $rate_Ret['1419-'.$i] * floatval( FEDEX_HANDLINGFEE );
    else
     $charge = $rate_Ret['1419-'.$i] + floatval( FEDEX_HANDLINGFEE );
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-4313577244981038441?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rJ0lA2pWGK9lsTwDCncqpx7Mf8Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rJ0lA2pWGK9lsTwDCncqpx7Mf8Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rJ0lA2pWGK9lsTwDCncqpx7Mf8Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rJ0lA2pWGK9lsTwDCncqpx7Mf8Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/R8J2ESchhxI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/4313577244981038441/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/04/fedex-handling-fee-as-percent-in.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4313577244981038441?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4313577244981038441?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/R8J2ESchhxI/fedex-handling-fee-as-percent-in.html" title="FedEx Handling fee as a percent in virtuemart" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/04/fedex-handling-fee-as-percent-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIAQX0-cCp7ImA9WxFTEEw.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-2283212113307032021</id><published>2010-03-30T22:11:00.000-07:00</published><updated>2010-03-30T22:15:40.358-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-30T22:15:40.358-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="admin" /><title>Joomla Administrator force SSL login loop FIX</title><content type="html">It took me A LONG time to find a solution on how to fix this problem. All credit for this fix goes to member:jptkts from http://forum.joomla.org.&lt;br /&gt;
&lt;br /&gt;
This fixes the login loop issue when trying to login to the admin after making the Force_SSL to 1 or Administrator. &lt;br /&gt;
&lt;br /&gt;
His original forum post is&lt;br /&gt;
 &lt;a href="http://forum.joomla.org/viewtopic.php?p=1619969#p1619969"&gt;http://forum.joomla.org/viewtopic.php?p=1619969#p1619969&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I just wanted to re-post it in an easy to find place!&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: plain"&gt;In the file: Joomlaroot/libraries/joomla/environment/uri.php
starting on line 214 replace this if statement:
Code:
if(JPATH_BASE == JPATH_ADMINISTRATOR) {
   $base['path'] .= '/administrator';
}

with the following:
Code:
if(JPATH_BASE == JPATH_ADMINISTRATOR) {
   $force_ssl = $config-&amp;gt;getValue('config.force_ssl');
   if($force_ssl &amp;gt; 0){
      $base['prefix'] = ereg_replace("http://","https://",$base['prefix']);
   }
   $base['path'] .= '/administrator';
}
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-2283212113307032021?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tF-fuAJICjpVbs9FxWOtO3vGoqU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tF-fuAJICjpVbs9FxWOtO3vGoqU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tF-fuAJICjpVbs9FxWOtO3vGoqU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tF-fuAJICjpVbs9FxWOtO3vGoqU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/_q5EcHdItX8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/2283212113307032021/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/03/joomla-administrator-force-ssl-login.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2283212113307032021?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2283212113307032021?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/_q5EcHdItX8/joomla-administrator-force-ssl-login.html" title="Joomla Administrator force SSL login loop FIX" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/03/joomla-administrator-force-ssl-login.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUDQHY5cCp7ImA9WxBaFUU.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-4289218669854005918</id><published>2010-03-25T23:45:00.000-07:00</published><updated>2010-03-25T23:51:11.828-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-25T23:51:11.828-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="ppc" /><category scheme="http://www.blogger.com/atom/ns#" term="google" /><category scheme="http://www.blogger.com/atom/ns#" term="analytics" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>virtuemart google analytics with ppc</title><content type="html">Good morning today we needed to add google analytics to a virtuemart joomla store. Heres how we done it.&lt;br /&gt;
&lt;br /&gt;
Over on joomlacode.org Matthieu Barbe did a great job of creating a google analytics plugin. His plugin will work on every page. It shows the generic google analytics code for normal pages and for the shopping cart finish/confirmation will track a users order, price, items etc. &lt;br /&gt;
&lt;br /&gt;
Visit joomlacode.org to download the original &lt;a href="http://http://joomlacode.org/gf/project/gavirtuemart/frs/"&gt;mod_gavirtuemart&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I have requested to join the project, but until that goes through ill post my modifications to the module here. &lt;br /&gt;
&lt;br /&gt;
The module had a bug in several queries with user_info_id using the default or wrong id when a different shipping address is used. &lt;br /&gt;
&lt;br /&gt;
Our SEO consultant &lt;a href="http://www.ScottOrth.com"&gt;Scott Orth&lt;/a&gt; for this project recommended setting up google PPC conversion code. To make life easy I added some settings and template for ppc.php to show only on the order thank you/confirmation page. &lt;br /&gt;
&lt;br /&gt;
This is one of my first actual joomla module posts so let me know if it works, or doesn't. &lt;br /&gt;
&lt;a href="http://labs.codepyro.com/samples/joomla/mod_gavirtuemart.zip"&gt;mod_gavirtuemart w ppc&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-4289218669854005918?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/h8BtttcRYgNcuOgPlg6GoXAX96c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h8BtttcRYgNcuOgPlg6GoXAX96c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/h8BtttcRYgNcuOgPlg6GoXAX96c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h8BtttcRYgNcuOgPlg6GoXAX96c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/pTIRby5RzhI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/4289218669854005918/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/03/virtuemart-google-analytics-with-ppc.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4289218669854005918?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4289218669854005918?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/pTIRby5RzhI/virtuemart-google-analytics-with-ppc.html" title="virtuemart google analytics with ppc" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/03/virtuemart-google-analytics-with-ppc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YDQn49eyp7ImA9WxFTFko.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-7684835261305461841</id><published>2010-03-16T01:34:00.000-07:00</published><updated>2010-04-07T15:26:13.063-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T15:26:13.063-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="import/export" /><category scheme="http://www.blogger.com/atom/ns#" term="userport" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>User Port: upgrades</title><content type="html">Been working with the userport extension for joomla and importing 2500 users for a site. This import utility is amazing and saves a ton of time &lt;a href="http://tinyurl.com/kqh3mn" alt="Joomla UserPort Extension"&gt;GO GET IT!&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I ran into a "feature" that I needed. That feature is to generate random passwords for users on update; when the password field is missing. It also needed to email the new password to the users. &lt;br /&gt;
&lt;br /&gt;
&lt;span class="note"&gt;Note: you normally don't want to do this because the import utility automatically loads all the users. Therefore you could accidentally change all your users passwords so be careful.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I chose to modify the userport utility because, well lets face it I'm lazy and making code changes is infinitely more fun than deleting and re-importing records yuk.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://labs.codepyro.com/samples/joomla/admin.userport.zip"&gt;Zipped version&lt;/a&gt; of the full change for a "quick fix". Oh and it belongs in the folder "administrator\components\com_userport\admin.userport.php"&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//change #1 around line 80
//added the userlog to the email body; the userlog contains the new email
'{email_body}' =&amp;gt; $params-&amp;gt;get( 'message_body_when_notifying_existing_user', JText::_( 'DEFAULT_MESSAGE_BODY_WHEN_NOTIFYING_EXISTING_USER' ) ).
implode( "\n- ", $userLog )


//change #2 around line 228
//create random password on update
else if((bool)$params-&amp;gt;get( 'overwrite_password_of_existing_user', false ) == true)
{

$userData-&amp;gt;password  = JUserHelper::genRandomPassword( 12 );
//add the password to the userlog so it can be emailed
$userLog[] = JText::sprintf( 'INFO_PASSWORD_UPDATED', $userData-&amp;gt;password );
if((bool)$params-&amp;gt;get( 'given_passwords_are_already_encoded', false ) == true )
$userData-&amp;gt;password = JUserHelper::getCryptedPassword( $userData-&amp;gt;password);

$user-&amp;gt;password = $userData-&amp;gt;password;

}
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Also fixed a couple of variable warnings caused by missing quotes&lt;br /&gt;
&lt;pre class="brush: plain"&gt;//line 446
$title .= JText::_( 'FORM_ADDED_NEW_USERS' ).' ';
//line 450 
$title .= JText::_( 'FORM_UPDATED_EXISTING_USERS').' ';
//line 466
HTML_userport::userportPrintConfiguration( $option, $task, JText::_( 'FORM_CONFIGURATION' ) );
HTML_userport::userportLog( $option, $task, JText::_( 'FORM_RETRIEVED_USERS' ).' '.JText::_( 'FORM_LOG' ), $log );
HTML_userport::userportExport( $option, $task, JText::_( 'FORM_USER_LIST' ), $csvExportString );

&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I wanted to post this to the project on the project page &lt;a href="http://joomlacode.org/gf/project/userport/"&gt;http://joomlacode.org/gf/project/userport/&lt;/a&gt;, or forums but couldn't find a good place on joomlacode.org. Let me know if there is a place for it, i would like to help the community and submit this for the project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-7684835261305461841?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RsRDBJT-tirw7HEnCsrfw9uMJ28/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RsRDBJT-tirw7HEnCsrfw9uMJ28/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RsRDBJT-tirw7HEnCsrfw9uMJ28/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RsRDBJT-tirw7HEnCsrfw9uMJ28/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/CA2uUo3ypF4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/7684835261305461841/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/03/user-port-upgrades.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/7684835261305461841?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/7684835261305461841?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/CA2uUo3ypF4/user-port-upgrades.html" title="User Port: upgrades" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/03/user-port-upgrades.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIAQXg5fyp7ImA9WxBbEko.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-2239056023320063906</id><published>2010-03-10T17:11:00.000-08:00</published><updated>2010-03-10T17:55:40.627-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-10T17:55:40.627-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="import/export" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>Importing Categories/Products/Sub items with Virtuemart CSVI</title><content type="html">Finally after much trial/error/re-dos I finally have a grasp on correctly importing into virtuemart with the CSVI tool. Here is a run down to hopefully make it easier for you aka "me" later.&lt;br /&gt;&lt;br /&gt;&lt;span class="note"&gt;Note 1: Export your data from your existing store&lt;br /&gt;The default in the CSVI is Carots ^ for field delimiters and tilde ~ to wrap text content. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1:&lt;/span&gt; &lt;br /&gt;Go into the CSVI templates and make a template that you can match your data too. Become familiar with the &lt;a href="http://tinyurl.com/yjw3qzx"&gt;field listings &lt;/a&gt;. I ended up using &lt;span style="font-weight:bold;"&gt;category_path, category_list_order, category_full_image, category_description, category_publish, category_products_per_row, category_flypage&lt;/span&gt;. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://tinyurl.com/ygxulq5"&gt;Category_path&lt;/a&gt; -&gt; use this field to setup your structure of parents and children&lt;br /&gt;&lt;br /&gt;Make sure your images don't have a path &lt;span style="font-style:italic;"&gt;i.e. 'someimg.jpg' not 'images/someimg.jpg'&lt;/span&gt; and are copied into the /components/com_virtuemart/shop_image/category/ folder. &lt;br /&gt;&lt;br /&gt;Import the categories, then go into virtuemart category list and verify everything is correct&lt;br /&gt;&lt;br /&gt;&lt;span class="note"&gt; Note 2:  make sure your categories are correct!! Every time you re-import your categories it will make new ones instead of overwriting the old ones which also screws up the products linked to the  correct category. //BOO!!&lt;br /&gt;Product import will update/overwrite existing products! //YEA!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Prep/import your products&lt;/span&gt;. &lt;br /&gt;You need a csv import of products that will be listed under categories/sub-cats. These products will be added directly to your category structure using the category_path field. The Category_id didn't work for me so use the category_path instead. It will be something like 'Computers/hardware'. &lt;br /&gt;&lt;br /&gt;Again the images don't need a path and need to be uploaded into /components/com_virtuemart/shop_image/products/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Prep/import your sub-products&lt;/span&gt;. &lt;br /&gt;Setup a product import with a blank CATEGORY_PATH and have the product_parent_sku setup. This field will need to have the EXACT product_sku of the parent product item. &lt;br /&gt;&lt;br /&gt;&lt;span class="note"&gt; Note 3:  Products with a category path will be listed under the category NOT under the parent product.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="note"&gt; Note 4:  the product_currency field MUST BE UPPER case i.e. 'USD' otherwise it formats your prices to something random (I didn't bother trying to figure it out it probably uses EUR or something). &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="note"&gt; Note 5:  When importing users, the users must be imported into joomla first then imported into virtuemart &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-2239056023320063906?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/r7CwrFT4YIJkRw-kUzCD2XbrLVI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/r7CwrFT4YIJkRw-kUzCD2XbrLVI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/r7CwrFT4YIJkRw-kUzCD2XbrLVI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/r7CwrFT4YIJkRw-kUzCD2XbrLVI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/NCxQ-gTjy9w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/2239056023320063906/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/03/importing-categoriesproductssub-items.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2239056023320063906?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2239056023320063906?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/NCxQ-gTjy9w/importing-categoriesproductssub-items.html" title="Importing Categories/Products/Sub items with Virtuemart CSVI" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/03/importing-categoriesproductssub-items.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QEQnw6fCp7ImA9WxBbEks.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-3737708299879538592</id><published>2010-03-10T16:54:00.000-08:00</published><updated>2010-03-10T17:01:43.214-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-10T17:01:43.214-08:00</app:edited><title>Joomla: Artforms %5C%22  \" in the texts section</title><content type="html">If you are having problems with \&amp;quot; in links or %5C%22 in images in artforms you need to make a couple of quick edits. &lt;br /&gt;&lt;br /&gt;in \administrator\components\com_artforms\admin.artforms.php: line 420&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;//after  $formid = $row-&gt;id;&lt;br /&gt;//add the line&lt;br /&gt;$row-&gt; text = stripcslashes($row-&gt; text);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;in \components\com_artforms\artforms.php: line 131&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;//after  $row = $rows[0];&lt;br /&gt;//add the line&lt;br /&gt;$row-&gt; text = stripcslashes($row-&gt; text);&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-3737708299879538592?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zvX2cjmV8BTHF_dhQICwNNOVuRM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zvX2cjmV8BTHF_dhQICwNNOVuRM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zvX2cjmV8BTHF_dhQICwNNOVuRM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zvX2cjmV8BTHF_dhQICwNNOVuRM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/oCvRqR4evWc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/3737708299879538592/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/03/joomla-artforms-5c22-in-texts-section.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3737708299879538592?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3737708299879538592?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/oCvRqR4evWc/joomla-artforms-5c22-in-texts-section.html" title="Joomla: Artforms %5C%22  \&amp;quot; in the texts section" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>4</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/03/joomla-artforms-5c22-in-texts-section.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YCRn09eip7ImA9WxBUEEs.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-731510895593869525</id><published>2010-02-24T17:22:00.000-08:00</published><updated>2010-02-24T17:26:07.362-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-24T17:26:07.362-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="virtuemart" /><title>virtuemart addtocart_list_single.tpl.php on line 38</title><content type="html">If you are getting an attributes error in virtuemart with child products on line 38. Just open the file and add an if isset to the attributes around the foreach statement.&lt;br /&gt;&lt;br /&gt;likea-so&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt; if(isset($product['attrib_value']))&lt;br /&gt;            {&lt;br /&gt;            foreach($product['attrib_value'] as $attribute) { ?&amp;gt;&lt;br /&gt;                &amp;lt;span class=&amp;quot;vmChildDetail&amp;lt;?php echo $cls_suffix ?&amp;gt;&amp;quot; style=&amp;quot;width :&amp;lt;?php echo $attrib_width ?&amp;gt;;&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;?php echo &amp;quot; &amp;quot;.$attribute ?&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;            &amp;lt;?php&lt;br /&gt;            }&lt;br /&gt;       }&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-731510895593869525?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YJvoQZvnTNB532-P67mLjRUVNtA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YJvoQZvnTNB532-P67mLjRUVNtA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YJvoQZvnTNB532-P67mLjRUVNtA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YJvoQZvnTNB532-P67mLjRUVNtA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/bJGFUw3xmPs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/731510895593869525/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/02/virtuemart-addtocartlistsingletplphp-on.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/731510895593869525?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/731510895593869525?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/bJGFUw3xmPs/virtuemart-addtocartlistsingletplphp-on.html" title="virtuemart addtocart_list_single.tpl.php on line 38" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/02/virtuemart-addtocartlistsingletplphp-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAFSH0yeCp7ImA9WxBRFUs.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-1716257278721975126</id><published>2010-01-03T15:33:00.000-08:00</published><updated>2010-01-03T15:51:59.390-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-03T15:51:59.390-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="thickbox" /><category scheme="http://www.blogger.com/atom/ns#" term="jQuery" /><title>Open a Thickbox window from inside a thickbox window</title><content type="html">Do you need to open a thickbox window in the originating page from inside a thickbox window/iframe?  (I know its confusing right? definitely pandoras box of thickboxes )&lt;br /&gt;&lt;br /&gt;download the modified &lt;a href="http://labs.codepyro.com/samples/thickbox_iframe_parentwindow.zip"&gt;thickbox code&lt;/a&gt; &lt;br /&gt;(Note I have not made a sample but can upon request)&lt;br /&gt;&lt;br /&gt;Setup a normal thickbox link/page. For instance this link opens the first thickbox window in an iframe 650 wide by 400 tall.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;//header information for test page&lt;br /&gt;&amp;lt;link href=&amp;quot;assets/css/thickbox.css&amp;quot; rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;script src=&amp;quot;assets/javascript/jquery-1.3.2.min.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&amp;lt;script src=&amp;quot;assets/javascript/thickbox.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;a href=&amp;quot;FirstWindow.htm?=true&amp;amp;TB_iframe=true&amp;amp;height=400&amp;amp;width=650&amp;quot; class=&amp;quot;thickbox&amp;quot; title=&amp;quot;First Window&amp;quot;&amp;gt;Open First Window&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then setup the page that opens in the iframe window with the thickbox_iframe. It has been modified to open a new thickbox window in the iframes "Parent window".&lt;br /&gt;By using this method the new window will replace the original window the user originally clicked on. &lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;//header information for Second Window&lt;br /&gt;&amp;lt;link href=&amp;quot;assets/css/thickbox.css&amp;quot; rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;script src=&amp;quot;assets/javascript/jquery-1.3.2.min.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&amp;lt;script src=&amp;quot;assets/javascript/thickbox_iframe.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; charset=&amp;quot;utf-8&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;a href=&amp;quot;SecondWindow.htm?=true&amp;amp;TB_iframe=true&amp;amp;height=400&amp;amp;width=650&amp;quot; class=&amp;quot;thickbox&amp;quot; title=&amp;quot;second window&amp;quot;&amp;gt;Open second Window&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-1716257278721975126?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wfDlE670TiK23sxcUhAUo3BbVqo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wfDlE670TiK23sxcUhAUo3BbVqo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wfDlE670TiK23sxcUhAUo3BbVqo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wfDlE670TiK23sxcUhAUo3BbVqo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/6EMavqJ257c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/1716257278721975126/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2010/01/thickbox-inside-of-thickbox-iframe.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1716257278721975126?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1716257278721975126?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/6EMavqJ257c/thickbox-inside-of-thickbox-iframe.html" title="Open a Thickbox window from inside a thickbox window" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2010/01/thickbox-inside-of-thickbox-iframe.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUEQHc8eip7ImA9WxBSEUw.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-4865520023312258598</id><published>2009-12-17T21:26:00.000-08:00</published><updated>2009-12-17T21:30:01.972-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-17T21:30:01.972-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="jxListFiles" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Joomla jxListFiles with Pagination</title><content type="html">Heres a quick upgrade to the &lt;a href="http://tinyurl.com/ye5r9k6"&gt;jxListFiles&lt;/a&gt; Joomla module to setup pagination.&lt;br /&gt;&lt;br /&gt;Just replace the /mod_jxlistfiles/tmpl/default.php with this code&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt; &amp;lt;?php // no direct access&lt;br /&gt;defined( '_JEXEC' ) or die( 'Restricted access' ); &lt;br /&gt;require_once(  JPATH_ROOT.DS.'/libraries/joomla/html/pagination.php' );    &lt;br /&gt;$pageLimit  = JRequest::getVar('limit', 10, '', 'int');&lt;br /&gt;$pageStart  = JRequest::getVar('limitstart', 0, '', 'int');&lt;br /&gt;&lt;br /&gt;$pageNav = new JPagination( count($filelist), $pageStart, $pageLimit);&lt;br /&gt;$genCounter=1;&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt; &lt;br /&gt;&amp;lt;ul class=&amp;quot;jxfilelist&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;?php foreach($filelist as $file): ?&amp;gt;&lt;br /&gt;&amp;lt;?php $genCounter++; &lt;br /&gt;if($genCounter &amp;gt;= $pageStart &amp;amp;&amp;amp; $genCounter&amp;lt;=($pageStart+$pageLimit)): ?&amp;gt;&lt;br /&gt;    &amp;lt;?php if ($params-&amp;gt;get('linkfiles') == 'yes'): ?&amp;gt;&lt;br /&gt;    &amp;lt;li class=&amp;quot;&amp;lt;?php echo $file-&amp;gt;class; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;&amp;lt;?php echo $params-&amp;gt;get('url') . '/' . $file-&amp;gt;filepath; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $file-&amp;gt;filename; ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;    &amp;lt;?php else: ?&amp;gt;&lt;br /&gt;    &amp;lt;li class=&amp;quot;&amp;lt;?php echo $file-&amp;gt;class; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;?php echo $file-&amp;gt;filename; ?&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;    &amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;  &amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;&amp;lt;?php endforeach; ?&amp;gt;&lt;br /&gt;&amp;lt;/ul&amp;gt;&lt;br /&gt; &lt;br /&gt; &amp;lt;form id=&amp;quot;pagination&amp;quot; method=&amp;quot;post&amp;quot;&amp;gt;&lt;br /&gt; &amp;lt;?php echo $pageNav-&amp;gt;getListFooter(  ); //Displays a nice footer  ?&amp;gt;&lt;br /&gt; &amp;lt;/form&amp;gt;&lt;br /&gt; &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-4865520023312258598?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gXQ12ABvP72mDqzFVbMDnfhHVpc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gXQ12ABvP72mDqzFVbMDnfhHVpc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gXQ12ABvP72mDqzFVbMDnfhHVpc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gXQ12ABvP72mDqzFVbMDnfhHVpc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/k24PYdYItaA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/4865520023312258598/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/12/joomla-jxlistfiles-with-pagination.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4865520023312258598?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4865520023312258598?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/k24PYdYItaA/joomla-jxlistfiles-with-pagination.html" title="Joomla jxListFiles with Pagination" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/12/joomla-jxlistfiles-with-pagination.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YMRnY8eSp7ImA9WxBSEEQ.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-7582953574895949335</id><published>2009-12-17T16:04:00.000-08:00</published><updated>2009-12-17T16:13:07.871-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-17T16:13:07.871-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="snippet" /><category scheme="http://www.blogger.com/atom/ns#" term="coldfusion" /><category scheme="http://www.blogger.com/atom/ns#" term="email" /><category scheme="http://www.blogger.com/atom/ns#" term="remote address" /><title>coldfusion simple email script</title><content type="html">Here is a simple Form email script for any generic form. I needed a quick generic email script for a few basic websites on a non coldfusion server to be able to send email through a cf server. So this script takes a form submission from another server and emails it to &lt;pre class="brush: plain"&gt;&lt;input type="mailto"&gt;&lt;/pre&gt;. It does check the referers IP address to make sure its a valid request. &lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt; &lt;br /&gt;&amp;lt;cfset inet_address = CreateObject(&amp;quot;java&amp;quot;, &amp;quot;java.net.InetAddress&amp;quot;)&amp;gt;&lt;br /&gt;&amp;lt;cfset referer= replaceNocase(cgi.HTTP_REFERER,'http://','')/&amp;gt;&lt;br /&gt;&amp;lt;cfset referer= listGetAt(referer,1,'/')/&amp;gt;&lt;br /&gt; &lt;br /&gt;&amp;lt;cfset host_IP = listLast(inet_address.getByName(referer),'/')&amp;gt;&lt;br /&gt; &amp;lt;!---required parameters ---&amp;gt;&lt;br /&gt;&amp;lt;cfparam name=&amp;quot;form.mailfrom&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;cfparam name=&amp;quot;form.mailto&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;cfparam name=&amp;quot;form.mailsubject&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;cfparam name=&amp;quot;form.success&amp;quot; /&amp;gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;!---check the remote IP address so spammers cant abuse it ---&amp;gt;&lt;br /&gt;&amp;lt;cfif host_IP  eq &amp;quot;192.168.1.1&amp;quot;&amp;gt;&lt;br /&gt; &amp;lt;cfoutput&amp;gt;&lt;br /&gt;       &amp;lt;cfmail to=&amp;quot;#form.mailto#&amp;quot; from=&amp;quot;#form.mailfrom#&amp;quot; subject=&amp;quot;form.mailsubject&amp;quot; type=&amp;quot;html&amp;quot;&amp;gt; &lt;br /&gt;&lt;br /&gt;  &amp;lt;cfloop collection =&amp;quot;#form#&amp;quot; item=&amp;quot;thisAttribute&amp;quot;&amp;gt;&lt;br /&gt;     #thisAttribute#:#form[thisAttribute]#&amp;lt;br&amp;gt;&lt;br /&gt;  &amp;lt;/cfloop&amp;gt; &lt;br /&gt;   &amp;lt;/cfmail&amp;gt; &lt;br /&gt; &amp;lt;/cfoutput&amp;gt;&lt;br /&gt; &lt;br /&gt;&amp;lt;cflocation url=&amp;quot;#form.success#&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;cfelse&amp;gt;&lt;br /&gt;&lt;br /&gt;wrong ipaddress&lt;br /&gt;&lt;br /&gt;&amp;lt;/cfif&amp;gt;&lt;br /&gt;  &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I know I know this is not an ideal situation and is pretty insecure. Sometimes you just have to do as the client asks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-7582953574895949335?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Gvn-fgo177WQ2kfhBc7QRHRm45c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gvn-fgo177WQ2kfhBc7QRHRm45c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Gvn-fgo177WQ2kfhBc7QRHRm45c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gvn-fgo177WQ2kfhBc7QRHRm45c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/h5Kcs5fzO6w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/7582953574895949335/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/12/coldfusion-simple-email-script.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/7582953574895949335?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/7582953574895949335?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/h5Kcs5fzO6w/coldfusion-simple-email-script.html" title="coldfusion simple email script" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/12/coldfusion-simple-email-script.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQHRHkzeSp7ImA9WxBTFkg.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-4916690288267782120</id><published>2009-12-12T13:40:00.001-08:00</published><updated>2009-12-12T13:45:35.781-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-12T13:45:35.781-08:00</app:edited><title>Filezilla: clear out all the Site Manager entries</title><content type="html">I have multiple machines each with filezilla and today I tried to import an updated site manager list to an outdated list on another machine. Unfortunately the sites that were previously in the site manager were not updated but Duplicated. &lt;br /&gt;&lt;br /&gt;So now I have 200+ ftp sites duplicated in the list. The only way to get rid of them is by manually deleting them one by one eewwww.. Thats painfull!&lt;br /&gt;&lt;br /&gt;If you have this problem just look for the sitemanager.xml file, and clear out all the &lt;server&gt; entries. &lt;br /&gt;&lt;br /&gt;In windows its located in C:\Documents and Settings\USERACCOUNT\Application Data\FileZilla&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-4916690288267782120?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ARPJ4oDB4TP1OjZTMZldUBiNxB4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ARPJ4oDB4TP1OjZTMZldUBiNxB4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ARPJ4oDB4TP1OjZTMZldUBiNxB4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ARPJ4oDB4TP1OjZTMZldUBiNxB4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/1F64jtDYlrM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/4916690288267782120/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/12/filezilla-clear-out-all-site-manager.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4916690288267782120?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/4916690288267782120?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/1F64jtDYlrM/filezilla-clear-out-all-site-manager.html" title="Filezilla: clear out all the Site Manager entries" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/12/filezilla-clear-out-all-site-manager.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UBSHo4eSp7ImA9WxNaEUk.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-1598748899702113872</id><published>2009-11-25T03:13:00.000-08:00</published><updated>2009-11-25T03:40:59.431-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-25T03:40:59.431-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="IE8" /><category scheme="http://www.blogger.com/atom/ns#" term="IE7" /><category scheme="http://www.blogger.com/atom/ns#" term="debugging" /><category scheme="http://www.blogger.com/atom/ns#" term="jQuery" /><category scheme="http://www.blogger.com/atom/ns#" term="IE issues" /><title>Having a frustrating day tring to get IE7 or IE8 to load javascript</title><content type="html">Today, I experienced a 10hr hate-fest with Internet Explorer. Normally the foaming at the mouth and snarling ends after a couple of hours of fighting CSS. Well not this time. Today's issue revolved around IE and javascript. &lt;br /&gt;&lt;br /&gt;For those techies out there I would like to explain that I keep Win Auto Updates turned off. This is because I very rarely approve of anything Microsoft "Fixes" on its first try.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;THE ISSUE:&lt;/span&gt;&lt;br /&gt;Yesterday I needed to debug some CSS &amp; jQuery issues with IE, no big deal just some margin adjustments. Inexplicably neither IE7 (standalone) nor IE8 would run jQuery, eventually I figured out that it was not only jQuery but JavaScript itself. To discover this I used the development tools in IE which stated that "a break-point cannot be added, because the document has not loaded" (or some such nonsense). Which confirmed my theory that JS was not loading at all.&lt;br /&gt;&lt;br /&gt;To try and fix the issue, I tried checking the security settings to Enable JavaScript, setup the site as a trusted site and re-installed the program a few times. Nothing worked and javascript continued not to run. I even tried running the browsers from &lt;a href="http://spoon.net/browsers"&gt;Spoon.net&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;After much "googling" forums, jQuery, IE, etc a friend of myne over at &lt;a href="http://xaossoft.com"&gt;xaossoft.com&lt;/a&gt; discovered the following fix. Which fixed the issue INSTANTLY!! &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Start &gt; Run...&lt;br /&gt;In the Run box, type in (without quotes) "regsvr32 jscript.dll"&lt;br /&gt;You should receive a popup says that it registration succeeded.&lt;br /&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/thread/0aba6b02-5783-49ca-a27b-6636e43ed1dc"&gt;Original solution&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-1598748899702113872?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/H5ETcAdYL_uaxB7uOLj6sL8oSqo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H5ETcAdYL_uaxB7uOLj6sL8oSqo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/H5ETcAdYL_uaxB7uOLj6sL8oSqo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H5ETcAdYL_uaxB7uOLj6sL8oSqo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/pimruZHgU8s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/1598748899702113872/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/11/having-frustrating-day-tring-to-get-ie7.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1598748899702113872?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/1598748899702113872?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/pimruZHgU8s/having-frustrating-day-tring-to-get-ie7.html" title="Having a frustrating day tring to get IE7 or IE8 to load javascript" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/11/having-frustrating-day-tring-to-get-ie7.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IFRn09eip7ImA9WxNbEE8.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-78881809704223296</id><published>2009-11-12T01:27:00.000-08:00</published><updated>2009-11-12T02:25:17.362-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-12T02:25:17.362-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="reservation" /><category scheme="http://www.blogger.com/atom/ns#" term="jQueryUI" /><category scheme="http://www.blogger.com/atom/ns#" term="datePicker" /><category scheme="http://www.blogger.com/atom/ns#" term="widget" /><category scheme="http://www.blogger.com/atom/ns#" term="jQuery" /><title>Simple jQuery UI Reservations select</title><content type="html">&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 210px; height: 208px;" src="http://2.bp.blogspot.com/_kn9del4J-Kc/SvvZyHsISeI/AAAAAAAAC1s/PKDyj6kt0IY/s320/vacationPlanner.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5403151633041869282" style="border:0px" /&gt; &lt;br /&gt;If you need a quick jQuery &amp; jQuery UI datePicker script that will restrict the range of the selects, then you've come to the right psot.&lt;br /&gt;&lt;br /&gt;Today's script is a widget that has 2 datePicker choices "check in" and "check out". &lt;br /&gt;The date selector for the #checkout needs to be setup so a #checkout date cannot start before the #checkin date and viceversa. &lt;br /&gt;&lt;br /&gt;Here is the snippet to setup the jQuery UI datepicker object for both the #checkin and #checkout. &lt;br /&gt;Note that in order for the date picker to open on both the image and input box you need the attribute "showOn" set to "both", other options and documentation can be found at the &lt;a href="http://jqueryui.com/demos/datepicker/"&gt;jQuery UI site&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The attribute "beforeShow" is an event handler that will call the customDateFunction before the datepicker is shown to the user.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;$(document).ready(function(){ &lt;br /&gt;   $("#checkin,#checkout").datepicker({&lt;br /&gt;          showOn: "both",&lt;br /&gt;          buttonImage: 'assets/javascript/jquery/calendar.png',&lt;br /&gt;          buttonImageOnly: true,&lt;br /&gt;          beforeShow: customDateFunction,&lt;br /&gt;          dateFormat: "mm/dd/yy",&lt;br /&gt;          firstDay: 1, &lt;br /&gt;          changeFirstDay: false&lt;br /&gt;      });&lt;br /&gt;}); &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 227px; height: 272px;" src="http://4.bp.blogspot.com/_kn9del4J-Kc/Svva8T2xiFI/AAAAAAAAC10/nrM7QOhbjHc/s320/vacationPlanner2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5403152907618060370" /&gt; &lt;br /&gt;The "beforeShow" event passes a reference to the object that its being called on i.e. the input box in this case. We will use this to check which input box it is. &lt;br /&gt;&lt;br /&gt;To make sure the #checkout date cannot start before the #checkin date we need to make sure the #checkout is not empty then set &amp; return the attribute maxDate to the jQuery UI datePicker. The maxDate will disable any future dates so the user will only be able to select a start date up to the maxDate. &lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;use the dateMin and dateMax attributes to enable&lt;br /&gt;the date selection to not end before the start date and &lt;br /&gt;not start before the end date&lt;br /&gt;*/&lt;br /&gt;function customDateFunction(input) &lt;br /&gt;{   &lt;br /&gt;  //if the button called is checkin&lt;br /&gt;  //set the maxDate to the checkout date&lt;br /&gt;        if (input.id == "checkin") &lt;br /&gt;        {&lt;br /&gt;               if ($("#checkout").datepicker("getDate") != null)&lt;br /&gt;                  dateMax = $("#checkout").datepicker("getDate"); &lt;br /&gt;                 &lt;br /&gt;          return {maxDate: dateMax};                     &lt;br /&gt;        }&lt;br /&gt;        else if (input.id == "checkout")&lt;br /&gt;        { &lt;br /&gt;                if ($("#checkin").datepicker("getDate") != null)&lt;br /&gt;                  dateMin = $("#checkin").datepicker("getDate"); &lt;br /&gt;               &lt;br /&gt;   return { minDate: dateMin  }; &lt;br /&gt;    &lt;br /&gt;        }&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-78881809704223296?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/n_ot3KR0bJJmVejqhL_CAKBFqJw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n_ot3KR0bJJmVejqhL_CAKBFqJw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/n_ot3KR0bJJmVejqhL_CAKBFqJw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n_ot3KR0bJJmVejqhL_CAKBFqJw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/aiuLDEoHtC4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/78881809704223296/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/11/simple-jquery-ui-reservations-select.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/78881809704223296?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/78881809704223296?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/aiuLDEoHtC4/simple-jquery-ui-reservations-select.html" title="Simple jQuery UI Reservations select" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_kn9del4J-Kc/SvvZyHsISeI/AAAAAAAAC1s/PKDyj6kt0IY/s72-c/vacationPlanner.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/11/simple-jquery-ui-reservations-select.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ACRnY6fyp7ImA9WxNUFEo.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-3043578714436676416</id><published>2009-11-05T19:54:00.001-08:00</published><updated>2009-11-05T19:56:07.817-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-05T19:56:07.817-08:00</app:edited><title>programming is like dreaming</title><content type="html">I needed to share this quote. or place it somewhere where i can remember it. &lt;br /&gt;its from this &lt;a href="http://www.independentdeveloper.com/archive/2009/03/17/programming-is-like-a-dream"&gt;article&lt;/a&gt; . Which perfectly describes a programmers state(). &lt;br /&gt;&lt;br /&gt;    Let’s take a maze for example. There is a task for the programmer to come up with an algorithm of finding the way out of the maze. When a programmer is working on this task he isn’t just a God’s Finger showing the directions to a little girl lost in a great maze. He isn’t that girl or the walls of a labyrinth either. He is actually all of that in a same time. In order to solve the task he must BECOME the labyrinth, the walls, the lost little girl and whatever else may just came along with it. It is not a figure of the speech – the programmer is literally SLEEPING and DREAMING that all in his mind.&lt;br /&gt;   &lt;a href="http://alexthunder.livejournal.com/309815.html"&gt; –Don’t Wake Up the Programmer&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-3043578714436676416?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XD0_XZR1hqizhhp9SvZJbtbFHJ0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XD0_XZR1hqizhhp9SvZJbtbFHJ0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XD0_XZR1hqizhhp9SvZJbtbFHJ0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XD0_XZR1hqizhhp9SvZJbtbFHJ0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/iD8vRoPtfHA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/3043578714436676416/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/11/programming-is-like-dreaming.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3043578714436676416?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/3043578714436676416?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/iD8vRoPtfHA/programming-is-like-dreaming.html" title="programming is like dreaming" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/11/programming-is-like-dreaming.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcCQng5eyp7ImA9WxNVGEw.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-744622917215242360</id><published>2009-10-29T04:44:00.000-07:00</published><updated>2009-10-29T04:51:03.623-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-29T04:51:03.623-07:00</app:edited><title>atlas or @lists on twitter</title><content type="html">Twitter recently started adding list sorting ability to your personal twitter accounts. This is a great feature and something i was thinking about asking for. Its impossible to find/follow specific people when your account is bursting with tweets. The new lists feature gives us the ability to sort tweeters into meaningful categories. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://twitter.com/codepyro/coldfusion (people i find interesting cf tweets about)&lt;br /&gt;http://twitter.com/codepyro/durango (folks that live in my area that do stuffs)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-744622917215242360?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tCNkTBhbBmOK0qp2z057Nv_WpHs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tCNkTBhbBmOK0qp2z057Nv_WpHs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tCNkTBhbBmOK0qp2z057Nv_WpHs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tCNkTBhbBmOK0qp2z057Nv_WpHs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/bah2j0XOM6I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/744622917215242360/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/10/atlas-or-lists-on-twitter.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/744622917215242360?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/744622917215242360?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/bah2j0XOM6I/atlas-or-lists-on-twitter.html" title="atlas or @lists on twitter" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/10/atlas-or-lists-on-twitter.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08HQXo5fCp7ImA9WxNVEEQ.&quot;"><id>tag:blogger.com,1999:blog-7766821073218640079.post-2419234707150916907</id><published>2009-10-20T19:51:00.000-07:00</published><updated>2009-10-20T20:30:30.424-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-20T20:30:30.424-07:00</app:edited><title>Twitter Followers Bird image on Blogger</title><content type="html">The instructions on http://twittercounter.com/pages/buttons page says you need to use the script at the bottom in order to post a box on your blog. &lt;br /&gt;&lt;br /&gt;I quickly took a look at the script generated for the nice bird icon and realized they are using php to modify the image with information passed in the image url, very clever.  &lt;br /&gt;&lt;img alt='TwitterCounter for @codepyro' height='90' src='http://srv2.twittercounter.com/counter/index_bird.php?username=codepyro' style='border:none;' width='149'/&gt;&lt;br /&gt; &lt;br /&gt;Blogger does not allow cross scripting javascript so instead you would need to grab the direct html that the javascript would generate. Here is the example, just change Codepyro in the username to your twitter username. &lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;&amp;lt;div id='TwitterCounter'&amp;gt;&lt;br /&gt;&amp;lt;a href='http://twittercounter.com/codepyro?from=button' target='_new' title='TwitterCounter for @codepyro'&amp;gt;&lt;br /&gt;&amp;lt;img alt='TwitterCounter for @codepyro' height='90' src='http://srv2.twittercounter.com/counter/index_bird.php?username=codepyro' style='border:none;' width='149'/&amp;gt;&lt;br /&gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then paste the code into your blog, i used the expand widgets checkbox and posted the twitterFollower code in my profile section.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7766821073218640079-2419234707150916907?l=blog.codepyro.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JodStec1halTz7gyWH2rd5vaeDA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JodStec1halTz7gyWH2rd5vaeDA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JodStec1halTz7gyWH2rd5vaeDA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JodStec1halTz7gyWH2rd5vaeDA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Codepyro/~4/KCvwNqikpjg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.codepyro.com/feeds/2419234707150916907/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://blog.codepyro.com/2009/10/twitter-followers-bird-image-on-blogger.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2419234707150916907?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7766821073218640079/posts/default/2419234707150916907?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Codepyro/~3/KCvwNqikpjg/twitter-followers-bird-image-on-blogger.html" title="Twitter Followers Bird image on Blogger" /><author><name>Josh Tischer :: CodePyro</name><uri>http://www.blogger.com/profile/00151801163744004941</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11004335252179512807" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.codepyro.com/2009/10/twitter-followers-bird-image-on-blogger.html</feedburner:origLink></entry></feed>
