vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Threads Description (https://vborg.vbsupport.ru/showthread.php?t=200259)

mcyates 03-15-2010 06:23 PM

I'd love to see it in vb4 also. Why didn't the peeps at vbulletin just include this anyway?

Leica.Robbiani 03-26-2010 03:03 PM

Hi there,

Ok, I got this one work on vb4.0.2, just a hard way.

After installation I disabled all plugins with the hook global_start, because they're throwing warnings to use the class vB_Template instead of fetch_template(). I'm not savvy enough how to do this, it seems to be very tricky.

After disabling the plugins I did the template edits manually, as they must be edited the templates threadbit, showthread, search_results_postbit, newthread, editpost, threadadmin_editthread.

As an example for the threadbit template:

Just look for the place where you want the template edit have, I would have the thread description under the thread title. So the place to search in threadbit was:

PHP Code:

<class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
                </
h3

After this I added:

PHP Code:

<if condition="$vboptions[description_active]"><vb:if condition="$thread[description] != ''">
<
span><i>{vb:var thread.description}</i></span><br />
</
vb:if></vb:if> 

It's a little code reading for do it in all the templates, but it works for me. Don't worry, death is also not for free, it takes life.

L.R.

RvG2 03-27-2010 11:02 AM

should be by default on vB 4

lordnara 06-05-2010 05:11 AM

Quote:

Originally Posted by davew (Post 1997609)
I'd love to see this for VB4 too please :)

Quote:

Originally Posted by Welshy2008 (Post 1999031)
Me too, I would like to continue using this Fab Mod on vB4.0.2 too. :p

Quote:

Originally Posted by mcyates (Post 2004222)
I'd love to see it in vb4 also. Why didn't the peeps at vbulletin just include this anyway?

Quote:

Originally Posted by RvG2 (Post 2011029)
should be by default on vB 4

count me in :D



Quote:

Originally Posted by Leica.Robbiani (Post 2010574)
Hi there,

Ok, I got this one work on vb4.0.2, just a hard way.

After installation I disabled all plugins with the hook global_start, because they're throwing warnings to use the class vB_Template instead of fetch_template(). I'm not savvy enough how to do this, it seems to be very tricky.

After disabling the plugins I did the template edits manually, as they must be edited the templates threadbit, showthread, search_results_postbit, newthread, editpost, threadadmin_editthread.

As an example for the threadbit template:

Just look for the place where you want the template edit have, I would have the thread description under the thread title. So the place to search in threadbit was:

PHP Code:

<class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
                </
h3

After this I added:

PHP Code:

<if condition="$vboptions[description_active]"><vb:if condition="$thread[description] != ''">
<
span><i>{vb:var thread.description}</i></span><br />
</
vb:if></vb:if> 

It's a little code reading for do it in all the templates, but it works for me. Don't worry, death is also not for free, it takes life.

L.R.

thanks mate, i'll try it

longgsm 06-09-2010 12:54 PM

Quote:

Originally Posted by jaryx (Post 1817589)
Mod begin work on the next day? ;)

Installed and now not work for me.
Mod active but:
- New Thread - I don't see any Description
- Edit - I see Description, but when I edit & save... nothing saves. Reply Edit = Description is empty.

Default or modifed style not matter - not works

vb382 + vbseo330

Fix it ok:

Forums & Moderators/Forum manager/Choose Forum ID need show description then save again --> show ok

marshal_ramdev 06-11-2010 07:43 PM

thanks

cspielman 07-12-2010 09:50 PM

Is there a version of this mod for vb 4.0.x?

And Can it show more than one line of the thread description?

Alecsmith 07-14-2010 06:37 PM

excellent work :)

A modification i was looking for :)

cspielman 07-14-2010 06:59 PM

Is there a version of this for vb 4.0.x? Not being able to show thread description along with thread started is truly annoying.

Montecristo 10-07-2010 02:53 PM

any version for 4.0.7?????? For me no works............ ;=(


All times are GMT. The time now is 04:27 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.01094 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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