vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - [PVR] Forum Radio Player v2.0 (https://vborg.vbsupport.ru/showthread.php?t=298123)

hugh_ 04-26-2017 04:01 AM

26.04.17 - Update to version 2.0

- Our radio players now feature HTML5 and HTTPS web page support.

gnrx 09-06-2018 08:01 AM

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.

chudvs 12-10-2019 03:10 PM

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

Hostboard 12-10-2019 04:57 PM

[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"

chudvs 12-11-2019 11:54 AM

[QUOTE=Hostboard;2601432]
Quote:

Originally Posted by chudvs (Post 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"

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

Hostboard 12-11-2019 04:03 PM

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>


chudvs 12-12-2019 01:30 PM

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?

Hostboard 12-12-2019 02:35 PM

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.


All times are GMT. The time now is 06:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01234 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete