Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #22  
Old 05-23-2006, 07:40 PM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, it looks nice.... but I agree with one of the earlier posters, that it looks a bit messy with 3 rows (title/subtitle/poster) in various fonts. I prefer the Invisionboard style (adding an extra column with the topicstarter)
Reply With Quote
  #23  
Old 05-23-2006, 07:44 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry about that. I forgot to upload them. They have now been attached.

Derek
Reply With Quote
  #24  
Old 05-23-2006, 07:46 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision
I have installed and checked this hack, works perfectly.

Except for your install/uninstall code, which should be replaced by this:

PHP Code:
$db->hide_errors();
$db->query_write("ALTER TABLE `" TABLE_PREFIX "thread` ADD `description` VARCHAR( 100 ) NOT NULL");
$db->show_errors(); 
PHP Code:
$db->hide_errors();
$db->query_write("ALTER TABLE `" TABLE_PREFIX "thread` DROP `description`");
$db->show_errors(); 
Note:
1. No semicolon at the end of query. That sometimes causes errors.
2. query replaced with query_write
3. No reason to create an array for only one query.
4. hide_errors and show_errors to avoid unnecessary error display.

After that, "Beta Stage" marker can be safely removed!

Couple of suggestions:

1. Show threaddescription is showthread and archive.
2. Show threaddescription in search results, for both thread mode and post mode.
3. Add ajax description edit in threadbit.
4. Add the field to editpost when editing first post in advanced mode.
5. "description of" is a grammatical error in the context. Should be "description for".

Cheers!
Thanks for the suggestions. I will try to do those tonight if I can and release a new version and take it out of beta .

Derek
Reply With Quote
  #25  
Old 05-23-2006, 08:08 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure how to add the Ajax thing because vB has it so when you click twice anywhere in the threadbit it automatically edits the title. Any suggestions?
Reply With Quote
  #26  
Old 05-23-2006, 09:28 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From the looks of it, it looks like I would have to add a file edit for the description to show in the search results because right after the hook call is $thread_select_logic = array();. I somehow would need to add $thread_select_logic[] = "thread.description"; Any ideas on how to add this when the array() is called after the hook call?

Thanks,
Derek
Reply With Quote
  #27  
Old 05-23-2006, 10:09 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind I got it. It's coming along nicely now .

Derek
Reply With Quote
  #28  
Old 05-23-2006, 11:45 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work Derek I can't wait too see the newest updated hack. Again nice work mate.
Reply With Quote
  #29  
Old 05-24-2006, 03:09 AM
jaks jaks is offline
 
Join Date: Dec 2004
Location: Toronto
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this should have been in VB default install already. Awesome!!! Can't wait til it's done.


Jaks
Reply With Quote
  #30  
Old 05-24-2006, 06:49 AM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derekivey
I'm not sure how to add the Ajax thing because vB has it so when you click twice anywhere in the threadbit it automatically edits the title. Any suggestions?
Yes everywere if you click the title can be edited..
you cannot split this row?half part klik edit tiltes and the other half the description..
Reply With Quote
  #31  
Old 05-24-2006, 01:33 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome. I'll be trying this tonite.
Reply With Quote
Reply

Thread Tools

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:15 PM.


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.15663 seconds
  • Memory Usage 2,330KB
  • 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
  • (2)bbcode_php
  • (2)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
  • (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