Music On Index Page Of Forum

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
SalfordProjectDJ
Registered User
Posts: 24
Joined: Wed Aug 01, 2007 5:18 pm

Music On Index Page Of Forum

Post by SalfordProjectDJ »

Hi i want to be able to have a song playing in the background of my forum...?

Is this possible ? do i have to install a mod for it ? if so can someone point out where there is one ? link ?

i have edited my overall_footer.tpl file and added a html link and it plays when i visit the forum but not for others ?? :S is this because the html music link is html and not php ? can it be changed to work with php ?

i have included the code below

Code: Select all

<!-- BEGIN switch_copyright_notice -->
<!--

	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
	reason) retain the full copyright we request you at least leave in place the
	Powered by phpBB line, with phpBB linked to www.phpbb.com. If you refuse
	to include even this then support on our forums may be affected.

	The phpBB Group : 2002

	-------------------------------------------------------------------------------------------
	
	You are allowed to use this phpBB style only if you agree to the following conditions:
	- You cannot remove copyright notices without permission.
	- You cannot use images from this style anywhere else without permission.
	- You can convert this style to another software for your use, but converted style must have full copyrights.
	- You can modify style as much as you want, but you may not remove copyright notices.

	This phpBB style was originally designed by Andrei Gordeev (Freestyle XL) with help from Vjacheslav Trushkin (CyberAlien).
	It is currently being updated and supported by Vjacheslav Trushkin (CyberAlien).
	For support and updates visit http://www.stsoftware.biz/

-->
<!-- END switch_copyright_notice -->

<div align="center"><span class="genmed"><br />{ADMIN_LINK}<br /></span>
<div id="copy2" style="display: none;"><span class="copyright"><a href="javascript:void(0);" onclick="ShowHide('copy1', 'copy2');">Copyrights</a></span></div>
<div id="copy1">
	<span class="copyright">
		<!-- do not remove copyrights -->
		<!-- See overall_footer.tpl page source for full copyright notice. -->
            Song Playing In Background Hosted By <a href="http://ss.2tunes.com">Serious Sounds,</a>
		Powered by phpBB &copy; 2001, 2005 phpBB Group<br />
		Design By www.Lowery91.piczo.com
<embed width="0" height="0" src="http://www.seriousbeats.co.uk/07/06Track 6.mp3" ShowStatusBar=1 autostart=1 ShowStatusBar=true ShowControls=true Cache=True autostart="true" loop="true" type='application/x-mplayer2' volume="200"><p> 
<b><font face="Verdana" size="2">
		<!-- / do not remove copyrights -->
	</span>
</div>
<script language="javascript" type="text/javascript">
<!--
ShowHide('copy1', 'copy2');
//-->
</script>
</div>
		</td>
	</tr>
	</table></td>
</tr>
</table>
</body>
</html>
EDIT: Site is local so will only be online when my pc is... i will be leaving it on tomorrow from 6am till 12am midnight so you can see for yourself...

Thanks.
StefanL
Registered User
Posts: 2265
Joined: Wed Jul 23, 2003 10:10 pm

Re: Music On Index Page Of Forum

Post by StefanL »

To point you in right direction, you shouldn’t use overall_header.tpl to put your script in, because it will load on every page for the forum and will make your users go bananas. ;) I suggest index_body.tpl instead. You can use HTML-code in the template files.
When I suggest that you should alter your files, BACKUP them BEFORE.
SalfordProjectDJ
Registered User
Posts: 24
Joined: Wed Aug 01, 2007 5:18 pm

Re: Music On Index Page Of Forum

Post by SalfordProjectDJ »

Ah thanks. :)

But for the code i dont want users to be able to see it and turn off the song really i want it to run in the background ??

can you tell me how to do this and is there anything in the html i need to edit as it is not playing for others visiting and the media file isnt even hosted on my server its on another ??

Thanks.
Daniel Lowery
StefanL
Registered User
Posts: 2265
Joined: Wed Jul 23, 2003 10:10 pm

Re: Music On Index Page Of Forum

Post by StefanL »

You need a MOD for this. Ask over at http://www.phpbb.com/community/viewforum.php?f=17
When I suggest that you should alter your files, BACKUP them BEFORE.
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51585
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Music On Index Page Of Forum

Post by stevemaury »

Dan? I gotta tell you that when I hit a site that plays music I move right on. But that may just be me. Or maybe you have a music site.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
SalfordProjectDJ
Registered User
Posts: 24
Joined: Wed Aug 01, 2007 5:18 pm

Re: Music On Index Page Of Forum

Post by SalfordProjectDJ »

Well Its A Site Made For Adding Music To Your Site http://www.ss.2tunes.com...

I Got The HTML Off There...

I Cant Find A MOD Aswell Any Ideas ??

Thanks.
Daniel Lowery
Locked

Return to “2.0.x Support Forum”