[RC] Last.fm statistics 1.1.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
ZeonSaza
Registered User
Posts: 12
Joined: Fri Jan 04, 2008 2:18 pm

Re: [RC] Last.fm statistics 1.0.4

Post by ZeonSaza »

Um, i dont really completely understand that article. Well, i understand it, but i'm still not exactly sure what i'm supposed to do.

User avatar
dbasetrinity
Registered User
Posts: 16
Joined: Tue Jan 10, 2006 5:56 pm
Contact:

Re: [RC] Last.fm statistics 1.0.4

Post by dbasetrinity »

hello,

I installed your mod and went to edit styles/prosilver/template/memberlist_view.html

I notice that the xhtml was not valid strict 1.0, so i edited it to make it validate

Code: Select all

<div class="panel bg2 inner">
<h3>{L_LASTFM_STATS}</h3>
<table width="100%">
<tr align="center">
<td>
<table class="lfmWidgetchart_7d568c67cce8c908fa01afc098213928 c7" cellpadding="0" cellspacing="0" border="0">
<tr class="lfmHead">
<td><a title="{LASTFM}: Recently Listened Tracks" href="http://www.last.fm/user/{LASTFM}/" rel="external" class="c1"></a></td>
</tr>
<tr class="lfmEmbed">
<td><object type="application/x-shockwave-flash" data="http://cdn.last.fm/widgets/chart/friends_6.swf" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="184" height="199"><param name="movie" value="http://cdn.last.fm/widgets/chart/friends_6.swf" />
<param name="flashvars" value="type=recenttracks&user={LASTFM}&theme=black&lang=en&widget_id=chart_7d568c67cce8c908fa01afc098213928" />
<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 class="c8">
<table cellspacing="0" cellpadding="0" border="0" class="c7">
<tr>
<td class="lfmConfig"><a href="http://www.last.fm/widgets/?colour=black&chartType=recenttracks&user={LASTFM}&chartFriends=1&from=code&widget=chart" title="Get your own widget" rel="external" class="c2"></a></td>
<td class="lfmView c4"><a href="http://www.last.fm/user/{LASTFM}/" title="View {LASTFM}'s profile" rel="external" class="c3"></a></td>
<td class="lfmPopup c6"><a href="http://www.last.fm/widgets/popup/?colour=black&chartType=recenttracks&user={LASTFM}&chartFriends=1&from=code&widget=chart&resize=1" title="Load this chart in a pop up" rel="external" class="c5" onclick="window.open(this.href + '&resize=0','lfm_popup','height=299,width=234,resizable=yes,scrollbars=yes'); return false;"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>
<table class="lfmWidgetchart_315f11b39aee9e6f613386ae4c8cd913 c7" cellpadding="0" cellspacing="0" border="0">
<tr class="lfmHead">
<td><a title="{LASTFM}: Weekly Top Artists" href="http://www.last.fm/user/{LASTFM}/charts/?charttype=weekly&subtype=artist" rel="external" class="c9"></a></td>
</tr>
<tr class="lfmEmbed">
<td><object type="application/x-shockwave-flash" data="http://cdn.last.fm/widgets/chart/19.swf" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="184" height="140"><param name="movie" value="http://cdn.last.fm/widgets/chart/19.swf" />
<param name="flashvars" value="type=weeklyartistchart&user={LASTFM}&theme=black&lang=en&widget_id=chart_315f11b39aee9e6f613386ae4c8cd913" />
<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 class="c8">
<table cellspacing="0" cellpadding="0" border="0" class="c7">
<tr>
<td class="lfmConfig"><a href="http://www.last.fm/widgets/?colour=black&chartType=weeklyartists&user={LASTFM}&chartFriends=1&from=code&widget=chart" title="Get your own widget" rel="external" class="c2"></a></td>
<td class="lfmView c4"><a href="http://www.last.fm/user/{LASTFM}/" title="View {LASTFM}'s profile" rel="external" class="c3"></a></td>
<td class="lfmPopup c6"><a href="http://www.last.fm/widgets/popup/?colour=black&chartType=weeklyartists&user={LASTFM}&chartFriends=1&from=code&widget=chart&resize=1" title="Load this chart in a pop up" rel="external" class="c5" onclick="window.open(this.href + '&resize=0','lfm_popup','height=240,width=234,resizable=yes,scrollbars=yes'); return false;"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>
<table class="lfmWidgetchart_2f72ff97e209305ee62a9c550d1d63f1 c7" cellpadding="0" cellspacing="0" border="0">
<tr class="lfmHead">
<td><a title="{LASTFM}: Overall Top Artists" href="http://www.last.fm/user/{LASTFM}/charts/?charttype=overall&subtype=artist" rel="external" class="c10"></a></td>
</tr>
<tr class="lfmEmbed">
<td><object type="application/x-shockwave-flash" data="http://cdn.last.fm/widgets/chart/19.swf" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="184" height="140"><param name="movie" value="http://cdn.last.fm/widgets/chart/19.swf" />
<param name="flashvars" value="type=topartists&user={LASTFM}&theme=black&lang=en&widget_id=chart_2f72ff97e209305ee62a9c550d1d63f1" />
<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 class="c8">
<table cellspacing="0" cellpadding="0" border="0" class="c7">
<tr>
<td class="lfmConfig"><a href="http://www.last.fm/widgets/?colour=black&chartType=topartists&user={LASTFM}&chartFriends=1&from=code&widget=chart" title="Get your own widget" rel="external" class="c2"></a></td>
<td class="lfmView c4"><a href="http://www.last.fm/user/{LASTFM}/" title="View {LASTFM}'s profile" rel="external" class="c3"></a></td>
<td class="lfmPopup c6"><a href="http://www.last.fm/widgets/popup/?colour=black&chartType=topartists&user={LASTFM}&chartFriends=1&from=code&widget=chart&resize=1" title="Load this chart in a pop up" rel="external" class="c5" onclick="window.open(this.href + '&resize=0','lfm_popup','height=240,width=234,resizable=yes,scrollbars=yes'); return false;"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>


Then i added some css to styles/prosilver/theme/lastfm.css

add this

Code: Select all

a.c10 {display:block;overflow:hidden;height:20px;width:184px;background:url(http://cdn.last.fm/widgets/images/en/header/chart/topartists_regular_black.png) no-repeat 0 -20px;text-decoration:none;border:0;}
 a.c9 {display:block;overflow:hidden;height:20px;width:184px;background:url(http://cdn.last.fm/widgets/images/en/header/chart/weeklyartists_regular_black.png) no-repeat 0 -20px;text-decoration:none;border:0;}
 td.c8 {background:url(http://cdn.last.fm/widgets/images/footer_bg/black.png) repeat-x 0 0;text-align:right;}
 table.c7 {width:184px;}
 td.c6 {width:25px;}
 a.c5 {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;}
 td.c4 {width:74px;}
 a.c3 {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.c2 {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.c1 {display:block;overflow:hidden;height:20px;width:184px;background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_black.png) no-repeat 0 -20px;text-decoration:none;border:0;}
Hope This helps someone else

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Last.fm statistics 1.0.4

Post by Kamahl19 »

I know, I have to fix it in next release

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [RC] Last.fm statistics 1.0.4

Post by tumba25 »

The MOD author has stated that he is not going to submit this MOD in the MODDB, so I'm locking this topic per the forum rules.

If the author changes his mind he can contact me or some other MOD Team member.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [RC] Last.fm statistics 1.0.4

Post by tumba25 »

The MOD author changed his mind about submitting to the MODDB so I'll reopen this topic.

Do note that MODs in the development forum should be considered unstable and not used in a live forum before they are accepted in the MODDB.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Last.fm statistics 1.0.4

Post by Kamahl19 »

I need to focus on my new MODs, therefor I have abandoned some small not very favourite MODs. This is one of them.

If you are interested in my other project, feel free to visit:
http://www.phpbb.com/community/viewtopi ... &t=2008845
http://www.phpbb.com/community/viewtopi ... &t=2130866
http://www.phpbb.com/community/viewtopi ... &t=2097006
http://www.phpbb.com/community/viewtopi ... &t=1116985 (will be reworked soon)

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [ABD] Last.fm statistics 1.0.4

Post by RMcGirr83 »

Unlocked at mod author's request.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Last.fm statistics 1.1.0

Post by Kamahl19 »

Version 1.1.0 has been released today :)

Changelog:
- completely rewritten
- installation using UMIL
- new features
- optimized for phpBB 3.0.9

demon327
Registered User
Posts: 847
Joined: Thu Nov 16, 2006 2:16 pm

Re: [RC] Last.fm statistics 1.1.0

Post by demon327 »

Kamahl19 wrote:Version 1.1.0 has been released today :)

Changelog:
- completely rewritten
- installation using UMIL
- new features
- optimized for phpBB 3.0.9
Do you have the old install instructions somwhere? so i can uninstall it?

And thx for the new version :lol:

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: [RC] Last.fm statistics 1.1.0

Post by Kamahl19 »

demon327 wrote:
Kamahl19 wrote:Version 1.1.0 has been released today :)

Changelog:
- completely rewritten
- installation using UMIL
- new features
- optimized for phpBB 3.0.9
Do you have the old install instructions somwhere? so i can uninstall it?

And thx for the new version :lol:
old version is here

Tuxman
Registered User
Posts: 420
Joined: Sun Jun 08, 2003 6:24 pm
Location: Germany
Contact:

Re: [RC] Last.fm statistics 1.1.0

Post by Tuxman »

Maybe adding some upgrade.xml would be fine. ;)
[ randomly phpBBing ]

Locked

Return to “[3.0.x] MODs in Development”