<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Jock Rotator for Joomla</title> <atom:link href="http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/feed" rel="self" type="application/rss+xml" /><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html</link> <description>Genesis and Thesis Development</description> <lastBuildDate>Thu, 17 May 2012 11:49:58 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.4-beta4-20725</generator> <item><title>By: Ricco</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-18831</link> <dc:creator>Ricco</dc:creator> <pubDate>Tue, 01 May 2012 20:52:37 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-18831</guid> <description>What about Daylight Savings Time. how do I work around that?</description> <content:encoded><![CDATA[<p>What about Daylight Savings Time. how do I work around that?</p> ]]></content:encoded> </item> <item><title>By: Adele</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-18494</link> <dc:creator>Adele</dc:creator> <pubDate>Wed, 21 Mar 2012 08:50:13 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-18494</guid> <description>Great module! Love freebies...however... I have been struggling now for a day on getting the image to display.1) I do have the image path correct; 2) I have meddled with the module style to see if the problem is not in the module code 3) I have the module title displaying, the DJ name and even the time - it also updates automatically when time changesAlas, no picture of the DJ???PLEASE PLEASE PLEASE help...As a simple example, I am using Joomla! 1.7 with template Beez_20 as a standard template and my DJ Jock module is positioned in Position-6 of the template</description> <content:encoded><![CDATA[<p>Great module! Love freebies&#8230;however&#8230; I have been struggling now for a day on getting the image to display.</p><p>1) I do have the image path correct;<br /> 2) I have meddled with the module style to see if the problem is not in the module code<br /> 3) I have the module title displaying, the DJ name and even the time &#8211; it also updates automatically when time changes</p><p>Alas, no picture of the DJ???</p><p>PLEASE PLEASE PLEASE help&#8230;</p><p>As a simple example, I am using Joomla! 1.7 with template Beez_20 as a standard template and my DJ Jock module is positioned in Position-6 of the template</p> ]]></content:encoded> </item> <item><title>By: Sam</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-18386</link> <dc:creator>Sam</dc:creator> <pubDate>Mon, 12 Mar 2012 22:42:22 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-18386</guid> <description>For those of you wanting to use the jock rotator for sites with different shows/jocks at odd times etc. use my method below &lt;pre&gt;____-------------------=----------- date_default_timezone_set( &#039;America/Chicago&#039; ); /** * Begin Jock Rotator * * @since 1.0 * @author Greg Rickaby * The Jock Rotator is nothing more than a PHP Case Statement. What it does is look at the server date and time, and asks: &quot;Is it before 10:00am? Yes? Then display this jock. etc...&quot; Edit the HTML in each respective time-slot below to customize. $i = equals the numerical value of the day of the week Sunday = 0 Monday = 1 Tuesday = 2 Wednesday = 3 Thursday = 4 Friday = 5 Saturday = 6 $x = equals the 24-hour format of an hour with minutes (without the leading zero). You must use 24-hour time! Examples: 0000 = Midnight 900 = 9:00 AM 1200 = Noon 1430 = 2:30 PM 1845 = 6:45 PM */ $i = date( &quot;w&quot; ); // day of the week $x = date( &quot;Gi&quot; ); // hour and minutes switch ($i) { // start the case statement case &quot;1&quot;: if ($x &lt; 0600 ) { echo &#039; &lt;a href=&quot;http://t/web&quot; rel=&quot;nofollow&quot;&gt;MORNING BLEND 6AM-12PM,  Jockname &lt;/a&gt;&lt;a href=&quot;mailto:ra@t&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt; &lt;a href=&quot;http://twitter.com/&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt; &lt;a href=&quot;http://www.facebook.com/&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt; &lt;a href=&quot;http://web&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt; &#039;;}Use 00:00 for midnight.Also the exta code for website,twitter &amp; Facebook are not necessary if you don&#039;t use or need it.Break days like thiselseif ($x &lt; 0000 ) { echo &#039;&#039;; } break; case &quot;2&quot;: if ($x &lt; 0600 ) { echo &#039; &lt;/pre&gt;</description> <content:encoded><![CDATA[<p>For those of you wanting to use the jock rotator for sites with different shows/jocks at odd times etc. use my method below<pre>

____-------------------=-----------
  date_default_timezone_set( 'America/Chicago' );
     
    /**
     * Begin Jock Rotator
     *
     * @since 1.0
     * @author Greg Rickaby
     *
    The Jock Rotator is nothing more than a PHP Case Statement. What it does is look at the server date and time, and asks: "Is it before 10:00am? Yes? Then display this jock. etc..." Edit the HTML in each respective time-slot below to customize.
     
    $i = equals the numerical value of the day of the week
     
    Sunday = 0
    Monday = 1
    Tuesday = 2
    Wednesday = 3
    Thursday = 4
    Friday = 5
    Saturday = 6
     
    $x = equals the 24-hour format of an hour with minutes (without the leading zero). You must use 24-hour time!
     
    Examples:
    0000 = Midnight
    900 = 9:00 AM
    1200 = Noon
    1430 = 2:30 PM
    1845 = 6:45 PM
     */
    $i = date( "w" ); // day of the week
    $x = date( "Gi" ); // hour and minutes
    switch ($i) { // start the case statement
          
case "1":  
	if ($x &lt; 0600 ) { echo &#039;
     
            <a href="http://t/web" rel="nofollow">MORNING BLEND 6AM-12PM,  Jockname </a><a href="mailto:ra@t" rel="nofollow"></a> 
		<a href="http://twitter.com/" rel="nofollow"></a> 
		<a href="http://www.facebook.com/" rel="nofollow"></a> 
		<a href="http://web" rel="nofollow"></a>
';}

Use 00:00 for midnight.

Also the exta code for website,twitter &amp; Facebook are not necessary if you don't use or need it.

Break days like this

elseif ($x &lt; 0000 ) { echo &#039;

&#039;; }				
					
break;		
 case &quot;2&quot;:  
	if ($x &lt; 0600 ) { echo &#039; </pre>]]></content:encoded> </item> <item><title>By: Paul</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-17983</link> <dc:creator>Paul</dc:creator> <pubDate>Wed, 22 Feb 2012 03:54:55 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-17983</guid> <description>Thanks Greg.  This is one item I know we will use.  Have a blessed day!</description> <content:encoded><![CDATA[<p>Thanks Greg.  This is one item I know we will use.  Have a blessed day!</p> ]]></content:encoded> </item> <item><title>By: Greg Rickaby</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-17964</link> <dc:creator>Greg Rickaby</dc:creator> <pubDate>Tue, 21 Feb 2012 16:02:57 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-17964</guid> <description>Tested, and the module has been updated to version 2.5.0.</description> <content:encoded><![CDATA[<p>Tested, and the module has been updated to version 2.5.0.</p> ]]></content:encoded> </item> <item><title>By: Paul</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-17886</link> <dc:creator>Paul</dc:creator> <pubDate>Sun, 19 Feb 2012 21:21:38 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-17886</guid> <description>Greg, any luck?</description> <content:encoded><![CDATA[<p>Greg, any luck?</p> ]]></content:encoded> </item> <item><title>By: Greg Rickaby</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-17106</link> <dc:creator>Greg Rickaby</dc:creator> <pubDate>Fri, 03 Feb 2012 14:21:52 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-17106</guid> <description>This is how much I use Joomla: I had no idea 2.5 was out, much less v2.5.1. :)I will test this over the weekend and have something by Monday(ish)</description> <content:encoded><![CDATA[<p>This is how much I use Joomla: I had no idea 2.5 was out, much less v2.5.1. :)</p><p>I will test this over the weekend and have something by Monday(ish)</p> ]]></content:encoded> </item> <item><title>By: Paul</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-17085</link> <dc:creator>Paul</dc:creator> <pubDate>Fri, 03 Feb 2012 04:04:10 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-17085</guid> <description>Greg, like your profile (Believer).  Looking to use your extension in creating a new Joomla site for WJSA radio in Jersey Shore, PA.  I was wondering if the extension has been tested yet under Joomla v2.5?</description> <content:encoded><![CDATA[<p>Greg, like your profile (Believer).  Looking to use your extension in creating a new Joomla site for WJSA radio in Jersey Shore, PA.  I was wondering if the extension has been tested yet under Joomla v2.5?</p> ]]></content:encoded> </item> <item><title>By: Leanna</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-15986</link> <dc:creator>Leanna</dc:creator> <pubDate>Mon, 09 Jan 2012 00:30:50 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-15986</guid> <description>Nevermind! Tess&#039; fix worked.Change: $x = date(“G”); to $x = date(“Gi”);</description> <content:encoded><![CDATA[<p>Nevermind! Tess&#8217; fix worked.</p><p>Change:<br /> $x = date(“G”); to $x = date(“Gi”);</p> ]]></content:encoded> </item> <item><title>By: Leanna</title><link>http://gregrickaby.com/2009/01/jock-rotator-for-joomla.html/comment-page-2#comment-15981</link> <dc:creator>Leanna</dc:creator> <pubDate>Sun, 08 Jan 2012 23:41:26 +0000</pubDate> <guid isPermaLink="false">http://gregrickaby.com/?p=788#comment-15981</guid> <description>I got the module to function however, it&#039;s not changing - even when I refresh. Any ideas? Contact me and I&#039;ll send you a copy of the altered script.</description> <content:encoded><![CDATA[<p>I got the module to function however, it&#8217;s not changing &#8211; even when I refresh. Any ideas?<br /> Contact me and I&#8217;ll send you a copy of the altered script.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using disk: enhanced
Database Caching 9/23 queries in 0.009 seconds using apc
Object Caching 416/426 objects using apc
Content Delivery Network via Amazon Web Services: CloudFront: cdn.gregrickaby.com

Served from: gregrickaby.com @ 2012-05-17 11:10:30 -->
