SMF For Free Support Forum
Signup For Free Forum
October 13, 2008, 08:46:45 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1] 2 3 4
  Print  
Author Topic: [Code] Profile Music  (Read 4250 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 641


Do not PM me for Code Support or Request


View Profile
« on: July 07, 2007, 02:35:40 pm »

Footers
Code:
<script>
function profile_music(id,url){
//Created by Agent Moose at smcodes.smfforfree3.com
if (location.href.match("action=profile;u="+id+"$")){
document.write('<embed src="' + url + '" autostart="true" loop="true" hidden="true"><noembed><bgsound src="' + url + '"></noembed>');
}}
profile_music("ID","URL HERE");
</script>

This adds music to your profile.
ID = The number that is at the end of the url when your veiwing that users profile
URL HERE = Where the url of the music goes.

IF you want to add more lines add more of these...
profile_music("ID","URL HERE");

There ya go.  I hope you like it!
« Last Edit: May 01, 2008, 03:04:32 pm by Agent Moose » Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
jeRm
SMF For Free Full Member
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #1 on: July 07, 2007, 08:30:04 pm »

Moose! Help! I have the code in and everything is working great for everyone else, but I can't hear it. They can hear mine, but I can't. Is there maybe active x or something I may need to update?
Logged

Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2013


View Profile WWW
« Reply #2 on: July 07, 2007, 08:52:03 pm »

Moose! Help! I have the code in and everything is working great for everyone else, but I can't hear it. They can hear mine, but I can't. Is there maybe active x or something I may need to update?

It could be a browser issue. These codes dont always work with "All" browsers. Try using a different one and see if you can hear it.
Logged

jeRm
SMF For Free Full Member
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #3 on: July 07, 2007, 09:00:36 pm »

I did. I used both IE and FF. I'm losing it I think. HAHA When I go to the profile it prompts me to allow active x, but there's no sounds. And yes, someone already reminded me to turn the speakers on! hahahah  TY KIMMIE!
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 641


Do not PM me for Code Support or Request


View Profile
« Reply #4 on: July 08, 2007, 08:30:59 pm »

Well, I don't know.  It might be your browser settings.
Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
rileyks
SMF For Free Sponsors
*
Offline Offline

Posts: 436


View Profile
« Reply #5 on: July 09, 2007, 09:23:02 am »

Ok...question...so you put the url in your profile then can you only hear the music if you go to that person's profile?  Sorry for being stupid here.

Also, where is a good place to get music url's?
Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 641


Do not PM me for Code Support or Request


View Profile
« Reply #6 on: July 09, 2007, 11:00:03 am »

Yep, you just listing to the music. and I don't know where a good place is.  If I did I would of posted some places in the first post.
Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
jeRm
SMF For Free Full Member
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #7 on: July 09, 2007, 12:17:16 pm »

Ok...question...so you put the url in your profile then can you only hear the music if you go to that person's profile?  Sorry for being stupid here.

Also, where is a good place to get music url's?

I go to mailboxdrive.com to upload.
« Last Edit: July 09, 2007, 12:25:17 pm by jeRm » Logged

rileyks
SMF For Free Sponsors
*
Offline Offline

Posts: 436


View Profile
« Reply #8 on: July 11, 2007, 12:27:31 pm »

Ok another stupid question...you add that code to your footers...and you put the URL in of the music you want...so does it make it that everyone hears the same song in any profile they go to?  If yes...is there a way to put it somewhere so that each person can play their own song in their own profile?

Lol...I dunno if it can be done...just asking. Wink
Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 641


Do not PM me for Code Support or Request


View Profile
« Reply #9 on: July 11, 2007, 03:56:29 pm »

It lets the user have its own song in there profile. Or which ever song the admin wants them to ahve.
Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
rileyks
SMF For Free Sponsors
*
Offline Offline

Posts: 436


View Profile
« Reply #10 on: July 11, 2007, 04:39:13 pm »

It lets the user have its own song in there profile. Or which ever song the admin wants them to ahve.

Ok...so sorry if I am slow here...so if you add the code in footers....and it says to put a URL there...then how does it allow a member to put a different song in their profile and where do they put it?
Logged
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3071


Multi-Tasking Maven


View Profile WWW
« Reply #11 on: July 11, 2007, 08:01:29 pm »

Admins are usually the only people that can change things unless Moose does a code where the regular members can pick something.

They can give you the url and you could put it in for them


Logged

rileyks
SMF For Free Sponsors
*
Offline Offline

Posts: 436


View Profile
« Reply #12 on: July 11, 2007, 10:47:49 pm »

ok then how can each member choose music for their own profile?  Maybe I am misunderstanding...lol...so there is only 1 song everyone has to have?
Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 641


Do not PM me for Code Support or Request


View Profile
« Reply #13 on: July 12, 2007, 12:15:17 am »

No.

Where it ID part is, you put the ID of the member you want to add music to.

Say your looking at there profile, and you see something like this...
www.smcodes.smfforfree3.com/action=profile;u=1

The ID is the number at the ending of the URL when your looking at there profile.

Now does it make since?
Logged

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/center]
rileyks
SMF For Free Sponsors
*
Offline Offline

Posts: 436


View Profile
« Reply #14 on: July 12, 2007, 10:46:51 am »

Oh Ok...Thanks Agent...so you can just keep adding.....sounds like alot of work for admin tho.... Grin
Logged


Pages: [1] 2 3 4
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.319 seconds with 18 queries.