Hi,
I have an invalid argument in the sidebar:
Warning: Invalid argument supplied for foreach() in /home/www/wordpress/wp-content/plugins/glastfm/glastfm.widget.php on line 195
Any hint to solve it?
Cheers,
CK
Hi! I would like to suggest this little fix for this cool plugin:
When the track-name of the songs are too long, they go down to the next line (as you can see here). This causes some “visual disruption”, and I think that if we could display just a partial title of the song when they are too long to fit next to the album cover, it would look perfect (maybe add “…” to the end shortening the titles).
Basically, I’d like the song names to fit exactly next to the cover image according to the sidebar width so it looks better.
Thanks!
]]>When last.fm does not have a cover for the track, gLastFM throws some PHP errors on the frontend, that some variables are not available. Easily to fix by initialising the variables with the placeholder images.
//cover url, set default entries for all variables
$picurl = GLASTFM_PLUGIN_URL . 'theme/empty_' . $image_size . '.png';
$picurl_small = GLASTFM_PLUGIN_URL . 'theme/empty_0.png';
$picurl_medium = GLASTFM_PLUGIN_URL . 'theme/empty_1.png';
$picurl_large = GLASTFM_PLUGIN_URL . 'theme/empty_2.png';
$picurl_extralarge = GLASTFM_PLUGIN_URL . 'theme/empty_3.png';
]]>
after install , site crashing!
]]>