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

Reply
 
Thread Tools
Thread Description v1.2 Details »»
Thread Description v1.2
Version: 1.00, by eXtremeTim eXtremeTim is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Version: 3.5.0 Beta Rating:
Released: 06-09-2005 Last Update: Never Installs: 25
 
No support by the author.

Thread Description Hack v1.2 for vb3.5 beta 1
Support thread: http://www.extremescripts.com/forums...hread.php?t=12

I wil try to do my best to support this hack here but you will get my attention much faster on my site.


What this hack does:
This hack allows your users to add descriptions to their threads that show up on the threadlist. This allows people to read what the thread is about before they enter the thread.

Files To edit: 1
Queries to run: 1
Uses Hooks: Yes
Phrases To Add: 1
Template Edits: 3

Planned:
Add showing of thread description to search results.
Option to turn off thread descriptions on a per forum basis
Option to turn off thread descriptsion showing up on search results.
ajax support for editing thread description from forumdisplay.

If I have missed anything please let me know. I have worked on this off an on today with the power going going out every so often becuase of the storms we have had today.

If you are upgrading use the v1.0 installer and undo the editpost.php file edit. Then just load the new xml file.

There will be a new version that will be a full plugin possible later today. If I get the needed time to make the change. Plus I will release it as a product.

If you use this hack please click install.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 11-24-2005, 07:50 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd recommend to have the uninstall code remove the column, as this is what uninstall codes are for - cleanup the database.
Reply With Quote
  #133  
Old 11-24-2005, 08:13 PM
randominity randominity is offline
 
Join Date: Jul 2005
Location: Chicago, IL
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In that case, I added the uninstall code back as well as fix the queries by adding the TABLE_PREFIX before the table name.
Reply With Quote
  #134  
Old 12-03-2005, 08:43 PM
lucky64's Avatar
lucky64 lucky64 is offline
 
Join Date: Nov 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #135  
Old 12-04-2005, 05:33 PM
lucky64's Avatar
lucky64 lucky64 is offline
 
Join Date: Nov 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #136  
Old 12-05-2005, 12:16 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #137  
Old 01-05-2006, 02:02 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am working right now on setting up a dev 3.5.2 to get this updated.
Reply With Quote
  #138  
Old 01-05-2006, 10:36 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coolio. v3.5.3 has been released since yesterday so be sure to have it working on this latest version too.
Reply With Quote
  #139  
Old 01-27-2006, 01:35 PM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O man, i am so looking forward to this hack

I really need this on a per-forum basis.
Reply With Quote
  #140  
Old 02-11-2006, 09:41 PM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #141  
Old 02-12-2006, 01:52 AM
Raymondlee714 Raymondlee714 is offline
 
Join Date: Jan 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 07:03 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.05172 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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_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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete