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

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
  #72  
Old 05-02-2007, 10:58 PM
titorevolu titorevolu is offline
 
Join Date: Apr 2007
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, it works!!!! it works!!!
Reply With Quote
  #73  
Old 05-05-2007, 01:11 AM
DJLy5y DJLy5y is offline
 
Join Date: Jan 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will be nice to add something like if thread description is "game" the thread color is red and when it's "door" the color is green ? And any chance to change thread names using the moderation options ? this one --- > https://vborg.vbsupport.ru/attachmen...9&d=1178133233
Reply With Quote
  #74  
Old 07-10-2007, 01:00 AM
popular popular is offline
 
Join Date: Jun 2007
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to change font/color for the thread description?
Reply With Quote
  #75  
Old 08-04-2007, 03:22 AM
nhatrang nhatrang is offline
 
Join Date: Jun 2004
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do we add this to replies as well? WE have it for new threads, what about a member wanting to use the title for the title of their reply, and also want a description? please help.
Reply With Quote
  #76  
Old 08-15-2007, 02:22 PM
vspro's Avatar
vspro vspro is offline
 
Join Date: Nov 2006
Location: Viet Studio Pro
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not worked at 3.6.8?
Reply With Quote
  #77  
Old 09-12-2007, 03:04 PM
momo2 momo2 is offline
 
Join Date: Feb 2007
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 3.6.8 works prefect how ever it did not show up, but after 2 times refreshing it showed up.............. Thanks
Reply With Quote
  #78  
Old 10-10-2007, 11:31 AM
trancetopia trancetopia is offline
 
Join Date: Feb 2005
Location: Wales, UK.
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, i've been having the update sql errors too. Is there an official fix planned for this mod?

I've also not been able to see the options in the forum permissions too.

This used to be so good on my older boards and need it for 3.6.8.

ps. Can't access your support link in the mod description - the forum is down so looking for support here if possible.

Thanks
Reply With Quote
  #79  
Old 10-16-2007, 03:48 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
If you say so. Not a way to talk to people looking for help and without having your php knowledge anyway. But, anyhow, I fixed it by modifying your hack!

In the module:

I changed this:

PHP Code:
$db->query_write("UPDATE thread SET description = '" $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" $db->escape_string($threadinfo['threadid']) . "'"); 

for

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']) . "'"); 
Now it works...
Great Help Cybershaolin!! :up:

I was receiving an Error Message:

Code:
Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE thread SET description = 'Edici?n de Tema Para A?adir Descripci?n' WHERE threadid = '1973';

MySQL Error  : Table 'inciarc_foros.thread' doesn't exist
Error Number : 1146
Date         : Monday, October 15th 2007 @ 11:45:12 PM
Script       : http://zzz/editpost.php?do=updatepost&p=8980
Referrer     : http://zzz/editpost.php?do=editpost&postid=8980
IP Address   : zzz.zzz.zzz.zzz
Username     : zzz
Classname    : vb_database
According to Your Orientation, in the Admin Control Panel, in the Plugin System for the Add-Ons (Products), I've Located the "Thread Description - Update Description" Plugin and as You Said:

REPLACED:
Code:
$db->query_write("UPDATE thread SET description = '" . $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" . $db->escape_string($threadinfo['threadid']) . "'");
WITH:
Code:
$db->query_write("UPDATE " . TABLE_PREFIX . "thread SET description = '" . $db->escape_string(htmlspecialchars_uni($edit['description'])) . "' WHERE threadid = '" . $db->escape_string($threadinfo['threadid']) . "'");
And Now The Error Message Is Not Happening, and The Edit of the Description is Successful!!

Thank You very Much Again For Sharing This Excellent Solution!! :up:

My Best Regards!!

Reply With Quote
  #80  
Old 11-01-2007, 04:41 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ++++++ to Thread Description)
Attached Files
File Type: (21.4 KB, 24 views)
File Type: (21.4 KB, 31 views)
Reply With Quote
  #81  
Old 11-22-2007, 12:08 AM
eng_matt eng_matt is offline
 
Join Date: Apr 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
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 01:10 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.05430 seconds
  • Memory Usage 2,349KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_php
  • (1)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
  • (6)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