Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2009, 08:30 PM
BiZiMDiYaR BiZiMDiYaR is offline
 
Join Date: Aug 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Shoutcast radio on Vbulletin forum

Hi,

Is there a way ( addon or template edit ) to have a shoutcast radio in vbulletin, that doesn't reload everytime the users change to another page on the forum. So to be able to listen to the shoutcast radio, constantly...

Best regards,
Reply With Quote
  #2  
Old 01-26-2009, 04:35 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not a limitation of vBulletin, but rather, the way HTML/browsers work. A solution may be to open the player in a new window/popup, this would not be reloaded every time the user browses.
Reply With Quote
  #3  
Old 01-26-2009, 10:57 PM
BiZiMDiYaR BiZiMDiYaR is offline
 
Join Date: Aug 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Well... the problem is that most IE and firefox do have popup blocks.. so how to avoid this then ? The radio would be blocked all the time... any solution for this ?

btw, if I wanted to have a pop up, how to do this to have it loaded only once and not everytime the user goes to the forumhome...

Best regards,
Reply With Quote
  #4  
Old 01-26-2009, 11:03 PM
killa seven killa seven is offline
 
Join Date: Aug 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can add subdomains to your account, correct? Go add one radio.yoursite.com load the shoutcast and point it to that page, and put a link in your navbar, or some other form of letting people know its there.

Thats how i did it.
Reply With Quote
  #5  
Old 01-27-2009, 04:05 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BiZiMDiYaR View Post
Well... the problem is that most IE and firefox do have popup blocks.. so how to avoid this then ? The radio would be blocked all the time... any solution for this ?
You don't have to use a actual popup, you can just link to a new page.
Quote:
Originally Posted by BiZiMDiYaR View Post
btw, if I wanted to have a pop up, how to do this to have it loaded only once and not everytime the user goes to the forumhome...
The new page acts independently to what the user does on the other page.
Reply With Quote
  #6  
Old 01-27-2009, 09:46 PM
BiZiMDiYaR BiZiMDiYaR is offline
 
Join Date: Aug 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I want the radio to play when the user is on the forum... not with a link, not with a popup, just a radio on top. There must be some way for this, as a lot of sites are using shoutcast radios, so this should be something that vbulletin should be looking at... would be a great piece of code...

Can we request something like this ? Do we have a requests page ? :-)

Best regards.
Reply With Quote
  #7  
Old 01-27-2009, 11:57 PM
NeroObsedian's Avatar
NeroObsedian NeroObsedian is offline
 
Join Date: Oct 2002
Location: Cincinnati
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a way to do this but many people will frown upon it and it also depends on the layout of your radio.

A few versions back I had a board running with an iframe at the bottom. The iframe was broken into IRC/Flash MP3 Player/Flash Arcade. I included a link on my navbar called Troll. You went there, said what it did and asked for an IRC username if you wished for it to be different than your username. Once you hit Start Trolling it reloaded the entire page into two frames. The main was anchored across the bottom and I think it was either 200 or 250 high and the rest of the page was the forum.

What youre doing is setting names for the different frames. So if your forum is at the top you could name it forum and bottom anchor. Some of your links would have to target the forum frame, but this would keep it so that the bottom frame only reloads if the page is refreshed or a link is taken from that frame that leaves the framed page.

Oh yeah... this is frowned up due to some browsers that have/had issues with iframes. They weren't stable across all browsers and made for bad page design. I haven't used them for some time now so that may not be the case anymore, but that would get the job done.
Reply With Quote
  #8  
Old 01-28-2009, 01:13 PM
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Location: Cumbria, UK
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is somthing im interested in im trying to solve the same problem, i have the player embedded i just need it to appear as a popup on loading page, been searching for the code but going in circles, another thread i can watch now see what developes.

if anyone knows what code or where please point me there, i would apprecited it, as my coding skills are under developement.
Reply With Quote
  #9  
Old 01-29-2009, 12:08 AM
NeroObsedian's Avatar
NeroObsedian NeroObsedian is offline
 
Join Date: Oct 2002
Location: Cincinnati
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At one point I had thought about using AJAX for something like this but I wasn't sure and I'm still not 100% sure how you would go about doing and how effective it would be.

However, since Facebook is really the craze anymore you'll notice theres a toolbar across the bottom of the page. Again, i'm not sure how it works or what language its written in (assuming AJAX) but I checked available jobs for Facebook(page is in php). Under the Interface Design posting it states the following:
  • # Expertise in PHP, XHTML, CSS, Javascript, AJAX
  • Ability to write well-abstracted, reusable code for common UI components in PHP and Javascript

Thus I assume its a combination of the above. Try investing some google time on live AJAX/PHP frames/bars/windows etc.
Reply With Quote
  #10  
Old 01-29-2009, 09:23 AM
BiZiMDiYaR BiZiMDiYaR is offline
 
Join Date: Aug 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Woww.. this has been very usefull... yes, the facebook would do the trick, to have similiar BAR under or even at the top of the page.

Does anybody have this knowlegde or is anybody able to make this.. ? I know that this would be interesting for a lot of people... How to implement this on vbulletin ? Please advise and thanks.

Bes regards.
Reply With Quote
Reply


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 04:28 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.06795 seconds
  • Memory Usage 2,253KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • 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