Problema afisare nume in topic
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 1 din 2 • Distribuiţi
Pagina 1 din 2 • 1, 2
Problema afisare nume in topic
Salutare Forum Gratuit ! am si eu o problema la afisarea numelui in topic
Print: <Am marcat eu zona , nu se observa prea bine>
Print: <Am marcat eu zona , nu se observa prea bine>
Re: Problema afisare nume in topic
Bună seara CylourLP15 îmi poţi arăta sursa din viewtopic_body
Re: Problema afisare nume in topic
Poftin
- Cod:
<script type="text/javascript">//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
_atc.cwait = 0;
$('.addthis_button').mouseup(function(){
if ($('#at15s').css('display') == 'block') {
addthis_close();
addthis_close();
}
});
});
//]]>
</script>
<!-- #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="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authreply -->
<ul class="topic_buttons">
<li><a href="{U_POST_REPLY_TOPIC}" title="Reply to this topic" accesskey="r">Reply to this topic</a></li>
</ul>
<!-- 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>#{postrow.displayed.COUNT_POSTS}</strong>
</span>
<div class="post_username">
<span class="reset_cursor" style="float: left; margin-top: 13px; 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: 13px; 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>
{postrow.displayed.RANK_IMAGE}
</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="font: 11px tahoma,helvetica,arial,sans-serif; color: #BCBCBC !important">
{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 -->
<br>
<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 -->
</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 {
float: right;
margin: 0px 0px 10px 10px;
}
.topic_buttons li a {
background: url('http://i.imgur.com/US0oSll.png') repeat-x scroll 0px 0px #7BA60D;
border-radius: 3px;
color: #FFF !important;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
font: bold 12px/32px Tahoma,Helvetica,Arial,sans-serif;
padding: 0px 11px;
text-align: center;
min-width: 125px;
display: inline-block;
cursor: pointer;
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.1) inset;
}
.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;
}
.desc {
color: #898989 !important;
font-size: 11px !important;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4 !important;
}
.data-post {
color: #777 !important;
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: 50px;
width: 50px;
}
.ipsUserPhoto {
background: none repeat scroll 0% 0% #393939;
padding: 1px;
margin-top: 10px;
border: 1px solid #515151 !important;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.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: #EAEAEA;
font: 300 26px/1.4 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/S3XPZLC.png') repeat scroll 0% 0% transparent;
height: 20px;
line-height: 20px;
padding: 0px 7px 0px 15px;
margin: 5px 5px 0px 0px;
font-size: 11px;
color: #FFF !important;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
border-radius: 0px 3px 3px 0px;
}
.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 -->
Re: Problema afisare nume in topic
şterge tot ce ai in viewtopic_body şi adaugă acest cod
şi in foaia de stil CSS adaugă asta
- Cod:
<script type="text/javascript">//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
_atc.cwait = 0;
$('.addthis_button').mouseup(function(){
if ($('#at15s').css('display') == 'block') {
addthis_close();
addthis_close();
}
});
});
//]]>
</script>
<!-- #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="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authreply -->
<ul class="topic_buttons">
<li><a href="{U_POST_REPLY_TOPIC}" title="Reply to this topic" accesskey="r">Reply to this topic</a></li>
</ul>
<!-- END switch_user_authreply -->
</p>
<!-- BEGIN switch_user_logged_out -->
<ul class="topic_buttons">
<li class="disabled"><span><font><font class="">Vă rugăm să vă înregistraţi</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>#{postrow.displayed.COUNT_POSTS}</strong>
</span>
<div class="post_username">
<span class="reset_cursor" style="float: left; margin-top: 13px; 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: 13px; 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>
{postrow.displayed.RANK_IMAGE}
</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="font: 11px tahoma,helvetica,arial,sans-serif; color: #BCBCBC !important">
{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 -->
<br>
<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 -->
</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 {
float: right;
margin: 0px 0px 10px 10px;
}
.topic_buttons li a {
background: url('http://i.imgur.com/US0oSll.png') repeat-x scroll 0px 0px #7BA60D;
border-radius: 3px;
color: #FFF !important;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
font: bold 12px/32px Tahoma,Helvetica,Arial,sans-serif;
padding: 0px 11px;
text-align: center;
min-width: 125px;
display: inline-block;
cursor: pointer;
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.1) inset;
}
.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;
}
.desc {
color: #898989 !important;
font-size: 11px !important;
}
.desc.lighter, .desc.lighter.blend_links a {
color: #A4A4A4 !important;
}
.data-post {
color: #777 !important;
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: 50px;
width: 50px;
}
.ipsUserPhoto {
background: none repeat scroll 0% 0% #393939;
padding: 1px;
margin-top: 10px;
border: 1px solid #515151 !important;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.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: #EAEAEA;
font: 300 26px/1.4 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/S3XPZLC.png') repeat scroll 0% 0% transparent;
height: 20px;
line-height: 20px;
padding: 0px 7px 0px 15px;
margin: 5px 5px 0px 0px;
font-size: 11px;
color: #FFF !important;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
border-radius: 0px 3px 3px 0px;
}
.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 -->
şi in foaia de stil CSS adaugă asta
- Cod:
/*viewtopic_body*/
.pun .post{ border:1px solid #454545; background:#252525}.pun .posthead{ border-bottom:1px solid #3F3F3F; text-shadow:0px -1px 0px rgba(0,0,0,0.4); background:url("http://i.imgur.com/fhBThvj.png") repeat-x scroll 0px -1px #363636; padding:0px 10px; height:36px; line-height:36px; font-weight:normal; font-size:13px; overflow:hidden}.pun .postmain{ background-color:#292929; border-left:1px solid #323232; margin-left:195px !important; padding:12px}.post_username{ float:left; font-weight:bold; min-width:200px}
/*avatar*/
.user-basic-info a img{ background:#393939; max-height:200px; max-width:170px; padding:1px; border:1px solid #515151; box-shadow:0px 2px 2px rgba(0,0,0,0.1)}.pun .post .user{ float:left; margin-left:-17em; margin-top:-1.8em; position:relative; text-align:center; line-height:150%; font-size:12px}
Re: Problema afisare nume in topic
Doar sa mutat data mai incolo dar eu as vrea ca Numele sa fie la inceputu acelei bari de ex asa
-------------------------------------------------------------
- Poseidon - la data cutare
-------------------------------------------------------------
|----------|
| |
| |
| Avatar |
| |
|----------|
Print cum e acum
-------------------------------------------------------------
- Poseidon - la data cutare
-------------------------------------------------------------
|----------|
| |
| |
| Avatar |
| |
|----------|
Print cum e acum
Re: Problema afisare nume in topic
Bună ziua am rezolvat problema te rog să ştergi acest cod din css-ul tău
Acest cod nu iţi permite aşezarea numelui
şi adauga acest cod
Acest cod nu iţi permite aşezarea numelui
- Cod:
.pun .post {
color: #BCBCBC;
font-family: tahoma, helvetica, arial, sans-serif;
font-size: 11px;
border: 0;
}
.pun .posthead {
border-top: 1px solid #2D2D2D;
border-bottom: 1px solid #2D2D2D;
text-shadow: rgba(0, 0, 0, 0.8) 0px -1px 0px;
background: #202020 url('http://i.imgur.com/8OKqAgJ.png') repeat-x 0 -1px;
padding: 0 10px;
height: 36px;
line-height: 36px;
font-weight: normal;
font-family: tahoma, helvetica, arial, sans-serif;
font-size: 11px;
padding-left: 18em;
}
şi adauga acest cod
- Cod:
/*viewtopic_body*/
.pun .post{ border:1px solid #454545; background:#252525}.pun .posthead{ border-bottom:1px solid #3F3F3F; text-shadow:0px -1px 0px rgba(0,0,0,0.4); background:url("http://i.imgur.com/fhBThvj.png") repeat-x scroll 0px -1px #363636; padding:0px 10px; height:36px; line-height:36px; font-weight:normal; font-size:13px; overflow:hidden}.pun .postmain{ background-color:#292929; border-left:1px solid #323232; margin-left:195px !important; padding:12px}.post_username{ float:left; font-weight:bold; min-width:200px}
/*avatar*/
.user-basic-info a img{ background:#393939; max-height:200px; max-width:170px; padding:1px; border:1px solid #515151; box-shadow:0px 2px 2px rgba(0,0,0,0.1)}.pun .post .user{ float:left; margin-left:-17em; margin-top:-1.8em; position:relative; text-align:center; line-height:150%; font-size:12px}
/*firma*/
.pun .sig-content{ clear:right; padding:10px; position:relative; border-top:1px solid #323232; margin:6px 0px 4px; font-size:0.9em; margin-right:-12px; margin-left:-12px}.pun .sig-content br{ display:none}
/*postfot final del post*/
.postfoot{ border-top:1px solid #323232; clear:both; margin-left:-188px; padding:7px; text-align:right; background:#262626; margin:0px -12px -12px -187px}.pun .paged-foot,.pun .paged-head{ background-color:transparent; border:none; padding:0.6em 1.3em 0.3em}
/*respuesta rapida*/
.pun .frm-form{ border:1px solid #393939; background:#292929}.frm-buttons{ border-top:none; margin-bottom:-0.7em; margin-top:0.5em; padding:0.7em 0px 0px 17.5em}.pun .frm .frm-buttons input{ padding:5px 11px; vertical-align:middle; background:url('http://i.imgur.com/XbAYvQh.png') repeat-x scroll 0px 0px #393939; border-color:#585858; text-shadow:0px -1px 0px rgba(0,0,0,0.4); color:white; box-shadow:0px 1px 3px rgba(0,0,0,0.15); border:0 none; cursor:pointer; border-radius:2px; overflow:hidden}.pun .frm .frm-buttons input:hover{ background:url('http://i.imgur.com/XbAYvQh.png') repeat-x scroll 0px 0px #585858}
/*****Citar Estilo IPB - By Julinho*****/
.postmain cite,blockquote cite{margin:-10px -11px 8px;background:url('http://i.imgur.com/rV2s3ip.png') repeat-x scroll 0px -1px #282828}
blockquote cite{background-color:#282828;background-image:url('http://i.imgur.com/AfUUVkx.png') !important;background-position:835px center !important;background-repeat:no-repeat !important;padding:12px 10px;overflow:hidden;text-shadow:0px -1px 0px rgba(0,0,0,0.8);clear:right;color:#DDD !important;border:1px solid #3B3B3B;border-top:0;font-size:12px}
.postmain blockquote{background-color:#262626;border:1px solid #3B3B3B;padding:10px;color:#9F9F9F !important;font-size:12px}
/*code y spoiler*/
.codebox dt{ border-bottom:1px solid #3B3B3B; padding:10px; font-size:12px; font-weight:bold}.codebox{ border:1px solid #3B3B3B; margin:1em; background-color:transparent}.codebox dd{ background-color:transparent; margin:0.5em; padding:0.5em}
/*perfil*/
#tabs ul li.activetab a{ background-color:#292929; border-color:#393939; color:#808080; text-decoration:none; font-weight:bold; font-size:12px}#tabs ul li.activetab a:hover{ background-color:#242424}#tabs ul li a{ border:1px solid #393939; float:left; font-size:1.1em; font-weight:400; line-height:2em; padding:0px 1em; text-decoration:none; background-color:#242424; color:#808080}#tabs ul li a:hover{ background-color:#393939}
Re: Problema afisare nume in topic
Nimic schimbat
Re: Problema afisare nume in topic
ai şters
Acest cod merge chiar eu am incercat uite demo : http://forum.board-shop.net/t1-buy-themes-shift-by-board-shop
- Cod:
.pun .post {
color: #BCBCBC;
font-family: tahoma, helvetica, arial, sans-serif;
font-size: 11px;
border: 0;
}
.pun .posthead {
border-top: 1px solid #2D2D2D;
border-bottom: 1px solid #2D2D2D;
text-shadow: rgba(0, 0, 0, 0.8) 0px -1px 0px;
background: #202020 url('http://i.imgur.com/8OKqAgJ.png') repeat-x 0 -1px;
padding: 0 10px;
height: 36px;
line-height: 36px;
font-weight: normal;
font-family: tahoma, helvetica, arial, sans-serif;
font-size: 11px;
padding-left: 18em;
}
Acest cod merge chiar eu am incercat uite demo : http://forum.board-shop.net/t1-buy-themes-shift-by-board-shop
Re: Problema afisare nume in topic
Am facut din nou ce ai zis si acum arata ca la inceput..
Re: Problema afisare nume in topic
Numai prostii...adaugi in CSS sau in template:
Modifici acele valori cu ce vrei tu... si ai terminat...
- Cod:
.pun .posthead {
padding-left: 5px!important;
}
.username {
margin-left: -4px!important;
display: block!important;
margin-right: 10px;
}
Modifici acele valori cu ce vrei tu... si ai terminat...
Ultima editare efectuata de catre Kames in Joi Sept 10, 2015 12:14 pm, editata de 2 ori
Vizitator- Vizitator
Re: Problema afisare nume in topic
Numai prostii...adaugi in CSS sau in template:
Modifici acele valori cu ce vrei tu... si ai terminat...
Edit: trimiteti la cosul mesajul , forumul se misca greu.
- Cod:
.pun .posthead {
padding-left: 5px!important;
}
.username {
margin-left: -4px!important;
display: block!important;
margin-right: 10px;
}
Modifici acele valori cu ce vrei tu... si ai terminat...
Edit: trimiteti la cosul mesajul , forumul se misca greu.
Vizitator- Vizitator
Re: Problema afisare nume in topic
Buna ziua, Va rugam sa folositi butonul edit pentru a face modificari/completari mesajului dvs, daca nu a trecut un interval de cel putin 24 de ore. . Mulţumesc pentru înţelegere! |
Pagina 1 din 2 • 1, 2
Subiecte similare
» Afisare player in topic
» afisare buton topic nou
» Afisare gresita a numarului de topic-uri
» Last topic afisare ultimul mesaj
» afisare topic mesaj imagine
» afisare buton topic nou
» Afisare gresita a numarului de topic-uri
» Last topic afisare ultimul mesaj
» afisare topic mesaj imagine
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 1 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum