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

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

Tnx for this great and useful hack . it has many template edits but result r perfect
Reply With Quote
  #14  
Old 09-28-2006, 08:55 PM
TrucLinh's Avatar
TrucLinh TrucLinh is offline
 
Join Date: Aug 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

. Enjoy!
Reply With Quote
  #15  
Old 10-24-2006, 07:32 PM
category category is offline
 
Join Date: Jul 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack doesnt work when you upload want to edit a post you made and save it it gives you : Table '----' doesn't exist
Reply With Quote
  #16  
Old 11-18-2006, 06:10 AM
erjavid erjavid is offline
 
Join Date: Mar 2006
Location: italy
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

https://vborg.vbsupport.ru/showthrea...04#post1119904
Reply With Quote
  #17  
Old 11-19-2006, 01:45 PM
TrucLinh's Avatar
TrucLinh TrucLinh is offline
 
Join Date: Aug 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by erjavid View Post
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
Reply With Quote
  #18  
Old 12-02-2006, 11:41 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack

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

however INSTALED on 3.6.4
Reply With Quote
  #19  
Old 12-04-2006, 01:57 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 12-04-2006, 02:54 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Thanks
Reply With Quote
  #21  
Old 01-27-2007, 10:26 PM
sally27 sally27 is offline
 
Join Date: Nov 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
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 04:42 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.04952 seconds
  • Memory Usage 2,341KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (10)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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