Move widget to top (EDITED)
2 posters
Page 1 of 1
Move widget to top (EDITED)
Hello. I want to add a radio to the top of the forum. At the moment I have the radio player in the home page message but I want to have a widget at the top so I can have the player on all pages. Also, if it's possible to edit the code to add more than one station.
This is the code I'm using for the radio
This is the code I'm using for the radio
- Code:
<div align="center">
<script type="text/javascript" src="http://www.museter.com/mrp.js"></script><script type="text/javascript">
MRP.insert({
'url':'http://stream.profm.ro:8012/profm.mp3',
'lang':'en',
'codec':'mp3',
'volume':70,
'autoplay':true,
'buffering':1,
'title':'ProFM',
'bgcolor':'#FFFFFF',
'skin':'eastanbul',
'width':467,
'height':26
});
</script>
Last edited by BASSLovah1 on June 18th 2014, 12:08 pm; edited 3 times in total
Re: Move widget to top (EDITED)
Hello,
We don't have an option to place a widget on top portion, you can, however just place the script on templates, particularly topic_list_box and view topic_body (on general)
This is for Invision.
For topic_list_box, search this:
And add your code below it.
For the viewtopic_body, search this:
And add your code on top of it.
With regards to adding more station, have you tried searching for source link that has more than one station?
We don't have an option to place a widget on top portion, you can, however just place the script on templates, particularly topic_list_box and view topic_body (on general)
This is for Invision.
For topic_list_box, search this:
- Code:
<!-- END multi_selection -->
And add your code below it.
For the viewtopic_body, search this:
- Code:
<ul id="navstrip" class="clearfix">
And add your code on top of it.
With regards to adding more station, have you tried searching for source link that has more than one station?
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Re: Move widget to top (EDITED)
Thank you very much! Editing the templates works like a charm!
I will look myself for a code that allows more than 1 stream, I just thought it was something easy to modify in order to add more than 1 station.
Cheers
EDIT: adding the code in viewtopic_body, above that line, makes all the messages centered. Any way to fix this?
EDIT2: Fixed the centering issue by adding </div> to the code (it was missing)
I will look myself for a code that allows more than 1 stream, I just thought it was something easy to modify in order to add more than 1 station.
Cheers
EDIT: adding the code in viewtopic_body, above that line, makes all the messages centered. Any way to fix this?
EDIT2: Fixed the centering issue by adding </div> to the code (it was missing)
Re: Move widget to top (EDITED)
You're welcome and glad to help Thank you for providing the solution too.
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» move widget top likes
» Move Image In Staff Widget?
» [Solved] Remove "Last Edited by on;Edited 4 times in total" Message for phpBB2 Silver
» Scaling Widget Background Image Based on Widget Size/User Resolution
» How to do this Advanced Hiding Widget Code as well as the Recent Topic's Widget Modification
» Move Image In Staff Widget?
» [Solved] Remove "Last Edited by on;Edited 4 times in total" Message for phpBB2 Silver
» Scaling Widget Background Image Based on Widget Size/User Resolution
» How to do this Advanced Hiding Widget Code as well as the Recent Topic's Widget Modification
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum