Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Description Details »»
Thread Description
Version: 1.00, by TrucLinh TrucLinh is offline
Developer Last Online: Feb 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.1 Rating:
Released: 09-27-2006 Last Update: Never Installs: 42
Uses Plugins Template Edits
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-28-2006, 04:57 AM
Ronak's Avatar
Ronak Ronak is offline
 
Join Date: Sep 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome hack...was waiting for this
Reply With Quote
  #3  
Old 09-28-2006, 06:53 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does it differ from this one: https://vborg.vbsupport.ru/showthrea...ht=description ?
Reply With Quote
  #4  
Old 09-28-2006, 08:19 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm looks like it's all the same to me.
Reply With Quote
  #5  
Old 09-28-2006, 09:01 AM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

finally a mods for thread descriptions THANK YOU ^^

wonder if its possible to make the character more visible?
Reply With Quote
  #6  
Old 09-28-2006, 09:28 AM
TrucLinh's Avatar
TrucLinh TrucLinh is offline
 
Join Date: Aug 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #7  
Old 09-28-2006, 09:47 AM
TrucLinh's Avatar
TrucLinh TrucLinh is offline
 
Join Date: Aug 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #8  
Old 09-28-2006, 12:24 PM
steelerwatch steelerwatch is offline
 
Join Date: Jun 2002
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 09-28-2006, 12:39 PM
TrucLinh's Avatar
TrucLinh TrucLinh is offline
 
Join Date: Aug 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steelerwatch
You should either provide that image or edit the code.
. ThankS!
Reply With Quote
  #10  
Old 09-28-2006, 07:34 PM
drdeathuk69 drdeathuk69 is offline
 
Join Date: Mar 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05031 seconds
  • Memory Usage 2,325KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (11)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete