I do not know how to download the code or not, and I know that I copy the forum version 2 and please help quickly and link to my forum pupp.yoo7.com
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
Please speak in English, as this is an English support forum.
|
Please don't double post. Your posts need to be separated by 24 hours before bumping. Please use the edit button, instead!
|
Oke I quickly tried it so I can say you will probably need to do some template editing and css to make a neat profile, but the script does work.
- Code:
$(document).ready(function() {
var fbcapa = $('#field_id8 .field_uneditable').text();
$('table[width="100%"][cellspacing="1"][cellpadding="1"][border="0"]').before('<div style="width: 100%; height: 315px; position: relative; background: url(' + fbcapa + ') no-repeat center center scroll; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;" id="fbfundo"><div style="position: absolute; left: 0; width: 100%; bottom: 0;"><table id="fbperfil"><tr><td rowspan="3" id="fbavatar"></td><td style="font-size: 16px;" id="fbnome"></td></tr></table></div></div> ');
$('table.forumline td[class="row1 gensmall"][align="center"] img[alt=""]:first').clone().appendTo($('#fbavatar'));
$('.catLeft:first span[class="genmed module-title"]').clone().appendTo($('#fbnome'));
$('td[class="row1 gensmall"][align="center"] img:last').clone().appendTo($('#fbrank'));
$(function() {
var fbavatarduplo = [],
imagemdupla;
$("#fbfundo img").filter(function() {
imagemdupla = $(this).attr("src");
if ($.inArray(imagemdupla, fbavatarduplo) < 0) {
fbavatarduplo.push(imagemdupla);
return false
}
return true
}).remove()
});
$('table#fbperfil span[class="genmed module-title"]').html(function(_, html) {
return html.replace("(conectado)", "<img alt='Conectado' title='Conectado' src='http://i19.servimg.com/u/f19/19/09/87/49/34501910.gif' />")
});
$(function() {
var tabfbperfil = function() {
$('td[align="right"][valign="bottom"][width="100%"][nowrap="nowrap"] a').click(function(e) {
e.preventDefault();
var url = this.href;
if (url == '#') return;
$('table[width="100%"][cellspacing="1"][cellpadding="1"][border="0"]').load(url + ' table[width="100%"][cellspacing="1"][cellpadding="1"][border="0"]', tabfbperfil)
})
};
tabfbperfil()
})
});
This needs to be of the type 'text field' and name it 'background url' (or something like that). Make sure that you make it visible in the profile. Then open a profile (ex: /u1) and use the developers-tool on the label of 'background url' by right clicking and select 'element inspect'. Then you go up the html-tree till you find an id starting with 'field_id', copy that id and paste it in the first line of the javascript where you find 'field_id8'. Save the script and that should do it.
Now you will find a new editable profile field were you can paste the url of your cover (ex: https://i.servimg.com/u/f19/19/09/87/49/anime-11.jpg ).
SLGray wrote:
Please don't double post. Your posts need to be separated by 24 hours before bumping. Please use the edit button, instead!
Please read our forum rules: ESF General Rules
brandon_g wrote:@ahmdsat
Please speak in English, as this is an English support forum.
Please read our forum rules: ESF General Rules
Forumotion does have an arabic support forum if your english isn't that good as well: http://help.ahlamontada.com/ .
-Brandon