vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Popup Music Player (https://vborg.vbsupport.ru/showthread.php?t=284443)

Rideharder 06-14-2012 10:00 PM

Popup Music Player
 
1 Attachment(s)
4.x.x


1.Download and extract the popup.html and up load it into your main directory "/public_html" as your fourm.

Code in popup.html
Code:

<embed src='http://www.shoutcast.com/media/popupPlayer_V19.swf?stationid=http://yp.shoutcast.com/sbin/tunein-station.pls?id=2187022&play_status=1' quality='high' bgcolor='#000000' width='400' height='104' name='popupPlayer_V19' align='middle' allowScriptAccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' ></embed>


2.Go into your admin area Advertising/Ad Selector/header1 add code and add this code.
Code:

<a href="popup.html" onclick="window.open('popup.html','popup','width=440,height=155,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=50,top=0'); return false">Popup Music Player</a>
Demo: speedaholic.net


You can add your own music into the HTML page by going to http://www.shoutcast.com and getting the embed code, then edit the popup.html with the embed code you prefer to listen to.



Please see attached pictures.

Rideharder 06-15-2012 03:03 AM

Feel free to share different ways that you guys embed your popup codes in the navigation link.

Krusty1231 06-15-2012 06:08 AM

1 Attachment(s)
I threw it up as a forum block. I used the image as the click link instead of the text.

Your choice as default station was great.

Thanks for the how-to!

Preech 06-15-2012 08:45 AM

I want to be able to upload music to my server, once they click a image on a create page, it will pop up. Interesting though.

Rideharder 06-15-2012 09:10 PM

Quote:

Originally Posted by Krusty1231 (Post 2339700)
I threw it up as a forum block. I used the image as the click link instead of the text.

Your choice as default station was great.

Thanks for the how-to!

That was a very good idea, do you mind sharing the block code?

When I have time I'll create some block code images as I seen what you did in your attachment. Looks great on your site.


Code:

<a href="popup.html" onclick="window.open('popup.html','popup','width=440,height=155,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=50,top=0'); return false"><a href="http://www.YOURSITE.com">
 <img src="YOUR.jpg"/></a>


Emeralda 06-16-2012 09:56 AM

Rawr, how would I go on about adding a button for this on the navbar?

basilrath 06-16-2012 03:57 PM

Quote:

Originally Posted by Emeralda (Post 2340009)
Rawr, how would I go on about adding a button for this on the navbar?

Find:
HTML Code:

<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>

After add your code
HTML Code:

<li><a href="popup.html" onclick="window.open('popup.html','popup','width=440,height=145,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=50,top=0'); return false">Name of Station</a></li>
You can make it work with any radio station you fancy by editing the embed src code within the html page

Emeralda 06-16-2012 08:36 PM

It didn't find that in 4.2 >.<

Krusty1231 06-16-2012 09:42 PM

You could use this:

https://vborg.vbsupport.ru/showthread.php?t=228507

Since the upgrade to 4.2 it's an easy way to add the missing stuff from my navbar.

Hope it helps?

basilrath 07-07-2012 11:31 AM

Can be used with the new tab system within 4.2 also for any radio station you wish


All times are GMT. The time now is 06:57 PM.

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.01485 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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