Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Thread Description Details »»
vB Thread Description
Version: 1.00, by AnhTuanCool AnhTuanCool is offline
Developer Last Online: Sep 2006 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 09-26-2004 Last Update: Never Installs: 15
 
No support by the author.

vBThread Description

Version: 1.0
vBulletin Version: 3.0.3
Developed by AnhTuanCool
Install difficulty Level: Pretty long


First thing I want to say is sblum had made a hack with the purpose just like this but mine is way so different so don't yell at me though.

Brief of Description:
vBThread Description hack adds to have a description line goes along with Thread.

Feature:
  • Can be turned on/off
  • Adds description line goes under the Thread title in FORUMDISPLAY
  • Thread's description line is cencored, wrapped as as thread title
  • Thread description line goes next to the title in SHOWTHREAD at the firstpost.
  • Users with permission can edit this description line
  • Description line goes also within thread in search result
  • Store description line in a table(database) no extra query
Updated:
Thread description line goes next to the title in SHOWTHREAD at the firstpost.

Screenshot:
In attachments...

Install:

Attachment also

And please click install if you use this hack INSTALL

If you got any problem or questions, just post it right here, I'm willing to help

Enjoy!

Show Your Support

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

Comments
  #42  
Old 10-02-2004, 12:52 PM
AnhTuanCool's Avatar
AnhTuanCool AnhTuanCool is offline
 
Join Date: Jul 2004
Location: Albuquerque
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, you know what, I make the option for you to choose for enable or disable in vB Options > Message Posting and Interface Options > Thread Description Enabled, if you changed that $SHOWTHREADDESCRIPTION = false; to $SHOWTHREADDESCRIPTION = true; then it's useless , try to switch between in vB Options
Reply With Quote
  #43  
Old 10-02-2004, 04:50 PM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, here are the new problems:

1: The thread descriptions ONLY show up in forumdisplay. They don't show up when searching for new posts.
2: The thread descriptions show up TWICE in forumdisplay. Maybe the code makes it insert twice?
3: Every single thread now has space under it, where the description WOULD be if it had one. How can I get rid of it?
Reply With Quote
  #44  
Old 10-02-2004, 05:11 PM
AnhTuanCool's Avatar
AnhTuanCool AnhTuanCool is offline
 
Join Date: Jul 2004
Location: Albuquerque
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All right, check these things:

Did you use the $thread[threaddescription] or $thread[description]?
Second, get in admincp vB Options > Message Posting and Interface Options to see if Thread Description is on or off.

Then fill the threadbit template with the content of the attachment below


Reply With Quote
  #45  
Old 10-02-2004, 06:39 PM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked the vB options, and descriptions ARE turned on.

Second, I replaced threadbit with the new content, and that fixed both the double thead description problem, AND the empty space problem!

Now, the only remaining question: How do I get the thread descriptinos to appear on Search New Posts?

You are a great hacker, and provide excellent support. Easily some of the best I've ever received. Keep it up!
Reply With Quote
  #46  
Old 10-03-2004, 01:21 AM
AnhTuanCool's Avatar
AnhTuanCool AnhTuanCool is offline
 
Join Date: Jul 2004
Location: Albuquerque
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh Thank you, I'm glad to hear it

To get the Thread's Description goes within the Thread Title in Search Result, do these things:

Open search.php
Find:
PHP Code:
                thread.threadidthread.threadid AS postidthread.title AS threadtitlethread.iconid AS threadiconid
Replace with:
PHP Code:
                thread.threadidthread.threadid AS postidthread.title AS threadtitlethread.description AS threaddescriptionthread.iconid AS threadiconid
Save it up.

Get in your admincp,
Open template search_results_postbit
Find:
HTML Code:
			$post[typeprefix] <a href="showthread.php?$session[sessionurl]t=$post[threadid]$post[highlight]"><strong>$post[threadtitle]</strong></a>
Replace with:
HTML Code:
			$post[typeprefix] <a href="showthread.php?$session[sessionurl]t=$post[threadid]$post[highlight]"><strong>$post[threadtitle]</strong></a><br /><font class="smallfont">$thread[threaddescription]</font>
Save up and you got it. Enjoy
Reply With Quote
  #47  
Old 10-03-2004, 07:02 PM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, it works GREAT!!!! This hack is now running perfectly for me

You should think about putting the Search instructions in your txt document. A lot of other board owners probably want it to work in search too.
Reply With Quote
  #48  
Old 10-03-2004, 07:42 PM
AnhTuanCool's Avatar
AnhTuanCool AnhTuanCool is offline
 
Join Date: Jul 2004
Location: Albuquerque
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh sure, I'm on it now thanks
Reply With Quote
  #49  
Old 10-10-2004, 09:16 PM
jpt62089 jpt62089 is offline
 
Join Date: Aug 2004
Location: The Milky Way Galaxy
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed but the description box does not show...
Reply With Quote
  #50  
Old 10-10-2004, 09:26 PM
AnhTuanCool's Avatar
AnhTuanCool AnhTuanCool is offline
 
Join Date: Jul 2004
Location: Albuquerque
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re-fill the threadbit template with this one https://vborg.vbsupport.ru/attachmen...chmentid=20952

Get in ACP > vb Options > Message Posting and Editng Options > check whether Thread Description is turned on. Good luck
Reply With Quote
  #51  
Old 10-11-2004, 09:10 PM
jpt62089 jpt62089 is offline
 
Join Date: Aug 2004
Location: The Milky Way Galaxy
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is turned on and i changed the thread bit... but still no luck
Reply With Quote
Reply


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 11:32 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.08592 seconds
  • Memory Usage 2,317KB
  • 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_html
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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