DevOne5555 |
06-29-2011 09:23 PM |
Move the Tag Box above Quick Reply
For some reason on 4.x Internet Brands decided to move the Tag Box after Quick Reply. I have Similar Threads enabled, so thread tags are virtually hidden at the bottom of my showthread template. I found the code for the tag box:
Code:
<vb:if condition="$show['tag_box']">
<h4 class="threadinfohead blockhead">{vb:rawphrase tags_for_this_thread}</h4>
<div id="thread_tags_list" class="thread_info_block blockbody formcontrols">
<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>
However when I move it from its default position, after:
Code:
{vb:raw similarthreads}
{vb:raw template_hook.showthread_after_activeusers}
I get this:
https://vborg.vbsupport.ru/external/2011/06/7.png
I can't figure out why it's showing the popupctrl dropdown and top button in the tag box header, and I can't seem to find the code in showthread that controls their placement. Ideally I'd like to have those two items display inline, to the left of the inline mod tools dropdown:
https://vborg.vbsupport.ru/external/2011/06/8.png
However if that's too complicated I'm willing to settle for having them not stuck inside the Tag Box header.
How do I do this?
--------------- Added [DATE]1309386345[/DATE] at [TIME]1309386345[/TIME] ---------------
Here is my entire showthread template, without the Tag Box code moved:
Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" 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}<vb:if condition="$pagenumber > '1'"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
<link rel="canonical" href="{vb:raw thread_url}" />
<vb:if condition="$show['reputation']">
<script type="text/javascript" src="clientscript/vbulletin-ajax-reputation.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
<vb:if condition="$show['quickedit'] OR $show['quickreply']">
<script type="text/javascript" src="clientscript/vbulletin_textedit.js?v={vb:raw vboptions.simpleversion}"></script>
<vb:if condition="$show['postloader_js']">
<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
</vb:if>
<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']">
{vb:cssfile showthread-rollup.css}
<vb:else />
{vb:cssfile toolsmenu.css,postlist.css,showthread.css,postbit.css,options.css,attachment.css,poll.css,lightbox.css}
</vb:if>
<!--[if lt IE 8]>{vb:cssfile toolsmenu-ie.css,postlist-ie.css,showthread-ie.css,postbit-ie.css,poll-ie.css}<![endif]-->
{vb:raw headinclude_bottom}
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
</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="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}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>
<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 thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
<vb:if condition="$show['fb_likebutton']">
{vb:raw fblikebutton}
</vb:if>
</h1>
</div>
<!-- Start Forum tcat Heading ForumThemes -->
<div class="tcatBar">
<div class="tcatLeft"><div class="tcatRight foruminfo L1 collapse">
<div id="thread_controls" class="tcat_threadlist_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>
{vb:raw template_hook.threadtoolbar}
<li class="popupmenu" id="threadtools">
<h6><a class="popupctrl" href="javascript://">{vb:rawphrase thread_tools}</a></h6>
<ul class="popupbody popuphover">
<li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}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="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}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="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}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="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}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="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}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 menusearch" 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 class="submitoptions"> </div>
<div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}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>
<div class="popupbody popuphover">
<form action="threadrate.php" method="post" id='showthread_threadrate_form'>
<ul>
<li id="threadrating_current"<vb:if condition="!$show['rating']">class="hidden"</vb:if> title="{vb:rawphrase thread_rating_x_votes_y_average, {vb:raw thread.votenum}, {vb:raw thread.voteavg}}"><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">
{vb:stylevar dirmark}<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_{vb:stylevar right}">
{vb:stylevar dirmark}<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_{vb:stylevar right}">
{vb:stylevar dirmark}<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_{vb:stylevar right}">
{vb:stylevar dirmark}<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_{vb:stylevar right}">
{vb:stylevar dirmark}<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>
</div>
<script type="text/javascript">
<!--
vB_AJAX_ThreadRate_Init('showthread_threadrate_form', {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>
|