Download
Jock Rotator v1.5 (434)Instructions
Step 1. Download and install into Joomla
Step 2. Using your favorite HTML editor, open “mod_jock.php”
Step 3. Edit the HTML according to the time your jocks are on the air
Step 4. Save and Upload “mod_jock.php” into /modules/mod_jock/
Examples
Change Log
Version 1.5 – February 8th, 2010
- Removed CSS
- Added Joomla 1.5 native compatibly
- Cleaned up code
Version 1.4 – January 12th, 2009
- Added “Set Default Timezone” functionality
Version 1.3 – January 9th, 2009
- Cleaned up code
- Added more comments for easier installation instructions







{ 1 trackback }
{ 45 comments… read them below or add one }
can anyone post a working example using time and date for seperate shows? I am completly lost in php, but this is exactly what i have been looking for, if i can get it working
i have everything set, but i cannot get the day function to work, please advise as to what the day and time function should look like. Thank you to whoever can answer this question
Hi Greg, Thanks for a very great job doen on this module. Something baffles me though. I install the module last night and already set the timezone in the .php file. When I returened tonight to continue working on it, I just couldn’t find the module again in my module manager.. I’m just wondering what I may have doen wrong. Thank you.
I have posted an example of a working script above under “Examples”. Hope this helps.
Hi..I’m experiencing the same problem with the menu font sizechanging when the module is enabled. However the solution says “Check the .css in mod_jock.php It appears it’s interfearing with your templates .a tags”
But there’s no reference to.css in mod_jock 1.4, and
What are we checking for?
What do we do once we find it?
Cheers
Alfie, I just released v1.5. See above to download.
This module is awesome! I have managed to get it to display a different show for every day of the week and at unusual start and end times too. If anyone wants my copy to help them, just let me know. Thanks Greg, nice work.
Hi Howick,
I would love a copy if you could email me 1 thank you (cllive@gmail.com)
Howick
I too would greatly appreciate if you could send me a copy to sample from
(dougburgess@metalassaultradio.com)
Thanks in advance
Hi Howick,
can you please send me it too?
thanks,
regards
great job Greg!
great job Greg!
Is there anyway of showing a different show for each weeknight?
Hello
When i want only day by day how can i do that.
Ervery dj has his ons show on a day and time..
I tried everything but i cant get ik working…
How would you make it so a different show would display for each night during the weekday?
I have installed the module on Joomla 1.5.8, and all I get is a completely white blank page. I have checked I have installed the correct PHP version, any idea’s as this is a script I have been looking for for ages, and from the example is a fantastic script.
Gary – I will look into this.
many thanks :)
If needed I can send the file I have uploaded for you to look at.
I have checked as soon as I have disabled this module, the site functions properly again, weird.
The module shows as incompatible when I look in the modules section of the Extension Manager. I have Legacy support enabled so it should work.
This looks pretty awesome. Do you plan on making a version of this one for Wordpress?
How can i get a template like V935 to build a radio station site, or can you help.
And how do you change it if everyday has a different lineup? How do I expand the code?
Hi,
This is a great script but I was wondering if you happened to have a version with a full back-end version so that the script can be edited within Joomla. EG, items can be selected with text boxes – so that idiots can use it basically?
Thanks
Unfortunetly I do not. I wish I had more time to devote to the script! Between all my freelancing and contract engineering work I’m swamped! If you need help lemme know and I’d be happy to answer any questions.
Easy Breezy!
if ($x < 5:30 ) { print"
Meridian's Best Variety
VPOD
Make A Request
"; }
//------------------------------- Weekday Mornings 6a-10a -----------------------------
elseif ($x < 6:45 ) { print"
Breakfast Club
Mornings 5a - 10a
Make A Request
"; }
Parse error: syntax error, unexpected ‘:’
//——————————- Weekday Mornings 6a-10a —————————–
elseif ($x < 6:45 ) { print”
Breakfast Club
Mornings 5a – 10a
Make A Request
“; }
Try removing the colon and just use 530 and 645
Hi!
How to display a program that starts the 5:30 am and goes until 6:45 am? I would like to present an example using the time in minutes. Can you help me?
Thanks
this module seems to make my menus text smaller.
what can be done?
Check the .css in mod_jock.php It appears it’s interfearing with your templates .a tags
Thanks..that did the trick
Greg! Thank you so much for your help, I hadn’t checked back in a bit, but you are a lifesaver!! thanks again :)
Does this script work with a frontpage/ dreamweaver site as I need somthing like this on my website I’m building but have not got a clue how this script works lol
@MARKY
Yes, this could be run from any .PHP page using any WSYIWYG editor (aka Dreamweaver). Simply download v1.4, extract and open mod_jock.php and edit as you see fit. After all, I did! :)
Hello again, I’m using firefox and everithing is ok, but i see now in Explorer a porblem with your mod.
If this mod is activ, the web is down.
can help me??
my msn is lacienfm@hotmail.com i’m is online every day.
tnks!!
is it possible to plug this into a standard html page? And if I wanted to add days of the week, would I just edit like this:
if ($i=1, $x < 6 ) ?
John,
The script is using a ‘case statement’ which requires .php or .asp…let me know if you are still interested.
definately, I’d love to use this either as a .php or in wordpress. I run a sight using wordpress and another with joomla.
sorry my english, i’m argentine.
I can not make it work properly.
What would be the Argenta ID? AR, [AR], another?
Adrian,
Thank you for your interest as well. The codes are located at this website: http://unicode.org/cldr/data/diff/supplemental/territory_containment_un_m_49.html
Scroll down to South America, and then you will see Argentina. When you locate Argentina find the city closest to you. For example: If Buenos Aries was closest the code would be:
date_default_timezone_set(‘America/Buenos_Aires’);
I hope this helps!!
Thank you very much for your help, but where is “date_default_timezone_set? in mod_jock.php, mod_jock.xml, my template index?
sorry for my questions but I am interested that the module works perfectly, it is very interesting for several functions.
Thank you!!!
Download v1.4 and you’ll see it in mod_jock.php
can see work properly at http://lacienfm.com “En el aire ahora”
Really thank you !!
hey greg thanks so much for this module! for some reason (maybe i messed up the php, i dunno much about it) but its 12:55 my time and it’s displaying the 5-530am program. can you help?! thanks!
Amy,
Thank you for the compliment and great question!
The script runs based on the time of your web server. Is your web server using PHP5?