The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Last.FM Widget In Profile Details »» | |||||||||||||||||||||||||
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:
$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] The final look shall look like HTML Code:
$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] Show Your Support
|
Comments |
#12
|
|||
|
|||
another edit... wish I could set a default tab and place it in about me?
(check tabs) http://www.gothicwinter.com/forums/member.php?u=1 I used the english version, created the quilt from last.fm, and replaced the xx with my group. Code:
<!-- / Last.FM --> <style type="text/css">table.lfmWidgetquilt_0a3da65fe760e358172c68950156a498 td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidgetquilt_0a3da65fe760e358172c68950156a498 tr.lfmHead a:hover {background:url(http://cdn.last.fm/widgets/images/en/header/quilt/artist_horizontal_black.png) no-repeat 0 0 !important;}table.lfmWidgetquilt_0a3da65fe760e358172c68950156a498 tr.lfmEmbed object {float:left;}table.lfmWidgetquilt_0a3da65fe760e358172c68950156a498 tr.lfmFoot td.lfmConfig a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat 0px 0 !important;;}table.lfmWidgetquilt_0a3da65fe760e358172c68950156a498 tr.lfmFoot td.lfmView a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -85px 0 !important;}table.lfmWidgetquilt_0a3da65fe760e358172c68950156a498 tr.lfmFoot td.lfmPopup a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -159px 0 !important;}</style> <table class="lfmWidgetquilt_0a3da65fe760e358172c68950156a498" cellpadding="0" cellspacing="0" border="0" style="width:460px;"><tr class="lfmHead"><td><a title="Top artists" href="http://www.last.fm/user/$userinfo[fieldXX]/charts/" target="_blank" style="display:block;overflow:hidden;height:20px;width:460px;background:url(http://cdn.last.fm/widgets/images/en/header/quilt/artist_horizontal_black.png) no-repeat 0 -20px;text-decoration:none;border:0;"></a></td></tr><tr class="lfmEmbed"><td><object type="application/x-shockwave-flash" data="http://cdn.last.fm/widgets/quilt/13.swf" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="460" height="225" > <param name="movie" value="http://cdn.last.fm/widgets/quilt/13.swf" /> <param name="flashvars" value="type=user&variable=$userinfo[fieldXX]&file=topartists&bgColor=black&theme=black&lang=en&widget_id=quilt_0a3da65fe760e358172c68950156a498" /> <param name="bgcolor" value="000000" /> <param name="quality" value="high" /> <param name="allowScriptAccess" value="always" /> <param name="allowNetworking" value="all" /> </object></td></tr><tr class="lfmFoot"><td style="background:url(http://cdn.last.fm/widgets/images/footer_bg/black.png) repeat-x 0 0;text-align:right;"><table cellspacing="0" cellpadding="0" border="0" style="width:460px;"><tr><td class="lfmConfig"><a href="http://www.last.fm/widgets/?url=user%2F$userinfo[fieldXX]%2Fpersonal&colour=black&quiltType=artist&orient=horizontal&height=large&from=code&widget=quilt" title="Get your own widget" target="_blank" style="display:block;overflow:hidden;width:85px;height:20px;float:right;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat 0px -20px;text-decoration:none;border:0;"></a></td><td class="lfmView" style="width:74px;"><a href="http://www.last.fm/user/$userinfo[fieldXX]/" title="View $userinfo[fieldXX]'s profile" target="_blank" style="display:block;overflow:hidden;width:74px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -85px -20px;text-decoration:none;border:0;"></a></td><td class="lfmPopup"style="width:25px;"><a href="http://www.last.fm/widgets/popup/?url=user%2F$userinfo[fieldXX]%2Fpersonal&colour=black&quiltType=artist&orient=horizontal&height=large&from=code&widget=quilt&resize=1" title="Load this quilt in a pop up" target="_blank" style="display:block;overflow:hidden;width:25px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -159px -20px;text-decoration:none;border:0;" onclick="window.open(this.href + '&resize=0','lfm_popup','height=325,width=510,resizable=yes,scrollbars=yes'); return false;"></a></td></tr></table></td></tr></table> |
#13
|
|||
|
|||
Quote:
|
#14
|
|||
|
|||
Quote:
Code:
<div id="sidebar_container"> <!-- sidebar --> $template_hook[profile_right_first] $blocks[stats_mini] $template_hook[profile_right_mini] $blocks[friends_mini] $blocks[albums] $template_hook[profile_right_album] $blocks[groups] $blocks[visitors] $template_hook[profile_right_last] <!-- / sidebar --> </div> Code:
<div id="profile_tabs"> $template_hook[profile_left_first] $blocks[visitor_messaging] $blocks[aboutme] $blocks[lastfm] $blocks[stats] $blocks[friends] $blocks[infractions] $blocks[contactinfo] $template_hook[profile_left_last] </div> |
#15
|
|||
|
|||
cool thanks
|
#16
|
|||
|
|||
how can i get the module in english?
|
#17
|
|||
|
|||
Awesome!
|
#18
|
|||
|
|||
This was really useful, thanks.
|
#19
|
|||
|
|||
In case you have Custom Group, user belongin ONLY to this groups will not show the LastFM tabs. I searched a bit and i found this in the "Last.Fm Widget in Profile" plugin of this profile:
Code:
if (is_member_of($vbulletin->userinfo,1 , 2 , 3 , 4 , 5 , 6, 7)) { eval('$blocks[lastfm] = "' . fetch_template('memberinfo_block_lastfm') . '";');} I'm not a coder and a vbulletin template guru, if there's another and better solution i will gladly use it. |
#20
|
|||
|
|||
Any chance this could be placed in postbit_legacy so it shows underneath the user's post count? Seems possible, right?
|
#21
|
||||
|
||||
Installed! working very good. I added mine as a Tab..works good.
I have attached the English version of the XML file. Just Import it and replace the field id . Also check out my Lastfm link in postbit legacy mod ,It works great with this mod. https://vborg.vbsupport.ru/showthread.php?t=232965 |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|