vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Thread Description (https://vborg.vbsupport.ru/showthread.php?t=69905)

AnhTuanCool 10-02-2004 12:52 PM

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 :p, try to switch between in vB Options ;)

Megareus Rex 10-02-2004 04:50 PM

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?

AnhTuanCool 10-02-2004 05:11 PM

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


;)

Megareus Rex 10-02-2004 06:39 PM

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

AnhTuanCool 10-03-2004 01:21 AM

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 :)

Megareus Rex 10-03-2004 07:02 PM

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.

AnhTuanCool 10-03-2004 07:42 PM

Oh sure, I'm on it now ;) thanks

jpt62089 10-10-2004 09:16 PM

I installed but the description box does not show...

AnhTuanCool 10-10-2004 09:26 PM

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 :)

jpt62089 10-11-2004 09:10 PM

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

AnhTuanCool 10-11-2004 09:22 PM

When you choose for New Thread or Edit Thread, can you see the box below the Subject box with label Description?

jpt62089 10-12-2004 03:38 PM

DANG THERE IT IS!!! it wasnt there before I SWEAR! maybe it was the schools PC's....

AnhTuanCool 10-12-2004 07:57 PM

So now you got it ha ;)

Debbi 10-17-2004 07:24 AM

Clicks Install. Thank you!


All times are GMT. The time now is 01:13 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.01136 seconds
  • Memory Usage 1,753KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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