last.fm mod

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Get Involved
Tuxman
Registered User
Posts: 420
Joined: Sun Jun 08, 2003 6:24 pm
Location: Germany
Contact:

last.fm mod

Post by Tuxman » Wed Mar 12, 2008 5:20 pm

Hi,

recently I found a neat modification on HQShare.net:

You can enter your last.fm user data into an additional profile field

Image

and afterwards you'll have your last scrobbled track under all of your postings:

Image

The image's URL is hxxp://imagegen.last.fm/grayboxfivegroup/recenttracks/1/user name.gif.

I'd like to have it for phpBB3, too... :)
(Should be rather easy, but I'm not quite deep into phpBB3's template system yet...)
[ randomly phpBBing ]

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

Re: last.fm mod

Post by demon327 » Wed Mar 12, 2008 5:45 pm

Tuxman wrote:Hi,

recently I found a neat modification on HQShare.net:

You can enter your last.fm user data into an additional profile field

Image

and afterwards you'll have your last scrobbled track under all of your postings:

Image

The image's URL is hxxp://imagegen.last.fm/grayboxfivegroup/recenttracks/1/user name.gif.

I'd like to have it for phpBB3, too... :)
(Should be rather easy, but I'm not quite deep into phpBB3's template system yet...)
looks cool to me.., do you have any source files?, cause it will not be to hard i think :unsure:

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

Re: last.fm mod

Post by Tuxman » Wed Mar 12, 2008 5:56 pm

If I had, I wouldn't ask here. :mrgreen:
[ randomly phpBBing ]

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

Re: last.fm mod

Post by demon327 » Wed Mar 12, 2008 6:10 pm

Tuxman wrote:If I had, I wouldn't ask here. :mrgreen:
mm it seems its only template edits..,dammn i need the source code to see how it works :(

so if anybody has a Vbb licens please copy the edits from here:
http://www.vbulletin.org/forum/showthread.php?t=111177

to this topic :)

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

Re: last.fm mod

Post by Tuxman » Wed Mar 12, 2008 6:23 pm

demon327 wrote:mm it seems its only template edits..
In fact, it's also a profile field. ;)
[ randomly phpBBing ]

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

Re: last.fm mod

Post by demon327 » Wed Mar 12, 2008 6:28 pm

Tuxman wrote:
demon327 wrote:mm it seems its only template edits..
In fact, it's also a profile field. ;)
i know, but there has to me more then just a profile field :D

User avatar
colorhim
Registered User
Posts: 117
Joined: Sat Nov 04, 2006 6:20 pm
Location: KY

Re: last.fm mod

Post by colorhim » Thu Mar 13, 2008 4:32 am

i have actually been planing on making a mod for last.fm after i get time to finish my ajaxim one.

This is what im planning:

In memberlist for users that have Last.FM a little icon will be shown next to user name. (last.fm icon)

In view profile, it will show last 10 played songs.

in view topic it will show last played song under avatar.
-----
thats what im planning on first release. im thinking about maybe cover art in view profile as well...
AJAXIM - PHPBB3 BRIDGE COMING SOON
My TV Show: EMOtv
Free phpBB3.0.4/myBB Hosting: FireForumz.com
My Personal Site: emoruffino.com

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

Re: last.fm mod

Post by Tuxman » Thu Mar 13, 2008 10:32 am

Cover Art is a great idea. Will the output also be configurable? :)
[ randomly phpBBing ]

User avatar
colorhim
Registered User
Posts: 117
Joined: Sat Nov 04, 2006 6:20 pm
Location: KY

Re: last.fm mod

Post by colorhim » Sat Mar 15, 2008 7:26 pm

Tuxman wrote:Cover Art is a great idea. Will the output also be configurable? :)
probably in later releases
AJAXIM - PHPBB3 BRIDGE COMING SOON
My TV Show: EMOtv
Free phpBB3.0.4/myBB Hosting: FireForumz.com
My Personal Site: emoruffino.com

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

Re: last.fm mod

Post by Kamahl19 » Sat May 17, 2008 6:58 pm

hi

Colorhim, I did what you want :) http://www.phpbb.com/community/viewtopi ... 0&t=949655 It adds recent songs, top 7 artist weekly and top 7 artist in general.

So what exactly do you want? to display recent songs in signature?

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

Re: last.fm mod

Post by Tuxman » Sat May 17, 2008 7:07 pm

See the second image in my opening posting for details. 8-)
[ randomly phpBBing ]

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

Re: last.fm mod

Post by demon327 » Sun May 18, 2008 11:46 am

Tuxman wrote:See the second image in my opening posting for details. 8-)
i think its realy easy to do with the mod of Kamahl19 ;) , gona try it :D

edit: i did it for you:

1. open styles/{themename}/templates/viewtopic_body

2. find:

Code: Select all

<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
3. Inline find:

Code: Select all

</span>
4. After add(new line):

Code: Select all

<p> <img src="http://imagegen.last.fm/grayboxfivegroup/recenttracks/1/{postrow.POSTER_LASTFM}.gif"></p>
and youre done :D

Image
Image

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

Re: last.fm mod

Post by Kamahl19 » Sun May 18, 2008 1:36 pm

i dont like this way with image.. i am thinking how to do it with rss feeds.. i will try it, maybe i do it :)

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

Re: last.fm mod

Post by Tuxman » Sun May 18, 2008 1:42 pm

Ah... great, thanks. :D
(I don't currently have much time to look through the phpBB3 code myself...)
[ randomly phpBBing ]

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

Re: last.fm mod

Post by demon327 » Sun May 18, 2008 4:08 pm

Tuxman wrote:Ah... great, thanks. :D
(I don't currently have much time to look through the phpBB3 code myself...)
no problem :D
Kamahl19 wrote:i dont like this way with image.. i am thinking how to do it with rss feeds.. i will try it, maybe i do it :)
mm.., i did hoped there was a text version of it wihouth the image as background :D

Locked

Return to “[3.0.x] MOD Requests”

Who is online

Users browsing this forum: No registered users and 11 guests