Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
ShoutCast Status - NavBar Details »»
ShoutCast Status - NavBar
Version: 1.00, by m002.p m002.p is offline
Developer Last Online: Jun 2022 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 01-17-2008 Last Update: Never Installs: 14
Template Edits
Additional Files  
No support by the author.

*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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-30-2008, 08:54 PM
swissknife swissknife is offline
 
Join Date: Mar 2004
Location: Hamburg
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sry. i meant video-streaming.

and my other question was: is there a way so get that code working anyware outside this navbar. for exmaple a new module ?
Reply With Quote
  #23  
Old 02-04-2008, 01:49 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes you can get this code working in other modules I believe.

Secondly, unfortunetly no this mod doesnt support video streaming.
Reply With Quote
  #24  
Old 02-05-2008, 10:03 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by m002.p View Post
Yes you can get this code working in other modules I believe.

Secondly, unfortunetly no this mod doesnt support video streaming.
I have looked in on it, it will soon.

BTW: nice on adding to the navbar. I have a lot of changes planned.
Reply With Quote
  #25  
Old 02-06-2008, 11:11 AM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Zachariah, especially with helping on the vbA issue
Reply With Quote
  #26  
Old 06-04-2008, 07:08 PM
murrtex murrtex is offline
 
Join Date: May 2002
Location: izmir
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
it works only forum home page on me.it does not work on the other forum pages,
what can we do to fix it?
my vb version is 3.7.1
Reply With Quote
  #27  
Old 04-22-2009, 02:17 PM
leodestroy's Avatar
leodestroy leodestroy is offline
 
Join Date: Jul 2008
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any one have update for new Vb, like 3.8 or 4.0?
Reply With Quote
  #28  
Old 01-29-2010, 04:25 PM
210665 210665 is offline
 
Join Date: Feb 2009
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

Here you can rake with an update for VB4.
Would I use much again, perhaps you can simply enter an information if there will be what.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx

Hallo

Kann man hier mit einem Update für VB4 rechen.
Würde ich dringend wieder gebrauchen, vielleicht könnt ihr hier einfach eine Info geben ob es was geben wird
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05800 seconds
  • Memory Usage 2,277KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete