Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Guernica's Avatar
Guernica : Member
Guernica is on a distinguished road
offline Joined: Oct 2007 Posts: 33 Thanked: 6
  #1  
Thread Starter Unread 11-02-07
Profile Music [Custom Mod] - UbERCAFE

This is a custom mod I made today where you can have a song playing in your profile when viewers are looking at your profile. The marquee is optional...

Go ACP --> User Profile Fields --> Add New User Profile Field

Profile Field Type:
Single-Line Text Box

Title: Profile Music
Description: URL to a song (mp3, wav, etc.) to play while users view your profile.
Max Length: 250

Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No

Display Page:
Edit Profile

Everything else default.

In Styles and Templates --> Edit (Skin) --> Member Info Templates --> MEMBERINFO

Find: $userinfo[musername]
Place above that line:
<!-- UbERCAFE PROFILE MUSIC -->
<if condition="$post['fieldXX']">
    <embed src="$post[fieldXX]" autostart="false" loop="false" width="240" height="30" controller="true" bgcolor="#1d2022"></embed>
</if>
<if condition="$post['fieldXX']">
<br/><div class="smallfont"><b>Song Playing:</b> $post[fieldXX]</div>
</if>
<!-- / UbERCAFE PROFILE MUSIC -->
Note that the 'XX' in field is the field number of the field you just created for the song URL above.
The second XX is the field ID of the optional profile field for song title.

UPDATED!
Sorry about that plugin error, I fixed it I believe, checked it on IE and Firefox.

-------------------------------------

Then you are done. The user will need the URL of the song to be played.

I am going to create a song uploading script which I will have available soon where users will be able to upload a song of certain size, type, etc. to the forum folder 'profilemusic' or whatever. Enjoy!

Last edited by Guernica; 12-19-07 at 01:40 AM.
sendog's Avatar
sendog : 50+
sendog will become famous soon enoughsendog will become famous soon enough
offline Joined: Sep 2007 Posts: 65 Thanked: 41
  #2  
Unread 11-02-07
nice job guernica... i like it... thanks for share it
lilmetal's Avatar
lilmetal : Newbie +
lilmetal is on a distinguished road
offline Joined: Oct 2007 Posts: 9 Thanked: 0
  #3  
Unread 11-05-07
Thanks, but on FireFox it says a plugin is needed to play...
Phlex's Avatar
Phlex : Member
Phlex is on a distinguished road
offline Joined: Dec 2007 Posts: 29 Thanked: 1
  #4  
Unread 12-07-07
Thank you for this very cool idea...Good work!
zeus's Avatar
zeus : 50+
zeus is on a distinguished road
offline Joined: Sep 2007 Posts: 51 Thanked: 1
  #5  
Unread 12-08-07
great work guernica
EvoWRZ®'s Avatar
EvoWRZ® : Member
EvoWRZ® will become famous soon enoughEvoWRZ® will become famous soon enough
offline Joined: Sep 2007 Posts: 35 Thanked: 13
  #6  
Unread 12-09-07
Gr8 job dude, but like lilmetal say
lalinperera007's Avatar
lalinperera007 : Newbie
lalinperera007 is on a distinguished road
offline Joined: Dec 2007 Posts: 4 Thanked: 0
  #7  
Unread 12-12-07
Cooool,,,,,, Tnx !!
darkmoon34's Avatar
darkmoon34 : 50+
darkmoon34 is on a distinguished road
offline Joined: Nov 2007 Posts: 95 Thanked: 4
  #8  
Unread 12-12-07
any screen shot about this hack ???
Rated_R's Avatar
Rated_R : 50+
Rated_R is on a distinguished road
offline Joined: Sep 2007 Location: EarTh PlaNeT Posts: 207 Thanked: 62
  #9  
Unread 12-16-07
screen shot??????
NoriGashi's Avatar
NoriGashi : Newbie +
NoriGashi is on a distinguished road
offline Joined: Nov 2007 Posts: 6 Thanked: 0
  #10  
Unread 12-16-07
it doesnt work for me i have doo all this but it show by me only the link not a mp3 player or anything else
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
custom, mod, myoosic, mod], [custom, music, profile
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021