Can someone help analyze what this code is missing in my template...
4 posters
Page 1 of 1
Can someone help analyze what this code is missing in my template...
This is the code in viewtopic_body:
I added this CSS also:
Resulting to this but this is in logged in version
if I'm logged out this is what it looks like:
What is the mistake in the code? or what's wrong? I hope someone can help Thank you! God Bless!
My forum is PunBB
here's a link: http://ggpalace.forumotion.net/t1603-2013-sunny-s-birthday-message-thread
- Code:
<style>
i.red {
border: 1px solid #DDD;
padding: 6px;
color: #8F8F8F;
text-align: left;
margin-left: 190px;
margin-top: -50px;
position: absolute;
z-index: 999;
cursor: pointer;
}.post-options a[href*="&mode=quote"] {
z-index: 1 !important;
}
i.red:hover {
border-color: #CCC;
color: #777;
}.entry-content > div {
clear: both;
}
.pun .post {
border-width: 0 0 1px;
}.postfoot {
border: none;
}.post .postfoot {
margin-left: 0;
}.pun #main .main-content.topic {
padding: 10px !important;
margin: 0;
border: 1px solid #DDD !important;
background: white !important;
border-radius: 4px;
}.maii {
background: #FAFAFA !important;
border: 1px solid #DDD !important;
border-radius: 4px;
}
.main .main-head.crumbb {
border: 0;
border-bottom: 1px solid #EAEAEA;
background: whiteSmoke url("http://i16.servimg.com/u/f16/15/23/22/46/highli11.png") repeat-x 0 0;
color: #333;
padding: 7px;
font-size: 12px;
font-weight: 300;
-moz-border-radius: 4px 4px 0 0;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-radius: 4px 4px 0 0;
overflow: hidden;
box-shadow: none;
}
.pun .post .user {
margin-top: 0;
}b.username {
width: 17em;
display: inline-block;
float: left;
font-size: 12px;
}
.pun. b.username strong {
float: none !important;
color: #444;
font-size: 12px;
}
.pun .posthead {
border-top: 1px solid #D7D7D7;
border-bottom: 1px solid #D7D7D7;
background: #E6E6E6 url('http://i16.servimg.com/u/f16/15/23/22/46/highli10.png') repeat-x 0 0;
padding: 0 10px;
height: 36px;
line-height: 36px;
font-weight: normal;
font-size: 10px;
text-shadow: rgba(255, 255, 255, 0.9) 0px 1px 0px;
color: #777;
}
.pun .posthead a {
color: #444;
}
.pun .main.paged p.options {
position: fixed;
bottom: 40px;
right: 10px;
padding: 10px;
background: rgba(0, 0, 0, 0.83);
border: 2px solid #A2A2A2;
border-radius: 4px;
z-index: 1000;
}
.user-basic-info {
text-align: left;
}
.user-info hr {
border: none;
}
span.showST {
display: none;
}
.crumbs img {
vertical-align: middle;
}
.crumbs {
text-align: right;
}
span.left, .crumbs a, a.exthelp {
font: 11px solid helvetica,arial,sans-serif;
text-shadow: none;
color: #333 !important;
line-height: 20px;
}.pun .post {
border: none;
}.posthead[style="background-color:#dfedd1;"] {
text-shadow: rgba(255, 255, 255, 0.8) 0px 1px 0px;
border: 1px solid #ACCF8B;
color: #436500;
border-width: 1px 0;
}
.posthead[style="background-color:#dfedd1;"]::after {
content: "✓ Câu trả lá»i hay nhất";
float: right;
border: 1px solid #ACCF8B;
color: #436500;
background-color: #DFEDD1;
line-height: 17px;
padding: 3px 5px;
border-radius: 0 0 3px 3px;
border-top: 0;
}
.post-entry img {
}
.rankn b.username, .post .posthead b.username {
display: none !important;
}
.post b.username {
display: block !important;
}
.sttonoff {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/post_o10.png') no-repeat center;
height: 7px;
width: 7px;
display: inline-block;
margin: 0 4px;
}
.postmain {
margin-left: 0;
position: relative;
border-left: 0;
}
.postmain .user {
margin-left: 0;
float: left;
width: 100%;
background: #F7F7F7;
border-bottom: 1px solid #DDD;
height: 150px;
}
.postmain .user .user-ident {
display: block;
float: left;
padding: 10px;
padding-top: 0;
}
.postmain .user .user-basic-info a img {
width: 120px;
height: 120px;
padding: 5px;
background: white;
border-radius: 4px;
border: 1px solid #DDD;
}
.postmain .user .user-info {
display: block;
float: right;
padding: 10px;
}
.postmain .user .user-basic-info {
display: table;
}
.postmain .user .user-basic-info a {
display: table-cell;
}
.postmain .user .user-basic-info .rankn {
top: -97px;
position: relative;
padding: 10px;
display: block;
}.rightpost ul {
list-style: none;
}
.rightpost {
float: right;
}
.sig-content {
border-top: 1px dashed #CCC;
margin-top: 10px;
padding-top: 0 !important;
}
.i_icon_edit, .i_icon_delete {
height: 12px;
width: 12px;
border-radius: 3px;
border: 1px solid #BBB !important;
margin: 2px;
box-shadow: inset -1px 1px 8px rgba(0, 0, 0, 0.14);
padding: 4px;
}
.an {
display: none;
position: absolute;
background: #333;
color: white;
padding: 5px;
border-radius: 4px;
margin-left: 5px;
}.leftarrow {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/ar10.png');
height: 7px;
width: 4px;
margin-left: -9px;
display: inline-block;
margin-right: 5px;
}
.rightpost li:hover span.an {
display: inline-block;
}
.pun #main #forum_rules .main-content.frm {
border-width: 0 5px;
border-radius: 0;
margin-bottom: 0;
}
#pun-qpost .main-head {
display: none;
}
#pun-qpost .main-content.frm {
border-width: 0px 5px 5px;
}#pun-qpost {
margin-top: 0 !important;
}#pun-qpost {
margin-top: 0 !important;
}
.vote.top, .post-entry .vote-bar {
display: none;
}
#vote1 {
width: 120px;
position: relative;
display: block;
}#vote1 .vote-bar {
margin: 0;
border: none;
height: 20px;
width: 100px;
overflow: hidden;
}
#vote1 .vote-bar img {
position: absolute;
top: 0;
left: 0;
}
#vote1 .vote-bar-plus {
height: 20px;
display: inline-block;
}
</style>
<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>
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<ul>
<!-- BEGIN switch_plus_menu -->
<li>
<script type="text/javascript">//<![CDATA[
var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}';
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</li>
<!-- END switch_plus_menu -->
<li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li>
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<!-- BEGIN watchtopic -->
<li>{S_WATCH_TOPIC}</li>
<!-- END watchtopic -->
</ul>
</div>
<!-- END switch_user_logged_in -->
<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>
</div>
{POLL_DISPLAY}
<div class="main-content topic"><div class="maii">
<div class="main-head crumbb clearfix">
<p class="h2">
<p class="crumbs"><span class="left"></span>
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} »Â
<strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
</p>
</p>
</div>
<!-- BEGIN postrow -->
<!-- BEGIN displayed -->
<div class="post number{postrow.displayed.COUNT_POSTS}" id="pst{postrow.displayed.U_POST_ID}">
<div id="p{postrow.displayed.U_POST_ID}" class="posthead" {postrow.displayed.THANK_BGCOLOR}>
<h2>
<strong>{postrow.displayed.COUNT_POSTS}</strong>
<b class="username"><span class="sttonoff">{postrow.displayed.ONLINE_IMG}</span>{postrow.displayed.POSTER_NAME}</b> Post {postrow.displayed.POST_DATE_NEW}
</h2>
</div>
<a name="{postrow.displayed.U_POST_ID}"></a>
<div class="postmain">
<div class="postbody">
<div class="user">
<div class="user-ident">
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}<br />
<span class="rankn"> <b class="username"><span class="first sttonoff">{postrow.displayed.ONLINE_IMG}</span>{postrow.displayed.POSTER_NAME}</b><br/>{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</span>
</div>
</div>
<div class="user-info">
<!-- BEGIN profile_field -->
<span class="fmviTT">{postrow.displayed.profile_field.LABEL}<span class="fmviZZ">{postrow.displayed.profile_field.CONTENT}</span></span>{postrow.displayed.profile_field.SEPARATOR}
<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
<!-- BEGIN switch_vote_active -->
<div id="vote{postrow.displayed.COUNT_POSTS}" class="vote top gensmall">
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<img src="http://i16.servimg.com/u/f16/15/23/22/46/sad10.png" />
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="width:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div><div class="vote-bar-plus" style="width:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar"><img src="http://i14.servimg.com/u/f14/18/03/78/12/startr10.png" /></div>
<!-- END switch_no_bar -->
</div>
<!-- END switch_vote_active -->
</div>
</div>
<div class="post-entry" id="box{postrow.displayed.U_POST_ID}">
<div class="entry-content"><div class="rightpost"><ul><li>{postrow.displayed.DELETE_IMG}<span class="editt an"><i class="leftarrow"></i>Delete</span></li><li>{postrow.displayed.EDIT_IMG}<span class="eidt an"><i class="leftarrow"></i>Edit</span> </li></ul></div><div class=""></div>
<!-- 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>{postrow.displayed.MESSAGE}</div>
<!-- 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>
{postrow.displayed.EDITED_MESSAGE}
</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">
{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">
{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
</div>
<div style="clear:both;"></div>
</div>
</div>
</div>
<!-- BEGIN first_post_br -->
<hr id="first-post-br" />
<!-- END first_post_br -->
<!-- END displayed -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- END postrow -->
</div></div>
<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 --> <p class="optionss">
{S_TOPIC_ADMIN} </p>
<!-- END viewtopic_bottom -->
<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>
<!-- 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>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->
<div id="pun-info" class="main">
<div class="main-content">
<div id="stats">
<p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p>
</div>
</div>
</div>
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<script src="http://www.appelsiini.net/projects/lazyload/jquery.lazyload.js" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function() {
$("img").lazyload();
});
</script>
I added this CSS also:
- Code:
.postfoot {
border-top: 1px dashed rgb(204, 204, 204);
clear: both;
margin-left: 0;
padding: 0.5em 1em;
text-align: right;
}
.pun .post .user {
float: left;
margin-left: 0;
margin-top: -1.8em;
position: relative;
}
.pun .user-ident .username {
position: relative !important;
}
.pun .postbody {
background-attachment: scroll;
background-clip: border-box;
background-color: rgb(255, 255, 255);
background-image: url("YOUR IMAGE LINK HERE1");
background-origin: padding-box;
background-position: 50% 100%;
background-repeat: repeat-x;
background-size: auto;
width: 100%;
}
.pun .post {
background-attachment: scroll;
background-clip: border-box;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto;
border-bottom-color: rgb(195, 218, 181);
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-style: solid;
border-bottom-width: 2px;
border-left-color: rgb(195, 218, 181);
border-left-style: solid;
border-left-width: 2px;
border-right-color: rgb(195, 218, 181);
border-right-style: solid;
border-right-width: 2px;
border-top-color: rgb(195, 218, 181);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-style: solid;
border-top-width: 2px;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
}
.postfoot {
clear: both;
margin-right: 0em;
border-top: 1px solid #c3dab5;
padding: 0.5em 1em;
text-align: right;
background-color: rgb(255, 255, 255);
background-image: url("YOUR IMAGE LINK2");
background-origin: padding-box;
background-position: 50% 100%;
background-repeat: repeat-x;
}
.pun .posthead {background-color: #COLOR HERE;
}
.pun .postmain {
margin-left: 0 !important;
border-left: medium none;
}
Resulting to this but this is in logged in version
if I'm logged out this is what it looks like:
What is the mistake in the code? or what's wrong? I hope someone can help Thank you! God Bless!
My forum is PunBB
here's a link: http://ggpalace.forumotion.net/t1603-2013-sunny-s-birthday-message-thread
thefirstdanshin- Forumember
- Posts : 63
Reputation : 1
Language : English
Re: Can someone help analyze what this code is missing in my template...
Did you add the CSS code in the CSS style sheet?? or did you put it in he template. Also did you publish the template?
Re: Can someone help analyze what this code is missing in my template...
- Code:
i.red {
border: 1px solid #DDD;
padding: 6px;
color: #8F8F8F;
text-align: left;
margin-left: 190px;
margin-top: -50px;
position: absolute;
z-index: 999;
cursor: pointer;
}.post-options a[href*="&mode=quote"] {
z-index: 1 !important;
}
i.red:hover {
border-color: #CCC;
color: #777;
}.entry-content > div {
clear: both;
}
.pun .post {
border-width: 0 0 1px;
}.postfoot {
border: none;
}.post .postfoot {
margin-left: 0;
}.pun #main .main-content.topic {
padding: 10px !important;
margin: 0;
border: 1px solid #DDD !important;
background: white !important;
border-radius: 4px;
}.maii {
background: #FAFAFA !important;
border: 1px solid #DDD !important;
border-radius: 4px;
}
.main .main-head.crumbb {
border: 0;
border-bottom: 1px solid #EAEAEA;
background: whiteSmoke url("http://i16.servimg.com/u/f16/15/23/22/46/highli11.png") repeat-x 0 0;
color: #333;
padding: 7px;
font-size: 12px;
font-weight: 300;
-moz-border-radius: 4px 4px 0 0;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-radius: 4px 4px 0 0;
overflow: hidden;
box-shadow: none;
}
.pun .post .user {
margin-top: 0;
}b.username {
width: 17em;
display: inline-block;
float: left;
font-size: 12px;
}
.pun. b.username strong {
float: none !important;
color: #444;
font-size: 12px;
}
.pun .posthead {
border-top: 1px solid #D7D7D7;
border-bottom: 1px solid #D7D7D7;
background: #E6E6E6 url('http://i16.servimg.com/u/f16/15/23/22/46/highli10.png') repeat-x 0 0;
padding: 0 10px;
height: 36px;
line-height: 36px;
font-weight: normal;
font-size: 10px;
text-shadow: rgba(255, 255, 255, 0.9) 0px 1px 0px;
color: #777;
}
.pun .posthead a {
color: #444;
}
.pun .main.paged p.options {
position: fixed;
bottom: 40px;
right: 10px;
padding: 10px;
background: rgba(0, 0, 0, 0.83);
border: 2px solid #A2A2A2;
border-radius: 4px;
z-index: 1000;
}
.user-basic-info {
text-align: left;
}
.user-info hr {
border: none;
}
span.showST {
display: none;
}
.crumbs img {
vertical-align: middle;
}
.crumbs {
text-align: right;
}
span.left, .crumbs a, a.exthelp {
font: 11px solid helvetica,arial,sans-serif;
text-shadow: none;
color: #333 !important;
line-height: 20px;
}.pun .post {
border: none;
}.posthead[style="background-color:#dfedd1;"] {
text-shadow: rgba(255, 255, 255, 0.8) 0px 1px 0px;
border: 1px solid #ACCF8B;
color: #436500;
border-width: 1px 0;
}
.posthead[style="background-color:#dfedd1;"]::after {
content: "✓ Câu trả lời hay nhất";
float: right;
border: 1px solid #ACCF8B;
color: #436500;
background-color: #DFEDD1;
line-height: 17px;
padding: 3px 5px;
border-radius: 0 0 3px 3px;
border-top: 0;
}
.post-entry img {
}
.rankn b.username, .post .posthead b.username {
display: none !important;
}
.post b.username {
display: block !important;
}
.sttonoff {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/post_o10.png') no-repeat center;
height: 7px;
width: 7px;
display: inline-block;
margin: 0 4px;
}
.postmain {
margin-left: 0;
position: relative;
border-left: 0;
}
.postmain .user {
margin-left: 0;
float: left;
width: 100%;
background: #F7F7F7;
border-bottom: 1px solid #DDD;
height: 150px;
}
.postmain .user .user-ident {
display: block;
float: left;
padding: 10px;
padding-top: 0;
}
.postmain .user .user-basic-info a img {
width: 120px;
height: 120px;
padding: 5px;
background: white;
border-radius: 4px;
border: 1px solid #DDD;
}
.postmain .user .user-info {
display: block;
float: right;
padding: 10px;
}
.postmain .user .user-basic-info {
display: table;
}
.postmain .user .user-basic-info a {
display: table-cell;
}
.postmain .user .user-basic-info .rankn {
top: -97px;
position: relative;
padding: 10px;
display: block;
}.rightpost ul {
list-style: none;
}
.rightpost {
float: right;
}
.sig-content {
border-top: 1px dashed #CCC;
margin-top: 10px;
padding-top: 0 !important;
}
.i_icon_edit, .i_icon_delete {
height: 12px;
width: 12px;
border-radius: 3px;
border: 1px solid #BBB !important;
margin: 2px;
box-shadow: inset -1px 1px 8px rgba(0, 0, 0, 0.14);
padding: 4px;
}
.an {
display: none;
position: absolute;
background: #333;
color: white;
padding: 5px;
border-radius: 4px;
margin-left: 5px;
}.leftarrow {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/ar10.png');
height: 7px;
width: 4px;
margin-left: -9px;
display: inline-block;
margin-right: 5px;
}
.rightpost li:hover span.an {
display: inline-block;
}
.pun #main #forum_rules .main-content.frm {
border-width: 0 5px;
border-radius: 0;
margin-bottom: 0;
}
#pun-qpost .main-head {
display: none;
}
#pun-qpost .main-content.frm {
border-width: 0px 5px 5px;
}#pun-qpost {
margin-top: 0 !important;
}#pun-qpost {
margin-top: 0 !important;
}
.vote.top, .post-entry .vote-bar {
display: none;
}
#vote1 {
width: 120px;
position: relative;
display: block;
}#vote1 .vote-bar {
margin: 0;
border: none;
height: 20px;
width: 100px;
overflow: hidden;
}
#vote1 .vote-bar img {
position: absolute;
top: 0;
left: 0;
}
#vote1 .vote-bar-plus {
height: 20px;
display: inline-block;
}
Move that in your CSS
Re: Can someone help analyze what this code is missing in my template...
Shouldn't he also remove it from the template!candy_fear wrote:
- Code:
i.red {
border: 1px solid #DDD;
padding: 6px;
color: #8F8F8F;
text-align: left;
margin-left: 190px;
margin-top: -50px;
position: absolute;
z-index: 999;
cursor: pointer;
}.post-options a[href*="&mode=quote"] {
z-index: 1 !important;
}
i.red:hover {
border-color: #CCC;
color: #777;
}.entry-content > div {
clear: both;
}
.pun .post {
border-width: 0 0 1px;
}.postfoot {
border: none;
}.post .postfoot {
margin-left: 0;
}.pun #main .main-content.topic {
padding: 10px !important;
margin: 0;
border: 1px solid #DDD !important;
background: white !important;
border-radius: 4px;
}.maii {
background: #FAFAFA !important;
border: 1px solid #DDD !important;
border-radius: 4px;
}
.main .main-head.crumbb {
border: 0;
border-bottom: 1px solid #EAEAEA;
background: whiteSmoke url("http://i16.servimg.com/u/f16/15/23/22/46/highli11.png") repeat-x 0 0;
color: #333;
padding: 7px;
font-size: 12px;
font-weight: 300;
-moz-border-radius: 4px 4px 0 0;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-radius: 4px 4px 0 0;
overflow: hidden;
box-shadow: none;
}
.pun .post .user {
margin-top: 0;
}b.username {
width: 17em;
display: inline-block;
float: left;
font-size: 12px;
}
.pun. b.username strong {
float: none !important;
color: #444;
font-size: 12px;
}
.pun .posthead {
border-top: 1px solid #D7D7D7;
border-bottom: 1px solid #D7D7D7;
background: #E6E6E6 url('http://i16.servimg.com/u/f16/15/23/22/46/highli10.png') repeat-x 0 0;
padding: 0 10px;
height: 36px;
line-height: 36px;
font-weight: normal;
font-size: 10px;
text-shadow: rgba(255, 255, 255, 0.9) 0px 1px 0px;
color: #777;
}
.pun .posthead a {
color: #444;
}
.pun .main.paged p.options {
position: fixed;
bottom: 40px;
right: 10px;
padding: 10px;
background: rgba(0, 0, 0, 0.83);
border: 2px solid #A2A2A2;
border-radius: 4px;
z-index: 1000;
}
.user-basic-info {
text-align: left;
}
.user-info hr {
border: none;
}
span.showST {
display: none;
}
.crumbs img {
vertical-align: middle;
}
.crumbs {
text-align: right;
}
span.left, .crumbs a, a.exthelp {
font: 11px solid helvetica,arial,sans-serif;
text-shadow: none;
color: #333 !important;
line-height: 20px;
}.pun .post {
border: none;
}.posthead[style="background-color:#dfedd1;"] {
text-shadow: rgba(255, 255, 255, 0.8) 0px 1px 0px;
border: 1px solid #ACCF8B;
color: #436500;
border-width: 1px 0;
}
.posthead[style="background-color:#dfedd1;"]::after {
content: "✓ Câu trả lời hay nhất";
float: right;
border: 1px solid #ACCF8B;
color: #436500;
background-color: #DFEDD1;
line-height: 17px;
padding: 3px 5px;
border-radius: 0 0 3px 3px;
border-top: 0;
}
.post-entry img {
}
.rankn b.username, .post .posthead b.username {
display: none !important;
}
.post b.username {
display: block !important;
}
.sttonoff {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/post_o10.png') no-repeat center;
height: 7px;
width: 7px;
display: inline-block;
margin: 0 4px;
}
.postmain {
margin-left: 0;
position: relative;
border-left: 0;
}
.postmain .user {
margin-left: 0;
float: left;
width: 100%;
background: #F7F7F7;
border-bottom: 1px solid #DDD;
height: 150px;
}
.postmain .user .user-ident {
display: block;
float: left;
padding: 10px;
padding-top: 0;
}
.postmain .user .user-basic-info a img {
width: 120px;
height: 120px;
padding: 5px;
background: white;
border-radius: 4px;
border: 1px solid #DDD;
}
.postmain .user .user-info {
display: block;
float: right;
padding: 10px;
}
.postmain .user .user-basic-info {
display: table;
}
.postmain .user .user-basic-info a {
display: table-cell;
}
.postmain .user .user-basic-info .rankn {
top: -97px;
position: relative;
padding: 10px;
display: block;
}.rightpost ul {
list-style: none;
}
.rightpost {
float: right;
}
.sig-content {
border-top: 1px dashed #CCC;
margin-top: 10px;
padding-top: 0 !important;
}
.i_icon_edit, .i_icon_delete {
height: 12px;
width: 12px;
border-radius: 3px;
border: 1px solid #BBB !important;
margin: 2px;
box-shadow: inset -1px 1px 8px rgba(0, 0, 0, 0.14);
padding: 4px;
}
.an {
display: none;
position: absolute;
background: #333;
color: white;
padding: 5px;
border-radius: 4px;
margin-left: 5px;
}.leftarrow {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/ar10.png');
height: 7px;
width: 4px;
margin-left: -9px;
display: inline-block;
margin-right: 5px;
}
.rightpost li:hover span.an {
display: inline-block;
}
.pun #main #forum_rules .main-content.frm {
border-width: 0 5px;
border-radius: 0;
margin-bottom: 0;
}
#pun-qpost .main-head {
display: none;
}
#pun-qpost .main-content.frm {
border-width: 0px 5px 5px;
}#pun-qpost {
margin-top: 0 !important;
}#pun-qpost {
margin-top: 0 !important;
}
.vote.top, .post-entry .vote-bar {
display: none;
}
#vote1 {
width: 120px;
position: relative;
display: block;
}#vote1 .vote-bar {
margin: 0;
border: none;
height: 20px;
width: 100px;
overflow: hidden;
}
#vote1 .vote-bar img {
position: absolute;
top: 0;
left: 0;
}
#vote1 .vote-bar-plus {
height: 20px;
display: inline-block;
}
Move that in your CSS
Re: Can someone help analyze what this code is missing in my template...
i added it to the template only
thefirstdanshin- Forumember
- Posts : 63
Reputation : 1
Language : English
Re: Can someone help analyze what this code is missing in my template...
The code that is in the temple looks more like CSS code. Where did you get these codes?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can someone help analyze what this code is missing in my template...
uhm sir, it works in my test sites:
http://testforumforggp.forumtl.com/t1-your-first-subject
but when I added it to my forum:
http://ggpalace.forumotion.net/t1603-2013-sunny-s-birthday-message-thread
it doesn't
http://testforumforggp.forumtl.com/t1-your-first-subject
but when I added it to my forum:
http://ggpalace.forumotion.net/t1603-2013-sunny-s-birthday-message-thread
it doesn't
thefirstdanshin- Forumember
- Posts : 63
Reputation : 1
Language : English
Re: Can someone help analyze what this code is missing in my template...
Are your test forum and other forum the same versions?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can someone help analyze what this code is missing in my template...
yes both punbb can i let you do it sir? i don't know what to do already, all the things i do, still the same result
thefirstdanshin- Forumember
- Posts : 63
Reputation : 1
Language : English
Re: Can someone help analyze what this code is missing in my template...
Did you modify the template before you added this to it?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can someone help analyze what this code is missing in my template...
this is in my template sir i changed the code btw:
but still it won't work, it only works on my test forums >.<
- Code:
here's the new code:
<style>
i.red {
border: 1px solid #DDD;
padding: 6px;
color: #8F8F8F;
text-align: center;
margin-left: 190px;
margin-top: -50px;
position: absolute;
z-index: 999;
cursor: pointer;
}.post-options a[href*="&mode=quote"] {
z-index: 1 !important;
}
i.red:hover {
border-color: #CCC;
color: #777;
}.entry-content > div {
clear: both;
}
.pun .post {
border-width: 0 0 1px;
}.postfoot {
border: none;
margin-left: 0;
}.pun #main .main-content.topic {
padding: 10px !important;
margin: 0;
border: 1px solid #DDD !important;
background: white !important;
border-radius: 4px;
}.maii {
background: #FAFAFA !important;
border: 1px solid #DDD !important;
border-radius: 4px;
}
.main .main-head.crumbb {
border: 0;
border-bottom: 1px solid #EAEAEA;
background: whiteSmoke url("http://i16.servimg.com/u/f16/15/23/22/46/highli11.png") repeat-x 0 0;
color: #333;
padding: 7px;
font-size: 12px;
font-weight: 300;
-moz-border-radius: 4px 4px 0 0;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-radius: 4px 4px 0 0;
overflow: hidden;
box-shadow: none;
}
.pun .post .user {
margin-top: 0;
}b.username {
width: 17em;
display: inline-block;
float: left;
font-size: 12px;
}
.pun .postmain {
margin-left: 0;
position: relative;
border-left: 0;
}
.pun .postmain .user {
margin-left: 0;
float: left;
width: 100%;
background: #F7F7F7;
border-bottom: 1px solid #DDD;
height: 150px;
}
.pun .postmain .user .user-ident {
display: block;
float: left;
padding: 10px;
padding-top: 0;
}
.pun .postmain .user .user-basic-info a img {
width: 120px;
height: 120px;
padding: 5px;
background: white;
border-radius: 4px;
border: 1px solid #DDD;
}
.pun .postmain .user .user-info {
display: block;
float: right;
padding: 10px;
}
.pun .postmain .user .user-basic-info {
display: table;
}
.pun .postmain .user .user-basic-info a {
display: table-cell;
}
.pun .postmain .user .user-basic-info .rankn {
top: -97px;
position: relative;
padding: 10px;
display: block;
}.rightpost ul {
list-style: none;
}
b.username strong {
float: none !important;
color: #444;
font-size: 12px;
}
.pun .posthead {
border-top: 1px solid #D7D7D7;
border-bottom: 1px solid #D7D7D7;
background: #E6E6E6 url('http://i16.servimg.com/u/f16/15/23/22/46/highli10.png') repeat-x 0 0;
padding: 0 10px;
height: 36px;
line-height: 36px;
font-weight: normal;
font-size: 10px;
text-shadow: rgba(255, 255, 255, 0.9) 0px 1px 0px;
color: #777;
}
.pun .posthead a {
color: #444;
}
.pun .main.paged p.optionss {
position: fixed;
bottom: 40px;
right: 10px;
padding: 10px;
background: rgba(0, 0, 0, 0.83);
border: 2px solid #A2A2A2;
border-radius: 4px;
z-index: 1000;
}
.user-basic-info {
text-align: center;
}
.user-info hr {
border: none;
}
span.showST {
display: none;
}
.crumbs img {
vertical-align: middle;
}
.crumbs {
text-align: right;
}
span.left, .crumbs a, a.exthelp {
font: 11px solid helvetica,arial,sans-serif;
text-shadow: none;
color: #333 !important;
line-height: 20px;
}.pun .post {
border: none;
}.posthead[style="background-color:#dfedd1;"] {
text-shadow: rgba(255, 255, 255, 0.8) 0px 1px 0px;
border: 1px solid #ACCF8B;
color: #436500;
border-width: 1px 0;
}
.posthead[style="background-color:#dfedd1;"]::after {
content: "✓ Câu trả lời hay nhất";
float: right;
border: 1px solid #ACCF8B;
color: #436500;
background-color: #DFEDD1;
line-height: 17px;
padding: 3px 5px;
border-radius: 0 0 3px 3px;
border-top: 0;
}
.post-entry img {
}
.sttonoff {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/post_o10.png') no-repeat center;
height: 7px;
width: 7px;
display: inline-block;
margin: 0 4px;
}
.postmain {
margin-left: 0;
position: relative;
border-left: 0;
}
.postmain .user {
margin-left: 0;
float: left;
width: 100%;
background: #F7F7F7;
border-bottom: 1px solid #DDD;
height: 150px;
}
.postmain .user .user-ident {
display: block;
float: left;
padding: 10px;
padding-top: 0;
}
.postmain .user .user-basic-info a img {
width: 120px;
height: 120px;
padding: 5px;
background: white;
border-radius: 4px;
border: 1px solid #DDD;
}
.postmain .user .user-info {
display: block;
float: right;
padding: 10px;
}
.postmain .user .user-basic-info {
display: table;
}
.postmain .user .user-basic-info a {
display: table-cell;
}
.postmain .user .user-basic-info .rankn {
top: -97px;
position: relative;
padding: 10px;
display: block;
}.rightpost ul {
list-style: none;
}
.rightpost {
float: right;
}
.sig-content {
border-top: 1px dashed #CCC;
margin-top: 10px;
padding-top: 0 !important;
}
.i_icon_edit, .i_icon_delete {
height: 12px;
width: 12px;
border-radius: 3px;
border: 1px solid #BBB !important;
margin: 2px;
box-shadow: inset -1px 1px 8px rgba(0, 0, 0, 0.14);
padding: 4px;
}
.an {
display: none;
position: absolute;
background: #333;
color: white;
padding: 5px;
border-radius: 4px;
margin-left: 5px;
}.leftarrow {
background: url('http://i16.servimg.com/u/f16/15/23/22/46/ar10.png');
height: 7px;
width: 4px;
margin-left: -9px;
display: inline-block;
margin-right: 5px;
}
.rightpost li:hover span.an {
display: inline-block;
}
.pun #main #forum_rules .main-content.frm {
border-width: 0 5px;
border-radius: 0;
margin-bottom: 0;
}
#pun-qpost .main-head {
display: none;
}
#pun-qpost .main-content.frm {
border-width: 0px 5px 5px;
}#pun-qpost {
margin-top: 0 !important;
}#pun-qpost {
margin-top: 0 !important;
}
.post-entry .vote-bar {
}
#vote1 {
width: 120px;
position: relative;
display: block;
}#vote1 .vote-bar {
margin: 0;
border: none;
height: 20px;
width: 100px;
overflow: hidden;
}
#vote1 .vote-bar img {
position: absolute;
top: 0;
left: 0;
}
#vote1 .vote-bar-plus {
height: 20px;
display: inline-block;
}
/*---mod chống copy---*/
.pun .entry-content {
padding: .8em;
}
.main-head.crumbb + .post .postmain .NotCopy {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
background: transparent;
}
.postmain a, .entry-content table a:link, .quote, .codebox {
z-index: 3 !important;
position: relative;
}
/*---mod chống copy---*/
</style>
<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>
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<ul>
<!-- BEGIN switch_plus_menu -->
<li>
<script type="text/javascript">//<![CDATA[
var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}';
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</li>
<!-- END switch_plus_menu -->
<li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li>
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<!-- BEGIN watchtopic -->
<li>{S_WATCH_TOPIC}</li>
<!-- END watchtopic -->
</ul>
</div>
<!-- END switch_user_logged_in -->
<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>
</div>
{POLL_DISPLAY}
<div class="main-content topic"><div class="maii">
<div class="main-head crumbb clearfix">
<p class="h2">
<p class="crumbs"><span class="left"></span>
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} »
<strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
</p>
</p>
</div>
<!-- BEGIN postrow -->
<!-- BEGIN displayed -->
<div class="post number{postrow.displayed.COUNT_POSTS}" id="pst{postrow.displayed.U_POST_ID}">
<div id="p{postrow.displayed.U_POST_ID}" class="posthead" {postrow.displayed.THANK_BGCOLOR}>
<h2>
<strong>{postrow.displayed.COUNT_POSTS}</strong>
<b class="username"><span class="sttonoff">{postrow.displayed.ONLINE_IMG}</span>{postrow.displayed.POSTER_NAME}</b> Post {postrow.displayed.POST_DATE_NEW}
</h2>
</div>
<a name="{postrow.displayed.U_POST_ID}"></a>
<div class="postmain">
<div class="postbody">
<div class="user">
<div class="user-ident">
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}<br />
<span class="rankn"> <b class="username"><span class="first sttonoff">{postrow.displayed.ONLINE_IMG}</span>{postrow.displayed.POSTER_NAME}</b><br/>{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</span>
</div>
</div>
<div class="user-info">
<!-- BEGIN profile_field -->
<span class="fmviTT">{postrow.displayed.profile_field.LABEL}<span class="fmviZZ">{postrow.displayed.profile_field.CONTENT}</span></span>{postrow.displayed.profile_field.SEPARATOR}
<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
<!-- BEGIN switch_vote_active -->
<div id="vote{postrow.displayed.COUNT_POSTS}" class="vote top gensmall">
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<img src="http://i16.servimg.com/u/f16/15/23/22/46/sad10.png" />
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="width:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div><div class="vote-bar-plus" style="width:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar"><img src="http://i14.servimg.com/u/f14/18/03/78/12/startr10.png" /></div>
<!-- END switch_no_bar -->
</div>
<!-- END switch_vote_active -->
</div>
</div>
<div class="post-entry" id="box{postrow.displayed.U_POST_ID}">
<div class="entry-content"><div class="rightpost"><ul><li>{postrow.displayed.DELETE_IMG}<span class="editt an"><i class="leftarrow"></i>Xóa bài viết</span></li><li>{postrow.displayed.EDIT_IMG}<span class="eidt an"><i class="leftarrow"></i>Sửa bài viết</span> </li></ul></div><div class="NotCopy"></div>
<!-- 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>{postrow.displayed.MESSAGE}</div>
<!-- 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>
{postrow.displayed.EDITED_MESSAGE}
</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">
{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">
{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
</div>
<div style="clear:both;"></div>
</div>
</div>
</div>
<!-- BEGIN first_post_br -->
<hr id="first-post-br" />
<!-- END first_post_br -->
<!-- END displayed -->
<!-- BEGIN hidden -->
<p class="p-hidden">{postrow.hidden.MESSAGE}</p>
<!-- END hidden -->
<!-- END postrow -->
</div></div>
<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 --> <p class="optionss">
{S_TOPIC_ADMIN} </p>
<!-- END viewtopic_bottom -->
<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>
<!-- 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>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->
<div id="pun-info" class="main">
<div class="main-content">
<div id="stats">
<p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p>
</div>
</div>
</div>
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<script src="http://www.appelsiini.net/projects/lazyload/jquery.lazyload.js" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function() {
$("img").lazyload();
});
</script>
but still it won't work, it only works on my test forums >.<
thefirstdanshin- Forumember
- Posts : 63
Reputation : 1
Language : English
Re: Can someone help analyze what this code is missing in my template...
Try this:
Add the CSS code to the top of the CSS stylesheet.
Add the CSS code to the top of the CSS stylesheet.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can someone help analyze what this code is missing in my template...
slgray: i added it already, no good
thefirstdanshin- Forumember
- Posts : 63
Reputation : 1
Language : English
Re: Can someone help analyze what this code is missing in my template...
Do you have the yes box checked for optimized CSS? Check the no box.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Template section missing
» Scroll bar missing from Invision template?
» Location to place hit counter code in "overall footer" code template?
» Template code
» code template new
» Scroll bar missing from Invision template?
» Location to place hit counter code in "overall footer" code template?
» Template code
» code template new
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum