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)

eXtremeTim 06-09-2005 10:00 PM

Thread Description v1.2
 
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.

Kihon Kata 06-10-2005 05:00 AM

clicks install, now where is my support? ;)

jpt62089 06-10-2005 05:01 AM

I dont wanna install this because you have to edit files <_< sry :-/

eXtremeTim 06-10-2005 05:01 AM

Right here tony. ;)

eXtremeTim 06-10-2005 05:02 AM

I tried hard to avoid file edits. The two edits that exist are very small. One is a addition to a query and the other is there becuase there was no plugin in the small space of code where the new code had to go.

jpt62089 06-10-2005 05:04 AM

ok well I am sure you will find a way to do it :) Once you do I will click the install button :)

eXtremeTim 06-10-2005 05:04 AM

there is no way to do it. We cant edit the theadlist query without hacking the file.

Anybody who has downloaded please redownload. I forgot to put the templates edits into the install file.

jpt62089 06-10-2005 05:30 AM

Error....

Quote:

Database error in vBulletin 3.5.0 Beta 1:

Invalid SQL:
UPDATE thread SET
threaddesc = 'vBulletin 3.5 Beta 1!!!'
WHERE threadid = 348;

MySQL Error : Unknown column 'threaddesc' in 'field list'
Error Number : 1054
Date : Friday, June 10th 2005 @ 01:27:12 AM
Script : http://*****/forums/editpost.php
Referrer :
IP Address : 70.57.163.112
Username : JPT62089
Classname : vb_database

C.Birch 06-10-2005 05:34 AM

installed, but it dont show up on the thread list, but the boxs for adding them show up on the new topic and edit screens and the information is saved.

so one of us have missed something to get them to show on the thread list

C.Birch 06-10-2005 05:36 AM

Quote:

Originally Posted by jpt62089
Error....

run the following query from your admin cp:
------

ALTER TABLE `thread` ADD `threaddesc` VARCHAR( 125 ) NOT NULL ;


All times are GMT. The time now is 01:15 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.01399 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)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