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 - Showthread Information (https://vborg.vbsupport.ru/showthread.php?t=213702)

powerful_rogue 05-13-2009 09:00 PM

Showthread Information
 
1 Attachment(s)
A simple template edit that adds the thread name, number of views and replies at the top of each thread.

Can be fully customised Eg Image, text and size

Ive added a two screenshots. The first one is what you will achieve once installed, the second is how I customised it to look on my forum - My forum is based around a ship, so hopefully will make more sense!

Works fully on 3.6 , 3.7 and 3.8

Daniel_HBK 05-14-2009 09:33 PM

very good hack,

thank you :)

Brandon Sheley 05-14-2009 11:12 PM

ah, nice idea
I'll bookmark this one, may add something like it later

SpeedyHire 05-17-2009 01:21 PM

looks good
nice little mod:)
how can i add colour to it????

powerful_rogue 05-19-2009 05:34 AM

Just add the bgcolor="blue" etc to the code.

http://www.tizag.com/htmlT/bgcolor.php

SpeedyHire 06-04-2009 07:50 AM

works well
thank you

marshal_ramdev 06-09-2009 03:54 PM

thank you

SirHappy 06-20-2009 02:22 PM

thx. nice works

COL NIL SATIS 01-02-2010 06:01 PM

thanks..works well..installs

sinpin 07-05-2010 07:45 AM

good idea, thanks

klaush 07-05-2010 02:09 PM

Simple but great!

Thanks!

klaush 07-05-2010 02:18 PM

One more..., could we ad in another line the active users in the thread information?

farazfaraz 07-07-2010 08:43 PM

1 Attachment(s)
good but very big
i edit id....


https://vborg.vbsupport.ru/attachmen...1&d=1278542794


PHP Code:

<table align="center" border="0" cellspacing="0" cellpadding="$stylevar[cellpadding]width="85%" style="border:1px solid $stylevar[tborder_bgcolor];">
        <
tr>            
            <
td class="alt1" width="90" rowspan="2" valign="bottom" style="border-right:1px $stylevar[tborder_bgcolor] solid;"><img src="$stylevar[imgdir_misc]/info.png" alt="$thread[title]width="50" height="40" /></td>
            <
td class="alt2" width="100%" style="padding-left:5px;padding-right:5px;" valign="middle">
                
<if 
condition="$thread[threaddesc]"><div style="font-size: 100%; text-align: center;"><i>$thread[threaddesc]</i></div></if>
<
div style="font-size: 95%; text-align: center;"><b>&#1575;طلاعات موضوع:</b> این موضوع $thread[replycount] پاسخ داده شده است و  $thread[views] مشاهده شده است!</div>
            
</td>
        </
tr></table>
 <
br /> 



All times are GMT. The time now is 02:11 PM.

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.01949 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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