| Author |
Message |
jabbawest
Corporal


Joined: May 18, 2004
Posts: 51
Location: Texas
|
Posted:
Thu Feb 17, 2005 2:33 pm |
  |
Need a little help since the support at Wimpy sucks.
I have this player working correctly (removed URL to prevent BW hogging) but there is a phpnuke block that I would prefer to use.
Unfortunately, when activated this block loads two players.
The top player is the resized version that is made using the HTML code generator which creates the 'myWimpy.html' file at their site, not sure why the second player is showing.
Here's the block code:
| Code: |
<?php
if (eregi("block-Wimpy.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$wimpyHTML = "mp3s/myWimpy.html";
if($data = @file_get_contents($wimpyHTML)){
$AwimpyWidthA = explode("wW=", $data);
$AwimpyWidthB = explode("&", $AwimpyWidthA[1]);
$wimpyWidth = $AwimpyWidthB[0];
//
$AwimpyHeightA = explode("wH=", $data);
$AwimpyHeightB = explode("&", $AwimpyHeightA[1]);
$wimpyHeight = $AwimpyHeightB[0];
$content = '<IFRAME src="'.$wimpyHTML.'" name="wimpy" width="'.$wimpyWidth.'" height="'.$wimpyHeight.'" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" ></IFRAME>';
} else {
$content = 'Could not locate the file: <a href="'.$wimpyHTML.'" target="_BLANK">'.$wimpyHTML.'</a> as specified in the <BR>';
$content .= 'variable $wimpyHTML within the block-Wimpy.php, Check to make <BR>';
$content .= 'sure you have created and uploaded a custom HTML file using the <BR>';
$content .= 'Customizer tool at wimpyplayer.com and uploaded it to your wimpy <BR>';
$content .= 'folder on your site.<BR>';
}
echo ($content);
?> |
Any ideas?
Thanks |
Last edited by jabbawest on Tue Feb 22, 2005 9:04 pm; edited 1 time in total |
|
       |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12389
|
Posted:
Thu Feb 17, 2005 3:50 pm |
  |
|
     |
 |
jabbawest
Corporal


Joined: May 18, 2004
Posts: 51
Location: Texas
|
Posted:
Thu Feb 17, 2005 7:23 pm |
  |
Thanks Evaders99.
If you ever find yourself on Tatooine, look me up....I might be able to find you some work.  |
_________________
 |
|
       |
 |
pftsobetty
Nuke Cadet


Joined: May 18, 2005
Posts: 2
|
Posted:
Wed May 18, 2005 5:46 pm |
  |
I need a Little Help Here. I get Wimpy to work when I type in the URL but when I activate the block it says the myWimpy.html is not where it should be..But it is. I cant figure this out, it is driving me crazy. After 8 hours of fooling around with it, I have to ask for help. |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12389
|
Posted:
Wed May 18, 2005 6:32 pm |
  |
|
     |
 |
Danny1976
Nuke Cadet


Joined: Feb 15, 2006
Posts: 2
|
Posted:
Wed Feb 15, 2006 7:36 am |
  |
How can I remove the iframe code from this block. Even though it has the scrolling set to no, it shows a scrollbar in the block. I just want to remove the frame from this block.
| jabbawest wrote: |
Need a little help since the support at Wimpy sucks.
I have this player working correctly (removed URL to prevent BW hogging) but there is a phpnuke block that I would prefer to use.
Unfortunately, when activated this block loads two players.
The top player is the resized version that is made using the HTML code generator which creates the 'myWimpy.html' file at their site, not sure why the second player is showing.
Here's the block code:
| Code: |
<?php
if (eregi("block-Wimpy.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$wimpyHTML = "mp3s/myWimpy.html";
if($data = @file_get_contents($wimpyHTML)){
$AwimpyWidthA = explode("wW=", $data);
$AwimpyWidthB = explode("&", $AwimpyWidthA[1]);
$wimpyWidth = $AwimpyWidthB[0];
//
$AwimpyHeightA = explode("wH=", $data);
$AwimpyHeightB = explode("&", $AwimpyHeightA[1]);
$wimpyHeight = $AwimpyHeightB[0];
$content = '<IFRAME src="'.$wimpyHTML.'" name="wimpy" width="'.$wimpyWidth.'" height="'.$wimpyHeight.'" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" ></IFRAME>';
} else {
$content = 'Could not locate the file: <a href="'.$wimpyHTML.'" target="_BLANK">'.$wimpyHTML.'</a> as specified in the <BR>';
$content .= 'variable $wimpyHTML within the block-Wimpy.php, Check to make <BR>';
$content .= 'sure you have created and uploaded a custom HTML file using the <BR>';
$content .= 'Customizer tool at wimpyplayer.com and uploaded it to your wimpy <BR>';
$content .= 'folder on your site.<BR>';
}
echo ($content);
?> |
Any ideas?
Thanks |
|
|
|
   |
 |
dezina
Support Mod


Joined: Jun 09, 2003
Posts: 1713
Location: England
|
Posted:
Wed Feb 15, 2006 7:59 am |
  |
|
    |
 |
Danny1976
Nuke Cadet


Joined: Feb 15, 2006
Posts: 2
|
Posted:
Wed Feb 15, 2006 8:40 am |
  |
Thanks for the help and the quick reply. |
|
|
   |
 |
CarrATMCS
Nuke Cadet


Joined: Oct 25, 2006
Posts: 1
|
Posted:
Tue Oct 24, 2006 4:42 pm |
  |
Does anyone know how to modify the JavaScript code example to work with the actual player? I can't get the album cover art to load. I have tried emailing tech support 5 times with no answer since the first time. They want me to name the coverart the same as the MP3 file. This is dumb! If I have an album with 16 songs, you are telling me that I have to load the same coverart 16 times with 16 different names. Wimpy's tech support has just gotten to a point where they don't even acknowledge the receipt of the trouble tickets. Please help. Thanks in Advance. |
|
|
   |
 |
|
|