PDA

View Full Version : Portal Software - Shoutcast server Info vBAdvanced CMPS module


infnity8x3
07-26-2010, 10:00 PM
I have been looking for a module for vBAdvanced That would display some basic shoutcast server info. Unable to find a decent working one I decided to write one myself.

So here is Shoutcast Server Info, a vBAdvanced CMPS module.

Features
Shows server name
Active listeners
Current song
Last 5 songs
Tune in link
Request song link or thread
And playlist link or thread

Instructions
Download the attached zip file
Edit radio_stats.php and change the config to your shoutcast server info.
Upload radio_stats.php to your modules directory.
From your admincp - vba cmps
Add new module
PHP file
Title - call it what you want
Active - yes
File to include - radio_stats.php
Identifier - call it what you want
Select clean file output
Save and add to the page of your choice. Center works best but can be a side block to.

Screens
120109120110

djvj
09-12-2010, 11:20 PM
This gives me an error, using vb3.8.5 and cmps 3.2.2

Warning: Call-time pass-by-reference has been deprecated in /home/content/49/6560049/html/div/forums/modules/radio_stats.php on line 23

Does this only work in 3.8.6?

infnity8x3
09-16-2010, 03:56 AM
Sounds more like a php error than a vbulletin error. Would you mind telling me what version of php you are using on your server?

TeknoSounds
09-16-2010, 05:55 AM
any way this could be updated for 4.0? Really been wanting this for awhile :) Seems to work, but breaks out of the template and doesn't display properly.

vb 4.0.6 (updating to 4.0.7 soon)
vba 4.0.1
php 5.3.2 (updating to 5.3.3 soon)

(tested with my sc server offline, haven't yet when its online so far)

Also I don't have a playlist for it to use...is it ok to set this to blank?