problema utilizatori
Pagina 1 din 1 • Distribuiţi
problema utilizatori
salut am o mica problema numi apare numele la membri
poza :
poza :
Re: problema utilizatori
Ne puteti oferi template-ul viewtopic_body ?
Re: problema utilizatori
- Cod:
<div class="pun-crumbs noprint">
<!-- #region TitleBox_Viewtopic_body -->
<!-- BEGIN switch_user_logged_in -->
<!-- BEGIN watchtopic -->
<div class="ipbfs_titlebox">
<div class="__like right" id="watchtopic" data-isfave="" data-relid="" data-area="topics" data-app="forums">
</div>
<!-- END watchtopic -->
<!-- END switch_user_logged_in -->
<a class="ipsUserPhotoLink left" href="#">
<img class="ipsUserPhoto ipsUserPhoto_medium" alt="Foto" src="http://i56.servimg.com/u/f56/17/97/98/69/avatar10.png">
</a>
<div class="ipsBox_withphoto" itemtype="http://schema.org/Article" itemscope="">
<span class="rating ipsType_smaller" itemtype="http://schema.org/AggregateRating" itemscope="" itemprop="aggregateRating">
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
<span id="rating_text" style="display: none;">
<span id="rating_hits" itemprop="ratingCount">0</span> <span>votos</span>
<meta content="0" itemprop="ratingValue">
</span>
</span>
<h1 class="ipsType_pagetitle" itemprop="name">{TOPIC_TITLE}</h1>
<div class="desc lighter blend_links">
Iniciado por <span itemprop="creator"><a title="" href="" class="url fn name"><span itemprop="name"></span></a></span>, Publicado <span itemprop="dateCreated"> </span>
</div>
<span id="tags_search"></span>
<br>
<meta content="UserComments:3" itemprop="interactionCount">
</div></div>
<br>
<div class="pun-crumbs noprint">
<p class="crumbs">
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} ť
<a href="{TOPIC_URL}">{TOPIC_TITLE}</a>
<!-- Backup <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> -->
</p>
</div>
<div class="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
<!-- END switch_user_authreply -->
</p>
<!-- BEGIN switch_user_logged_out -->
<ul class="topic_buttons">
<li class="disabled"><span><font><font class="">Por favor, inicie sesiуn para responder</font></font></span></li>
</ul>
<!-- END switch_user_logged_out -->
</div>
{POLL_DISPLAY}
<div class="main-content topic">
<div class="main-head clearfix">
<p class="h2">
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a>
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
</div>
<!-- BEGIN postrow -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- BEGIN displayed -->
<div class="post"{postrow.displayed.THANK_BGCOLOR}>
<a name="{postrow.displayed.U_POST_ID}"></a>
<div id="p{postrow.displayed.U_POST_ID}" class="posthead">
<h2>
<span class="post_id right ipsType_small desc blend_links">
<strong><span class="data-post">{postrow.displayed.POST_DATE_NEW}</span></strong>
</span>
<div class="post_username">
<span class="reset_cursor" style="float: left; margin-top: 17px; margin-right: 10px;cursor: pointer;" data-tooltip="">
<img title="Fuera de lнnea" alt="Fuera de lнnea" src="http://i.imgur.com/bghyx2t.png">
</span>
<span class="reset_cursor" style="float: left; margin-top: 17px; margin-right: 10px; margin-left: -17px;cursor: pointer;" data-tooltip="">{postrow.displayed.ONLINE_IMG}</span>
<div style="float: left; font-size: 16px; font-family: Arial;" class="username">{postrow.displayed.POSTER_NAME}</div>
</div>
<span class="data-post">{postrow.displayed.POST_DATE_NEW}</span>
</h2>
</div>
<div class="postmain"{postrow.displayed.THANK_BGCOLOR}>
<div class="postbody"{postrow.displayed.THANK_BGCOLOR}>
<div class="user">
<div class="user-ident"><br />
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}<br /><br />
<div class="rank" style="font-weight: 500;">{postrow.displayed.POSTER_RANK_NEW}</div><br />
{postrow.displayed.RANK_IMAGE}
<div class="conect"></div>
</div>
</div>
<div class="user-info">
<!-- BEGIN profile_field -->
<div class="pitmeprofile"><span style=""><span id="perf"> <div class="post_field">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div></div>
<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
</div>
</div>
<div class="post-entry">
<div class="entry-content">
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
<!-- BEGIN switch_vote_minus -->
<div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
<!-- END switch_vote_minus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
<div>
<div id="message_{postrow.displayed.U_POST_ID}" style="margin-top: 10px; font-size: 14px; color: rgb(40, 40, 40);">
{postrow.displayed.MESSAGE}
</div>
<iframe name="iframe_{postrow.displayed.U_POST_ID}" height="0px" width="0px" frameborder="0"></iframe>
<!-- BEGIN switch_attachments -->
<dl class="attachbox">
<dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
<dd>
<!-- BEGIN switch_post_attachments -->
<dl class="file">
<dt>
<img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" />
<!-- BEGIN switch_dl_att -->
<a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
<!-- END switch_dl_att -->
<!-- BEGIN switch_no_dl_att -->
{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
<!-- END switch_no_dl_att -->
</dt>
<!-- BEGIN switch_no_comment -->
<dd>
<em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
</dd>
<!-- END switch_no_comment -->
<!-- BEGIN switch_no_dl_att -->
<dd>
<em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
</dd>
<!-- END switch_no_dl_att -->
<dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
</dl>
<!-- END switch_post_attachments -->
</dd>
</dl>
<!-- END switch_attachments -->
<div class="clear"></div>
</div>
<p>
</p>
</div>
</div>
</div>
<!-- BEGIN switch_signature -->
<div class="sig-content">
{postrow.displayed.SIGNATURE_NEW}
</div>
<!-- END switch_signature -->
<div class="postfoot">
<div class="user-contact profile_{postrow.displayed.PROFILE_POSITION}">
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
</div>
<div class="post-options profile_{postrow.displayed.PROFILE_POSITION}">
{postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
</div>
<div style="clear:both;"></div>
</div>
</div>
</div>
<!-- BEGIN first_post_br -->
</div>
<hr id="first-post-br" />
<div class="main-content topic">
<!-- END first_post_br -->
<!-- END displayed -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- END postrow -->
<div class="main-foot clearfix">
<p class="h2">
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
<p class="options">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
<input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
<!-- BEGIN viewtopic_bottom -->
{S_TOPIC_ADMIN}
<!-- END viewtopic_bottom -->
</p>
</div>
</div>
<a name="bottomtitle"></a>
<div class="paged-foot clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
<!-- END switch_user_authreply -->
</p>
</div>
</div>
<br />
<!-- BEGIN promot_trafic -->
<div class="main" id="ptrafic_close" style="display:none">
<div class="main-head clearfix">
<p class="h2">{PROMOT_TRAFIC_TITLE}</p>
<p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p>
</div>
</div>
<div class="main" id="ptrafic_open" style="display:''">
<div class="main-head clearfix">
<p class="h2">{PROMOT_TRAFIC_TITLE}</p>
<p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p>
</div>
<div class="main-content clearfix">
<!-- BEGIN link -->
ť <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br />
<!-- END link -->
</div>
</div>
<!-- END promot_trafic -->
<!-- BEGIN switch_forum_rules -->
<div class="main" id="forum_rules">
<div class="main-head clearfix">
<p class="h2">{L_FORUM_RULES}</p>
</div>
<table class="main-content frm">
<tr>
<!-- BEGIN switch_forum_rule_image -->
<td class="logo">
<img src="{RULE_IMG_URL}" />
</td>
<!-- END switch_forum_rule_image -->
<td class="rules entry-content">
{RULE_MSG}
</td>
</tr>
</table>
</div>
<!-- END switch_forum_rules -->
<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
<center>{QUICK_REPLY_FORM}</center>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<script>
jQuery(document).ready(function(){
jQuery('#right').css('display','none');
jQuery('#content').css('margin-right','0px');
});
</script>
<style>
#content-container div#content {
margin-right: 0px;
}
</style>
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function(){
var target = $('.post:first');
target.find('div.postbody').find('strong:contains("Relembrando a primeira mensagem")').closest('div.main-content.topic').hide();
var imgdata = target.find('div.user-basic-info');
var autor_dat = target.find('div.username');
var autor_url = autor_dat.attr('href');
var autor_txt = autor_dat.text();
var date = target.find('span.data-post').html();
var topic_title = '{TOPIC_TITLE}';
var tags = topic_title.split(' ');
var follow = '{S_WATCH_TOPIC}';
$('.ipsUserPhotoLink.left').attr('href', imgdata.find('a').attr('href'));
$('.ipsUserPhoto.ipsUserPhoto_medium').attr('src', imgdata.find('img').attr('src'));
$('span[itemprop="creator"]').find('a').attr('title', autor_txt).attr('href', autor_url);
$('span[itemprop="name"]').text(autor_txt);
$('span[itemprop="dateCreated"]').html(date);
/* Eliminar valores duplicados en el array!
-> Si usted encuentra algo mejor que esto, por favor suguieralo.*/
tags = tags.filter(
function(a){
if (!this[a]) {
this[a] = 1;
return a;
}
}
);
/* Establece bъsqueda de etiquetas ...*/
$.each(tags, function(index, data) {
if(data.length > 4) {
$('#tags_search').append(
'<a id="tag_search_' + index + '" class="ipsTag" title="Localizar mas Aportes con la tag ' + data + '" href="/search?search_keywords=' + data + '">' +
' <span>' + data + '</span>' +
'</a>'
);
}
});
/* Whatch topic */
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
var target = $('.main-content.topic').find('div.post');
target.each(function(index) {
var oThis = $(this);
var userImg = oThis.find('div.user-basic-info a');
var memberTitle = oThis.find('p.desc.member_title');
var urlID = oThis.find('.username a').attr('href');
var target = oThis.find('div.user-basic-info').text();
var IsSuper = (target.search(/administrador/i) + 1) + (target.search(/moderador/i) + 1) + (target.search(/punbb/i) + 1);
/* Sets default avatar... */
if (userImg.find('img').length == 0) {
userImg.html('<img src="http://i78.servimg.com/u/f78/18/17/62/92/defaul10.png" alt="User image">');
}
/* field_id1 (Tнtulo) = First field added to the perfil! */
$.get(urlID, function(data){
var userTitle = $.trim($('#field_id1', data).find('div.field_uneditable').text());
var posts = $('#field_id-6', data).find('div.field_uneditable').text();
if (IsSuper <= 0) {
if (posts <= 99){
memberTitle.text('Membro');
} else if (posts >= 100 && posts < 200) {
memberTitle.text('Membro Nнvel 1');
} else if (posts >= 200 && posts < 300) {
memberTitle.text('Membro Nнvel 2');
} else if (posts >= 300 && posts < 500) {
if(userTitle == '-') {memberTitle.text('Membro Nнvel 3');}
} else if (posts >= 500) {
if(userTitle == '-') {memberTitle.text('Membro Avanзado');}
}
} else {
if(userTitle != '-') {memberTitle.text(userTitle);}
}
/*conjuntos de estado*/
/*console.log($.trim($('#user_status', data).text()));*/
if($.trim($('#user_status', data).text()) == 'conectado') {
oThis.find('span.ipsBadge').html('online').addClass('ipsBadge_green').removeClass('ipsBadge_lightgrey');
} else {
oThis.find('span.ipsBadge').html('offline').addClass('ipsBadge_lightgrey').removeClass('ipsBadge_green');
};
});
});
});
/* Editar Mensajes*/
function edit_message(topic_ID, post_ID){
/* This load and read all form fields Ї| */
$('#' + topic_ID).load('/post?p=' + post_ID + '&mode=editpost' + ' .main .frm-form', function() {
var msgID = $('#' + topic_ID);
msgID.find('.main-head.clearfix').remove();
msgID.find('.frm-set.multi > dl').hide();
msgID.find('#textarea_content dt:last').show();
msgID.find('.frm-set.multi').css('border-bottom', '0px');
msgID.find('.frm-set > dl').hide();
msgID.find('.frm-buttons').css('border-top', '0');
msgID.find('.main').hide();
msgID.find('.frm-form').attr('target','iframe_' + post_ID).submit(function(){var time=setTimeout("edited()",1000);});
msgID.find('input[name=post]').css('margin-left', '-225px');
msgID.find('input[name=preview]').css('margin-left', '120px').attr('value', 'Cancelar');
});
}
function edited(){window.location.reload()}
//]]>
</script>
<style type="text/css">
<!--
.topic_buttons li span, .ipsButton {
background: #f4f4f4 url('http://www.ipbfocus.com/skindemo/public/style_images/dash/highlight_strong.png') repeat-x 0 -1px;
background-image: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
background-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
border: 1px solid #c0c2c3;
color: #414141;
text-shadow: #fff 0px 1px 0px;
-moz-box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
-webkit-box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
font-size: 12px;
font-weight: bold;
line-height: 34px;
height: 34px;
padding: 0 20px;
text-align: center;
min-width: 70px;
display: inline-block;
cursor: pointer;
}
.topic_buttons li {
float: right;
margin: 0 0 10px 10px;
}
.topic_buttons li span {
cursor: default !important;
}
.topic_buttons li.disabled a, .topic_buttons li.disabled span {
background: #ebebeb;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
text-shadow: none;
border: 0;
color: #7f7f7f;
}
.pun .username a span {
color: #fff !important;
}
.desc {
color: #fff!important;
font-size: 12px !important;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4 !important;
}
.data-post {
color: #fff !important;
float: left;
font-size: 11px;
font-weight: normal;
}
.post_online {
display: inline-block;
float: left;
min-width: 60px;
}
.right {
float: right;
}
.left {
float: left;
}
.ipsBox_withphoto {
margin-left: 65px;
}
.ipsUserPhoto_medium {
height: 54px;
width: 54px;
}
.ipsUserPhoto {
background: none repeat scroll 0 0 #FFFFFF;
padding: 1px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-top: 10px;
}
.ipsUserPhotoLink:hover .ipsUserPhoto {
opacity:0.8;
}
.rating {
display: block;
line-height: 16px;
margin-bottom: 4px;
}
.ipsType_smaller, .ipsType_smaller a {
font-size: 11px !important;
}
.rating img {
vertical-align: top;
}
#rating_text {
margin-left: 4px;
}
.ipsType_pagetitle, .ipsType_subtitle {
color: #323232;
font: 300 26px/1.3 Helvetica,Arial,sans-serif;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4;
}
.desc, .desc.blend_links a, p.posted_info {
color: #777777;
font-size: 12px;
}
.ipsTag {
display: inline-block;
background: url('http://i.imgur.com/Xm2n2t3.png');
height: 20px;
line-height: 20px;
padding: 0 7px 0 15px;
margin: 5px 5px 0 0;
font-size: 11px;
color: #fff !important;
text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
-moz-border-radius: 0 3px 3px 0;
-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-radius: 0 3px 3px 0;
}
.ipsButton_secondary {
background: -moz-linear-gradient(center top , #F6F6F6 0%, #E5E5E5 100%) repeat scroll 0 0 transparent;
border: 1px solid #DBDBDB;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 0 #FFFFFF inset, 0 1px 0 rgba(0, 0, 0, 0.3);
color: #616161;
display: inline-block;
font-size: 12px;
height: 22px;
line-height: 22px;
padding: 0 10px;
transition: all 0.2s ease-in-out 0s;
white-space: nowrap;
}
.ipsButton_secondary:hover {
border-color: #9A9A9A;
color: #4C4C4C;
}
.ipsButton_extra {
color: #5C5C5C;
font-size: 11px;
height: 22px;
line-height: 22px;
margin-left: 5px;
}
.clickable {
cursor: pointer;
}
-->
</style>
<!-- #endregion TitleBox_Viewtopic_body -->
<!-- #region: member_title -->
<style type="text/css">
<!--
.author_info .member_title {
margin-bottom: 5px;
word-wrap: break-word;
}
.desc, .desc.blend_links a, p.posted_info {
color: #777777;
font-size: 12px;
}
-->
</style>
<!-- #endregion: member_title -->
<Script type = "text / javascript">
// <! [CDATA [
jQuery (document). ready (function () {
var = $ ('.post: în primul rând ");
Target găsi ("div.postbody") găsi ("puternic: conține (" Reamintind primul mesaj ")") (); ..
var imgdata = țintă bază-info").;
var autor_dat = țintă găsește ('div.username');
poate autor_url = autor_dat ("href").;
poate autor_txt = autor_dat ().;
var = țintă ()..;
var topic_title = '{TOPIC_TITLE} ";
var = topic_title ('.');
var follow = '{S_WATCH_TOPIC} ";
$ ('.ipsUserPhotoLink.left ") Attr. (" Href ", imgdata ")..);
$ ('.ipsUserPhoto.ipsUserPhoto_medium ") Attr. (" Src ", imgdata ")..);
$ ('Span [itemprop = "creator"] ".) Cauta (' a ') autor_url)..;
$ ("Deschidere [itemprop =" nume "] ') (autor_txt).;
$ ("Deschidere [itemprop =" dateCreated "] ') (data).;
/ * Eliminare valori duplicate în matrice!
-> Dacă ați găsit ceva mai bun decât aceasta, vă rugăm să TelMe. * /
tag-uri = tag-uri. filtrul (
Funcția (a) {
în cazul în care (! aceasta [a]) {
aceasta [a] = 1;
întoarce o;
}
}
);
/ * Seturi de căutare tag ... * /
$. Fiecare (tag-uri, funcție (index, date) {
if (date. lungime> 4) {
$ ('#tags_search "). Adăuga (
"<a Id="tag_search_' + index +'" class="ipsTag" title="Localizar mas aportes cu tag' + date +'" + data + '+
<Span> "+ date +" </ span> "+
"</a>"
);
}
});
/ * Whatch subiect * /
<! - BEGIN switch_user_logged_in ->
<-! Switch_user_logged_in END ->
var target = $ ('Principale-content.topic ") găsi (" div.post');
țintă. fiecare (funcție (index) {
var oThis = $ (aceasta);
var userImg = oThis a").;
var memberTitle = oThis ('p.desc.member_title.');
var urlID = oThis ")..;
var target = oThis găsi ("-div.user de bază-info") text ();
var IsSuper = ( target . search ( /administrador/ i ) + 1 ) + ( target . search ( /moderador/ i ) + 1 ) + ( target . search ( /punbb/ i ) + 1 );
/ * Avatar Seturi default ... * /
în cazul în care (userImg. găsi ("img"). lungime == 0) {
userImg ").;
}
/ * Field_id1 (Título) = Primul câmp adăugat la Perfil! * /
$. Obține (urlID, funcția (date) {
var userTitle = $ trim (.. $ ('# field_id1 ", date) găsi (" div.field_uneditable ") text ());
var = $ ('# FIELD_ID-6 ", date) ()..;
în cazul în care (IsSuper <= 0) {
în cazul în care (mesaje <= 99) {
memberTitle ("Membro").;
} Else if (mesaje> = 100 && mesajele <200) {
memberTitle 1").;
} Else if (mesaje> = 200 && mesajele <300) {
memberTitle 2").;
} Else if (mesaje> = 300 && mesajele <500) {
în cazul în care (userTitle == '-') {memberTitle ');.}
} Else if (mesaje> = 500) {
în cazul în care (userTitle == '-') {memberTitle Avançado");.}
}
} Else {
în cazul în care (userTitle = '-'!) {memberTitle (userTitle);.}
}
/ * Seturi de stat * /
/*console.log($.trim($('#user_status ", date) .text ())); * /
if ($. trim ($ (data '#user_status "). text ()) ==' nu este conectat ') {
oThis . find ( 'span.ipsBadge' ). html ( 'online' ). addClass ( 'ipsBadge_green' ). removeClass ( 'ipsBadge_lightgrey' );
} Else {
oThis . find ( 'span.ipsBadge' ). html ( 'offline' ). addClass ( 'ipsBadge_lightgrey' ). removeClass ( 'ipsBadge_green' );
};
});
});
});
/ * Editare mesaj * /
Funcția edit_message (topic_id, post_ID) {
/ * Acest sarcină și citit toate câmpurile de formular Ż | * /
$ ('#' + Topic_id). Încărcare ("/ post? P = '+ post_ID +' & mode = editpost '+' Principale .frm-formă", function () {
var msgid = $ ('#' + topic_id);
msgstr găsi ("Principale-head.clearfix ') ().;
msgstr găsi (".frm-set.multi> dl ') ascunde ();
msgstr găsi ("dt #textarea_content: ultimul") ();.
msgstr găsi (".frm-set.multi") ").;
msgid ()..;
msgstr găsi ("butoane-.frm") ").;
msgstr găsi ("Principale") ().;
msgID . find ( '.frm-form' ). attr ( 'target' , 'iframe_' + post_ID ). submit ( function (){ var time = setTimeout ( "edited()" , 1000 );});
msgid ")..;
msgid ")...;
});
}
Funcția editat () {fereastră. locație. reload ()}
//]]>
</ Script>
<Tip style = "text / css">
<! -
.post_online {
display: inline-block;
float: left;
min-width: 60px;
}
.right {
float: right;
}
.left {
float: left;
}
.ipsBox_withphoto {
margin-left: 65px;
}
.ipsUserPhoto_medium {
înălțime: 54px;
lățime: 54px;
}
.ipsUserPhoto {
fundal: nici unul repeta de parcurgere 0 0 #FFFFFF;
border: 1px solid # D5D5D5 importante;!
box-shadow: 0 2px 2px rgba (0, 0, 0, 0,1);
padding: 1px;
border-radius: 100px;
}
.ipsUserPhotoLink: hover .ipsUserPhoto {
border-color: # 7D7D7D importante;!
}
.rating {
display: block;
line-height: 16px;
margin-bottom: 4px;
}
.ipsType_smaller, .ipsType_smaller o {
font-size: 11px importante;
}
.rating img {
vertical-align: top;
}
#rating_text {
margin-left: 4px;
}
.ipsType_pagetitle, .ipsType_subtitle {
color: # 323232;
font: 26px 300 / 1,3 Helvetica, Arial, sans-serif;
}
.desc.lighter, .desc.lighter.blend_links o {
color: # A4A4A4;
}
.desc, .desc.blend_links o, p.posted_info {
color: # 777777;
font-size: 12px;
}
.ipsTag {
display: inline-block;
fundal: url ("http://i56.servimg.com/u/f56/17/97/98/69/tag_bg10.png") se repeta de parcurgere 0% 0% # 555;
înălțime: 23px;
line-height: 23px;
padding: 0px 0px 21px 7px;
margin: 5px 5px 0px 0px;
font-size: 11px;
culoare: rgb (255, 255, 255) proeminent;!
}
.ipsButton_secondary {
fundal: -moz-linear-gradient de (centru sus, # F6F6F6 0%, # E5E5E5 100%) se repeta de parcurgere 0 0 transparent;
border: 1px solid #DBDBDB;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 0 insertie #FFFFFF, 0 1px 0 rgba (0, 0, 0, 0,3);
color: # 616161;
display: inline-block;
font-size: 12px;
înălțime: 22px;
line-height: 22px;
padding: 0 10px;
tranziție: toate 0.2s 0s usurinta in-out;
alb-spațiu: nowrap;
}
.ipsButton_secondary: hover {
-culoare de frontieră: # 9A9A9A;
color: # 4C4C4C;
}
.ipsButton_extra {
color: # 5C5C5C;
font-size: 11px;
înălțime: 22px;
line-height: 22px;
margin-left: 5px;
}
.clickable {
cursor: pointer;
}
->
</ Style>
<-! TitleBox_Viewtopic_body #endregion ->
<-! #region: Member_title ->
<Tip style = "text / css">
<! -
.author_info .member_title {
margin-bottom: 5px;
cuvânt-wrap: break-cuvânt;
}
.desc, .desc.blend_links o, p.posted_info {
color: # 777777;
font-size: 12px;
}
->
</ Style>
<-! #endregion: Member_title ->
Re: problema utilizatori
Inlocuiti template-ul actual cu acesta si apoi il publicati
- Cod:
<div class="pun-crumbs noprint">
<!-- #region TitleBox_Viewtopic_body -->
<!-- BEGIN switch_user_logged_in -->
<!-- BEGIN watchtopic -->
<div class="ipbfs_titlebox">
<div class="__like right" id="watchtopic" data-isfave="" data-relid="" data-area="topics" data-app="forums">
</div>
<!-- END watchtopic -->
<!-- END switch_user_logged_in -->
<a class="ipsUserPhotoLink left" href="#">
<img class="ipsUserPhoto ipsUserPhoto_medium" alt="Foto" src="http://i56.servimg.com/u/f56/17/97/98/69/avatar10.png">
</a>
<div class="ipsBox_withphoto" itemtype="http://schema.org/Article" itemscope="">
<span class="rating ipsType_smaller" itemtype="http://schema.org/AggregateRating" itemscope="" itemprop="aggregateRating">
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
<span id="rating_text" style="display: none;">
<span id="rating_hits" itemprop="ratingCount">0</span> <span>votos</span>
<meta content="0" itemprop="ratingValue">
</span>
</span>
<h1 class="ipsType_pagetitle" itemprop="name">{TOPIC_TITLE}</h1>
<div class="desc lighter blend_links">
Iniciado por <span itemprop="creator"><a title="" href="" class="url fn name"><span itemprop="name"></span></a></span>, Publicado <span itemprop="dateCreated"> </span>
</div>
<span id="tags_search"></span>
<br>
<meta content="UserComments:3" itemprop="interactionCount">
</div></div>
<br>
<div class="pun-crumbs noprint">
<p class="crumbs">
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} ť
<a href="{TOPIC_URL}">{TOPIC_TITLE}</a>
<!-- Backup <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> -->
</p>
</div>
<div class="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
<!-- END switch_user_authreply -->
</p>
<!-- BEGIN switch_user_logged_out -->
<ul class="topic_buttons">
<li class="disabled"><span><font><font class="">Por favor, inicie sesiуn para responder</font></font></span></li>
</ul>
<!-- END switch_user_logged_out -->
</div>
{POLL_DISPLAY}
<div class="main-content topic">
<div class="main-head clearfix">
<p class="h2">
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a>
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
</div>
<!-- BEGIN postrow -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- BEGIN displayed -->
<div class="post"{postrow.displayed.THANK_BGCOLOR}>
<a name="{postrow.displayed.U_POST_ID}"></a>
<div id="p{postrow.displayed.U_POST_ID}" class="posthead">
<h2>
<span class="post_id right ipsType_small desc blend_links">
<strong><span class="data-post">{postrow.displayed.POST_DATE_NEW}</span></strong>
</span>
<div class="post_username">
<span class="reset_cursor" style="float: left; margin-top: 17px; margin-right: 10px;cursor: pointer;" data-tooltip="">
<img title="Fuera de lнnea" alt="Fuera de lнnea" src="http://i.imgur.com/bghyx2t.png">
</span>
<span class="reset_cursor" style="float: left; margin-top: 17px; margin-right: 10px; margin-left: -17px;cursor: pointer;" data-tooltip="">{postrow.displayed.ONLINE_IMG}</span>
<div style="float: left; font-size: 16px; font-family: Arial;" class="username">{postrow.displayed.POSTER_NAME}</div>
</div>
<span class="data-post">{postrow.displayed.POST_DATE_NEW}</span>
</h2>
</div>
<div class="postmain"{postrow.displayed.THANK_BGCOLOR}>
<div class="postbody"{postrow.displayed.THANK_BGCOLOR}>
<div class="user">
<div class="user-ident"><br />
<div class="user-basic-info">
{postrow.displayed.POSTER_NAME}{postrow.displayed.POSTER_AVATAR}<br /><br />
<div class="rank" style="font-weight: 500;">{postrow.displayed.POSTER_RANK_NEW}</div><br />
{postrow.displayed.RANK_IMAGE}
<div class="conect"></div>
</div>
</div>
<div class="user-info">
<!-- BEGIN profile_field -->
<div class="pitmeprofile"><span style=""><span id="perf"> <div class="post_field">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div></div>
<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
</div>
</div>
<div class="post-entry">
<div class="entry-content">
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
<!-- BEGIN switch_vote_minus -->
<div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
<!-- END switch_vote_minus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
<div>
<div id="message_{postrow.displayed.U_POST_ID}" style="margin-top: 10px; font-size: 14px; color: rgb(40, 40, 40);">
{postrow.displayed.MESSAGE}
</div>
<iframe name="iframe_{postrow.displayed.U_POST_ID}" height="0px" width="0px" frameborder="0"></iframe>
<!-- BEGIN switch_attachments -->
<dl class="attachbox">
<dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
<dd>
<!-- BEGIN switch_post_attachments -->
<dl class="file">
<dt>
<img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" />
<!-- BEGIN switch_dl_att -->
<a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
<!-- END switch_dl_att -->
<!-- BEGIN switch_no_dl_att -->
{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
<!-- END switch_no_dl_att -->
</dt>
<!-- BEGIN switch_no_comment -->
<dd>
<em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
</dd>
<!-- END switch_no_comment -->
<!-- BEGIN switch_no_dl_att -->
<dd>
<em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
</dd>
<!-- END switch_no_dl_att -->
<dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
</dl>
<!-- END switch_post_attachments -->
</dd>
</dl>
<!-- END switch_attachments -->
<div class="clear"></div>
</div>
<p>
</p>
</div>
</div>
</div>
<!-- BEGIN switch_signature -->
<div class="sig-content">
{postrow.displayed.SIGNATURE_NEW}
</div>
<!-- END switch_signature -->
<div class="postfoot">
<div class="user-contact profile_{postrow.displayed.PROFILE_POSITION}">
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
</div>
<div class="post-options profile_{postrow.displayed.PROFILE_POSITION}">
{postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
</div>
<div style="clear:both;"></div>
</div>
</div>
</div>
<!-- BEGIN first_post_br -->
</div>
<hr id="first-post-br" />
<div class="main-content topic">
<!-- END first_post_br -->
<!-- END displayed -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- END postrow -->
<div class="main-foot clearfix">
<p class="h2">
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
<p class="options">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
<input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
<!-- BEGIN viewtopic_bottom -->
{S_TOPIC_ADMIN}
<!-- END viewtopic_bottom -->
</p>
</div>
</div>
<a name="bottomtitle"></a>
<div class="paged-foot clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
<!-- END switch_user_authreply -->
</p>
</div>
</div>
<br />
<!-- BEGIN promot_trafic -->
<div class="main" id="ptrafic_close" style="display:none">
<div class="main-head clearfix">
<p class="h2">{PROMOT_TRAFIC_TITLE}</p>
<p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p>
</div>
</div>
<div class="main" id="ptrafic_open" style="display:''">
<div class="main-head clearfix">
<p class="h2">{PROMOT_TRAFIC_TITLE}</p>
<p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p>
</div>
<div class="main-content clearfix">
<!-- BEGIN link -->
ť <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br />
<!-- END link -->
</div>
</div>
<!-- END promot_trafic -->
<!-- BEGIN switch_forum_rules -->
<div class="main" id="forum_rules">
<div class="main-head clearfix">
<p class="h2">{L_FORUM_RULES}</p>
</div>
<table class="main-content frm">
<tr>
<!-- BEGIN switch_forum_rule_image -->
<td class="logo">
<img src="{RULE_IMG_URL}" />
</td>
<!-- END switch_forum_rule_image -->
<td class="rules entry-content">
{RULE_MSG}
</td>
</tr>
</table>
</div>
<!-- END switch_forum_rules -->
<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
<center>{QUICK_REPLY_FORM}</center>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<script>
jQuery(document).ready(function(){
jQuery('#right').css('display','none');
jQuery('#content').css('margin-right','0px');
});
</script>
<style>
#content-container div#content {
margin-right: 0px;
}
</style>
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function(){
var target = $('.post:first');
target.find('div.postbody').find('strong:contains("Relembrando a primeira mensagem")').closest('div.main-content.topic').hide();
var imgdata = target.find('div.user-basic-info');
var autor_dat = target.find('div.username');
var autor_url = autor_dat.attr('href');
var autor_txt = autor_dat.text();
var date = target.find('span.data-post').html();
var topic_title = '{TOPIC_TITLE}';
var tags = topic_title.split(' ');
var follow = '{S_WATCH_TOPIC}';
$('.ipsUserPhotoLink.left').attr('href', imgdata.find('a').attr('href'));
$('.ipsUserPhoto.ipsUserPhoto_medium').attr('src', imgdata.find('img').attr('src'));
$('span[itemprop="creator"]').find('a').attr('title', autor_txt).attr('href', autor_url);
$('span[itemprop="name"]').text(autor_txt);
$('span[itemprop="dateCreated"]').html(date);
/* Eliminar valores duplicados en el array!
-> Si usted encuentra algo mejor que esto, por favor suguieralo.*/
tags = tags.filter(
function(a){
if (!this[a]) {
this[a] = 1;
return a;
}
}
);
/* Establece bъsqueda de etiquetas ...*/
$.each(tags, function(index, data) {
if(data.length > 4) {
$('#tags_search').append(
'<a id="tag_search_' + index + '" class="ipsTag" title="Localizar mas Aportes con la tag ' + data + '" href="/search?search_keywords=' + data + '">' +
' <span>' + data + '</span>' +
'</a>'
);
}
});
/* Whatch topic */
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
var target = $('.main-content.topic').find('div.post');
target.each(function(index) {
var oThis = $(this);
var userImg = oThis.find('div.user-basic-info a');
var memberTitle = oThis.find('p.desc.member_title');
var urlID = oThis.find('.username a').attr('href');
var target = oThis.find('div.user-basic-info').text();
var IsSuper = (target.search(/administrador/i) + 1) + (target.search(/moderador/i) + 1) + (target.search(/punbb/i) + 1);
/* Sets default avatar... */
if (userImg.find('img').length == 0) {
userImg.html('<img src="http://i78.servimg.com/u/f78/18/17/62/92/defaul10.png" alt="User image">');
}
/* field_id1 (Tнtulo) = First field added to the perfil! */
$.get(urlID, function(data){
var userTitle = $.trim($('#field_id1', data).find('div.field_uneditable').text());
var posts = $('#field_id-6', data).find('div.field_uneditable').text();
if (IsSuper <= 0) {
if (posts <= 99){
memberTitle.text('Membro');
} else if (posts >= 100 && posts < 200) {
memberTitle.text('Membro Nнvel 1');
} else if (posts >= 200 && posts < 300) {
memberTitle.text('Membro Nнvel 2');
} else if (posts >= 300 && posts < 500) {
if(userTitle == '-') {memberTitle.text('Membro Nнvel 3');}
} else if (posts >= 500) {
if(userTitle == '-') {memberTitle.text('Membro Avanзado');}
}
} else {
if(userTitle != '-') {memberTitle.text(userTitle);}
}
/*conjuntos de estado*/
/*console.log($.trim($('#user_status', data).text()));*/
if($.trim($('#user_status', data).text()) == 'conectado') {
oThis.find('span.ipsBadge').html('online').addClass('ipsBadge_green').removeClass('ipsBadge_lightgrey');
} else {
oThis.find('span.ipsBadge').html('offline').addClass('ipsBadge_lightgrey').removeClass('ipsBadge_green');
};
});
});
});
/* Editar Mensajes*/
function edit_message(topic_ID, post_ID){
/* This load and read all form fields Ї| */
$('#' + topic_ID).load('/post?p=' + post_ID + '&mode=editpost' + ' .main .frm-form', function() {
var msgID = $('#' + topic_ID);
msgID.find('.main-head.clearfix').remove();
msgID.find('.frm-set.multi > dl').hide();
msgID.find('#textarea_content dt:last').show();
msgID.find('.frm-set.multi').css('border-bottom', '0px');
msgID.find('.frm-set > dl').hide();
msgID.find('.frm-buttons').css('border-top', '0');
msgID.find('.main').hide();
msgID.find('.frm-form').attr('target','iframe_' + post_ID).submit(function(){var time=setTimeout("edited()",1000);});
msgID.find('input[name=post]').css('margin-left', '-225px');
msgID.find('input[name=preview]').css('margin-left', '120px').attr('value', 'Cancelar');
});
}
function edited(){window.location.reload()}
//]]>
</script>
<style type="text/css">
<!--
.topic_buttons li span, .ipsButton {
background: #f4f4f4 url('http://www.ipbfocus.com/skindemo/public/style_images/dash/highlight_strong.png') repeat-x 0 -1px;
background-image: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
background-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
border: 1px solid #c0c2c3;
color: #414141;
text-shadow: #fff 0px 1px 0px;
-moz-box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
-webkit-box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
font-size: 12px;
font-weight: bold;
line-height: 34px;
height: 34px;
padding: 0 20px;
text-align: center;
min-width: 70px;
display: inline-block;
cursor: pointer;
}
.topic_buttons li {
float: right;
margin: 0 0 10px 10px;
}
.topic_buttons li span {
cursor: default !important;
}
.topic_buttons li.disabled a, .topic_buttons li.disabled span {
background: #ebebeb;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
text-shadow: none;
border: 0;
color: #7f7f7f;
}
.pun .username a span {
color: #fff !important;
}
.desc {
color: #fff!important;
font-size: 12px !important;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4 !important;
}
.data-post {
color: #fff !important;
float: left;
font-size: 11px;
font-weight: normal;
}
.post_online {
display: inline-block;
float: left;
min-width: 60px;
}
.right {
float: right;
}
.left {
float: left;
}
.ipsBox_withphoto {
margin-left: 65px;
}
.ipsUserPhoto_medium {
height: 54px;
width: 54px;
}
.ipsUserPhoto {
background: none repeat scroll 0 0 #FFFFFF;
padding: 1px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-top: 10px;
}
.ipsUserPhotoLink:hover .ipsUserPhoto {
opacity:0.8;
}
.rating {
display: block;
line-height: 16px;
margin-bottom: 4px;
}
.ipsType_smaller, .ipsType_smaller a {
font-size: 11px !important;
}
.rating img {
vertical-align: top;
}
#rating_text {
margin-left: 4px;
}
.ipsType_pagetitle, .ipsType_subtitle {
color: #323232;
font: 300 26px/1.3 Helvetica,Arial,sans-serif;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4;
}
.desc, .desc.blend_links a, p.posted_info {
color: #777777;
font-size: 12px;
}
.ipsTag {
display: inline-block;
background: url('http://i.imgur.com/Xm2n2t3.png');
height: 20px;
line-height: 20px;
padding: 0 7px 0 15px;
margin: 5px 5px 0 0;
font-size: 11px;
color: #fff !important;
text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
-moz-border-radius: 0 3px 3px 0;
-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-radius: 0 3px 3px 0;
}
.ipsButton_secondary {
background: -moz-linear-gradient(center top , #F6F6F6 0%, #E5E5E5 100%) repeat scroll 0 0 transparent;
border: 1px solid #DBDBDB;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 0 #FFFFFF inset, 0 1px 0 rgba(0, 0, 0, 0.3);
color: #616161;
display: inline-block;
font-size: 12px;
height: 22px;
line-height: 22px;
padding: 0 10px;
transition: all 0.2s ease-in-out 0s;
white-space: nowrap;
}
.ipsButton_secondary:hover {
border-color: #9A9A9A;
color: #4C4C4C;
}
.ipsButton_extra {
color: #5C5C5C;
font-size: 11px;
height: 22px;
line-height: 22px;
margin-left: 5px;
}
.clickable {
cursor: pointer;
}
-->
</style>
<!-- #endregion TitleBox_Viewtopic_body -->
<!-- #region: member_title -->
<style type="text/css">
<!--
.author_info .member_title {
margin-bottom: 5px;
word-wrap: break-word;
}
.desc, .desc.blend_links a, p.posted_info {
color: #777777;
font-size: 12px;
}
-->
</style>
<!-- #endregion: member_title -->
<Script type = "text / javascript">
// <! [CDATA [
jQuery (document). ready (function () {
var = $ ('.post: în primul rând ");
Target găsi ("div.postbody") găsi ("puternic: conține (" Reamintind primul mesaj ")") (); ..
var imgdata = țintă bază-info").;
var autor_dat = țintă găsește ('div.username');
poate autor_url = autor_dat ("href").;
poate autor_txt = autor_dat ().;
var = țintă ()..;
var topic_title = '{TOPIC_TITLE} ";
var = topic_title ('.');
var follow = '{S_WATCH_TOPIC} ";
$ ('.ipsUserPhotoLink.left ") Attr. (" Href ", imgdata ")..);
$ ('.ipsUserPhoto.ipsUserPhoto_medium ") Attr. (" Src ", imgdata ")..);
$ ('Span [itemprop = "creator"] ".) Cauta (' a ') autor_url)..;
$ ("Deschidere [itemprop =" nume "] ') (autor_txt).;
$ ("Deschidere [itemprop =" dateCreated "] ') (data).;
/ * Eliminare valori duplicate în matrice!
-> Dacă ați găsit ceva mai bun decât aceasta, vă rugăm să TelMe. * /
tag-uri = tag-uri. filtrul (
Funcția (a) {
în cazul în care (! aceasta [a]) {
aceasta [a] = 1;
întoarce o;
}
}
);
/ * Seturi de căutare tag ... * /
$. Fiecare (tag-uri, funcție (index, date) {
if (date. lungime> 4) {
$ ('#tags_search "). Adăuga (
"<a Id="tag_search_' + index +'" class="ipsTag" title="Localizar mas aportes cu tag' + date +'" + data + '+
<Span> "+ date +" </ span> "+
"</a>"
);
}
});
/ * Whatch subiect * /
<! - BEGIN switch_user_logged_in ->
<-! Switch_user_logged_in END ->
var target = $ ('Principale-content.topic ") găsi (" div.post');
țintă. fiecare (funcție (index) {
var oThis = $ (aceasta);
var userImg = oThis a").;
var memberTitle = oThis ('p.desc.member_title.');
var urlID = oThis ")..;
var target = oThis găsi ("-div.user de bază-info") text ();
var IsSuper = ( target . search ( /administrador/ i ) + 1 ) + ( target . search ( /moderador/ i ) + 1 ) + ( target . search ( /punbb/ i ) + 1 );
/ * Avatar Seturi default ... * /
în cazul în care (userImg. găsi ("img"). lungime == 0) {
userImg ").;
}
/ * Field_id1 (Título) = Primul câmp adăugat la Perfil! * /
$. Obține (urlID, funcția (date) {
var userTitle = $ trim (.. $ ('# field_id1 ", date) găsi (" div.field_uneditable ") text ());
var = $ ('# FIELD_ID-6 ", date) ()..;
în cazul în care (IsSuper <= 0) {
în cazul în care (mesaje <= 99) {
memberTitle ("Membro").;
} Else if (mesaje> = 100 && mesajele <200) {
memberTitle 1").;
} Else if (mesaje> = 200 && mesajele <300) {
memberTitle 2").;
} Else if (mesaje> = 300 && mesajele <500) {
în cazul în care (userTitle == '-') {memberTitle ');.}
} Else if (mesaje> = 500) {
în cazul în care (userTitle == '-') {memberTitle Avançado");.}
}
} Else {
în cazul în care (userTitle = '-'!) {memberTitle (userTitle);.}
}
/ * Seturi de stat * /
/*console.log($.trim($('#user_status ", date) .text ())); * /
if ($. trim ($ (data '#user_status "). text ()) ==' nu este conectat ') {
oThis . find ( 'span.ipsBadge' ). html ( 'online' ). addClass ( 'ipsBadge_green' ). removeClass ( 'ipsBadge_lightgrey' );
} Else {
oThis . find ( 'span.ipsBadge' ). html ( 'offline' ). addClass ( 'ipsBadge_lightgrey' ). removeClass ( 'ipsBadge_green' );
};
});
});
});
/ * Editare mesaj * /
Funcția edit_message (topic_id, post_ID) {
/ * Acest sarcină și citit toate câmpurile de formular Ż | * /
$ ('#' + Topic_id). Încărcare ("/ post? P = '+ post_ID +' & mode = editpost '+' Principale .frm-formă", function () {
var msgid = $ ('#' + topic_id);
msgstr găsi ("Principale-head.clearfix ') ().;
msgstr găsi (".frm-set.multi> dl ') ascunde ();
msgstr găsi ("dt #textarea_content: ultimul") ();.
msgstr găsi (".frm-set.multi") ").;
msgid ()..;
msgstr găsi ("butoane-.frm") ").;
msgstr găsi ("Principale") ().;
msgID . find ( '.frm-form' ). attr ( 'target' , 'iframe_' + post_ID ). submit ( function (){ var time = setTimeout ( "edited()" , 1000 );});
msgid ")..;
msgid ")...;
});
}
Funcția editat () {fereastră. locație. reload ()}
//]]>
</ Script>
<Tip style = "text / css">
<! -
.post_online {
display: inline-block;
float: left;
min-width: 60px;
}
.right {
float: right;
}
.left {
float: left;
}
.ipsBox_withphoto {
margin-left: 65px;
}
.ipsUserPhoto_medium {
înălțime: 54px;
lățime: 54px;
}
.ipsUserPhoto {
fundal: nici unul repeta de parcurgere 0 0 #FFFFFF;
border: 1px solid # D5D5D5 importante;!
box-shadow: 0 2px 2px rgba (0, 0, 0, 0,1);
padding: 1px;
border-radius: 100px;
}
.ipsUserPhotoLink: hover .ipsUserPhoto {
border-color: # 7D7D7D importante;!
}
.rating {
display: block;
line-height: 16px;
margin-bottom: 4px;
}
.ipsType_smaller, .ipsType_smaller o {
font-size: 11px importante;
}
.rating img {
vertical-align: top;
}
#rating_text {
margin-left: 4px;
}
.ipsType_pagetitle, .ipsType_subtitle {
color: # 323232;
font: 26px 300 / 1,3 Helvetica, Arial, sans-serif;
}
.desc.lighter, .desc.lighter.blend_links o {
color: # A4A4A4;
}
.desc, .desc.blend_links o, p.posted_info {
color: # 777777;
font-size: 12px;
}
.ipsTag {
display: inline-block;
fundal: url ("http://i56.servimg.com/u/f56/17/97/98/69/tag_bg10.png") se repeta de parcurgere 0% 0% # 555;
înălțime: 23px;
line-height: 23px;
padding: 0px 0px 21px 7px;
margin: 5px 5px 0px 0px;
font-size: 11px;
culoare: rgb (255, 255, 255) proeminent;!
}
.ipsButton_secondary {
fundal: -moz-linear-gradient de (centru sus, # F6F6F6 0%, # E5E5E5 100%) se repeta de parcurgere 0 0 transparent;
border: 1px solid #DBDBDB;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 0 insertie #FFFFFF, 0 1px 0 rgba (0, 0, 0, 0,3);
color: # 616161;
display: inline-block;
font-size: 12px;
înălțime: 22px;
line-height: 22px;
padding: 0 10px;
tranziție: toate 0.2s 0s usurinta in-out;
alb-spațiu: nowrap;
}
.ipsButton_secondary: hover {
-culoare de frontieră: # 9A9A9A;
color: # 4C4C4C;
}
.ipsButton_extra {
color: # 5C5C5C;
font-size: 11px;
înălțime: 22px;
line-height: 22px;
margin-left: 5px;
}
.clickable {
cursor: pointer;
}
->
</ Style>
<-! TitleBox_Viewtopic_body #endregion ->
<-! #region: Member_title ->
<Tip style = "text / css">
<! -
.author_info .member_title {
margin-bottom: 5px;
cuvânt-wrap: break-cuvânt;
}
.desc, .desc.blend_links o, p.posted_info {
color: # 777777;
font-size: 12px;
}
->
</ Style>
<-! #endregion: Member_title ->
Re: problema utilizatori
nu arata frumos uite
Re: problema utilizatori
- Cod:
<div class="pun-crumbs noprint">
<!-- #region TitleBox_Viewtopic_body -->
<!-- BEGIN switch_user_logged_in -->
<!-- BEGIN watchtopic -->
<div class="ipbfs_titlebox">
<div class="__like right" id="watchtopic" data-isfave="" data-relid="" data-area="topics" data-app="forums">
</div>
<!-- END watchtopic -->
<!-- END switch_user_logged_in -->
<a class="ipsUserPhotoLink left" href="#">
<img class="ipsUserPhoto ipsUserPhoto_medium" alt="Foto" src="http://i56.servimg.com/u/f56/17/97/98/69/avatar10.png">
</a>
<div class="ipsBox_withphoto" itemtype="http://schema.org/Article" itemscope="">
<span class="rating ipsType_smaller" itemtype="http://schema.org/AggregateRating" itemscope="" itemprop="aggregateRating">
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
<span id="rating_text" style="display: none;">
<span id="rating_hits" itemprop="ratingCount">0</span> <span>votos</span>
<meta content="0" itemprop="ratingValue">
</span>
</span>
<h1 class="ipsType_pagetitle" itemprop="name">{TOPIC_TITLE}</h1>
<div class="desc lighter blend_links">
Iniciado por <span itemprop="creator"><a title="" href="" class="url fn name"><span itemprop="name"></span></a></span>, Publicado <span itemprop="dateCreated"> </span>
</div>
<span id="tags_search"></span>
<br>
<meta content="UserComments:3" itemprop="interactionCount">
</div></div>
<br>
<div class="pun-crumbs noprint">
<p class="crumbs">
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} ť
<a href="{TOPIC_URL}">{TOPIC_TITLE}</a>
<!-- Backup <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> -->
</p>
</div>
<div class="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
<!-- END switch_user_authreply -->
</p>
<!-- BEGIN switch_user_logged_out -->
<ul class="topic_buttons">
<li class="disabled"><span><font><font class="">Por favor, inicie sesiуn para responder</font></font></span></li>
</ul>
<!-- END switch_user_logged_out -->
</div>
{POLL_DISPLAY}
<div class="main-content topic">
<div class="main-head clearfix">
<p class="h2">
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a>
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
</div>
<!-- BEGIN postrow -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- BEGIN displayed -->
<div class="post"{postrow.displayed.THANK_BGCOLOR}>
<a name="{postrow.displayed.U_POST_ID}"></a>
<div id="p{postrow.displayed.U_POST_ID}" class="posthead">
<h2>
<span class="post_id right ipsType_small desc blend_links">
<strong><span class="data-post">{postrow.displayed.POST_DATE_NEW}</span></strong>
</span>
<div class="post_username">
<span class="reset_cursor" style="float: left; margin-top: 17px; margin-right: 10px;cursor: pointer;" data-tooltip="">
<img title="Fuera de lнnea" alt="Fuera de lнnea" src="http://i.imgur.com/bghyx2t.png">
</span>
<span class="reset_cursor" style="float: left; margin-top: 17px; margin-right: 10px; margin-left: -17px;cursor: pointer;" data-tooltip="">{postrow.displayed.ONLINE_IMG}</span>
<div style="float: left; font-size: 16px; font-family: Arial;" class="username">{postrow.displayed.POSTER_NAME}</div>
</div>
<span class="data-post">{postrow.displayed.POST_DATE_NEW}</span>
</h2>
</div>
<div class="postmain"{postrow.displayed.THANK_BGCOLOR}>
<div class="postbody"{postrow.displayed.THANK_BGCOLOR}>
<div class="user">
<div class="user-ident"><br />
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}<br />{postrow.displayed.POSTER_NAME}<br />
<div class="rank" style="font-weight: 500;">{postrow.displayed.POSTER_RANK_NEW}</div><br />
{postrow.displayed.RANK_IMAGE}
<div class="conect"></div>
</div>
</div>
<div class="user-info">
<!-- BEGIN profile_field -->
<div class="pitmeprofile"><span style=""><span id="perf"> <div class="post_field">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div></div>
<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
</div>
</div>
<div class="post-entry">
<div class="entry-content">
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
<!-- BEGIN switch_vote_minus -->
<div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
<!-- END switch_vote_minus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
<div>
<div id="message_{postrow.displayed.U_POST_ID}" style="margin-top: 10px; font-size: 14px; color: rgb(40, 40, 40);">
{postrow.displayed.MESSAGE}
</div>
<iframe name="iframe_{postrow.displayed.U_POST_ID}" height="0px" width="0px" frameborder="0"></iframe>
<!-- BEGIN switch_attachments -->
<dl class="attachbox">
<dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
<dd>
<!-- BEGIN switch_post_attachments -->
<dl class="file">
<dt>
<img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" />
<!-- BEGIN switch_dl_att -->
<a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
<!-- END switch_dl_att -->
<!-- BEGIN switch_no_dl_att -->
{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
<!-- END switch_no_dl_att -->
</dt>
<!-- BEGIN switch_no_comment -->
<dd>
<em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
</dd>
<!-- END switch_no_comment -->
<!-- BEGIN switch_no_dl_att -->
<dd>
<em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
</dd>
<!-- END switch_no_dl_att -->
<dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
</dl>
<!-- END switch_post_attachments -->
</dd>
</dl>
<!-- END switch_attachments -->
<div class="clear"></div>
</div>
<p>
</p>
</div>
</div>
</div>
<!-- BEGIN switch_signature -->
<div class="sig-content">
{postrow.displayed.SIGNATURE_NEW}
</div>
<!-- END switch_signature -->
<div class="postfoot">
<div class="user-contact profile_{postrow.displayed.PROFILE_POSITION}">
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
</div>
<div class="post-options profile_{postrow.displayed.PROFILE_POSITION}">
{postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
</div>
<div style="clear:both;"></div>
</div>
</div>
</div>
<!-- BEGIN first_post_br -->
</div>
<hr id="first-post-br" />
<div class="main-content topic">
<!-- END first_post_br -->
<!-- END displayed -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- END postrow -->
<div class="main-foot clearfix">
<p class="h2">
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
<p class="options">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
<input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
<!-- BEGIN viewtopic_bottom -->
{S_TOPIC_ADMIN}
<!-- END viewtopic_bottom -->
</p>
</div>
</div>
<a name="bottomtitle"></a>
<div class="paged-foot clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
<!-- END switch_user_authreply -->
</p>
</div>
</div>
<br />
<!-- BEGIN promot_trafic -->
<div class="main" id="ptrafic_close" style="display:none">
<div class="main-head clearfix">
<p class="h2">{PROMOT_TRAFIC_TITLE}</p>
<p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p>
</div>
</div>
<div class="main" id="ptrafic_open" style="display:''">
<div class="main-head clearfix">
<p class="h2">{PROMOT_TRAFIC_TITLE}</p>
<p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p>
</div>
<div class="main-content clearfix">
<!-- BEGIN link -->
ť <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br />
<!-- END link -->
</div>
</div>
<!-- END promot_trafic -->
<!-- BEGIN switch_forum_rules -->
<div class="main" id="forum_rules">
<div class="main-head clearfix">
<p class="h2">{L_FORUM_RULES}</p>
</div>
<table class="main-content frm">
<tr>
<!-- BEGIN switch_forum_rule_image -->
<td class="logo">
<img src="{RULE_IMG_URL}" />
</td>
<!-- END switch_forum_rule_image -->
<td class="rules entry-content">
{RULE_MSG}
</td>
</tr>
</table>
</div>
<!-- END switch_forum_rules -->
<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
<center>{QUICK_REPLY_FORM}</center>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<script>
jQuery(document).ready(function(){
jQuery('#right').css('display','none');
jQuery('#content').css('margin-right','0px');
});
</script>
<style>
#content-container div#content {
margin-right: 0px;
}
</style>
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function(){
var target = $('.post:first');
target.find('div.postbody').find('strong:contains("Relembrando a primeira mensagem")').closest('div.main-content.topic').hide();
var imgdata = target.find('div.user-basic-info');
var autor_dat = target.find('div.username');
var autor_url = autor_dat.attr('href');
var autor_txt = autor_dat.text();
var date = target.find('span.data-post').html();
var topic_title = '{TOPIC_TITLE}';
var tags = topic_title.split(' ');
var follow = '{S_WATCH_TOPIC}';
$('.ipsUserPhotoLink.left').attr('href', imgdata.find('a').attr('href'));
$('.ipsUserPhoto.ipsUserPhoto_medium').attr('src', imgdata.find('img').attr('src'));
$('span[itemprop="creator"]').find('a').attr('title', autor_txt).attr('href', autor_url);
$('span[itemprop="name"]').text(autor_txt);
$('span[itemprop="dateCreated"]').html(date);
/* Eliminar valores duplicados en el array!
-> Si usted encuentra algo mejor que esto, por favor suguieralo.*/
tags = tags.filter(
function(a){
if (!this[a]) {
this[a] = 1;
return a;
}
}
);
/* Establece bъsqueda de etiquetas ...*/
$.each(tags, function(index, data) {
if(data.length > 4) {
$('#tags_search').append(
'<a id="tag_search_' + index + '" class="ipsTag" title="Localizar mas Aportes con la tag ' + data + '" href="/search?search_keywords=' + data + '">' +
' <span>' + data + '</span>' +
'</a>'
);
}
});
/* Whatch topic */
<!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->
var target = $('.main-content.topic').find('div.post');
target.each(function(index) {
var oThis = $(this);
var userImg = oThis.find('div.user-basic-info a');
var memberTitle = oThis.find('p.desc.member_title');
var urlID = oThis.find('.username a').attr('href');
var target = oThis.find('div.user-basic-info').text();
var IsSuper = (target.search(/administrador/i) + 1) + (target.search(/moderador/i) + 1) + (target.search(/punbb/i) + 1);
/* Sets default avatar... */
if (userImg.find('img').length == 0) {
userImg.html('<img src="http://i78.servimg.com/u/f78/18/17/62/92/defaul10.png" alt="User image">');
}
/* field_id1 (Tнtulo) = First field added to the perfil! */
$.get(urlID, function(data){
var userTitle = $.trim($('#field_id1', data).find('div.field_uneditable').text());
var posts = $('#field_id-6', data).find('div.field_uneditable').text();
if (IsSuper <= 0) {
if (posts <= 99){
memberTitle.text('Membro');
} else if (posts >= 100 && posts < 200) {
memberTitle.text('Membro Nнvel 1');
} else if (posts >= 200 && posts < 300) {
memberTitle.text('Membro Nнvel 2');
} else if (posts >= 300 && posts < 500) {
if(userTitle == '-') {memberTitle.text('Membro Nнvel 3');}
} else if (posts >= 500) {
if(userTitle == '-') {memberTitle.text('Membro Avanзado');}
}
} else {
if(userTitle != '-') {memberTitle.text(userTitle);}
}
/*conjuntos de estado*/
/*console.log($.trim($('#user_status', data).text()));*/
if($.trim($('#user_status', data).text()) == 'conectado') {
oThis.find('span.ipsBadge').html('online').addClass('ipsBadge_green').removeClass('ipsBadge_lightgrey');
} else {
oThis.find('span.ipsBadge').html('offline').addClass('ipsBadge_lightgrey').removeClass('ipsBadge_green');
};
});
});
});
/* Editar Mensajes*/
function edit_message(topic_ID, post_ID){
/* This load and read all form fields Ї| */
$('#' + topic_ID).load('/post?p=' + post_ID + '&mode=editpost' + ' .main .frm-form', function() {
var msgID = $('#' + topic_ID);
msgID.find('.main-head.clearfix').remove();
msgID.find('.frm-set.multi > dl').hide();
msgID.find('#textarea_content dt:last').show();
msgID.find('.frm-set.multi').css('border-bottom', '0px');
msgID.find('.frm-set > dl').hide();
msgID.find('.frm-buttons').css('border-top', '0');
msgID.find('.main').hide();
msgID.find('.frm-form').attr('target','iframe_' + post_ID).submit(function(){var time=setTimeout("edited()",1000);});
msgID.find('input[name=post]').css('margin-left', '-225px');
msgID.find('input[name=preview]').css('margin-left', '120px').attr('value', 'Cancelar');
});
}
function edited(){window.location.reload()}
//]]>
</script>
<style type="text/css">
<!--
.topic_buttons li span, .ipsButton {
background: #f4f4f4 url('http://www.ipbfocus.com/skindemo/public/style_images/dash/highlight_strong.png') repeat-x 0 -1px;
background-image: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
background-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
background-image: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
border: 1px solid #c0c2c3;
color: #414141;
text-shadow: #fff 0px 1px 0px;
-moz-box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
-webkit-box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
box-shadow: rgba(0,0,0,0.15) 0px 1px 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
font-size: 12px;
font-weight: bold;
line-height: 34px;
height: 34px;
padding: 0 20px;
text-align: center;
min-width: 70px;
display: inline-block;
cursor: pointer;
}
.topic_buttons li {
float: right;
margin: 0 0 10px 10px;
}
.topic_buttons li span {
cursor: default !important;
}
.topic_buttons li.disabled a, .topic_buttons li.disabled span {
background: #ebebeb;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
text-shadow: none;
border: 0;
color: #7f7f7f;
}
.pun .username a span {
color: #fff !important;
}
.desc {
color: #fff!important;
font-size: 12px !important;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4 !important;
}
.data-post {
color: #fff !important;
float: left;
font-size: 11px;
font-weight: normal;
}
.post_online {
display: inline-block;
float: left;
min-width: 60px;
}
.right {
float: right;
}
.left {
float: left;
}
.ipsBox_withphoto {
margin-left: 65px;
}
.ipsUserPhoto_medium {
height: 54px;
width: 54px;
}
.ipsUserPhoto {
background: none repeat scroll 0 0 #FFFFFF;
padding: 1px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-top: 10px;
}
.ipsUserPhotoLink:hover .ipsUserPhoto {
opacity:0.8;
}
.rating {
display: block;
line-height: 16px;
margin-bottom: 4px;
}
.ipsType_smaller, .ipsType_smaller a {
font-size: 11px !important;
}
.rating img {
vertical-align: top;
}
#rating_text {
margin-left: 4px;
}
.ipsType_pagetitle, .ipsType_subtitle {
color: #323232;
font: 300 26px/1.3 Helvetica,Arial,sans-serif;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4;
}
.desc, .desc.blend_links a, p.posted_info {
color: #777777;
font-size: 12px;
}
.ipsTag {
display: inline-block;
background: url('http://i.imgur.com/Xm2n2t3.png');
height: 20px;
line-height: 20px;
padding: 0 7px 0 15px;
margin: 5px 5px 0 0;
font-size: 11px;
color: #fff !important;
text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
-moz-border-radius: 0 3px 3px 0;
-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-radius: 0 3px 3px 0;
}
.ipsButton_secondary {
background: -moz-linear-gradient(center top , #F6F6F6 0%, #E5E5E5 100%) repeat scroll 0 0 transparent;
border: 1px solid #DBDBDB;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 0 #FFFFFF inset, 0 1px 0 rgba(0, 0, 0, 0.3);
color: #616161;
display: inline-block;
font-size: 12px;
height: 22px;
line-height: 22px;
padding: 0 10px;
transition: all 0.2s ease-in-out 0s;
white-space: nowrap;
}
.ipsButton_secondary:hover {
border-color: #9A9A9A;
color: #4C4C4C;
}
.ipsButton_extra {
color: #5C5C5C;
font-size: 11px;
height: 22px;
line-height: 22px;
margin-left: 5px;
}
.clickable {
cursor: pointer;
}
-->
</style>
<!-- #endregion TitleBox_Viewtopic_body -->
<!-- #region: member_title -->
<style type="text/css">
<!--
.author_info .member_title {
margin-bottom: 5px;
word-wrap: break-word;
}
.desc, .desc.blend_links a, p.posted_info {
color: #777777;
font-size: 12px;
}
-->
</style>
<!-- #endregion: member_title -->
<Script type = "text / javascript">
// <! [CDATA [
jQuery (document). ready (function () {
var = $ ('.post: în primul rând ");
Target găsi ("div.postbody") găsi ("puternic: conține (" Reamintind primul mesaj ")") (); ..
var imgdata = țintă bază-info").;
var autor_dat = țintă găsește ('div.username');
poate autor_url = autor_dat ("href").;
poate autor_txt = autor_dat ().;
var = țintă ()..;
var topic_title = '{TOPIC_TITLE} ";
var = topic_title ('.');
var follow = '{S_WATCH_TOPIC} ";
$ ('.ipsUserPhotoLink.left ") Attr. (" Href ", imgdata ")..);
$ ('.ipsUserPhoto.ipsUserPhoto_medium ") Attr. (" Src ", imgdata ")..);
$ ('Span [itemprop = "creator"] ".) Cauta (' a ') autor_url)..;
$ ("Deschidere [itemprop =" nume "] ') (autor_txt).;
$ ("Deschidere [itemprop =" dateCreated "] ') (data).;
/ * Eliminare valori duplicate în matrice!
-> Dacă ați găsit ceva mai bun decât aceasta, vă rugăm să TelMe. * /
tag-uri = tag-uri. filtrul (
Funcția (a) {
în cazul în care (! aceasta [a]) {
aceasta [a] = 1;
întoarce o;
}
}
);
/ * Seturi de căutare tag ... * /
$. Fiecare (tag-uri, funcție (index, date) {
if (date. lungime> 4) {
$ ('#tags_search "). Adăuga (
"<a Id="tag_search_' + index +'" class="ipsTag" title="Localizar mas aportes cu tag' + date +'" + data + '+
<Span> "+ date +" </ span> "+
"</a>"
);
}
});
/ * Whatch subiect * /
<! - BEGIN switch_user_logged_in ->
<-! Switch_user_logged_in END ->
var target = $ ('Principale-content.topic ") găsi (" div.post');
țintă. fiecare (funcție (index) {
var oThis = $ (aceasta);
var userImg = oThis a").;
var memberTitle = oThis ('p.desc.member_title.');
var urlID = oThis ")..;
var target = oThis găsi ("-div.user de bază-info") text ();
var IsSuper = ( target . search ( /administrador/ i ) + 1 ) + ( target . search ( /moderador/ i ) + 1 ) + ( target . search ( /punbb/ i ) + 1 );
/ * Avatar Seturi default ... * /
în cazul în care (userImg. găsi ("img"). lungime == 0) {
userImg ").;
}
/ * Field_id1 (Título) = Primul câmp adăugat la Perfil! * /
$. Obține (urlID, funcția (date) {
var userTitle = $ trim (.. $ ('# field_id1 ", date) găsi (" div.field_uneditable ") text ());
var = $ ('# FIELD_ID-6 ", date) ()..;
în cazul în care (IsSuper <= 0) {
în cazul în care (mesaje <= 99) {
memberTitle ("Membro").;
} Else if (mesaje> = 100 && mesajele <200) {
memberTitle 1").;
} Else if (mesaje> = 200 && mesajele <300) {
memberTitle 2").;
} Else if (mesaje> = 300 && mesajele <500) {
în cazul în care (userTitle == '-') {memberTitle ');.}
} Else if (mesaje> = 500) {
în cazul în care (userTitle == '-') {memberTitle Avançado");.}
}
} Else {
în cazul în care (userTitle = '-'!) {memberTitle (userTitle);.}
}
/ * Seturi de stat * /
/*console.log($.trim($('#user_status ", date) .text ())); * /
if ($. trim ($ (data '#user_status "). text ()) ==' nu este conectat ') {
oThis . find ( 'span.ipsBadge' ). html ( 'online' ). addClass ( 'ipsBadge_green' ). removeClass ( 'ipsBadge_lightgrey' );
} Else {
oThis . find ( 'span.ipsBadge' ). html ( 'offline' ). addClass ( 'ipsBadge_lightgrey' ). removeClass ( 'ipsBadge_green' );
};
});
});
});
/ * Editare mesaj * /
Funcția edit_message (topic_id, post_ID) {
/ * Acest sarcină și citit toate câmpurile de formular Ż | * /
$ ('#' + Topic_id). Încărcare ("/ post? P = '+ post_ID +' & mode = editpost '+' Principale .frm-formă", function () {
var msgid = $ ('#' + topic_id);
msgstr găsi ("Principale-head.clearfix ') ().;
msgstr găsi (".frm-set.multi> dl ') ascunde ();
msgstr găsi ("dt #textarea_content: ultimul") ();.
msgstr găsi (".frm-set.multi") ").;
msgid ()..;
msgstr găsi ("butoane-.frm") ").;
msgstr găsi ("Principale") ().;
msgID . find ( '.frm-form' ). attr ( 'target' , 'iframe_' + post_ID ). submit ( function (){ var time = setTimeout ( "edited()" , 1000 );});
msgid ")..;
msgid ")...;
});
}
Funcția editat () {fereastră. locație. reload ()}
//]]>
</ Script>
<Tip style = "text / css">
<! -
.post_online {
display: inline-block;
float: left;
min-width: 60px;
}
.right {
float: right;
}
.left {
float: left;
}
.ipsBox_withphoto {
margin-left: 65px;
}
.ipsUserPhoto_medium {
înălțime: 54px;
lățime: 54px;
}
.ipsUserPhoto {
fundal: nici unul repeta de parcurgere 0 0 #FFFFFF;
border: 1px solid # D5D5D5 importante;!
box-shadow: 0 2px 2px rgba (0, 0, 0, 0,1);
padding: 1px;
border-radius: 100px;
}
.ipsUserPhotoLink: hover .ipsUserPhoto {
border-color: # 7D7D7D importante;!
}
.rating {
display: block;
line-height: 16px;
margin-bottom: 4px;
}
.ipsType_smaller, .ipsType_smaller o {
font-size: 11px importante;
}
.rating img {
vertical-align: top;
}
#rating_text {
margin-left: 4px;
}
.ipsType_pagetitle, .ipsType_subtitle {
color: # 323232;
font: 26px 300 / 1,3 Helvetica, Arial, sans-serif;
}
.desc.lighter, .desc.lighter.blend_links o {
color: # A4A4A4;
}
.desc, .desc.blend_links o, p.posted_info {
color: # 777777;
font-size: 12px;
}
.ipsTag {
display: inline-block;
fundal: url ("http://i56.servimg.com/u/f56/17/97/98/69/tag_bg10.png") se repeta de parcurgere 0% 0% # 555;
înălțime: 23px;
line-height: 23px;
padding: 0px 0px 21px 7px;
margin: 5px 5px 0px 0px;
font-size: 11px;
culoare: rgb (255, 255, 255) proeminent;!
}
.ipsButton_secondary {
fundal: -moz-linear-gradient de (centru sus, # F6F6F6 0%, # E5E5E5 100%) se repeta de parcurgere 0 0 transparent;
border: 1px solid #DBDBDB;
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 0 insertie #FFFFFF, 0 1px 0 rgba (0, 0, 0, 0,3);
color: # 616161;
display: inline-block;
font-size: 12px;
înălțime: 22px;
line-height: 22px;
padding: 0 10px;
tranziție: toate 0.2s 0s usurinta in-out;
alb-spațiu: nowrap;
}
.ipsButton_secondary: hover {
-culoare de frontieră: # 9A9A9A;
color: # 4C4C4C;
}
.ipsButton_extra {
color: # 5C5C5C;
font-size: 11px;
înălțime: 22px;
line-height: 22px;
margin-left: 5px;
}
.clickable {
cursor: pointer;
}
->
</ Style>
<-! TitleBox_Viewtopic_body #endregion ->
<-! #region: Member_title ->
<Tip style = "text / css">
<! -
.author_info .member_title {
margin-bottom: 5px;
cuvânt-wrap: break-cuvânt;
}
.desc, .desc.blend_links o, p.posted_info {
color: # 777777;
font-size: 12px;
}
->
</ Style>
<-! #endregion: Member_title ->
Re: problema utilizatori
tot nu e bine vreau sa fie nick pe bara unde scrie si data cind posteaza
Re: problema utilizatori
up cine poate sa ma ajute
Re: problema utilizatori
Bună ziua,
Va rugam sa readuceti in atentie intrebarea dumneavoastra doar daca au trecut cel putin 24 de ore fara sa primiti un raspuns. Pentru actualizarea mesajului anterior puteti folosi butonul . Multumesc pentru intelegere!
Va rugam sa readuceti in atentie intrebarea dumneavoastra doar daca au trecut cel putin 24 de ore fara sa primiti un raspuns. Pentru actualizarea mesajului anterior puteti folosi butonul . Multumesc pentru intelegere!
Re: problema utilizatori
Avand in vedere ca in ultimele 2 saptamani autorul nu a mai aratat interes pentru acesta problema, topicul va fi inchis si trimis in cos. Daca problema nu a fost rezolvata, va invitam sa deschideti un nou topic, in sectiunea corespunzatoare si avand un titlu explicit.
Subiecte similare
» Problema postare utilizatori
» problema pagina de start problema grup problema avatar
» problema inregistrare nume utilizatori
» Problema la Utilizatori acitivi in ultimele 48 de ore
» Problemă - Strălucire şi sclipici la legende şi utilizatori.
» problema pagina de start problema grup problema avatar
» problema inregistrare nume utilizatori
» Problema la Utilizatori acitivi in ultimele 48 de ore
» Problemă - Strălucire şi sclipici la legende şi utilizatori.
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum