Profil stil ipb (punBB)
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 2 din 2 • Distribuiţi
Pagina 2 din 2 • 1, 2
Profil stil ipb (punBB)
Rezumarea primului mesaj :
Buna seara fg,
doresc si eu un cod pentru profil stil ipb pentru punbb.
Am folosit si functia de cautare si am gasit aceste coduri:
Insa cu mici probleme cand vrei sa selectezi profil/statistici/prieteni/contact.
Buna seara fg,
doresc si eu un cod pentru profil stil ipb pentru punbb.
Am folosit si functia de cautare si am gasit aceste coduri:
- Cod:
if(/\/?u(\d+)$/.test(location.pathname)) {
jQuery(document).ready(function(){if(jQuery('#profile-advanced-right').length){
var avataripb=jQuery('#profile-advanced-right .main-content.clearfix.center img:first-child').attr('src');
var tabsipb=jQuery('#profile-advanced-layout #profile-advanced-left #tabs').html();var infoipbge=jQuery('#profile-advanced-left #profile-advanced-details .middleline').html();
var listfriends=jQuery('.main-content.clearfix[style^="padding:0.3em;text-align:center;"]').html();
var prfiletoadd=jQuery('#profile-advanced-right #profile-advanced-add').html();
var usernameipb=jQuery('#profile-advanced-right .module.main:eq(0) .main-head .h3').text().split(' (conectado)').join('');var miregistro=jQuery('.middleline #field_id-4 dd div:eq(0)').html();
var monedas=jQuery('.middleline #field_id-13 dd div:eq(0)').html();
var reputipb=jQuery('.middleline #field_id-14 dd div:eq(0)').html();
var mid=jQuery('#profile-advanced-layout #tabs li:eq(3) a').attr('href').match(/[0-9]+/);
var onlineipb=jQuery('#profile-advanced-right .main-head:eq(0) .h3 em').text().replace(/[(]/gi,' ').replace(/[)]/gi,' ');
jQuery('#profile-advanced-right').after('<div class="ipb-profile">
<div class="nav-ipb-top"><span>Viewing Profile: <span id="useridhahs"> '+usernameipb+'</span></span></div>
<div class="mod-left">
<div class="profile-ava"><img id="ipd-avatar" src="'+avataripb +'" /> </div>
<div class="ipb-tab-us">'+tabsipb+'</div></div>
<div class="mod-center">
<div class="sub-panel-top"><div class="usernam-ipb">'+usernameipb+'</div>
<div class="register-date">Registered: '+miregistro+'</div>
<div class="ofline-ipb">Copyright& nbsp; PunBB.biz & nbsp;& & nbsp; 15-Tronos</div>
<div class="lass-activiti"></div>
<div class="rating-profile">
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
</div><div class="profi-add-ipb">'+prfiletoadd+'
<a id="men"href="/privmsg?mode=post&u='+mid+'">Send PM</a>
<a id="search-i"href="/spa/'+usernameipb+'">Search Posts</a>
</div>
</div>
<div class="main-info-ipb">
<div class="co-ipb" id="profile">
<div class="ipb-m-title">
<h2 id="wallcomment">Profile Comments</h2>
<h2 id="estadis">Profile Details</h2>
<h2 id="estadisgene"><span>Statistic</span></h2>
<h2 id="friends">Friends</h2>
<h2 id="contacto">Contact</h2></div>
<div class="mensajeprofile"></div>
<div class="m-info-ipb"><div class="in-ipb">'+infoipbge+'
<div class="contac-me-ipb"></div>
</div>
<div class="band-right">
<div class="repu-ipb"><span id="cs">'+monedas+'</span><div id="sub">Points</div></div>
<div class="coin-ipb"><span>'+reputipb+'</span><div iid="re-p"> Reputation</div></div>
<div class="module-ipb-right">
<h2>Friends</h2>
<div class="main-ipb-f">'+listfriends+'</div>
</div>
</div>
</div>
<div class="estadis-ipb"></div>
<div class="friends-ips"></div>
<div class="contact-ips"></div></div>
</div></div>
</div>');
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){
$('.estoyenline-i:contains("conectado") .ofline-ipb').attr('style','display:none;');
$('.estoyenline-i:contains("conectado")').attr('style','padding:0px 5px;');
var linkwall=jQuery('#tabs ul li a:eq(0)').attr('href');
jQuery(".mensajeprofile").load(linkwall+' #profile-advanced-details .main-content');
var linkestaipb=jQuery('#tabs ul li a:eq(2)').attr('href');
jQuery(".estadis-ipb").load(linkestaipb+' #profile-advanced-details .main-content');
jQuery(".lass-activiti").load(linkestaipb+' #profile-advanced-details .main-content.clearfix .stats-field.genmed ul li:contains("Última visita :")');
var linkfriendipb=jQuery('#tabs ul li a:eq(3)').attr('href');
jQuery(".friends-ips").load(linkfriendipb+' #profile-advanced-details .main-content');
var linkcontaipb=jQuery('#tabs ul li a:eq(4)').attr('href');
jQuery(".contact-ips").load(linkcontaipb+' #profile-advanced-details .main-content');
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){ // Script del Slider
$(".mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips") . hide();
$('.m-info-ipb').addClass('activetab');
$(".ipb-tab-us ul li:eq(0)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.mensajeprofile').addClass('activetab').fadeToggle();
$('.estadis-ipb, .m-info-ipb, .friends-ips, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(1)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.m-info-ipb').addClass('activetab').fadeToggle();
$('.mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(2)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.estadis-ipb').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .friends-ips, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(3)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.friends-ips').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .estadis-ipb, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(4)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.contact-ips').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .estadis-ipb, .friends-ips') . hide('');
return false;
e.preventDefault();
});
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){
$(".ipb-tab-us ul li:first-child > a").click(function(e){$('.co-ipb').attr('id', 'profilewall');});
$(".ipb-tab-us ul li:first-child + li > a").click(function(e){$('.co-ipb').attr('id', 'profile');});
$(".ipb-tab-us ul li:first-child + li +li > a").click(function(e){$('.co-ipb').attr('id', 'estadisticas');});
$(".ipb-tab-us ul li:first-child + li +li +li > a").click(function(e){$('.co-ipb').attr('id', 'friends');});
$(".ipb-tab-us ul li:first-child + li +li + li +li > a").click(function(e){$('.co-ipb').attr('id', 'contacto');
});
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){jQuery('#profile-advanced-right').remove()};});
$(document).ready(function(){if(jQuery('#profile-advanced-layout').length){jQuery('#profile-advanced-layout').remove()};});
}
- Cod:
if(/\/?u(\d+)$/.test(location.pathname)) {
jQuery(document).ready(function(){if(jQuery('#profile-advanced-right').length){
var avataripb=jQuery('#profile-advanced-right .main-content.clearfix.center img:first-child').attr('src');
var tabsipb=jQuery('#profile-advanced-layout #profile-advanced-left #tabs').html();var infoipbge=jQuery('#profile-advanced-left #profile-advanced-details .middleline').html();
var listfriends=jQuery('.main-content.clearfix[style^="padding:0.3em;text-align:center;"]').html();
var prfiletoadd=jQuery('#profile-advanced-right #profile-advanced-add').html();
var usernameipb=jQuery('#profile-advanced-right .module.main:eq(0) .main-head .h3').text().split(' (conectado)').join('');var miregistro=jQuery('.middleline #field_id-4 dd div:eq(0)').html();
var monedas=jQuery('.middleline #field_id-13 dd div:eq(0)').html();
var reputipb=jQuery('.middleline #field_id-14 dd div:eq(0)').html();
var mid=jQuery('#profile-advanced-layout #tabs li:eq(3) a').attr('href').match(/[0-9]+/);
var onlineipb=jQuery('#profile-advanced-right .main-head:eq(0) .h3 em').text().replace(/[(]/gi,' ').replace(/[)]/gi,' ');
jQuery('#profile-advanced-right').after('<div class="ipb-profile">
<div class="nav-ipb-top"><span>Viewing Profile: <span id="useridhahs"> '+usernameipb+'</span></span></div>
<div class="mod-left">
<div class="profile-ava"><img id="ipd-avatar" src="'+avataripb +'" /> </div>
<div class="ipb-tab-us">'+tabsipb+'</div></div>
<div class="mod-center">
<div class="sub-panel-top"><div class="usernam-ipb">'+usernameipb+'</div>
<div class="register-date">Registered: '+miregistro+'</div>
<div class="ofline-ipb">Copyright& nbsp; PunBB.biz & nbsp;& & nbsp; 15-Tronos</div>
<div class="lass-activiti"></div>
<div class="rating-profile">
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
<img src="http://i.imgur.com/jFLWgyz.png"/>
</div><div class="profi-add-ipb">'+prfiletoadd+'
<a id="men"href="/privmsg?mode=post&u='+mid+'">Send PM</a>
<a id="search-i"href="/spa/'+usernameipb+'">Search Posts</a>
</div>
</div>
<div class="main-info-ipb">
<div class="co-ipb" id="profile">
<div class="ipb-m-title">
<h2 id="wallcomment">Profile Comments</h2>
<h2 id="estadis">Profile Details</h2>
<h2 id="estadisgene"><span>Statistic</span></h2>
<h2 id="friends">Friends</h2>
<h2 id="contacto">Contact</h2></div>
<div class="mensajeprofile"></div>
<div class="m-info-ipb"><div class="in-ipb">'+infoipbge+'
<div class="contac-me-ipb"></div>
</div>
<div class="band-right">
<div class="repu-ipb"><span id="cs">'+monedas+'</span><div id="sub">Points</div></div>
<div class="coin-ipb"><span>'+reputipb+'</span><div iid="re-p"> Reputation</div></div>
<div class="module-ipb-right">
<h2>Friends</h2>
<div class="main-ipb-f">'+listfriends+'</div>
</div>
</div>
</div>
<div class="estadis-ipb"></div>
<div class="friends-ips"></div>
<div class="contact-ips"></div></div>
</div></div>
</div>');
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){
$('.estoyenline-i:contains("conectado") .ofline-ipb').attr('style','display:none;');
$('.estoyenline-i:contains("conectado")').attr('style','padding:0px 5px;');
var linkwall=jQuery('#tabs ul li a:eq(0)').attr('href');
jQuery(".mensajeprofile").load(linkwall+' #profile-advanced-details .main-content');
var linkestaipb=jQuery('#tabs ul li a:eq(2)').attr('href');
jQuery(".estadis-ipb").load(linkestaipb+' #profile-advanced-details .main-content');
jQuery(".lass-activiti").load(linkestaipb+' #profile-advanced-details .main-content.clearfix .stats-field.genmed ul li:contains("Última visita :")');
var linkfriendipb=jQuery('#tabs ul li a:eq(3)').attr('href');
jQuery(".friends-ips").load(linkfriendipb+' #profile-advanced-details .main-content');
var linkcontaipb=jQuery('#tabs ul li a:eq(4)').attr('href');
jQuery(".contact-ips").load(linkcontaipb+' #profile-advanced-details .main-content');
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){ // Script del Slider
$(".mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips") . hide();
$('.m-info-ipb').addClass('activetab');
$(".ipb-tab-us ul li:eq(0)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.mensajeprofile').addClass('activetab').fadeToggle();
$('.estadis-ipb, .m-info-ipb, .friends-ips, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(1)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.m-info-ipb').addClass('activetab').fadeToggle();
$('.mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(2)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.estadis-ipb').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .friends-ips, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(3)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.friends-ips').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .estadis-ipb, .contact-ips') . hide('');
return false;
e.preventDefault();
});
$(".ipb-tab-us ul li:eq(4)").click(function(e){
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.contact-ips').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .estadis-ipb, .friends-ips') . hide('');
return false;
e.preventDefault();
});
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){
$(".ipb-tab-us ul li:first-child > a").click(function(e){$('.co-ipb').attr('id', 'profilewall');});
$(".ipb-tab-us ul li:first-child + li > a").click(function(e){$('.co-ipb').attr('id', 'profile');});
$(".ipb-tab-us ul li:first-child + li +li > a").click(function(e){$('.co-ipb').attr('id', 'estadisticas');});
$(".ipb-tab-us ul li:first-child + li +li +li > a").click(function(e){$('.co-ipb').attr('id', 'friends');});
$(".ipb-tab-us ul li:first-child + li +li + li +li > a").click(function(e){$('.co-ipb').attr('id', 'contacto');
});
}});
$(document).ready(function(){if(jQuery('#profile-advanced-right').length){jQuery('#profile-advanced-right').remove()};});
$(document).ready(function(){if(jQuery('#profile-advanced-layout').length){jQuery('#profile-advanced-layout').remove()};});
}
Insa cu mici probleme cand vrei sa selectezi profil/statistici/prieteni/contact.
Re: Profil stil ipb (punBB)
Aceiasi problema
Re: Profil stil ipb (punBB)
Cineva?
Re: Profil stil ipb (punBB)
Chiar nu stie nimeni codul din prima imagine?
Re: Profil stil ipb (punBB)
Cineva?
Re: Profil stil ipb (punBB)
Codul furnizat de mine mai sus este 100% functional, deoarece nu contine nicio eroare javaScript. Recent am accesat forumul dvs si am constatat ca acest document javaScript contine erori multiple, afectand totodata celelalte coduri care lucreaza pe forum.
Inlocuiti tot ce se afla in acest document cu:
Dupa inlocuire, totul ar trebui sa functioneze cum trebuie.
Inlocuiti tot ce se afla in acest document cu:
- Cod:
$(function () {
$(function () {
$('<a class="sceditor-button"unselectable="on"title="Buton download"><div unselectable="on"style="background-image:url(http://png-1.findicons.com/files/icons/66/ethereal/16/downloads.png)"></div></a>').insertBefore('.sceditor-button-size').click(function () {
$('#text_editor_textarea').sceditor("instance").insertText("[b]Trebuie sa raspunzi la acest subiect pentru a vedea link-ul de download ![/b]")
})
$('<a class="sceditor-button"unselectable="on"title="Topic Rezolvat"><div unselectable="on"style="background-image:url(https://cdn3.iconfinder.com/data/icons/fugue/icon_shadowless/tick-shield.png)"></div></a>').insertBefore('.sceditor-button-bold').click(function () {
$('#text_editor_textarea').sceditor("instance").insertText(":ban1:Â ")
})
$('<a class="sceditor-button"unselectable="on"title="Cerere respinsa"><div unselectable="on"style="background-image:url(https://cdn2.iconfinder.com/data/icons/oxygen/16x16/actions/no.png)"></div></a>').insertBefore('.sceditor-button-bold').click(function () {
$('#text_editor_textarea').sceditor("instance").insertText(":rs1:Â ")
})
$('<a class="sceditor-button"unselectable="on"title="Topic Blocat"><div unselectable="on"style="background-image:url(https://cdn2.iconfinder.com/data/icons/iconza/iconza_16x16_0097d9/lock.png)"></div></a>').insertBefore('.sceditor-button-bold').click(function () {
$('#text_editor_textarea').sceditor("instance").insertText(":topic.blocat:Â ")
})
$('<a class="sceditor-button"unselectable="on"title="Topic Trimis in Cos"><div unselectable="on"style="background-image:url(https://cdn0.iconfinder.com/data/icons/ramotion/16/Trash.png)"></div></a>').insertBefore('.sceditor-button-bold').click(function () {
$('#text_editor_textarea').sceditor("instance").insertText(":tc+cos:Â ")
})
})
});
jQuery(window).load(function () {
if (typeof _userdata === "undefined") return;
if ((_userdata['user_level'] == '1') || (_userdata["user_level"] == '2')) {
jQuery('body').append('<div id="fa_modtable" class="select" style="visibility:hidden;width:auto;text-align:left;"><div class="rndmtablex" id="rndmtable1">Solved/Accept</div><div class="rndmtablex" id="rndmtable2">Warning</div><div class="rndmtablex" id="rndmtable3">Information</div>');
jQuery('.sceditor-group:last-child').after('<div class="sceditor-group" id="fa_modtools"><a class="sceditor-button" title="Mod Tables" onclick="selectWysiwyg(this, \'fa_modtable\');"><div style="background:url(http://i56.servimg.com/u/f56/18/45/41/65/modera10.png) no-repeat center;"></div></a></div>');
jQuery('#rndmtable1').click(function () {
jQuery('#text_editor_textarea').sceditor('instance').insertText('[table class="alert-x solvedbox"][tr][td class="alert-y"]', '[/td][/tr][/table]')
});
jQuery('#rndmtable2').click(function () {
jQuery('#text_editor_textarea').sceditor('instance').insertText('[table class="alert-x warningbox"][tr][td class="alert-y"]', '[/td][/tr][/table]')
});
jQuery('#rndmtable3').click(function () {
jQuery('#text_editor_textarea').sceditor('instance').insertText('[table class="alert-x informbox"][tr][td class="alert-y"]', '[/td][/tr][/table]')
});
jQuery('.rndmtablex').click(function () {
jQuery('#fa_modtable').css('visibility', 'hidden')
})
}
});
jQuery(document).ready(function () {
if (jQuery('#profile-advanced-right').length) {
var avataripb = jQuery('#profile-advanced-right .main-content.clearfix.center img:first-child').attr('src');
var tabsipb = jQuery('#profile-advanced-layout #profile-advanced-left #tabs').html();
var infoipbge = jQuery('#profile-advanced-left #profile-advanced-details .middleline').html();
var listfriends = jQuery('.main-content.clearfix[style^="padding:0.3em;text-align:center;"]').html();
var prfiletoadd = jQuery('#profile-advanced-right #profile-advanced-add').html();
var usernameipb = jQuery('#profile-advanced-right .module.main:eq(0) .main-head .h3').text().split(' (conectado)').join('');
var miregistro = jQuery('.middleline #field_id-4 dd div:eq(0)').html();
var monedas = jQuery('.middleline #field_id-13 dd div:eq(0)').html();
var reputipb = jQuery('.middleline #field_id-14 dd div:eq(0)').html();
var mid = jQuery('#profile-advanced-layout #tabs li:eq(3) a').attr('href').match(/[0-9]+/);
var onlineipb = jQuery('#profile-advanced-right .main-head:eq(0) .h3 em').text().replace(/[(]/gi, ' ').replace(/[)]/gi, ' ');
jQuery('#profile-advanced-right').after('<div class="ipb-profile"><div class="nav-ipb-top"><span>Viewing Profile: <span id="useridhahs"> ' + usernameipb + '</span></span></div><div class="mod-left"><div class="profile-ava"><img id="ipd-avatar" src="' + avataripb + '" /> </div><div class="ipb-tab-us">' + tabsipb + '</div></div><div class="mod-center"><div class="sub-panel-top"><div class="usernam-ipb">' + usernameipb + '</div><div class="register-date">Registered: ' + miregistro + '</div><div class="ofline-ipb">CopyrightÂ& nbsp; PunBB.biz & nbsp;& & nbsp; 15-Tronos</div><div class="lass-activiti"></div><div class="rating-profile"><img src="http://i.imgur.com/jFLWgyz.png"/><img src="http://i.imgur.com/jFLWgyz.png"/><img src="http://i.imgur.com/jFLWgyz.png"/><img src="http://i.imgur.com/jFLWgyz.png"/><img src="http://i.imgur.com/jFLWgyz.png"/></div><div class="profi-add-ipb">' + prfiletoadd + '<a id="men"href="/privmsg?mode=post&u=' + mid + '">Send PM</a><a id="search-i"href="/spa/' + usernameipb + '">Search Posts</a></div></div><div class="main-info-ipb"><div class="co-ipb" id="profile"><div class="ipb-m-title"><h2 id="wallcomment">Profile Comments</h2><h2 id="estadis">Profile Details</h2><h2 id="estadisgene"><span>Statistic</span></h2><h2 id="friends">Friends</h2><h2 id="contacto">Contact</h2></div><div class="mensajeprofile"></div><div class="m-info-ipb"><div class="in-ipb">' + infoipbge + '<div class="contac-me-ipb"></div></div><div class="band-right"><div class="repu-ipb"><span id="cs">' + monedas + '</span><div id="sub">Points</div></div><div class="coin-ipb"><span>' + reputipb + '</span><div iid="re-p"> Reputation</div></div><div class="module-ipb-right"><h2>Friends</h2><div class="main-ipb-f">' + listfriends + '</div></div></div></div><div class="estadis-ipb"></div><div class="friends-ips"></div><div class="contact-ips"></div></div></div></div></div>')
}
});
$(document).ready(function () {
if (jQuery('#profile-advanced-right').length) {
$('.estoyenline-i:contains("conectado") .ofline-ipb').attr('style', 'display:none;');
$('.estoyenline-i:contains("conectado")').attr('style', 'padding:0px 5px;');
var linkwall = jQuery('#tabs ul li a:eq(0)').attr('href');
jQuery(".mensajeprofile").load(linkwall + ' #profile-advanced-details .main-content');
var linkestaipb = jQuery('#tabs ul li a:eq(2)').attr('href');
jQuery(".estadis-ipb").load(linkestaipb + ' #profile-advanced-details .main-content');
jQuery(".lass-activiti").load(linkestaipb + ' #profile-advanced-details .main-content.clearfix .stats-field.genmed ul li:contains("Ăltima visita :")');
var linkfriendipb = jQuery('#tabs ul li a:eq(3)').attr('href');
jQuery(".friends-ips").load(linkfriendipb + ' #profile-advanced-details .main-content');
var linkcontaipb = jQuery('#tabs ul li a:eq(4)').attr('href');
jQuery(".contact-ips").load(linkcontaipb + ' #profile-advanced-details .main-content');
}
});
$(document).ready(function () {
if (jQuery('#profile-advanced-right').length) {
$(".mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips").hide();
$('.m-info-ipb').addClass('activetab');
$(".ipb-tab-us ul li:eq(0)").click(function (e) {
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.mensajeprofile').addClass('activetab').fadeToggle();
$('.estadis-ipb, .m-info-ipb, .friends-ips, .contact-ips').hide('');
return false;
e.preventDefault()
});
$(".ipb-tab-us ul li:eq(1)").click(function (e) {
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.m-info-ipb').addClass('activetab').fadeToggle();
$('.mensajeprofile, .estadis-ipb, .friends-ips, .contact-ips').hide('');
return false;
e.preventDefault()
});
$(".ipb-tab-us ul li:eq(2)").click(function (e) {
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.estadis-ipb').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .friends-ips, .contact-ips').hide('');
return false;
e.preventDefault()
});
$(".ipb-tab-us ul li:eq(3)").click(function (e) {
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.friends-ips').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .estadis-ipb, .contact-ips').hide('');
return false;
e.preventDefault()
});
$(".ipb-tab-us ul li:eq(4)").click(function (e) {
$('.ipb-tab-us li ,.co-ipb div').removeClass('activetab');
$(this).addClass('activetab');
$('.contact-ips').addClass('activetab').fadeToggle();
$('.mensajeprofile, .m-info-ipb, .estadis-ipb, .friends-ips').hide('');
return false;
e.preventDefault()
})
}
if (jQuery('#profile-advanced-right').length) {
$(".ipb-tab-us ul li:first-child > a").click(function (e) {
$('.co-ipb').attr('id', 'profilewall')
});
$(".ipb-tab-us ul li:first-child + li > a").click(function (e) {
$('.co-ipb').attr('id', 'profile')
});
$(".ipb-tab-us ul li:first-child + li +li > a").click(function (e) {
$('.co-ipb').attr('id', 'estadisticas')
});
$(".ipb-tab-us ul li:first-child + li +li +li > a").click(function (e) {
$('.co-ipb').attr('id', 'friends')
});
$(".ipb-tab-us ul li:first-child + li +li + li +li > a").click(function (e) {
$('.co-ipb').attr('id', 'contacto')
})
}
if (jQuery('#profile-advanced-right').length) {
jQuery('#profile-advanced-right').remove()
}
if (jQuery('#profile-advanced-layout').length) {
jQuery('#profile-advanced-layout').remove()
}
});
$(document).ready(function () {
if (/\/?u(\d+) wall$/.test(location.pathname)) {
jQuery(document).ready(function () {
if (jQuery('#profile-advanced-layout #tabs li a').length) {
var nevoskin = jQuery('#profile-advanced-layout #tabs li:eq(1) a').attr('href');
window.location.href = nevoskin
}
})
};
if (/\/?u(\d+) stats$/.test(location.pathname)) {
jQuery(document).ready(function () {
if (jQuery('#profile-advanced-layout #tabs li a').length) {
var nevoskin = jQuery('#profile-advanced-layout #tabs li:eq(1) a').attr('href');
window.location.href = nevoskin
}
})
};
if (/\/?u(\d+) friends$/.test(location.pathname)) {
jQuery(document).ready(function () {
if (jQuery('#profile-advanced-layout #tabs li a').length) {
var nevoskin = jQuery('#profile-advanced-layout #tabs li:eq(1) a').attr('href');
window.location.href = nevoskin
}
})
};
if (/\/?u(\d+) contact$/.test(location.pathname)) {
jQuery(document).ready(function () {
if (jQuery('#profile-advanced-layout #tabs li a').length) {
var nevoskin = jQuery('#profile-advanced-layout #tabs li:eq(1) a').attr('href');
window.location.href = nevoskin
}
})
};
$("meta[http-equiv='refresh'][content]:first").each(function () {
window.location.href = $(this).attr("content").replace(/^.*;url=/, "")
});
$.getScript('https://raw.github.com/lokesh/lightbox2/master/js/lightbox.js')
});
$(function () {
$('input[name="description"]').change(function () {
var ValidFileExtension = ['jpg', 'JPG', 'jpeg', 'JPEG', 'png', 'PNG', 'gif', 'GIF', 'bmp', 'BMP'];
if ($.inArray($(this).val().split('.').pop().toLowerCase(), ValidFileExtension) == -1) {
alert("Sorry, the allowed file extensions are: '.jpeg','.jpg', '.png', '.gif', '.bmp'")
}
})
var codes = document.getElementsByTagName('code');
for (var i = 0, l = codes.length; i < l; i++) codes[i].innerHTML = '<ol class="LGlines"><li>' + codes[i].innerHTML.split(/\<br\s?\/?\>/).join('</li><li>') + '</li></ol>'
});
Dupa inlocuire, totul ar trebui sa functioneze cum trebuie.
Re: Profil stil ipb (punBB)
Edit: Am rezolvat problema. Nu era de la cod sau alt script ci doar o optiune dezactivata care il dadea peste cap
Pentru cine mai are aceasta problema trebuie sa urmeza urmatorii pasi:
APC >> UTILIZATORI & GRUPURI >> Utilizatori >> Profiluri >> Optiuni generale >> Taburi de afisat : si bifam > Mesaje ale vizitatorilor apoi salvam
Pentru cine mai are aceasta problema trebuie sa urmeza urmatorii pasi:
APC >> UTILIZATORI & GRUPURI >> Utilizatori >> Profiluri >> Optiuni generale >> Taburi de afisat : si bifam > Mesaje ale vizitatorilor apoi salvam
Pagina 2 din 2 • 1, 2
Subiecte similare
» Foaie de stil CSS la versiunea PunBB.
» Profil stil IPB (phpbb2)
» din: Profil stil IPB (phpbb2)
» din: Profil stil IPB (phpbb2)
» Adaugare profil stil IPB!
» Profil stil IPB (phpbb2)
» din: Profil stil IPB (phpbb2)
» din: Profil stil IPB (phpbb2)
» Adaugare profil stil IPB!
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 2 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum