[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
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

[RC] Last.fm statistics 1.1.0

Post by Kamahl19 » Sun May 11, 2008 12:53 pm

MOD Title: Last.fm statistics
MOD Version: 1.1.0

MOD Descripiont: This MOD adds a new field for last.fm username, three different statistics to user's profile and a table of recently played songs to signature.

Works with: phpBB 3.0.11 (prosilver)

Language: English

Author: Kamahl

License: GNU General Public License v2

MOD Format: MODx

Donation:
http://www.phpbb3hacks.com/viewtopic.php?t=711

Download
http://www.phpbb3hacks.com/viewtopic.php?t=711
Last edited by Kamahl19 on Sat Aug 25, 2012 2:31 pm, edited 15 times in total.

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.0

Post by Kamahl19 » Sun May 11, 2008 6:52 pm

I found small bugs in xml files, template files and I added lastfm.css.

Version 1.0.0 relased

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.1

Post by Kamahl19 » Tue May 13, 2008 4:54 am

any ideas? :)

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

Re: [RC] Last.fm statistics 1.0.1

Post by demon327 » Sat May 17, 2008 5:24 pm

Kamahl19 wrote:any ideas? :)
i was looking for a mod like this :D, i'm going to install it ;)

edit: Installed and it looks great 8-)

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

Re: [RC] Last.fm statistics 1.0.1

Post by Tuxman » Sat May 17, 2008 6:47 pm

Kamahl19 wrote:any ideas? :)
Sure:
Adding sth like my requested sub-signature image.
Then it'll be fine.

:mrgreen:
[ randomly phpBBing ]

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.1

Post by Kamahl19 » Sun May 18, 2008 4:02 pm

To display recent tracks in signature, use this.

open viewtopic_body.html
find

Code: Select all

					<!-- IF postrow.SIGNATURE -->
						<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
					<!-- ENDIF -->
add after

Code: Select all

					<!-- IF postrow.POSTER_LASTFM -->
					<br />
            <img src="http://imagegen.last.fm/basicrt10/recenttracks/3/{postrow.POSTER_LASTFM}.gif" border="0" />
          <!-- ENDIF -->
To change number of last songs rewrite "/3/" in link with another number 1-10.
To change style of image rewrite "/basicrt10/" with another name of styl which is provider by last.fm

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

Re: [RC] Last.fm statistics 1.0.1

Post by demon327 » Sun May 18, 2008 6:13 pm

i forgot to tell you that the changes in the memberlist dont show up :( , there is no last.fm user name to be seen in the memberlist overview

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.1

Post by Kamahl19 » Sun May 18, 2008 6:46 pm

pls add your screenshot

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

Re: [RC] Last.fm statistics 1.0.1

Post by demon327 » Sun May 18, 2008 6:58 pm

Kamahl19 wrote:pls add your screenshot
http://img513.imageshack.us/img513/6949 ... istjb9.jpg

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

Re: [RC] Last.fm statistics 1.0.1

Post by Tuxman » Sun May 18, 2008 7:10 pm

If anyone needs it, here's the German version:

Code: Select all

language/de_x_sie/memberlist.php:

'LASTFM_PROFILE'			=> 'Last.fm-Profil',
'LASTFM_STATS'			=> 'Last.fm-Statistik',
'LAST_SONGS'			=> 'Zuletzt gespielt',

'TOP7_INTERPRETS'		=> 'Top-Interpreten',

Code: Select all

language/de_x_sie/ucp.php:

'UCP_LASTFM'					=> 'Last.fm-Profil',

Code: Select all

language/de_x_sie/viewtopic.php:

'LASTFM'			=> 'Last.fm',

Code: Select all

language/de_x_sie/acp/users.php:

'LAST_FM'	=> 'Last.fm-Benutzername',
:ugeek:
[ randomly phpBBing ]

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.1

Post by Kamahl19 » Sun May 18, 2008 7:20 pm

Danke :) I will add it to mod in next relase

to demon327: I know, i dont want to add last.fm nick to list of members :)

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

Re: [RC] Last.fm statistics 1.0.1

Post by demon327 » Sun May 18, 2008 7:23 pm

Kamahl19 wrote:Danke :) I will add it to mod in next relase

to demon327: I know, i dont want to add last.fm nick to list of members :)
why add the code then? *looks strange*

edit: oops now i know where it has to go :p..

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.2

Post by Kamahl19 » Mon May 19, 2008 9:28 am

version 1.0.2 relased. new addon adds table of last songs to user's signature. user can disallow it in ucp

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

Re: [RC] Last.fm statistics 1.0.2

Post by demon327 » Mon May 19, 2008 3:44 pm

Kamahl19 wrote:version 1.0.2 relased. new addon adds table of last songs to user's signature. user can disallow it in ucp
updated, i also have a suggestion:

put a explain text beneath the option so the user nows for what it is ;) , i added it myself..

open: styles/{yourestyle}/templates/ucp_prefs_personal.html

find:

Code: Select all

td class="row1" width="50%"><b class="genmed">{L_USE_SONGS}:</b></td>
replace with:

Code: Select all

<td class="row1" width="50%"><b class="genmed">{L_USE_SONGS}:</b><br /><span class="gensmall">{L_USE_SONGS_EXPLAIN}</span></td>
open: language/en/ucp.php:

find:

Code: Select all

'USE_SONGS'
after add:

Code: Select all

'USE_SONGS_EXPLAIN'                     => 'explain text here.',

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.2

Post by Kamahl19 » Mon May 19, 2008 4:21 pm

I added it but after i did it, i deleted it :D later...

Locked

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

Who is online

Users browsing this forum: No registered users and 13 guests