Back to vBulletin 3.6 Template Modifications

ShoutCast Status - NavBar
Mod Version: 1.00, by m002.p

This modification is in the archives.
vB Version: 3.6.8 Rating: (2 votes - 4.50 average) Installs: 14
Released: 18 Jan 2008 Last Update: Never Downloads: 4
Not Supported Template Edits Additional Files  

*This Mod requires Zachariahs ShoutCast Status Forumhome to be installed*
------------------------------------------------

What does this modification do?

This will simply add a more prominent ShoutCast Server Status in your navbar which will aid in more forum members and guests being aware your site has a ShoutCast broadcast enabling them to listen in using windows media player, if online.

What do I need?

You need Zachariahs vb3.6 ShoutCast Server Status Mod installed as mentioned above & a working vbulletin 3.6. You can also use this mod with vBadvanced with the further instructions included.

What have you tested this on?

Tested on vb3.6.8, ShoutCast Status Forumhome mod 2.0 & vBa v3.0 RC2

Demo?

http://www.sog-team.co.uk/index.php > SEE NAVBAR

Instructions:

1)
Firstly upload the image attached "shoutcast_offs.gif" to your styles image misc folder. Example; "domain"/images/misc/

2)
Now open your styles "navbar" template and find:

Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>
Underneath add:

Code:
<!-- / START SOG-TEAM SCAST NAVBAR STATUS -->
<if condition="$streamstatus">
<td class="alt1" nowrap="nowrap"><div class="smallfont"><img border="0" src="$stylevar[imgdir_misc]/radio.gif" alt="$servertitle: $vbphrase[online] ($currentlisteners/$maxlisteners @ $bitrate kbs)" ALIGN=LEFT><center><b>$servertitle</b><br /><a href="#" onclick="window.open('/forum/$vboptions[forumhome].php?do=mp','mp','statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=360,height=75'); return false;"><span style="text-decoration: blink;">Tune In</span></a></center></td>
<else />
<td class="alt1" nowrap="nowrap"><div class="smallfont"><img border="0" src="$stylevar[imgdir_misc]/shoutcast_offs.gif" alt="$servertitle: $vbphrase[offline]" ALIGN=LEFT><center><b>$servertitle</b><br/>$vbphrase[offline]</center></td>
</if>
<!-- / END SOG-TEAM SCAST NAVBAR STATUS -->
3)
Save Template

Complete!

--------------------------------------------

How do I get this to also work on VbAdvanced?

If you use VbAdvanced, the variables used will result in the following modification not working unless you perform the following steps. Note you likely need vBa v3.0 to get it to work!

1)
Go to Plugin Manager; "Admin CP > Plugins & Products > Plugin Manager"

Find: "Shoutcast Status Full - Main"

Edit plugin & Change the "Hook Location" to "parse_templates"

2)
Save Plugin

3)
Go to vBa options; "Admin CP > vBa CMPS > Default Settings > Main Options"

Now find: "Portal Output Global Variables"

Copy the following into the box exactly in the format below:

Code:
streamstatus
servertitle
bitrate
currentlisteners
maxlisteners
4)
Save Settings

Complete!

How do I get this working on PhotoPlog?


1)
If not done so already; Go to Plugin Manager; "Admin CP > Plugins & Products > Plugin Manager"

Find: "Shoutcast Status Full - Main"

Edit plugin & Change the "Hook Location" to "parse_templates"

2)
Save Plugin

3)
Go to "Admin CP > vBulletin Options > PhotoPlog Settings > Global Variables"

4)
In the "Global Variables" text box add the following in the exact format:

Code:
streamstatus
servertitle
bitrate
currentlisteners
maxlisteners
5)
Complete
----------------------------------------

*NOTE - The "Tune In" link will only flash / blink in firefox!*

If you have any other requests or ideas, post them here so I can include them in the next version. The next version will include a product xml.

Please Click Installed if you use this modification!

Version History:

v1.0 - Initial release

Download

No files for download.

Supporters / CoAuthors

  • m002.p
  • Zachariah

Screenshots

Click image for larger version
Name:	offline screen.jpg
Views:	1161
Size:	14.1 KB
ID:	74697   Click image for larger version
Name:	online screen.jpg
Views:	743
Size:	13.4 KB
ID:	74698   Click image for larger version
Name:	screen online2.jpg
Views:	775
Size:	13.9 KB
ID:	74699  

Similar Mods

Forum Home Enhancements Shoutcast Status 2.0 (VB3.6) vBulletin 3.6 Add-ons
Shoutcast Status Full vBulletin 3.0 Full Releases
Shoutcast Status 2.0 (3.5) vBulletin 3.5 Add-ons
Shoutcast Status Lite vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024