vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - Bookmarks & Tags (https://vborg.vbsupport.ru/showthread.php?t=208186)

Yenimuhendis 03-12-2009 10:00 PM

Bookmarks & Tags
 
1 Attachment(s)
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

Installation

Open SHOWTHREAD template

Find:

Quote:

$poll
Add above :

Quote:

<!--bookmarks &amp; 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] &amp; $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 &amp; tags -->
Find and remove:

Quote:

<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.

Jasem 03-15-2009 03:41 PM

Good work, thank you

Yenimuhendis 03-17-2009 06:40 AM

Thnx for your comment :)

Fırtına 03-27-2009 07:15 PM

Thanks,
Teşekkürler şablonda değişiklik başarılı sonuçlandı, Postbit'in altına indirmeye çalışacağım editörün üst kısmına daha yakışacak umarım...

oguzdinc 08-31-2009 10:49 AM

I use 3.8.4 but could not activate the bookmarks and tags. I loaded a new template bookmarks are shown at the end of the messages. And tags also shown. But in my default template it does not work. Here is a link http://www.madenciyim.com/forums/sho...0201#post10201

Please help me

Cerbero1000 10-19-2009 04:21 PM

Any way to have tags inside the first message? That's cool!


All times are GMT. The time now is 02:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01221 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete