vb.org Archive

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

titorevolu 05-02-2007 10:58 PM

thanks, it works!!!! it works!!!

DJLy5y 05-05-2007 01:11 AM

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

popular 07-10-2007 01:00 AM

is there a way to change font/color for the thread description?

nhatrang 08-04-2007 03:22 AM

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.

vspro 08-15-2007 02:22 PM

not worked at 3.6.8?

momo2 09-12-2007 03:04 PM

Installed on 3.6.8 works prefect how ever it did not show up, but after 2 times refreshing it showed up.............. Thanks

trancetopia 10-10-2007 11:31 AM

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

inciarco 10-16-2007 03:48 AM

Quote:

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

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!! ;)

:)

yoyoyoyo 11-01-2007 04:41 PM

1 Attachment(s)
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)

eng_matt 11-22-2007 12:08 AM

thanks


All times are GMT. The time now is 01:07 AM.

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.01130 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)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