Yenimuhendis
03-12-2009, 10:00 PM
What Does This Hack Do?
This very simple template hack moves the Social Bookmarks and Tags from the bottom of a thread to the top.
Demo: http://www.makineforumu.net/forum/site-anketi-t4.html
recommed to use with Compact Bookmarks Box (https://vborg.vbsupport.ru/showthread.php?t=178517)
Installation
Open SHOWTHREAD template
Find:
$poll
Add above :
<!--bookmarks & tags -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<strong>$vbphrase[bookmarks] & $vbphrase[tags]</strong>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td align="center">
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<tr>
<td align="left" width="50%">
<if condition="$bookmarksites">
<!-- social bookmarking links -->
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center">
<tr>
<td class="thead">$vbphrase[bookmarks]</td>
</tr>
<tr>
<td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
</tr>
</table>
<!-- / social bookmarking links -->
</if>
</td>
<td align="left" width="50%">
<if condition="$show['tag_box']">
<!-- thread tags -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<if condition="$show['manage_tag']"><div style="float: $stylevar[right]" class="normal">
<a href="threadtag.php?$session[sessionurl]t=$thread[threadid]" id="tag_edit_link">$vbphrase[edit_tags]</a>
</div></if>
<a name="taglist"></a>
<a href="tags.php$session[sessionurl_q]">$vbphrase[tags]</a>
</td>
</tr>
<tr>
<td class="alt1 smallfont" id="tag_list_cell">$tag_list</td>
</tr>
</table>
<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
<!-- / thread tags -->
</if>
</td>
</tr>
</table>
</tbody>
</table>
<br />
<!--bookmarks & tags -->
Find and remove:
<if condition="$bookmarksites">
<!-- social bookmarking links -->
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center">
<tr>
<td class="thead">$vbphrase[bookmarks]</td>
</tr>
<tr>
<td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
</tr>
</table>
<!-- / social bookmarking links -->
</if>
<if condition="$show['tag_box']">
<!-- thread tags -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<if condition="$show['manage_tag']"><div style="float: $stylevar[right]" class="normal">
<a href="threadtag.php?$session[sessionurl]t=$thread[threadid]" id="tag_edit_link">$vbphrase[edit_tags]</a>
</div></if>
<a name="taglist"></a>
<a href="tags.php$session[sessionurl_q]">$vbphrase[tags]</a>
</td>
</tr>
<tr>
<td class="alt1 smallfont" id="tag_list_cell">$tag_list</td>
</tr>
</table>
<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
<!-- / thread tags -->
</if>
thats all.
This very simple template hack moves the Social Bookmarks and Tags from the bottom of a thread to the top.
Demo: http://www.makineforumu.net/forum/site-anketi-t4.html
recommed to use with Compact Bookmarks Box (https://vborg.vbsupport.ru/showthread.php?t=178517)
Installation
Open SHOWTHREAD template
Find:
$poll
Add above :
<!--bookmarks & tags -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<strong>$vbphrase[bookmarks] & $vbphrase[tags]</strong>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td align="center">
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<tr>
<td align="left" width="50%">
<if condition="$bookmarksites">
<!-- social bookmarking links -->
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center">
<tr>
<td class="thead">$vbphrase[bookmarks]</td>
</tr>
<tr>
<td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
</tr>
</table>
<!-- / social bookmarking links -->
</if>
</td>
<td align="left" width="50%">
<if condition="$show['tag_box']">
<!-- thread tags -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<if condition="$show['manage_tag']"><div style="float: $stylevar[right]" class="normal">
<a href="threadtag.php?$session[sessionurl]t=$thread[threadid]" id="tag_edit_link">$vbphrase[edit_tags]</a>
</div></if>
<a name="taglist"></a>
<a href="tags.php$session[sessionurl_q]">$vbphrase[tags]</a>
</td>
</tr>
<tr>
<td class="alt1 smallfont" id="tag_list_cell">$tag_list</td>
</tr>
</table>
<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
<!-- / thread tags -->
</if>
</td>
</tr>
</table>
</tbody>
</table>
<br />
<!--bookmarks & tags -->
Find and remove:
<if condition="$bookmarksites">
<!-- social bookmarking links -->
<br />
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center">
<tr>
<td class="thead">$vbphrase[bookmarks]</td>
</tr>
<tr>
<td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
</tr>
</table>
<!-- / social bookmarking links -->
</if>
<if condition="$show['tag_box']">
<!-- thread tags -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<if condition="$show['manage_tag']"><div style="float: $stylevar[right]" class="normal">
<a href="threadtag.php?$session[sessionurl]t=$thread[threadid]" id="tag_edit_link">$vbphrase[edit_tags]</a>
</div></if>
<a name="taglist"></a>
<a href="tags.php$session[sessionurl_q]">$vbphrase[tags]</a>
</td>
</tr>
<tr>
<td class="alt1 smallfont" id="tag_list_cell">$tag_list</td>
</tr>
</table>
<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
<!-- / thread tags -->
</if>
thats all.