Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[PVR] Forum Radio Player v2.0 Details »»
[PVR] Forum Radio Player v2.0
Version: 2.0, by hugh_ hugh_ is offline
Developer Last Online: Apr 2017 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.2.x Rating:
Released: 05-12-2013 Last Update: Never Installs: 6
Re-useable Code Translations  
No support by the author.

Adding the following custom bbcode would allow your users to embed Party Vibe Radio's music player directly into their forum post. The player will not auto start.

If you like this mod please click Nominate for Mod of the Month ---->
Please remember to click Mark As Installed ---->








Test the player:

Light Player Demo
Dark Player Demo
Cassette Player Demo
Shoutcast Radio Player Demo
Small Theme Player Demo
Small Theme Dark Player Demo

Party Vibe Radio's FAQ
Party Vibe Radio
Radio Directory

Alternatively embed our free HTML, Javascript and Flash radio player or take a look at our simpler HTML only internet radio player.

-----
Title: Party Vibe Radio

Tag: pvr

Replacement:

- Light theme

<iframe src="https://www.partyviberadio.com/player-https/embed/{param}.html" style="border:0px #FFFFFF none;" name="embed-dark" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="90px" width="195px"></iframe>

- Dark theme

<iframe src="https://www.partyviberadio.com/player-https/embed-dark/{param}.html" style="border:0px #FFFFFF none;" name="embed-dark" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="80px" width="190px"></iframe>

- Cassette theme

<iframe src="https://www.partyviberadio.com/player-https/embed-cassette/{param}.html" style="border:0px #FFFFFF none;" name="embed-dark" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="225x" width="375px">
</iframe>

- Shoutcast theme

<iframe src="https://www.partyviberadio.com/player-https/embed-dark-scradio/{param}.html" style="border:0px #FFFFFF none;" name="embed-dark" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="150px" width="200px">
</iframe>

- Small Theme Radio Player

<iframe src="https://www.partyviberadio.com/player-https/embed-small/{param}.html" style="border:0px #FFFFFF none;" name="embed-small" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="75px" width="120px">
</iframe>

- Dark Small Theme Radio Player

<iframe src="https://www.partyviberadio.com/player-https/embed-dark-small/{param}.html" style="border:0px #FFFFFF none;" name="embed-dark-small" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="75px" width="120px">
</iframe>

Example: [pvr]reggae[/pvr]

Description:

Embed Party Vibe Radio into your forum posts.

Options are reggae, ambient, psytrance, techno, breakbeat, drumandbass, rap, rock, pop, vfr, charthits, smoothjazz, hardradio, smoothlounge, hotjamz or chilloutzone.

Use {option} No

Button Image (Optional) or use attached: See below

Remove Tag If Empty: Yes

Disable BB Code Within This BB Code: Yes

Disable Smilies Within This BB Code: Yes

Disable Word Wrapping Within This BB Code: Yes

Disable Automatic Link Parsing Within This BB Code: Yes

Show Your Support

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

Comments
  #22  
Old 04-26-2017, 04:01 AM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

26.04.17 - Update to version 2.0

- Our radio players now feature HTML5 and HTTPS web page support.
Reply With Quote
  #23  
Old 09-06-2018, 08:01 AM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.
I try to add this to my forum, I don't know how add this in custom bbcode byt my iddea its add this radio player in a forum block.
I create a new block (html) and insert the code, but not works.
Also, I try differents codes from here
https://www.partyvibe.com/radio/?p=1865
https://www.partyvibe.com/radio/?p=3812

Also, not work for me.

Can anyone help me?

I use vb 4.25 and this mod I think its fantastic!

Thanks and regards.
Reply With Quote
  #24  
Old 12-10-2019, 03:10 PM
chudvs chudvs is offline
 
Join Date: Jul 2018
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i put this in block vb4.2.5, is there anyone can tell me how to float this in a new window, as it shuts when the forums are browsed... basically i need the code to make this code

