We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b8ad6666 authored by Mike Sheldon's avatar Mike Sheldon

Add recommended artists tag cloud to user profiles

parent 1f749a6f
......@@ -50,6 +50,10 @@ if(isset($user->name)) {
$aUserNowPlaying = $user->getNowPlaying(10);
$smarty->assign('nowplaying', $aUserNowPlaying);
} catch (exception $e) {}
if($user->hasLoved()) {
$recommendedArtists = $user->getRecommended(10);
$smarty->assign('recommendedArtists', $recommendedArtists);
$smarty->assign('isme', ($this_user->name == $user->name));
$smarty->assign('me', $user);
$smarty->assign('pagetitle', $user->name);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment