You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 42 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Wimpy mp3 player block issue. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
jabbawest
Corporal
Corporal


Joined: May 18, 2004
Posts: 51

Location: Texas

PostPosted: Thu Feb 17, 2005 2:33 pm Reply with quoteBack to top

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
Find all posts by jabbawestView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerICQ Number
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Thu Feb 17, 2005 3:50 pm Reply with quoteBack to top

Remove this line
Code:

echo ($content);


Blocks do not need to be echo'd back, that is controlled by the block loader.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
jabbawest
Corporal
Corporal


Joined: May 18, 2004
Posts: 51

Location: Texas

PostPosted: Thu Feb 17, 2005 7:23 pm Reply with quoteBack to top

Thanks Evaders99.
If you ever find yourself on Tatooine, look me up....I might be able to find you some work. Wink

_________________
Image
Find all posts by jabbawestView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerICQ Number
pftsobetty
Nuke Cadet
Nuke Cadet


Joined: May 18, 2005
Posts: 2


PostPosted: Wed May 18, 2005 5:46 pm Reply with quoteBack to top

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.
Find all posts by pftsobettyView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Wed May 18, 2005 6:32 pm Reply with quoteBack to top

It looks like it should be getting the file from mp3s/myWimpy.html .. relative to your phpNuke base

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Danny1976
Nuke Cadet
Nuke Cadet


Joined: Feb 15, 2006
Posts: 2


PostPosted: Wed Feb 15, 2006 7:36 am Reply with quoteBack to top

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
Find all posts by Danny1976View user's profileSend private message
dezina
Support Mod
Support Mod


Joined: Jun 09, 2003
Posts: 1713

Location: England

PostPosted: Wed Feb 15, 2006 7:59 am Reply with quoteBack to top

http://www.wimpyskins.com/modules.php?name=News&file=article&sid=13

_________________
Image
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Find all posts by dezinaView user's profileSend private messageVisit poster's website
Danny1976
Nuke Cadet
Nuke Cadet


Joined: Feb 15, 2006
Posts: 2


PostPosted: Wed Feb 15, 2006 8:40 am Reply with quoteBack to top

Thanks for the help and the quick reply.
Find all posts by Danny1976View user's profileSend private message
CarrATMCS
Nuke Cadet
Nuke Cadet


Joined: Oct 25, 2006
Posts: 1


PostPosted: Tue Oct 24, 2006 4:42 pm Reply with quoteBack to top

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.
Find all posts by CarrATMCSView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.799 Seconds - 258 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::