vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=318308

Enhanced Thread Review
by MarkFL
19 Apr 2015 05:53

3 Attachment(s)
Purpose:

When composing a new reply to a thread using vBulletin 4.x's advanced editing environment, users will find a "Topic Review" element below the "Additional Options" block below the editor. This element will display the last x posts, where x is admin-defined in the setting under Thread Display Options (showthread) -> Maximum Displayed Posts Before Page Split. If those posts are lengthy, then the "Topic Review" element can take up a lot of space on the page. There is no quick and easy way to add a quote of any of the posts you see there, and when editing a post, the "Topic Review" is absent altogether.

This product addresses these issues and more. Once installed and activated, you will notice all of the posts in the thread are included in the review and the total number of posts is reported in the element header. The ordering of the posts is still newest first. Each post is displayed in its own block, and in the block header, you will find on the left the author of the post, displayed in their usergroup HTML markup as a link to their profile. On the right you will find the date/time the post was made, a quote button and a post counter.

The quote button will add a quote of the post to your post content, at your current cursor position. If you have my Strip BBCodes From Quotes product installed, any BBCodes you have set to be removed from quotes will be stripped from the quoted post, in addition to any quote blocks within the post. The post counter tells you the enumerated location of the post within the thread, and serves as a link to that post which will open in a new tab. This could be useful to you and your staff if it is decided that the post needs to be edited or moderated in some way.

Under the post header is the post content, appearing just as it does in the thread, with inline attached images displayed as images rather than as links to those attached images.

You will find that this thread review element is now conveniently available when editing posts as well.

http://www.vbulletin.org/forum/attac...1&d=1449204223

In the product settings, you can set the maximum height for the thread review, where a vertical scrollbar is introduced as needed. You may set this to zero to show full height. You have several options for controlling the appearance of the various elements within the block.

http://www.vbulletin.org/forum/attac...1&d=1449204223

Updates:

Version 2.0:
  • With the gracious help of Black Snow, there is no longer any need to make the extensive manual template edits. He took a good idea poorly implemented and made it shine, and I am very grateful for his co-authorship. :cool:

Version 2.1:
  • All posts in a thread are now displayed in the "Topic Review" element rather than just the last page.

Version 2.2:
  • Vertical scrollbar is now only present when needed. Superfluous line separating posts has been removed. New setting allows you to choose the maximum height (in px) of the "Topic Review" element. Fully compatible with "Show First Post Only" product.

Version 2.3:
  • Now fully compatible with "Hide BBCodes/Signatures From Guests/Users" product in that users who are allowed to post but restricted from viewing certain BBCodes will have that content hidden from them in the thread review block.

Version 2.4:
  • Now fully compatible with "MarkFL: Strip BBCodes From Quotes."

Version 2.5:
  • Now fully compatible with "MarkFL: Username Markup," "MarkFL: Acronyms And MathJax" and "MarkFL: Show First Post Only."

Version 3.0:
  • Encoding of posts is greatly improved so that code within the various code block elements and special characters displays correctly.
  • Inline attached images now display as images rather than as links to the images.
  • Plugins have been condensed and cleaned up.
  • Additional settings added to give more control over the appearance of the elements.
  • Post usernames are shown using their HTML markup and link to their profile pages.
  • The total posts returned is shown in the block header.
  • A post counter is shown in the post headers and links to the posts, which will open in a new tab.
  • The "newreply" and "editpost templates are no longer replaced, but rather dynamically edited to include a custom hook at which to add the new elements. This way any changes to these templates will be effective and there is no longer the need to store two sizable and largely redundant templates.

Version 3.1:
  • Improved character encoding within posts.

Version 3.2:

Version 3.3:
  • All templates now cached.

Version 3.4:
  • Fixed issue with usernames containing special characters.

Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product does NOT alter your database, however it is always good practice to keep regular backups and you should backup before installing ANY new mod.

As always products are USE AT YOUR OWN RISK. I will try to help if I can but no guarantee is offered or implied.

Installation:

1.) Download and extract the attached .zip file.
2.) Upload the contents of the "upload" folder to your forum's root directory.
3.) In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.
4.) Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
5.) Click "Import"
6.) You MUST set your settings to enable the mod. Each setting has an explanation of its use.

