vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Last.fm Profile Enhancement PRO (https://vborg.vbsupport.ru/showthread.php?t=111177)

The Chief 03-22-2006 10:00 PM

Last.fm Profile Enhancement PRO
 
LAST.FM PROFILE ENHANCEMENT PRO
This template modification assumes you know at least the basics of last.fm // Version 1.0


This is the addition to my first hack, Last.fm Postbit Enhancement PRO, this will be alot more interesting for alot of people anyways as you can hear the songs directly into the member's profile :)

NOTE: You will need to have done Step 1 AND 2 of the Postbit hack HERE before doing this modification as it requires you to create a last.fm account and Userprofile field.

File edits: 0
Template mods: 1
Plugins: 0


Description

This will create a live playlist of all your favorite overall artists. Users will be able to listen to your best artists while seeing them and comparing them.


find this in MEMBERINFO template (if you have installed the Myspace Profile Re-Write PRO! from Stangsta refer to bottom)
Code:

                                                                </table>
                        <else />
                                <em>$vbphrase[n_a]</em>
                        </if>
                </div>
               
                </div>

and ADD this BELOW
Code:

<if condition="$userinfo[field29]">
<table class="tborder" cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
                                <thead>
                                        <tr align="center">
                                                <td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('topartists')"><img id="collapseimg_topartists" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_topartists].gif" alt="" border="0" /></a> $userinfo[username]'s Top Artists</td>
                                        </tr>
                                </thead>
                                <tbody id="collapseobj_topartists" style="" class="alt1">
                                        <tr>
                                                <td class="alt1" align="center" valign="top"> <script src="http://imagegen.last.fm/chartjs/overallnamostylewoborder/oartists/$userinfo[field29].js" /></script></td>
                                </tbody>
                                </table>
</if>

You need to change field29 to your field number that you have done in Step 2 (of the other hack). Remember: You can always change the chart for a different style, just find one here and copy & paste the name of it where overallnamostylewoborder is (overwrite it).

Myspace Profile Re-Write PRO! from Stangsta

Find this
Code:

$FNB_HTML<br />
and ADD this ABOVE
Code:

<if condition="$userinfo[field29]">
<table class="tborder" cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
                                <thead>
                                        <tr align="center">
                                                <td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('topartists')"><img id="collapseimg_topartists" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_topartists].gif" alt="" border="0" /></a> $userinfo[username]'s Top Artists</td>
                                        </tr>
                                </thead>
                                <tbody id="collapseobj_topartists" style="" class="alt1">
                                        <tr>
                                                <td class="alt1" align="center" valign="top"> <script src="http://imagegen.last.fm/chartjs/overallnamostylewoborder/oartists/$userinfo[field29].js" /></script></td>
                                </tbody>
                                </table>
</if>

You need to change field29 to your field number that you have done in Step 2 (of the other hack). Remember: You can always change the chart for a different style, just find one here and copy & paste the name of it where overallnamostylewoborder is (overwrite it).


That's it your done!! You are done, now you have a beautiful chart on each and every profile for people to admire and have fun! Note: You can modify the CSS values if you wish, just make it look good ;)

Demo: HERE

Please click INSTALL if you have found this useful or used it, it took me long to write this mod & post.

Donations:
If you really appreciated this hack and would like to thank me in big way, just send a little donation through Paypal: lapointe.charles@gmail.com

hiiped 03-23-2006 04:05 PM

< installed >

nice work

The Chief 03-23-2006 04:19 PM

Quote:

Originally Posted by hiiped
< installed >

nice work

hey thanks, hope this mod. gets more then 30 installs ;)

Snake 03-23-2006 07:36 PM

Thanks man, really nice!

The Chief 03-24-2006 04:40 PM

Quote:

Originally Posted by Aftermath
Thanks man, really nice!

hey no problem, my pleasure :)

frankcow 08-16-2006 01:00 PM

anyone know of a hack that can just grab the track last listened to, and display it in each reply?

Zweeper 02-26-2007 02:56 PM

don't work.

Is this currently also working?

Zweeper 03-02-2007 12:03 PM

no body knows anything?
is there a new last.fm URL. for the script?


All times are GMT. The time now is 01:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01960 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete