vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Thread Description (https://vborg.vbsupport.ru/showthread.php?t=127750)

TrucLinh 09-27-2006 10:00 PM

Thread Description
 
DL / Unpacking the attachment:

. UpLoad includes\xml\product-thread_description.xml
. UpLoad images\strela_w.gif

Installation Instructions:

. Login to Admin CP
. Choose Plugin System
. Choose [Add/Import Product]
. Choose product-thread_description.xml
. Click [ Import ]

Modify templates: (5 templates)

. Open
threadbit template, Find:
HTML Code:

            <if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
. Below add:
HTML Code:

            <if condition="$thread[description] != ''"> <img class="inlineimg" src="$stylevar[imagesfolder]/strela_w.gif" border="0" alt=""><span class="time"><em>$thread[description]</em></span> <br /> </if>

. Open
search_results_postbit template, Find:
HTML Code:

        <div class="smallfont" style="float:$stylevar[right]">
            $vbphrase[views]: <strong>$post[views]</strong>
        </div>

. Below add:
HTML Code:

        <if condition="$post[description] != ''">
        <div class="smallfont">
            $vbphrase[description]:
        <span class="time">$post[description]</span>
        </div>
        </if>


. Open
editpost template, Find:
HTML Code:

        <!-- subject field -->
        <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
        <tr>
            <td class="smallfont" colspan="3">$vbphrase[title]:</td>
        </tr>
        <tr>
            <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
            <td>&nbsp;&nbsp;</td>
            <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
        </tr>
        </table>
        <!-- / subject field -->

. Below add:
HTML Code:

        <if condition="$isfirstpost"><!-- description field -->
        <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
        <tr>
        <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td>
        </tr>
        <tr>
        <td>
        <input type="text" class="bginput" name="description" value="$description" size="50" maxlength="100" tabindex="1" title="$vbphrase[optional]" />
        <if condition="$vbulletin->GPC[advanced] OR $vbulletin->GPC[preview]"><input type="hidden" name="desc_adv" value="1" /></if>
        </td>
        </tr>
        </table>
        <!-- / description field --></if>


. Open
threadadmin_editthread template, Find:
HTML Code:

        <!-- subject field -->
        <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
        <tr>
            <td class="smallfont" colspan="3">$vbphrase[title]:</td>
        </tr>
        <tr>
            <td><input type="text" class="bginput" name="title" value="$threadinfo[title]" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
            <td>&nbsp;&nbsp;</td>
            <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
        </tr>
        </table>
        <!-- / subject field -->

. Below add:
HTML Code:

        <!-- description field -->
        <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px">
        <tr>
        <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td>
        </tr>
        <tr>
        <td><input type="text" class="bginput" name="description" value="$threadinfo[description]" size="50" maxlength="100" tabindex="1" /></td></tr>
        </table>
        <!-- / description field -->


. Open
newthread template, Find:
HTML Code:

        <!-- subject field -->
        <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
        <tr>
            <td class="smallfont" colspan="3">$vbphrase[title]:</td>
        </tr>
        <tr>
            <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
            <td>&nbsp;&nbsp;</td>
            <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>        </tr>
        </table>
        <!-- / subject field -->

. Below add:
HTML Code:

        <!-- description field -->
        <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
        <tr>
        <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td>
        </tr>
        <tr>
        <td><input type="text" class="bginput" name="description" value="$description" size="40" maxlength="100" tabindex="1" /></td></tr>
        </table>
        <!-- / description field -->

Thats all!

. Enjoy!

Ronak 09-28-2006 04:57 AM

awesome hack...was waiting for this ;)

MrNase 09-28-2006 06:53 AM

How does it differ from this one: https://vborg.vbsupport.ru/showthrea...ht=description ?

Snake 09-28-2006 08:19 AM

Hmm looks like it's all the same to me.

maidos 09-28-2006 09:01 AM

finally a mods for thread descriptions THANK YOU ^^

wonder if its possible to make the character more visible?

TrucLinh 09-28-2006 09:28 AM

You looking inside the Instructions before you g... say ok!

eXtremeTim files *.xml & Instructions Template changes are the same with my ?

Hmm you g... say you're a Coder!

Hmm how does it differ from Invision - ?

///////////////////////////////////////////////////////

I'm new here.

I want to learn, more then to talk!

I don't want to reply some... like this!

Ignore you g...

TrucLinh 09-28-2006 09:47 AM

Quote:

