Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Embeded code radio station *help please*
Embeded code radio station *help please*
Goto page 1, 2  Next

13 Replies / 1484 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Blocks

View previous topic :: View next topic


THENemesis
Reputation: 2.8 Add RepSubtract Rep
Local time: 3:41 AM

blank.gif

Spammer
Spammer

0.07 posts per day
Medals: 0

Joined: Oct 02, 2008
Last Visit: 11 Mar 2010
Posts: 83
Points: 2233 

Post Embeded code radio station *help please* Posted: Tue Jan 26, 2010 9:59 pm

Hi All,
i have created a block for some radio station and having probs.
Wondered if someone could help?
this is the code i have but need to convert it to a NUke block, im using one of your clantheme themes :)

Code:

<OBJECT ID="MediaPlayer" WIDTH=150 HEIGHT=80
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject">

<PARAM NAME="FileName" VALUE="http://87.98.249.31:8000" valuetype="ref" ref>
<param name="AudioStream" value="1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="0">
<param name="AnimationAtStart" value="0">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="1">
<param name="DisplaySize" value="1">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="-1">
<param name="EnableTracker" value="-1">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowStatusBar" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="333333">
<param name="VideoBorder3D" value="-1">
<param name="Volume" value="-1">
<param name="WindowlessVideo" value="-1">
<EMBED TYPE="application/x-mplayer2" SRC="http://87.98.249.31:8000"
NAME="MediaPlayer"
WIDTH=150
HEIGHT=80>
</EMBED></OBJECT>
 

 
View user's profileSend private message Reply with quote

DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 3:41 AM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128885 

Post Embeded code radio station *help please* Posted: Wed Jan 27, 2010 12:28 am

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

Try this

try this.zip
 Description:

Download
 Filename:  try this.zip
 Filesize:  1.01 KB
 Downloaded:  10 Time(s)

 

 
View user's profileSend private messageVisit poster's website Reply with quote

THENemesis
Reputation: 2.8 Add RepSubtract Rep
Local time: 3:41 AM

blank.gif

Spammer
Spammer

0.07 posts per day
Medals: 0

Joined: Oct 02, 2008
Last Visit: 11 Mar 2010
Posts: 83
Points: 2233 

Post Re: Embeded code radio station *help please* Posted: Thu Jan 28, 2010 4:26 am

Thanks Dread!
Works nice but only problem is even though its set to not autoplay, it does..
I think it maybe something "their" end.
Thanks Again!
Stuart
Angel
 

 
View user's profileSend private message Reply with quote


DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 3:41 AM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128885 

Post Re: Embeded code radio station *help please* Posted: Thu Jan 28, 2010 4:04 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

You can try adding this line into the block under the Autostart and give it a try.

Code:
<param name=\"AutoStart\" value=\"false\">
 

 
View user's profileSend private messageVisit poster's website Reply with quote

THENemesis
Reputation: 2.8 Add RepSubtract Rep
Local time: 3:41 AM

blank.gif

Spammer
Spammer

0.07 posts per day
Medals: 0

Joined: Oct 02, 2008
Last Visit: 11 Mar 2010
Posts: 83
Points: 2233 

Post Embeded code radio station *help please* Posted: Thu Jan 28, 2010 9:35 pm

DC, you are good! dont let anyone tell you any different ;)
Worked first time mate thanks very very much!

Stuart

Love Rolling Eyes
 

 
View user's profileSend private message Reply with quote

DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 3:41 AM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128885 

Post Re: Embeded code radio station *help please* Posted: Fri Jan 29, 2010 7:39 am

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

n/p, thats what we are here for. Glad to hear it worked, I was uncertain if it would work. cheers Pint
 

 
View user's profileSend private messageVisit poster's website Reply with quote


THENemesis
Reputation: 2.8 Add RepSubtract Rep
Local time: 3:41 AM

blank.gif

Spammer
Spammer

0.07 posts per day
Medals: 0

Joined: Oct 02, 2008
Last Visit: 11 Mar 2010
Posts: 83
Points: 2233 

Post Embeded code radio station *help please* Posted: Fri Feb 12, 2010 12:04 pm

Hi DRead,
Mate im sorry, the guys over at Frag changed the stream/IP info and their so called "Admin" have giving me some crap code that apparently is for a Nuke site.. I have tried to sort it myself but no good, i cant even centre it! :(

This is what they gave me and

Code:

<object id="MediaPlayer" width="500" height="300" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" standby="Loading Windows Media Player components..." type="application/x-oleobject">
   <param name="Filename" value="http://stream.fragfm.co.uk:8000/live">
   <param name="AutoStart" value="false">
   <param name="ShowControls" value="false">
   <param name="ShowStatusBar" value="false">
   <param name="ShowDisplay" value="false">
   <embed type="application/x-mplayer2" src="http://stream.fragfm.co.uk:8000/live" name="MediaPlayer" width="500" height="300" autostart="0"></embed>
</object>


If you have a minute please could you look at it?

thanks again
Stuart
 

 
View user's profileSend private message Reply with quote

Noto
Reputation: 1043.9 Add RepSubtract Rep
votes: 13
Local time: 9:41 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.56 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 10 Feb 2012
Posts: 979
Points: 61147 

Post Embeded code radio station *help please* Posted: Fri Feb 12, 2010 2:06 pm

Code:
<?php

if ( !defined('BLOCK_FILE') ) {
   die("Illegal Block File Access");
}
$content = '<p style="text-align: center;">
<object height="300" width="500" type="application/x-oleobject" standby="Loading Windows Media Player components..." classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="MediaPlayer">
<param value="http://stream.fragfm.co.uk:8000/live" name="Filename" />
<param value="false" name="AutoStart" />
<param value="false" name="ShowControls" />
<param value="false" name="ShowStatusBar" />
<param value="false" name="ShowDisplay" />    <embed height="300" width="500" autostart="0" name="MediaPlayer" src="http://stream.fragfm.co.uk:8000/live" type="application/x-mplayer2"></embed> </object>
</p>';

?>
 

Tactical Combat Evolved - Sig Showcase  
View user's profileSend private messageVisit poster's website Reply with quote

THENemesis
Reputation: 2.8 Add RepSubtract Rep
Local time: 3:41 AM

blank.gif

Spammer
Spammer

0.07 posts per day
Medals: 0

Joined: Oct 02, 2008
Last Visit: 11 Mar 2010
Posts: 83
Points: 2233 

Post Embeded code radio station *help please* Posted: Fri Feb 12, 2010 2:58 pm

hi Noto. thanks for helping out in my time of neediness but i pasted that code into the block using crimson editor uploaded F5'd a few times and lost half my main page and right sidebar?
thanks
stuart
 

 
View user's profileSend private message Reply with quote


DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 3:41 AM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128885 

Post Embeded code radio station *help please* Posted: Fri Feb 12, 2010 3:28 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

try this block

block-radio.rar
 Description:

Download
 Filename:  block-radio.rar
 Filesize:  492 Bytes
 Downloaded:  8 Time(s)

 

 
View user's profileSend private messageVisit poster's website Reply with quote

THENemesis
Reputation: 2.8 Add RepSubtract Rep
Local time: 3:41 AM

blank.gif

Spammer
Spammer

0.07 posts per day
Medals: 0

Joined: Oct 02, 2008
Last Visit: 11 Mar 2010
Posts: 83
Points: 2233 

Post Embeded code radio station *help please* Posted: Fri Feb 12, 2010 4:40 pm

Rolling Eyes
Dc the man! waheyyy thanks me ole m8..
Thanks to Noto for helping!!!!
Can i just ask where to add in the script the <centre></center> as the block aligns left please?

Thanks

Stuart
 

 
View user's profileSend private message Reply with quote

DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 3:41 AM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128885 

Post Re: Embeded code radio station *help please* Posted: Fri Feb 12, 2010 6:07 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

If you open the block with notepad++ (Free Program), or Dreamweaver(paid program), It will go as follows. ((If you use Notepad or wordpad, you will have to manually find the lines))

Find on line 6
Code:
 $content = "<object id=\"MediaPlayer\" width=\"500\" height=\"300\"


Before
Code:
<object id=\


add
Code:
<center>


so it will look like
Code:
 $content = "<center><object id=\"MediaPlayer\" width=\"500\" height=\"300\"


-------------------------------------------------------------------------------------------------

On line 13
Find
Code:
 </object>


after add
Code:
</center>


so it will look like
Code:
</object></center>  ";



Hope this helps...

As for Noto's file, I think it might of been an error on your end for I am looking at it and it should have worked. Though we do centering a little different, they are relativity the same as what i added, Just a few variations.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Blocks


 
13 Replies / 1484 Views
Page 1 of 2
All times are GMT
Goto page 1, 2  Next
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum