The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Radio and TV Add-on Details »» | |||||||||||||||||||||||||
This mod's vB 3.6.x version has been abandoned. The new vB 3.7.x version is here.
This will add a radio and TV library to your forum. Features: - Users can add / delete / edit own stations - Favorite stations - Report broken / duplicate stations - Full AJAX - Plays Windows Media Player, Real Player and Quicktime streams - and more... Nominate this mod for Mod of the Month! If you like this script don't forget to donate. This mod is "Re-usable Code", meaning you can modify it and release your own "distribution". Show Your Support
|
Comments |
#92
|
|||
|
|||
Quote:
|
#93
|
||||
|
||||
Naw - Thank YOU!
This mod is really excellent! So much so that I even added a graphic at the top of our Radio: http://jpicforum.info/radiostations.php I've been waiting and hoping someone would do a Radio mod for vB 3.6.x So this is like a godsend - Really appreciate it! Just earned a few extra monies for web design - will be sending a small donation soon! Thanx, Jacquii. |
#94
|
||||
|
||||
Very nice hack m8 installed just got 1 problem that i would like to solve if possible ... whn a guest is brousing the forum the link is active and he can listen to the stations like a registered user ..... is thre any way to hide the link from unregistered users !!!
Regards Wengi |
#95
|
|||
|
|||
Quote:
eg... instead of adding....... <td class="vbmenu_control"><a href="javascript penRadioStations()$session[sessionurl_q]">$vbphrase[rs_radiostations]</a></td> you should add...... <if condition="$show['member']"><td class="vbmenu_control"><a href="javascript penRadioStations()$session[sessionurl_q]">$vbphrase[rs_radiostations]</a></td></if> hope this helps you and others out mate! |
#96
|
||||
|
||||
There's one problem... the link in the Navbar doesn't work at vbadvanced.
|
#97
|
||||
|
||||
Well done Craig as always m8 .... your a star
Quote:
Regards Wengi |
#98
|
|||
|
|||
Since this is listed as an unsupported mod, I guess it's okay to post this...
Myself and at least one other person would prefer this mod to open a vb page instead of a popup window. Problem was, the navbar wasn't recognized. Here's the fix. In the radiostations.php file find: Code:
// ############################ CONFIG VARS ############################## $admin_groups = rs_do_array($vbulletin->options['radiostations_admins']); $full_users = rs_do_array($vbulletin->options['radiostations_full_users']); $banned_users = rs_do_array($vbulletin->options['radiostations_banned_users']); $half_users = rs_do_array($vbulletin->options['radiostations_half_users']); $default_station = $vbulletin->options['radiostations_default_station']; Code:
$navbits = array(); $navbits[$parent] = 'RADIOSTATIONS'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); $navbar = process_replacement_vars($navbar); eval('$headinclude = "' . fetch_template('headinclude') . '";'); $headinclude = process_replacement_vars($headinclude); eval('$footer = "' . fetch_template('footer') . '";'); $footer = process_replacement_vars($footer); Code:
<body> Code:
$header $navbar Code:
</body> Code:
$footer Code:
<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="radiostations.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radiostations]</a></td></tr></if> Code:
<if condition="$show['member']"><td class="vbmenu_control"><a href="radiostations.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radiostations]</a></td></if> This works for me, if it doesn't for you, undo it and call me a moron. |
#99
|
|||
|
|||
Many thanks! Very nice addition.
Clicked Installed! |
#100
|
||||
|
||||
Jacquii you could be pissed all you want - wasn't meant as a slap at Dream. I like the mod, said as much, but also thought it needed more, just wasn't working out for me but yes, I could have stated it a bit clearly.
Now, that having been said, Tulsa above just supplied me with the changes that just made this something very useable on my site now as I didn't like the idea of not having the header/footer and frankly, I'm a PHP idiot and only pick up on this stuff slowly. Thank you Tulsa for the added bits there, came in handy! Dream, nice job. |
#101
|
|||
|
|||
You're most welcome. I'm glad to hear it worked for someone else.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|