Originally Posted by maidos
finally a mods for thread descriptions THANK YOU ^^

wonder if its possible to make the character more visible?

It's ctrl by the CSS in side the Admin CP "change the css class 2 what [#xxxxxx] you need"
HTML Code:

<span class="time"><em>$thread[description]</em></span>
. Enjoy!

steelerwatch 09-28-2006 12:24 PM

Quote:

<if condition="$thread[description] != ''"> <img class="inlineimg" src="$stylevar[imagesfolder]/strela_w.gif" border="0" alt=""><span class="time"><em>$thread[description]</em></span> <br /> </if>
You should either provide that image or edit the code.

TrucLinh 09-28-2006 12:39 PM

Quote:

Originally Posted by steelerwatch
You should either provide that image or edit the code.

. ThankS!

drdeathuk69 09-28-2006 07:34 PM

I did as what was said and mine comes up ok but whats the image for? and where does it go

TrucLinh 09-28-2006 08:03 PM

Quote:

Originally Posted by drdeathuk69
I did as what was said and mine comes up ok but whats the image for? and where does it go

The img strela_w.gif go to your forum images dir.

Mecho 09-28-2006 08:10 PM

Tnx for this great and useful hack . it has many template edits but result r perfect :)

TrucLinh 09-28-2006 08:55 PM

Quote:

Originally Posted by Mecho
Tnx for this great and useful hack . it has many template edits but result r perfect :)


. Enjoy!

category 10-24-2006 07:32 PM

this hack doesnt work when you upload want to edit a post you made and save it it gives you : Table '----' doesn't exist

erjavid 11-18-2006 06:10 AM

very nice, but i have 1 request:
please read this:

https://vborg.vbsupport.ru/showthrea...04#post1119904

TrucLinh 11-19-2006 01:45 PM

Quote:

Originally Posted by erjavid (Post 1119905)
very nice, but i have 1 request:
please read this:

https://vborg.vbsupport.ru/showthrea...04#post1119904


. OK!

. Your request here

. Enjoy!

https://vborg.vbsupport.ru/showthrea...00#post1114500

KURTZ 12-02-2006 11:41 AM

nice hack :)

only a question: is it possibile to edit the description?

however INSTALED on 3.6.4

KURTZ 12-04-2006 01:57 PM

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE thread SET description = '' WHERE threadid = '63';

MySQL Error  : Table 'SqlXXXX_X.thread' doesn't exist
Error Number : 1146
Date        : Monday, December 4th 2006 @ 04:55:43 PM
Script      : http://www.XXXX.com/board/editpost.php?do=updatepost&p=192
Referrer    : http://www.XXXX.com/board/editpost.php?do=editpost&postid=192
IP Address  : XXXXXX
Username    : MR K
Classname    : vb_database

this happends when i try to edit (advanced) thread

PS. Kurtz clicks UNISTALL :(

sunnycher 12-04-2006 02:54 PM

Installed! Thanks :)

sally27 01-27-2007 10:26 PM

I have installed this hack countless times but for some reason the Image won't show up on the post. I'm stumped as I have checked to see if it's uploaded to the right directory etc and it is.

Help?

Mecho 05-16-2008 12:00 PM

it works well in 3.7 too :)

thanks

Gio Takahashi 05-22-2008 11:42 AM

Just installed this on VB 3.7. it works without a flaw.

demoniavbh 10-28-2008 11:22 AM

Quote:

Originally Posted by Gio Takahashi (Post 1527819)
Just installed this on VB 3.7. it works without a flaw.

Right.

fiestero 11-01-2008 05:28 AM

thank you very much, but there is a way for me to come out on the title of the blue bar of your browser? but neither google leaves ..
forgiveness for my English I am Spanish

raja811 11-06-2008 12:34 AM

thanks

fiestero 11-06-2008 05:42 AM

not goes in 3.7.3 in change

murekhalir 11-14-2008 03:42 AM

works great~ 3.7

codershark 11-28-2008 03:05 PM

works fine in 3.8 Beta4

Loget 11-10-2009 07:52 PM

Hello,

I don't want the thread description to be italic nor do I want it to be green, is it possible if I can remove the italics and change the font colour to white? I'd appreciate some help!

Thanks.

phoenix1977 01-15-2011 12:39 PM

How to show it in showthread template?


All times are GMT. The time now is 03:28 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.01587 seconds
  • Memory Usage 1,832KB
  • 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_code_printable
  • (11)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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