The Arcive of vBulletin Modifications Site. |
|
Last.fm Widget in MEMBERINFO Template Details »»
|
|||||||||||||||||||||||||
I've had a couple of people ask on my forums how I did this, so here it is:
Create a new User Profile Field:
Write down the Field ID (ie: field20), you'll need it in a few minutes. Create your Last.fm Widget: Create your widget at http://www.last.fm/widgets - customize the type and color for your forums, then copy the HTML code. Edit the MEMBERINFO template:
(The code below may need to be tweaked a little based on your own style, this is just a guideline)
Code:
<!-- Last.fm --> <if condition="$post['fieldXX']"> <tr> <td class="tcat" width="100%" colspan="2">Music</td> </tr> <tr valign="top"> <td class="panelsurround" align="center" colspan="2"> <div class="panel"> <div align="$stylevar[center]">
Code:
</div>
</div>
</td>
</tr>
</table>
<else />
</table>
</if>
<!-- /End Last.fm -->
Demo Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Thanks for this
|
|
#3
|
|||
|
|||
|
heya, any idea how you do it for the tabbed profiles? I had it before in a previous version but accidently reverted my templates without backup (grrz)
I tried just seeing if I could add it at the bottom but not having much luck, I think this is a brilliant mod, very underated! http://www.gothicwinter.com/forums/member.php?u=1 |
![]() |
|
|