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, by derekivey derekivey is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.5.4 Rating:
Released: 05-22-2006 Last Update: 05-30-2006 Installs: 66
Uses Plugins Template Edits
 
No support by the author.

Thread Description
Developers: derekivey
Version: 1.0.0
vBulletin Version: 3.5.4
File Edits: 0
Template Edits: 6
New Phrases: 1
Uses Plugins: Yes
Difficulty: Easy

Description: This hack adds the ability for users to add a description for their thread.

*** I Strongly Recommend That You Backup Before Installing/Upgrading This Hack! ***

Planned features for a later release:
  • Add AJAX Description Edit [ Flagged for a later release ]
  • Show Thread Description In Archive [ Flagged for a later release ]
  • Whatever is suggested.
Features Added To 1.0.0
  • Changed Install and Uninstall Code
  • Show Thread Description In showthread
  • Show Thread Description In Search Results
  • Add Field To Edit Post For First Post
  • Add htmlspecialchars_uni to description updates to prevent HTML
I have added screen shots of this hack in action below.

Please click If you installed this hack.

If you would like to make a donation, you may send it to me through PayPal.


Thanks!

Download Now

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

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 05-31-2006, 07:18 PM
liwo liwo is offline
 
Join Date: Apr 2006
Location: Germany
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You get a database error if you have a table prefix for your Board (or at least we got one):
Code:
Invalid SQL:
UPDATE thread SET description = '' WHERE threadid = '9';

MySQL-Fehler : Table 'xxx.thread' doesn't exist
I fixed this by changing the line in the product xml file
PHP Code:
$db->query_write("UPDATE thread SET description = '" $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" $db->escape_string($threadinfo['threadid']) . "'"); 
to

PHP Code:
$db->query_write("UPDATE " TABLE_PREFIX "thread SET description = '" $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" $db->escape_string($threadinfo['threadid']) . "'"); 
Thanks for that great hack!
Reply With Quote
  #53  
Old 05-31-2006, 07:58 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for reporting that. I will update the zip file to include the fix. I guess I must have forgot to add TABLE_PREFIX to that one. Thanks again!

Derek
Reply With Quote
  #54  
Old 06-09-2006, 11:22 PM
CP, CP, is offline
 
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi how can i make the thread description, in non italic please? thanks!
Reply With Quote
  #55  
Old 06-10-2006, 12:32 AM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello CP,

Please see this post

Thanks,
Derek
Reply With Quote
  #56  
Old 06-10-2006, 01:39 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

derekivey, I am trying to display the thread description right next to the thread title in postbit? Can you help?
Reply With Quote
  #57  
Old 06-10-2006, 04:09 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where? Can you upload a screenshot please of where you want it?

Thanks!
Reply With Quote
  #58  
Old 06-12-2006, 07:05 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind. I have figured it out already. Thanks anyway...
Reply With Quote
  #59  
Old 06-12-2006, 03:32 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, mind posting it here so that anyone else who wants to do it can do it to their forum?

Derek
Reply With Quote
  #60  
Old 07-26-2006, 12:46 PM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks alot it works with me and it also work with vb3.6 rc2 i have tried it there thanks alot
Reply With Quote
  #61  
Old 07-31-2006, 03:04 PM
I||usi0nz I||usi0nz is offline
 
Join Date: Jul 2004
Location: New York
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is what I neededd, thankss
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:33 AM.


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.05143 seconds
  • Memory Usage 2,340KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_php
  • (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
  • (7)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