Support for this product can be found here:

Manoel Júnior 19 Apr 2015 20:56

Thanks brow

MarkFL 24 Apr 2015 05:09

Now, thanks to the generous help of Black Snow, this product no longer requires manual template edits. His contribution is greatly appreciated. :up:

MarkFL 03 May 2015 14:41

Version 2.1 now returns ALL posts in a thread rather than just the last page.

MarkFL 08 May 2015 06:45

Update - version 2.2

Vertical scrollbar is now only present when needed. Superfluous line separating posts has been removed. New setting allows you to choose the maximum height (in px) of the "Topic Review" element. Fully compatible with "Show First Post Only" product.

MarkFL 21 Jul 2015 05:00

Update - version 2.3

Now fully compatible with "Hide BBCodes/Signatures From Guests/Users" product in that users who are allowed to post but restricted from viewing certain BBCodes will have that content hidden from them in the thread review block.

MarkFL 21 Jul 2015 21:03

Update - version 2.4

Now fully compatible with "MarkFL: Strip BBCodes From Quotes."

MarkFL 04 Dec 2015 04:58

Update: Version 3.0
  • Encoding of posts is greatly improved so that code within the various code block elements and special characters displays correctly.
  • Inline attached images now display as images rather than as links to the images.
  • Plugins have been condensed and cleaned up.
  • Additional settings added to give more control over the appearance of the elements.
  • Post usernames are shown using their HTML markup and link to their profile pages.
  • The total posts returned is shown in the block header.
  • A post counter is shown in the post headers and links to the posts, which will open in a new tab.
  • The "newreply" and "editpost templates are no longer replaced, but rather dynamically edited to include a custom hook at which to add the new elements. This way any changes to these templates will be effective and there is no longer the need to store two sizable and largely redundant templates.

This is a major update! :)

MarkFL 03 Feb 2016 04:37

Update: Version 3.2

BadgerDog 17 Feb 2016 11:57

2 Attachment(s)
Installed.. beautiful and very functional add-on for our 4.13PL8 forums...

Thanks MarkFL ... appreciate your work .. :)

Regards,
Doug

Edit: I think I spoke too soon .. there seems to be a cosmetic issue with our forums, even with default style...

In editing a post, the header line with username seems misaligned and with using REPLY to a thread with a number of posts, the date/time the post was made, a quote button and a post counter are missing. There is a small graphic artifact appearing in the general area where it would be (see attached)

MarkFL 17 Feb 2016 16:20

Quote:

Originally Posted by BadgerDog (Post 2565097)
Installed.. beautiful and very functional add-on for our 4.13PL8 forums...

Thanks MarkFL ... appreciate your work .. :)

Regards,
Doug

Edit: I think I spoke too soon .. there seems to be a cosmetic issue with our forums, even with default style...

In editing a post, the header line with username seems misaligned and with using REPLY to a thread with a number of posts, the date/time the post was made, a quote button and a post counter are missing. There is a small graphic artifact appearing in the general area where it would be (see attached)

Hello Doug,

I would have to come to your site as an admin to troubleshoot this issue, because I have not encountered it on any of the sites on which I have installed it. The earliest version of vB I have done so is 4.2.1, so it might not be quite compatible with vB 4.1.x.

So, if you want, please send me (via PM) the login credentials for a temporary admin account and I will see if I can fix it. :)

BadgerDog 18 Feb 2016 13:48

Thanks Mark, but it's most likely incompatible with vBulletin 4.13PL8, so we'll just stay with what have...

Appreciate your development efforts though ..

Regards,
Doug

MarkFL 17 Mar 2016 19:26

Update - Version 3.3:
  • All templates now cached.

MarkFL 21 Dec 2016 09:13

Update - Version 3.4:
  • Fixed issue with usernames containing special characters.

Techno Cowboy 22 Dec 2016 22:23

Installed & Working...nicely so far ;) ....with vB 4.2.5 B1 & PHP 7

Thanks!
:)


All times are GMT. The time now is 14:20.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.