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............ ;=(

CrystaStarLight 10-19-2010 10:15 PM

I wish we had a mod like this for 4.0.x This is an essential feature which should actually be a default feature.

Booyakan 04-03-2011 01:04 PM

What can I change in the xml file so the thread descriptions can be links?

Khalid-B 04-20-2011 01:19 PM

any chance for vb 4.1.3 ??

thank you

XenonKilla 10-08-2011 11:46 AM

I believe I have found a bug with this hack. I didn't see any other users posting up about this so perhaps they just haven't noticed so I will explain what I've found.

Let's say you have a thread that has been soft deleted. While at the forumdisplay where you can see all the threads in that forum, you can see your soft deleted thread, and you can either click on VIEW or MANAGE and there is the little trash can icon. If you click on MANAGE then it brings you to the EDIT THREAD page where you can manage the thread.

But now instead of clicking MANAGE click on VIEW which will bring you into the soft deleted thread. Now in the very first post click on the TRASH CAN ICON that is in the bottom right corner. Now this should take you to the EDIT POST page that is similar to the EDIT THREAD page that manage took you to, however it keeps taking me to a basically blank page that only shows my header and footer but nothing in the middle.

Now if I leave my browser on this page, go into AdminCP -> Plugin & Product System and DISABLE the "Thread Description - Add to Admin Edit Thread Template", then go back to the window where I was viewing the half blank page and hit REFRESH, it now shows the Edit Thread page like it should.

So the issue is something to do with the "Thread Description - Add to Admin Edit Thread Template"

Any ideas and can anyone else confirm if they're having this issue or not?

BTW I am using vB v3.8.7b1 and I have tried using the default style which still gives the same results.

Blueracer66 09-13-2012 09:41 PM

Installed! Works perfectly with vBulletin 3.8.7 PL3. Thank you for sharing this, I gave it 5/5!

M.C. 04-13-2013 12:49 PM

need same on 4.2


All times are GMT. The time now is 12:53 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.01343 seconds
  • Memory Usage 1,773KB
  • 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
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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