Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 11-10-2006 Last Update: 12-19-2006 Installs: 149
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

Release: for 3.5.x ~ 3.6.x to 3.7.x (*)

. This hack allows your users to add descriptions to their threads that show up on the threadlist.
. More info & option see (Screenshots)
  • Code Changed (*)
  • Add Field To Edit Post For First Post
  • Show Thread Description In Showthread
  • Show Thread Description In Search Results
  • Add html specialchars uni to description updates to prevent HTML
  • Admin CP can Enable/Disable thread descriptions per forum (*)


DL / Unpacking the attachment:

. 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: ( 6 templates )

. Read My Instructions: readme-thread-description.html (c) (+)

. Import [ XML ] = Done

. Thats all!

. Enjoy!

Note:
I will update my mod "no more edit template" on my next ver.
Good date all!

(*) My New Version Dec12, 2006
(c) Templace(s) - vBulletin ver you may find template changes, but these input code not changes.

Download Now

File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)

Show Your Support

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

Comments
  #82  
Old 12-09-2007, 10:47 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.6.8?
Reply With Quote
  #83  
Old 02-16-2008, 03:24 AM
Das UndergrounD's Avatar
Das UndergrounD Das UndergrounD is offline
 
Join Date: Jul 2007
Location: Chile - Brasil
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, the installed hack had, and when you edited the messages in advanced mode you threw away an error, the same mentioned above, next install the modified product and now the description of the themes does not appear to me, I have gone back to install the hack time after time and the description does not appear to me.:erm:
Reply With Quote
  #84  
Old 02-16-2008, 04:45 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nothing shows up for me, I am using 3.6.8 PL 2.
Reply With Quote
  #85  
Old 02-16-2008, 05:37 PM
Das UndergrounD's Avatar
Das UndergrounD Das UndergrounD is offline
 
Join Date: Jul 2007
Location: Chile - Brasil
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCE Killa View Post
Nothing shows up for me, I am using 3.6.8 PL 2.

I'm using a 3.6.8 pl2 too
Reply With Quote
  #86  
Old 02-19-2008, 03:39 PM
Leica.Robbiani Leica.Robbiani is offline
 
Join Date: Sep 2007
Location: South Germany
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I've changed 2 Plugin's to get this Mod work, Thread Description - Edit Post and the Thread Description - Update Description.

The original code of the first one is

PHP Code:
<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[if ($postinfo['postid'] == $threadinfo['firstpostid'])
            {
            
$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];
            }]]></
phpcode>
        </
plugin
my code is

PHP Code:
<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];]]></phpcode>
        </
plugin
In the second Plugin I've just changed in the if-question the AND in an OR.

With this little changes it works correctly for me on 3.6.8PL2.

Leica Robbiani
Reply With Quote
  #87  
Old 02-23-2008, 06:03 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yoyoyoyo View Post
Here is the XML file in TMS (Template Modification System) format, for those that have TMS installed.

I am also including the product, which is updated to avoid the error indicated in this thread, using the edits mentioned in this thread. (Note- I also changed the name of the product from vBViet to Thread Description)
Yoyoyoyo, I don't have the TMS hack, do I still need to do the template hack or I just upload the product xml only?
Reply With Quote
  #88  
Old 02-23-2008, 07:33 AM
PaulSonny PaulSonny is offline
 
Join Date: Dec 2006
Location: Middlesbrough, UK
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working on 3.7.

Thanks, Paul.
Reply With Quote
  #89  
Old 02-23-2008, 08:03 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul, did you use the original file/instruction from TrucLinh or you used the two files from Yoyoyoyo?
Reply With Quote
  #90  
Old 02-23-2008, 09:46 AM
PaulSonny PaulSonny is offline
 
Join Date: Dec 2006
Location: Middlesbrough, UK
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Rapidphim,

I used readme36x.zip in the original thread and followed all the instructions. I have edited my templates a little because I didn't like the image.

Thanks, Paul.
Reply With Quote
  #91  
Old 03-22-2008, 03:02 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leica.Robbiani View Post
Hi there,

I've changed 2 Plugin's to get this Mod work, Thread Description - Edit Post and the Thread Description - Update Description.

The original code of the first one is

PHP Code:
<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[if ($postinfo['postid'] == $threadinfo['firstpostid'])
            {
            
$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];
            }]]></
phpcode>
        </
plugin
my code is

PHP Code:
<plugin active="1" executionorder="5">
            <
title>Thread Description Edit Post</title>
            <
hookname>editpost_update_start</hookname>
            <
phpcode><![CDATA[$vbulletin->input->clean_gpc('p''description'TYPE_STR);
            
$edit['description'] =& $vbulletin->GPC['description'];]]></phpcode>
        </
plugin
In the second Plugin I've just changed in the if-question the AND in an OR.

With this little changes it works correctly for me on 3.6.8PL2.

Leica Robbiani
Tried that... no show.
Any other tips?
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 06:15 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.04857 seconds
  • Memory Usage 2,373KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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
  • (4)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete