vb.org Archive

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

Andreas 11-24-2005 07:50 PM

I'd recommend to have the uninstall code remove the column, as this is what uninstall codes are for - cleanup the database.

randominity 11-24-2005 08:13 PM

In that case, I added the uninstall code back as well as fix the queries by adding the TABLE_PREFIX before the table name.

lucky64 12-03-2005 08:43 PM

This is what I was looking for...but I hate manual editing...Do you still have to manually edit the stuff in the readme in your zip for the last file you posted?

lucky64 12-04-2005 05:33 PM

Quote:

Originally Posted by lucky64
This is what I was looking for...but I hate manual editing...Do you still have to manually edit the stuff in the readme in your zip for the last file you posted?

I installed it fine anyhow, just curious though is it safe to uninstall?

I see you were worried about it removing something important..

fly 12-05-2005 12:16 PM

Quote:

Originally Posted by randominity
Here we go... you can now edit the thread description and it'll save properly (at least the admin can, not sure about mods, and the user).

I removed the uninstall sql queries because I don't want to anything to happen to the column should someone uninstall the product accidently.


Let me know if you find any bugs, or if something's not working.

Btw a hook location was incorrect that processed the update of the edit, I just changed the location and the code a bit.

I still don't seem to be able to edit the description as an admin. I can only edit MY threads...

eXtremeTim 01-05-2006 02:02 AM

I am working right now on setting up a dev 3.5.2 to get this updated.

Snake 01-05-2006 10:36 AM

Coolio. v3.5.3 has been released since yesterday so be sure to have it working on this latest version too. :p

TCB 01-27-2006 01:35 PM

O man, i am so looking forward to this hack :D

I really need this on a per-forum basis.

Megareus Rex 02-11-2006 09:41 PM

Question. How can you add this so the description is displayed after the thread title in the first post of the thread?

The 3.0 hack had it so it displayed like this:
(Thread title - Description)

That's a function I'd like to see returned.

Raymondlee714 02-12-2006 01:52 AM

Hi, after i try install this -> Thread Description Hack and happen like this, what i gonna do ? thanks advance
try to post a thread and show this error,


Invalid SQL:
INSERT INTO vietvbb_vbbthread
(postusername, postuserid, title, iconid, visible, forumid, threaddesc, dateline, open, attach, lastpost, lastposter, replycount, hiddencount)
VALUES
('Raymondlee714', 1, 'test', 0, 1, 2, '', 1139712196, 1, 0, 1139712196, 'dEpTrAi714', 0, 0);
MySQL Error : Unknown column 'threaddesc' in 'field list'
Error Number : 1054
Date : Saturday, February 11th 2006 @ 09:43:16 PM

I figure it out, thanks


All times are GMT. The time now is 10:17 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.01285 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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