View Full Version : [HELP] Hiển thị kết quả trang bị lỗi
bavuongduongpho
27-12-2010, 01:01 AM
demo: http://itvnn.net/attachment.php?attachmentid=2123&stc=1&d=1293386438
các bạn giúp mình với
bavuongduongpho
27-12-2010, 08:42 PM
sao chẳng ai giúp mình vậy nhĩ:MatCuoi (8):
Tiểu Bá Vương 1404
27-12-2010, 09:58 PM
Bình tĩnh men! Bạn co mình xem code SHOWTHREAD được không.
Nếu cái này không có trong showthread thì bị trong StyleVars, hoặc do lỗi độ phân giải màn hình.
bavuongduongpho
28-12-2010, 02:32 AM
SHOWTHREAD của mình nè
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" <vb:if condition="!is_browser('ie') OR is_browser('ie',8)"> dir="{vb:stylevar textdirection}"</vb:if> lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
<meta name="description" content="{vb:raw thread.meta_description}" />
<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}</title>
<vb:if condition="$show['reputation']">
<script type="text/javascript" src="clientscript/vbulletin-ajax-reputation.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<script type="text/javascript" src="clientscript/vbulletin_textedit.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v={vb:raw vboptions.simpleversion}"></script>
<vb:if condition="$show['threadrating']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_threadrate.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<vb:if condition="$show['multiquote_global']">
<script type="text/javascript" src="clientscript/vbulletin_multi_quote.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<vb:if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<vb:if condition="$show['quickreply']">
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<vb:if condition="$show['manage_tag']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<vb:if condition="$show['lightbox']">
<script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<vb:if condition="$vboptions['storecssasfile']">
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}showthread-rollup.css" />
<vb:else />
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}postlist.css,showthread.css,postbit.css, attachment.css,poll.css,lightbox.css" />
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body<vb:if condition="$onload"> onload="{vb:raw onload}"</vb:if>>
{vb:raw header}
{vb:raw navbar}
{vb:raw template_hook.showthread_above_posts}
{vb:raw poll}
<div id="above_postlist" class="above_postlist">
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"
class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a><vb:else />{vb:rawphrase closed_thread}</vb:if></a>
<img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" />
</vb:if>
<div id="pagination_top" class="pagination_top">
<vb:if condition="$pagenav">
{vb:raw pagenav}
</vb:if>
<div id="postpagestats_above" class="postpagestats">
{vb:rawphrase showing_results_x_to_y_of_z, {vb:raw pagenumbers.first}, {vb:raw pagenumbers.last}, {vb:raw totalposts}}
</div>
</div>
</div>
<div id="pagetitle" class="pagetitle">
<h1>{vb:rawphrase thread}: <span class="threadtitle"><a href="{vb:raw relpath}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span></h1>
</div>
<div id="thread_controls" class="thread_controls">
<div>
<ul id="postlist_popups" class="postlist_popups popupgroup">
<vb:if condition="$show['firstunreadlink']">
<li class="popupmenu"><h6><a class="firstunread" href="{vb:raw firstunread}">{vb:rawphrase view_first_unread} </a></h6></li>
</vb:if>
<li class="popupmenu nohovermenu" id="threadtools">
<h6><a class="popupctrl" href="javascript://">{vb:rawphrase thread_tools}</a></h6>
<ul class="popupbody popuphover">
<li><a href="printthread.php?{vb:raw session.sessionurl}t={vb:raw threadid}<vb:if condition="$perpage">&pp={vb:raw perpage}</vb:if><vb:if condition="$pagenumber">&page={vb:raw pagenumber}</vb:if>" accesskey="3"
rel="nofollow">{vb:rawphrase show_printable_version}</a></li>
<li><a href="sendmessage.php?{vb:raw session.sessionurl}do=sendtofriend&t={vb:raw threadid}"
rel="nofollow">{vb:rawphrase email_this_page}…</a></li>
<li>
<vb:if condition="$show['subscribed']">
<a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&t={vb:raw threadid}"
rel="nofollow">{vb:rawphrase unsubscribe_from_this_thread}</a>
<vb:else />
<a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&t={vb:raw threadid}"
rel="nofollow">{vb:rawphrase subscribe_to_this_thread}…</a>
</vb:if>
</li>
<vb:if condition="$show['addpoll']">
<li><a href="poll.php?{vb:raw session.sessionurl}do=newpoll&t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}…</a></li>
</vb:if>
</ul>
</li>
<vb:if condition="$show['adminoptions']">
<li class="popupmenu" id="moderationtools">
<h6><a class="popupctrl" href="javascript://">{vb:rawphrase administrative}</a></h6>
<form action="postings.php" method="post">
<ul class="popupbody popuphover">
<vb:if condition="$show['openclose']">
<li><label>
<input type="radio" name="do" value="openclosethread" checked="checked" tabindex="1" />
<vb:if condition="$show['closethread']">{vb:rawphrase close_thread}<vb:else />{vb:rawphrase open_thread}</vb:if>
</label></li>
</vb:if>
<vb:if condition="$show['moderatethread']">
<li><label>
<input type="radio" name="do" value="moderatethread" tabindex="2" />
<vb:if condition="$show['approvethread']">{vb:rawphrase approve_thread}<vb:else />{vb:rawphrase unapprove_thread}</vb:if>
</label></li>
</vb:if>
<vb:if condition="$show['movethread']">
<li><label><input type="radio" name="do" value="movethread" tabindex="3" /> {vb:rawphrase move_thread}…</label></li>
<li><label><input type="radio" name="do" value="copythread" tabindex="4" /> {vb:rawphrase copy_thread}…</label></li>
</vb:if>
<vb:if condition="$show['editthread']">
<li><label><input type="radio" name="do" value="editthread" tabindex="5" /> {vb:rawphrase edit_thread}…</label></li>
</vb:if>
<vb:if condition="$show['deletethread']">
<li><label><input type="radio" name="do" value="deletethread" tabindex="6" /> {vb:rawphrase delete_thread}…</label></li>
</vb:if>
<vb:if condition="$show['managethread']">
<li><label>
<input type="radio" name="do" value="stick" tabindex="7" />
<vb:if condition="$show['unstick']">{vb:rawphrase unstick_thread}<vb:else />{vb:rawphrase stick_thread}</vb:if>
</label></li>
<li><label><input type="radio" name="do" value="mergethread" tabindex="8" /> {vb:rawphrase merge_threads}…</label></li>
<li><label><input type="radio" name="do" value="removeredirect" tabindex="9" /> {vb:rawphrase remove_redirects}</label></li>
</vb:if>
<li class="formsubmit">
<input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" tabindex="10" />
<input class="button" type="reset" value="{vb:rawphrase reset}" tabindex="11" />
</li>
</ul>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="t" value="{vb:raw threadid}" />
<input type="hidden" name="pollid" value="{vb:raw pollid}" />
</form>
</li>
</vb:if>
<vb:if condition="$show['search']">
<li class="popupmenu searchthread" id="searchthread">
<h6><a class="popupctrl" href="javascript://">{vb:rawphrase search_thread}</a></h6>
<form action="search.php" method="post">
<ul class="popupbody popuphover">
<li>
<input type="text" name="query" class="searchbox" value="{vb:rawphrase search_dots}" tabindex="13" />
<input type="submit" class="button" value="{vb:rawphrase search}" tabindex="14" />
</li>
<li class="formsubmit">
<div><a class="advancedsearchlink" href="search.php?search_type=1&searchthreadid={vb:raw thread.threadid}&contenttype=vBForum_Post">{vb:rawphrase advanced_search}</a></div>
</li>
</ul>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="{vb:raw thread.threadid}" />
<input type="hidden" name="search_type" value="1" />
<input type="hidden" name="contenttype" value="vBForum_Post" />
</form>
</li>
</vb:if>
<vb:if condition="$show['threadrating']">
<li class="popupmenu" id="threadrating">
<h6><a class="popupctrl" href="javascript://">{vb:rawphrase rate_this_thread}</a></h6>
<form action="threadrate.php" method="post" id='showthread_threadrate_form'>
<ul class="popupbody popuphover">
<li id="threadrating_current"<vb:if condition="!$show['rating']"> class="hidden"</vb:if>><label>
<span class="rating r{vb:raw thread.rating}">{vb:rawphrase current_rating}</span>
</label></li>
<vb:if condition="$show['ratethread']">
<li><label for="r5"><span class="rating r5">
<input type="radio" name="vote" value="5" id="r5" {vb:raw votechecked.5} tabindex="20" /> {vb:rawphrase excellent}
</span></label></li>
<li><label for="r4"><span class="rating r4">
<input type="radio" name="vote" value="4" id="r4" {vb:raw votechecked.4} tabindex="21" /> {vb:rawphrase good}
</span></label></li>
<li><label for="r3"><span class="rating r3">
<input type="radio" name="vote" value="3" id="r3" {vb:raw votechecked.3} tabindex="22" /> {vb:rawphrase average}
</span></label></li>
<li><label for="r2"><span class="rating r2">
<input type="radio" name="vote" value="2" id="r2" {vb:raw votechecked.2} tabindex="23" /> {vb:rawphrase bad}
</span></label></li>
<li><label for="r1"><span class="rating r1">
<input type="radio" name="vote" value="1" id="r1" {vb:raw votechecked.1} tabindex="24" /> {vb:rawphrase terrible}
</span></label></li>
<li class="formsubmit"><input type="submit" class="button" value="{vb:rawphrase vote_now}" tabindex="25" /></li>
<vb:else />
<li><label>{vb:rawphrase already_rated_this_thread}</label></li>
</vb:if>
</ul>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="t" value="{vb:raw threadid}" />
<input type="hidden" name="pp" value="{vb:raw perpage}" />
<input type="hidden" name="page" value="{vb:raw pagenumber}" />
</form>
<script type="text/javascript">
<!--
vB_AJAX_ThreadRate_Init('showthread_threadrate_for m', {vb:raw threadinfo.threadid});
//-->
</script>
</li>
</vb:if>
<vb:if condition="$vboptions['allowthreadedmode']">
<li class="popupmenu" id="displaymodes">
<h6><a class="popupctrl" href="javascript://">{vb:rawphrase display}</a></h6>
<ul class="popupbody popuphover">
<li><vb:if condition="!$show['linearmode']"><a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_linear}}#post{vb:raw FIRSTPOSTID}"> {vb:rawphrase switch_to_linear_mode}</a><vb:else /><label>{vb:rawphrase linear_mode}</label></vb:if></li>
<li><vb:if condition="!$show['hybridmode']"><a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_hybrid}}"> {vb:rawphrase switch_to_hybrid_mode}</a><vb:else /><label>{vb:rawphrase hybrid_mode}</label></vb:if></li>
<li><vb:if condition="!$show['threadedmode']"><a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_threaded}}#post{vb:raw FIRSTPOSTID}"> {vb:rawphrase switch_to_threaded_mode}</a><vb:else /><label>{vb:rawphrase threaded_mode}</label></vb:if></li>
</ul>
</li>
</vb:if>
<vb:if condition="$show['inlinemod']">
<li class="popupmenu" id="post_imodsel">
<h6><a class="popupctrl" href="javascript://">{vb:rawphrase inline_mod}</a></h6>
<ul class="popupbody popuphover">
<li><a href="javascript://" id="post_imodsel:all">{vb:rawphrase select_all}</a></li>
<li><a href="javascript://" id="post_imodsel:none">{vb:rawphrase deselect_all}</a></li>
<li><a href="javascript://" id="post_imodsel:invert">{vb:rawphrase invert_selection}</a></li>
<li> </li>
<li><a href="javascript://" id="post_imodsel:flag:1">{vb:rawphrase select_unapproved_posts}</a></li>
<li><a href="javascript://" id="post_imodsel:flag:2">{vb:rawphrase select_deleted_posts}</a></li>
<li><a href="javascript://" id="post_imodsel:flag:4">{vb:rawphrase select_posts_with_attachments}</a></li>
<li><a href="javascript://" id="post_imodsel:flag:8">{vb:rawphrase select_posts_from_guests}</a></li>
</ul>
</li>
</vb:if>
</ul>
</div>
</div>
<div id="postlist" class="postlist restrain">
<vb:if condition="$show['threadedmode'] OR $show['hybridmode']">
{vb:raw threadlist}
</vb:if>
<vb:if condition="$show['inlinemod']">
<form action="inlinemod.php?threadid={vb:raw threadinfo.threadid}&p={vb:raw postid}" method="post" id="inlinemodform" name="inlinemodform">
</vb:if>
<ol id="posts" class="posts" start="1">
{vb:raw postbits}
</ol>
<div class="separator"></div>
<div class="postlistfoot">
<vb:if condition="$show['inlinemod']">
<div id="inlinemod_formctrls" class="popupmenu">
<a href="javascript://" class="popupctrl"><span class="ctrlcontainer">{vb:rawphrase moderation_tools} (<span id="post_inlinemod_count">0</span>)</span></a>
<ul class="popupbody popuphover">
<vb:if condition="$show['managethread']">
<li><label><input type="radio" name="do" value="mergeposts" tabindex="31" /> {vb:rawphrase merge_posts}…</label></li>
<li><label><input type="radio" name="do" value="moveposts" tabindex="32" /> {vb:rawphrase move_posts}…</label></li>
<li><label><input type="radio" name="do" value="copyposts" tabindex="33" /> {vb:rawphrase copy_posts}…</label></li>
</vb:if>
<vb:if condition="$show['spamctrls']">
<li><label><input type="radio" name="do" value="spampost" tabindex="34" /> {vb:rawphrase delete_posts_as_spam}…</label></li>
</vb:if>
<vb:if condition="$show['managepost']">
<li><label><input type="radio" name="do" value="deleteposts" tabindex="35" /> {vb:rawphrase delete_posts}…</label></li>
<li><label><input type="radio" name="do" value="undeleteposts" tabindex="36" /> {vb:rawphrase undelete_posts}</label></li>
</vb:if>
<vb:if condition="$show['approvepost']">
<li><label><input type="radio" name="do" value="approveposts" tabindex="37" /> {vb:rawphrase approve_posts}</label></li>
<li><label><input type="radio" name="do" value="unapproveposts" tabindex="38" /> {vb:rawphrase unapprove_posts}</label></li>
</vb:if>
<vb:if condition="$show['approveattachment']">
<li><label><input type="radio" name="do" value="approveattachments" tabindex="39" /> {vb:rawphrase approve_attachments}</label></li>
<li><label><input type="radio" name="do" value="unapproveattachments" tabindex="40" /> {vb:rawphrase unapprove_attachments}</label></li>
</vb:if>
<li><label><input type="radio" name="do" value="viewpost" tabindex="41" /> {vb:raw vbphrase.view_selected_posts}</label></li>
<li><label><input type="radio" name="do" value="clearpost" tabindex="42" /> {vb:raw vbphrase.clear_post_list}</label></li>
{vb:raw template_hook.inlinemod_post_bottom}
<li class="formsubmit">
<input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" tabindex="43" />
</li>
</ul>
</div>
</vb:if>
</div>
<vb:if condition="$show['inlinemod']">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="threadid" value="{vb:raw threadinfo.threadid}" />
<input type="hidden" name="p" value="{vb:raw postid}" />
<input type="hidden" name="url" value="{vb:raw url}" />
</form>
</vb:if>
</div>
<div id="below_postlist" class="below_postlist">
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"
class="newcontent_textcontrol" id="newreplylink_bottom"
><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
</vb:if>
<div id="pagination_bottom" class="pagination_bottom">
<vb:if condition="$show['pagenav']">
{vb:raw pagenav}
</vb:if>
{vb:raw forumjump}
</div>
</div>
<vb:if condition="$show['multiquote_global']">
<!-- multiquote scripts -->
<script type="text/javascript">
<!--
var mqlimit = {vb:raw vboptions.mqlimit};
//-->
</script>
<!-- / multiquote scripts -->
</vb:if>
<vb:if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<div id="ajax_post_errors" class="hidden">
<div class="block">
<div class="blockhead floatcontainer">
<span class="blockhead_info"><input type="button" class="button" value=" X " id="quick_edit_errors_hide" tabindex="50" /></span>
<h2>{vb:rawphrase vbulletin_message}</h2>
</div>
<div class="blockbody">
<div id="ajax_post_errors_message" class="blockrow"> </div>
</div>
<div class="blockfoot">
<a href="#" id="quick_edit_errors_cancel" class="textcontrol">{vb:rawphrase cancel_changes}</a>
</div>
</div>
</div>
<!-- / ajax errors table -->
<!-- scripts for quick reply and quick edit -->
{vb:raw vBeditTemplate.clientscript}
<vb:if condition="$show['quickedit']">
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</vb:if>
<!-- / scripts for quick reply and quick edit -->
</vb:if>
<vb:if condition="$show['quickreply']">
<div id="qr_defaultcontainer" class="blockfoot floatcontainer<vb:if condition="$show['qr_require_click']"> qr_require_click</vb:if>">
<form class="vbform" name="quick_reply" id="quick_reply" method="post" action="newreply.php?do=postreply&t={vb:raw threadid}"
onsubmit="return qr_prepare_submit(this, {vb:raw vboptions.postminchars});">
<h3 id="quickreply_title" class="blockhead"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase quick_reply}" /> {vb:rawphrase quick_reply}<a name="quickreply"></a> <img style="display:none" id="progress_newreplylink_bottom" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" /></h3>
<div class="wysiwyg_block">
<div id="qr_error_tbody" class="blockbody errorblock hidden">
<h3 class="blocksubhead">{vb:rawphrase errors_occured_when_submitted}</h3>
<div class="blockrow error" id="qr_error_td"></div>
<div class="blockrow"><a href="javascript://" class="textcontrol" onclick="return qr_hide_errors()">{vb:rawphrase okay}</a></div>
</div>
<div class="blockbody formcontrols">
<div class="blockrow">
{vb:raw messagearea}
</div>
<vb:if condition="$bbuserinfo['signature']">
<div class="blockrow">
<ul class="checkradio group">
<li><label for="cb_signature">
<input type="checkbox" name="signature" id="cb_signature" value="1" checked="checked" tabindex="1" />
{vb:rawphrase show_your_signature}
</label></li>
</ul>
</div>
</vb:if>
</div>
<div class="blockfoot actionbuttons">
<div class="group">
<input type="submit" class="button" value="{vb:rawphrase post_quick_reply}" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="1" id="qr_submit" onclick="clickedelm = this.value" />
<input type="submit" class="button" value="{vb:rawphrase go_advanced}" accesskey="x" title="(Alt + X)" name="preview" tabindex="1" id="qr_preview" onclick="clickedelm = this.value" />
<input type="reset" id="qr_cancelbutton" class="button" style="display:none;" value="{vb:rawphrase cancel}" accesskey="c" title="(Alt + C)" name="cancel" tabindex="4" onclick="qr_reset();" />
</div>
</div>
<div id="qr_posting_msg" class="hidden">
<img src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase posting_quick_reply_please_wait}" /> <strong>{vb:rawphrase posting_quick_reply_please_wait}</strong>
</div>
</div>
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="{vb:raw threadid}" id="qr_threadid" />
<input type="hidden" name="p" value="{vb:raw qrpostid}" id="qr_postid" />
<input type="hidden" name="specifiedpost" value="0" id="qr_specifiedpost" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="loggedinuser" value="{vb:raw bbuserinfo.userid}" />
<input type="hidden" name="posthash" value="" />
<input type="hidden" name="poststarttime" value="" />
<vb:if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</vb:if>
</form>
</div>
</vb:if>
<vb:if condition="$show['next_prev_links']">
<!-- next / previous links -->
<div class="navlinks">
<strong>«</strong>
<a href="showthread.php?{vb:raw session.sessionurl}t={vb:raw threadid}&goto=nextoldest" rel="nofollow">{vb:rawphrase prev_thread}</a>
|
<a href="showthread.php?{vb:raw session.sessionurl}t={vb:raw threadid}&goto=nextnewest" rel="nofollow">{vb:rawphrase next_thread}</a>
<strong>»</strong>
</div>
<!-- / next / previous links -->
</vb:if>
<div id="thread_info" class="thread_info">
<vb:if condition="$show['activeusers']">
<h4 class="threadinfohead"><span class="optiontitle">{vb:rawphrase thread_information}</span></h4>
<div id="thread_onlineusers" class="thread_info_block">
<div class="inner_block">
<h5>{vb:rawphrase users_browsing_this_thread}</h5>
<div>
<p>{vb:rawphrase users_currently_browsing_x_y_z, {vb:raw totalonline}, {vb:raw numberregistered}, {vb:raw numberguest}}</p>
<ol class="commalist">
{vb:raw activeusers}
</ol>
</div>
</div>
</div>
</vb:if>
{vb:raw similarthreads}
{vb:raw template_hook.showthread_after_activeusers}
<vb:if condition="$show['tag_box']">
<h4 class="threadinfohead"><span class="optiontitle">{vb:rawphrase tags_for_this_thread}</span></h4>
<div id="thread_tags_list" class="thread_info_block">
<div class="inner_block">
<vb:if condition="$show['manage_tag']">
<a id="tag_edit_link" href="threadtag.php?{vb:raw session.sessionurl}t={vb:raw thread.threadid}" class="textcontrol" style="float:{vb:stylevar right}; font-size:11px; margin:10px;">{vb:rawphrase edit_tags}</a>
</vb:if>
<div id='tag_list_cell'>
{vb:raw tag_list}
</div>
<p>
<a href="tags.php{vb:raw session.sessionurl_q}">{vb:rawphrase view_tag_cloud}</a>
</p>
</div>
</div>
</vb:if>
<div class="options_block_container">
<vb:if condition="$bookmarksites">
<div class="options_block">
<h4><span class="optiontitle">{vb:rawphrase bookmarks}</span></h4>
<div id="social_bookmarks_list" class="thread_info_block">
<h5 class="blocksubhead">{vb:rawphrase bookmarks}</h5>
<ul class="icon_list">{vb:raw bookmarksites}</ul>
</div>
</div>
</vb:if>
<div class="options_block">
<h4 class="collapse">
<a class="collapse" id="collapse_posting_rules" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
<span class="optiontitle">{vb:rawphrase posting_rules}</span>
</h4>
<div id="posting_rules" class="thread_info_block">
{vb:raw forumrules}
</div>
</div>
</div>
</div>
<vb:if condition="$show['inlinemod']">
<script type="text/javascript">
<!--
vB_XHTML_Ready.subscribe(
function() { register_inlinemod("inlinemodform", "li", "postbitim", "post"); }
);
//-->
</script>
</vb:if>
<vb:if condition="$show['lightbox']">
<!-- lightbox scripts -->
<script type="text/javascript">
<!--
vBulletin.register_control("vB_Lightbox_Container", "posts", {vb:raw vboptions.lightboxenabled});
//-->
</script>
<!-- / lightbox scripts -->
</vb:if>
{vb:raw template_hook.showthread_below_posts}
{vb:raw footer}
</body>
</html>
Tiểu Bá Vương 1404
28-12-2010, 11:16 AM
Nếu lỗi xảy ra thì khu vực xảy ra lỗi là chổ này: (theo code của bạn)
<div id="pagination_top" class="pagination_top">
<vb:if condition="$pagenav">
{vb:raw pagenav}
</vb:if>
<div id="postpagestats_above" class="postpagestats">
{vb:rawphrase showing_results_x_to_y_of_z, {vb:raw pagenumbers.first}, {vb:raw pagenumbers.last}, {vb:raw totalposts}}
</div>
</div>
Còn mặc định là vầy
<div id="pagination_top" class="pagination_top">
<vb:if condition="$pagenav">
{vb:raw pagenav}
</vb:if>
<div id="postpagestats_above" class="postpagestats">
{vb:rawphrase showing_results_x_to_y_of_z, {vb:raw pagenumbers.first}, {vb:raw pagenumbers.last}, {vb:raw totalposts}}
</div>
</div>
Nhưng thực tình chẳng thấy lỗi gì, còn không nữa thì chỉ có trong showthread.css thôi.
Không biết bạn cài cái style này có đụng tới cái showthread.css không?
bavuongduongpho
28-12-2010, 02:42 PM
chẳng đụng j đến showthread.css hết bạn à. chả hiểu sao lại bị thế này?
còn cách nào khác nữa ko
Tiểu Bá Vương 1404
28-12-2010, 05:22 PM
Nếu không bị trong css thì lôi đâu ra đây?
Chắc bị lỗi độ phân giải màn hình! I think so!
bavuongduongpho
29-12-2010, 01:11 PM
sao chán vậy, chẳng ai giúp mình :MatCuoi (14):
HTT.itvn
30-12-2010, 01:06 AM
sao chán vậy, chẳng ai giúp mình :MatCuoi (14):
Em đang dùng VBB phiên bản bao nhiêu ?
Tiểu Bá Vương 1404
30-12-2010, 01:20 AM
4.0.2 đấy anh, em kiểm tra, thử code lẫn stylevar mà vẫn không ăn thua.
Thêm link: sonmyschool.com
HTT.itvn
30-12-2010, 01:31 AM
Nếu mỗi style này bị thì đơn giản thôi , nguyên do là tạo nút Gửi chủ đề mới thiếu hay thừa một cái gì đó ( thường thì không có thẻ đóng </a> ) dẫn đến Phân trang bị xuống dòng . Bạn kiểm tra lại code tạo nút Gửi chủ đề mới hoặc Coppy toàn bộ code file showthred.php của style mặc định rồi dán sang showthread.php của style bị lỗi là hết lỗi liền , rồi làm lại nút Tạo chủ đề mới ) .
bavuongduongpho
01-01-2011, 02:58 AM
Bạn kiểm tra lại code tạo nút Gửi chủ đề mới
anh Thanh ơi, em ko rành cái này, anh hướng dẫn cụ thể đi
Tiểu Bá Vương 1404
01-01-2011, 11:08 AM
Đây là code tạo button của bạn:
-Trên bài viết:
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"
class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw thread.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a><vb:else />{vb:rawphrase closed_thread}</vb:if></a>
<img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" />
</vb:if>
-Dưới bài viết:
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"
class="newcontent_textcontrol" id="newreplylink_bottom"
><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
</vb:if>
Lấy code của ITVNN chèn vào thử xem:
-Phần trên:
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="newcontent_textcontrol" id="newreplylink_top">
<vb:if condition="$show['closethread']">
<span>+</span> {vb:rawphrase reply_to_thread}
<vb:else />
{vb:rawphrase closed_thread}
</vb:if>
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top" style="margin-left:15px;"><span>+</span> {vb:rawphrase post_new_thread}</a></a>
<img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" />
</vb:if>
-Phần dưới:
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1" class="newcontent_textcontrol" id="newreplylink_bottom">
<vb:if condition="$show['closethread']">
<span>+</span> {vb:rawphrase reply_to_thread}
<vb:else />
{vb:rawphrase closed_thread}
</vb:if>
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top" style="margin-left:150px;"><span>+</span> {vb:rawphrase post_new_thread}</a></a>
</vb:if>
Chèn thì bạn chỉ việc thay chúng vào đúng chỗ code cũ là được.
bavuongduongpho
01-01-2011, 02:52 PM
hình như nguyên nhân không phải ở đó hay sao ý!
mình test 2 forum giống y chang code SHOWTHREAD mà 1 cái bị 1 cái ko bị:
cái này bị lỗi: http://sonmyschool.com/showthread.php?254-M%E1%BB%99T-ChUy%E1%BB%86n-T%C3%ACNh-c%E1%BB%A6a-Ng%C3%80y-x%C6%AFa-d%E1%BA%A4u-y%C3%8Au!&p=1137#post1137
cái này ko bị: http://tinhkyvip.tk/forum/showthread.php?3-SiteShoter-Ch%E1%BB%A5p-%E1%BA%A3nh-trang-web&p=13&styleid=7#post13
các bạn xem giùm với. cảm ơn các bạn nhiều nha!
HTT.itvn
01-01-2011, 02:56 PM
Em biết 1 cái không bị , sao em không coppy SHOWTHREAD từ cái khộng bị sang cái bị lỗi ( nhớ cùng phiên bản nhé ) . Bài viết trên anh đã nói cụ thể rồi .
Phân trang nằm ở SHOWTHREAD , nếu lỗi em tạm khóa tất cả các MOD rồi mở từng cái một xem MOD nào gây lỗi .
Tiểu Bá Vương 1404
01-01-2011, 03:00 PM
Cái style của site thứ hai của bạn bị lỗi hiển thị FORUMDISPLAY chỗ block rồi, cái style của 4.0.7 mà dùng với 4.1.0 thì phải convert.
bavuongduongpho
01-01-2011, 03:06 PM
Em biết 1 cái không bị , sao em không coppy SHOWTHREAD từ cái khộng bị sang cái bị lỗi ( nhớ cùng phiên bản nhé ) . Bài viết trên anh đã nói cụ thể rồi .
Phân trang nằm ở SHOWTHREAD , nếu lỗi em tạm khóa tất cả các MOD rồi mở từng cái một xem MOD nào gây lỗi .
anh Thanh ơi.
2 cái điều có code SHOWTHREAD giống nhau y hệt mà.
Tiểu Bá Vương 1404
01-01-2011, 03:08 PM
Vậy thì bạn gỡ style đấy ra, import lại file xml (đã cài cho forum không bị lỗi).
Nếu còn lỗi nữa thì chịu!
vuontinh
01-01-2011, 03:11 PM
những phiên bản vbb 4.x.x chạy trên trình duyệt ie đều bị lỗi hết bạn à
HTT.itvn
01-01-2011, 03:11 PM
anh Thanh ơi.
2 cái điều có code SHOWTHREAD giống nhau y hệt mà.
Em đã tạm đóng băng các MOD và mở tưng MOD 1 chưa ?
Thêm nữa , em cho anh cái style em đang dùng . Anh cài vào xem thế nào .
bavuongduongpho
01-01-2011, 03:16 PM
anh tải về test giúp em với!
bavuongduongpho
02-01-2011, 02:39 PM
anh T ơi, em nghĩ ko phải lỗi tại code showthread đâu trong box vẫn bị lỗi nè http://sonmyschool.com/forumdisplay.php?79-Avatar-KooL-%2841-47%29VSa
anh xem lý do tại sao vậy?
Tiểu Bá Vương 1404
02-01-2011, 02:57 PM
Vậy là bị cái mục trang rồi, mà hai site cùng một style, cái bị, cái không? Hàng công nghệ cũng biết nhìn mặt chủ?
bavuongduongpho
02-01-2011, 03:32 PM
Vậy là bị cái mục trang rồi, mà hai site cùng một style, cái bị, cái không? Hàng công nghệ cũng biết nhìn mặt chủ?
uh đúng rồi, chắc bị lỗi trang đó. bạn có cách khắc phục ko
Tiểu Bá Vương 1404
02-01-2011, 03:45 PM
...bạn có cách khắc phục ko
Nếu nó bị lỗi đồng bộ trên tất cả site cài cùng style đó thì còn dễ tìm hướng giải quyết, đằng này nó chỉ bị ở một site của bạn thì bó phép, làm hầu hết các phương pháp, từ chuẩn đoán đến sửa chữa đều vô hiệu thì hơi khó.
HTT.itvn
02-01-2011, 05:32 PM
anh T ơi, em nghĩ ko phải lỗi tại code showthread đâu trong box vẫn bị lỗi nè http://sonmyschool.com/forumdisplay.php?79-Avatar-KooL-%2841-47%29VSa
anh xem lý do tại sao vậy?
Rõ ràng anh có thấy lỗi gì đâu , em dùng IE mấy vậy ?
Nếu nó bị lỗi đồng bộ trên tất cả site cài cùng style đó thì còn dễ tìm hướng giải quyết, đằng này nó chỉ bị ở một site của bạn thì bó phép, làm hầu hết các phương pháp, từ chuẩn đoán đến sửa chữa đều vô hiệu thì hơi khó.
Như thế này cõn dễ phán đoán lỗi chứ , cả 2 cùng bị lỗi thì khó phán đoán hơn em ạ :MatCuoi (18):
bavuongduongpho
02-01-2011, 05:41 PM
Rõ ràng anh có thấy lỗi gì đâu , em dùng IE mấy vậy ?
anh đổi sang skin SonMyOnline sẽ 1.0 sẽ thấy
HTT.itvn
02-01-2011, 05:43 PM
anh đổi sang skin SonMyOnline sẽ 1.0 sẽ thấy
Em bật tính năng cho phép thành viên lựa chọn style đi .
bavuongduongpho
02-01-2011, 05:58 PM
em bậc rồi, anh giúp em với
HTT.itvn
02-01-2011, 06:03 PM
Để lại cho anh cái nick YH , anh vào làm việc trong AdmiCP là ra ngay thôi .
bavuongduongpho
02-01-2011, 06:07 PM
yahoo: quocadai1230
thank anh
HTT.itvn
02-01-2011, 06:25 PM
yahoo: quocadai1230
thank anh
Anh PM mãi thấy em có PM lại đâu .
bavuongduongpho
02-01-2011, 06:38 PM
nhầm: quocdai1230
xin lỗi anh nhá
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.