vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Display Enhancements - Thread Description (https://vborg.vbsupport.ru/showthread.php?t=116410)

TCB 05-23-2006 07:40 PM

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)

derekivey 05-23-2006 07:44 PM

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

Derek

derekivey 05-23-2006 07:46 PM

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

derekivey 05-23-2006 08:08 PM

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?

derekivey 05-23-2006 09:28 PM

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

derekivey 05-23-2006 10:09 PM

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

Derek

FreshFroot 05-23-2006 11:45 PM

Nice work Derek :) I can't wait too see the newest updated hack. Again nice work mate. :)

jaks 05-24-2006 03:09 AM

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

:D
Jaks

rmxs 05-24-2006 06:49 AM

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..

fly 05-24-2006 01:33 PM

This is awesome. I'll be trying this tonite.


All times are GMT. The time now is 09:45 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.01067 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete