Last.FM Widget In Profile

ChopSuey

New Member
This will allow your members to display their latest listened songs within Last.Fm

Installation Instructions :
Create a new userfield
Single Line Textbox
Name : Last.Fm Widget
Description : Enter your Last.Fm username

Save the field and copy the field number. Example : if the new added field number is field30 then note 30 .

Import the product file. Edit memberinfo_block_lastfm template and replace all instances of $userinfo[fieldXX] with your profile field number such as $userinfo[field30]

Save your template and open MEMBERINFO template. Look for
HTML Code:
HTML:
$template_hook[profile_right_first]
	$blocks[stats_mini]
	$template_hook[profile_right_mini]
	$blocks[albums]
	$template_hook[profile_right_album]
	$blocks[groups]
	$blocks[visitors]
	$template_hook[profile_right_last]

add $blocks[lastfm] according to your choice
The final look shall look like

HTML:
$template_hook[profile_right_first]
	$blocks[stats_mini]
	$template_hook[profile_right_mini]
	$blocks[albums]
	$template_hook[profile_right_album]
	$blocks[lastfm]
	$blocks[groups]
	$blocks[visitors]
	$template_hook[profile_right_last]
 
Top