Code:
<iframe style="border: 0px #FFFFFF none;" src="https://www.partyviberadio.com/player-https/embed-dark-auto-scradio/reggae.html" name="embed-shoutcast" width="200px" height="150px" frameborder="1" marginwidth="0px" marginheight="0px" scrolling="no"></iframe>
float in a completely new window...

now i sound like IT, "IT FLOATS"

p.s. fantatic stations btw, keep up the good work
Reply With Quote
Благодарность от:
WendM
  #25  
Old 12-10-2019, 04:57 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=chudvs;2601428]i put this in block vb4.2.5, is there anyone can tell me how to float this in a new window, as it shuts when the forums are browsed... basically i need the code to make this code

Code:
<iframe style="border: 0px #FFFFFF none;" src="https://www.partyviberadio.com/player-https/embed-dark-auto-scradio/reggae.html" target="_top" name="embed-shoutcast" width="200px" height="150px" frameborder="1" marginwidth="0px" marginheight="0px" scrolling="no"></iframe>

Interestingly enough, you want to do something entirely opposite of what IFrame is meant to be. The whole purpose of IFrame is open inside a page. You should be able to just add: target="_top"
Reply With Quote
  #26  
Old 12-11-2019, 11:54 AM
chudvs chudvs is offline
 
Join Date: Jul 2018
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=Hostboard;2601432]
Quote:
Originally Posted by chudvs View Post
i put this in block vb4.2.5, is there anyone can tell me how to float this in a new window, as it shuts when the forums are browsed... basically i need the code to make this code

Code:
<iframe style="border: 0px #FFFFFF none;" src="https://www.partyviberadio.com/player-https/embed-dark-auto-scradio/reggae.html" target="_top" name="embed-shoutcast" width="200px" height="150px" frameborder="1" marginwidth="0px" marginheight="0px" scrolling="no"></iframe>

Interestingly enough, you want to do something entirely opposite of what IFrame is meant to be. The whole purpose of IFrame is open inside a page. You should be able to just add: target="_top"
thanks for the reply, adding target "_top" doesnt float it, just sends the user to scroll to top of the forum

i need the code so the radio is in the forum block, then if the user wants to continue listening to the radio you can click the block radio so it detaches/floats in its own window... so it isnt lost when the user browsers the forums
Reply With Quote
  #27  
Old 12-11-2019, 04:03 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I get it... You can do custom PHP code within forum blocks and there is a mod that allows for "forum block everywhere" But I do not think you can do what your looking for from within VBs tool set and would require custom coding... However what about something like this...

Code:
<!DOCTYPE html>
<html>
<head>
<style>
div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 5px;
  background-color: #cae8ca;
  border: 2px solid #4CAF50;
}
</style>
</head>
<body>

<p>Now<b>scroll</b> inside this frame to understand how sticky positioning works.</p>
<p>Note: Not sure if all browsers support sticky position.</p>

<div class="sticky">I Can't scroll past the top!</div>

<div style="padding-bottom:2000px">
  <p>In this example, the sticky element sticks to the top of the page (top: 0), when you reach its scroll position.</p>
  <p>Scroll back up to remove the stickyness.</p>
  <p>Some text to enable scrolling.</p>
  <p>Some text to enable scrolling.</p>
</div>

</body>
</html>
Reply With Quote
  #28  
Old 12-12-2019, 01:30 PM
chudvs chudvs is offline
 
Join Date: Jul 2018
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome hostboard, many thanks for this coding! much appreciated!

one last question, my forum blocks disappear when you view a forum/topic, any way to keep the blocks permanent?
Reply With Quote
  #29  
Old 12-12-2019, 02:35 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can try this:
https://vborg.vbsupport.ru/showthread.php?t=233871

I think it might be easier to just inject the HTML/PHP code into the correct template(s). We are not as hesitant to modify templates or core code any more as the VB 4.x branch is dead and will never see any sort of update/patch from IB.
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 07:43 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.09465 seconds
  • Memory Usage 2,314KB
  • Queries Executed 26 (?)
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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete