Profile music
Page 1 of 1 • Share
Profile music
Breeh- Posts : 4
Reputation : 0
Join date : 2015-03-04
I've tried using this guide but it won't work for me.
[You must be registered and logged in to see this link.]
The version of my forum is phpbb2 I believe, well that's atleast what version the theme is.
And here's the link to it: [You must be registered and logged in to see this link.]
Thanks in advance
[You must be registered and logged in to see this link.]
The version of my forum is phpbb2 I believe, well that's atleast what version the theme is.
And here's the link to it: [You must be registered and logged in to see this link.]
Thanks in advance
Last edited by Breeh on 3/4/2015, 11:37 pm; edited 1 time in total
Re: Profile music
_Twisted_Mods_- Posts : 101
Reputation : 3
Birthday : 1986-08-05
Join date : 2014-10-03
Age : 37
Location : USA
see if this one works for you
follow the same instructions as before just use this script
follow the same instructions as before just use this script
- Code:
$(function(){
var proffield = 'JS_field_id10';
if(RegExp("/u[0-9]+").test(window.location.pathname)) {
var mobileAgents = new RegExp("Android|BlackBerry|Blazer|BOLT|SymbianOS|Doris|Mobile|Phone|Fennec|GoBrowser|Iris|Maemo|MIB\/2\.2|Minimo|NetFront|Opera Mini|Opera Mobi|SEMC|Skyfire|Teleca|uZardWeb","i");
if(mobileAgents.test(navigator.userAgent)) {
return;
}
var profsong = $("#"+proffield+" .field_uneditable") || undefined;
if(!profsong) {
return;
}
var trueorfalse = profsong.text().trim().charAt(0) !== "-" || false;
if(trueorfalse) {
var vid = profsong.text().replace(/\/watch\?v\=/,"/v/"),
friends = $('.forumline:nth-of-type(2)'),
name = $('div.nav a + span strong'),
namecolor = name.css('color');
$('dl#field_id34').css('display','none').next().css('display','none');
friends.after('<table width="100%" cellspacing="1" cellpadding="0" border="0" class="forumline"><tbody><tr><td class="catLeft"><span class="genmed module-title"><span style="color: '+namecolor+';"><strong>'+name.text()+'</strong></span>\'s Profile Song</span></td></tr><tr><td><object width= "298" height="24"><param name="movie" value="'+vid+'?autoplay=1&rel=0&fs=0&autohide=0"></param><param name="allowFullScreen" value="false"></param><param name="allowscriptaccess" value="always"></param><embed src="'+vid+'?autoplay=1&rel=0&fs=0&autohide=0" type="application/x-shockwave-flash" allowfullscreen="false" width="298" height="24" allowscriptaccess="always"></embed></object></td></tr></table>');
} else {
return;
}
} else {
return;
}
});
Re: Profile music
Breeh- Posts : 4
Reputation : 0
Join date : 2015-03-04
I used the code you gave me, but it doesn't work. :/
Re: Profile music
_Twisted_Mods_- Posts : 101
Reputation : 3
Birthday : 1986-08-05
Join date : 2014-10-03
Age : 37
Location : USA
did u create the new profile field and get the id?
Re: Profile music
Breeh- Posts : 4
Reputation : 0
Join date : 2015-03-04
_Twisted_Mods_ wrote:did u create the new profile field and get the id?
I did, and I've put the id in the place your guide said, but it still wouldn't work.
Re: Profile music
_Twisted_Mods_- Posts : 101
Reputation : 3
Birthday : 1986-08-05
Join date : 2014-10-03
Age : 37
Location : USA
ok send me a pm with a admin account and i will check it out in a few
Re: Profile music
_Twisted_Mods_- Posts : 101
Reputation : 3
Birthday : 1986-08-05
Join date : 2014-10-03
Age : 37
Location : USA
ok your good to go you just had the wrong id
Re: Profile music
Breeh- Posts : 4
Reputation : 0
Join date : 2015-03-04
I've just checked it. Thank you so much Twisted, you're amazing. My experience with this stuff is unexistant.
Re: Profile music
_Twisted_Mods_- Posts : 101
Reputation : 3
Birthday : 1986-08-05
Join date : 2014-10-03
Age : 37
Location : USA
hey when i first started everything looked like another language to me so don't fill bad
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum