PDA

View Full Version : New Posting Features - Enhanced Thread Review


MarkFL
04-18-2015, 09:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=318157) 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.

https://vborg.vbsupport.ru/attachment.php?attachmentid=153757&stc=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.

https://vborg.vbsupport.ru/attachment.php?attachmentid=153756&stc=1&d=1449204223

Updates:

Version 2.0:


With the gracious help of Black Snow (https://vborg.vbsupport.ru/member.php?u=483936), 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:


Updated for compatibility with Show First Post Only (https://vborg.vbsupport.ru/showthread.php?t=318588)


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:


MHB - Enhanced Thread Review (http://mathhelpboards.com/vbulletin-products-61/enhanced-thread-review-22039.html)
TAZ - Enhanced Thread Review (https://theadminzone.com/threads/enhanced-thread-review.145227/)

Manoel J?nior
04-19-2015, 05:56 PM
Thanks brow

MarkFL
04-24-2015, 02:09 AM
Now, thanks to the generous help of Black Snow (https://vborg.vbsupport.ru/member.php?u=483936), this product no longer requires manual template edits. His contribution is greatly appreciated. :up:

MarkFL
05-03-2015, 11:41 AM
Version 2.1 now returns ALL posts in a thread rather than just the last page.

MarkFL
05-08-2015, 03:45 AM
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
07-21-2015, 02:00 AM
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
07-21-2015, 06:03 PM
Update - version 2.4

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

MarkFL
12-04-2015, 02:58 AM
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
02-03-2016, 02:37 AM
Update: Version 3.2


Updated for compatibility with Show First Post Only (https://vborg.vbsupport.ru/showthread.php?t=318588)

BadgerDog
02-17-2016, 09:57 AM
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
02-17-2016, 02:20 PM
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
02-18-2016, 11:48 AM
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
03-17-2016, 05:26 PM
Update - Version 3.3:


All templates now cached.

MarkFL
12-21-2016, 07:13 AM
Update - Version 3.4:


Fixed issue with usernames containing special characters.

Techno Cowboy
12-22-2016, 08:23 PM
Installed & Working...nicely so far ;) ....with vB 4.2.5 B1 & PHP 7

Thanks!
:)

HM666
01-31-2017, 02:54 PM
Installed! Great little addition. I do have a suggestion though. To change the colors it would be way easier to use the hex colors instead of the popup. That way you can get the exact color you need quicker & easier.

MarkFL
01-31-2017, 03:37 PM
Installed! Great little addition. I do have a suggestion though. To change the colors it would be way easier to use the hex colors instead of the popup. That way you can get the exact color you need quicker & easier.

I used the HTML color picker for those users who aren't familiar with hex color notation. For those of us that are familiar with the notation, I do agree it is easier, but I was thinking of users in general. :)

Snowhog
02-02-2017, 06:32 PM
Just installed and set as active. Tested on an existing thread. When I click on Go Advanced the page is all blank; nothing showing at all. Disabling the product returns Go Advanced to normal functioning.

What am I missing?

MarkFL
02-02-2017, 06:33 PM
Just installed and set as active. Tested on an existing thread. When I click on Go Advanced the page is all blank; nothing showing at all. Disabling the product returns Go Advanced to normal functioning.

What am I missing?

Did you upload the additional files to your server?

Snowhog
02-02-2017, 06:37 PM
Yes. Followed the instructions (as I always do ;) ):

To Install:

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.

MarkFL
02-02-2017, 06:44 PM
Yes. Followed the instructions (as I always do ;) ):

To Install:

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.

Then I have no idea what the issue could be...I have installed this on many vB 4.2.x sites with no issues. :confused:

Snowhog
02-02-2017, 06:46 PM
Any know conflicts with other MODs?

MarkFL
02-02-2017, 06:58 PM
Any know conflicts with other MODs?

No conflicts that I know of, but if you'd like, create a temporary admin account for me, and PM the login credentials to me, and I will be glad take a look tonight. :)

Snowhog
02-02-2017, 07:05 PM
Thank you.

Two PM's just sent.

For now the MOD is disabled. Enable it when you log in so you can take a look at things.

Greatly appreciate the support.

MarkFL
02-02-2017, 07:14 PM
Thank you.

Two PM's just sent.

For now the MOD is disabled. Enable it when you log in so you can take a look at things.

Greatly appreciate the support.

I re-uploaded the .ZIP file, try that first and let me know if that works. :)

Otherwise I will come see you tonight and get to the bottom of it. ;)

Snowhog
02-02-2017, 09:24 PM
The settings don't have the same 'look' as your screen image shows for the color selections, nor as the code in product-enhancedthreadreviewmarkfl.xml indicates it should. This is what the settings screen contain for us. Also note, that even though in the updated product-enhancedthreadreviewmarkfl.xml it indicates <version>3.5</version>, it still shows 3.4 when installed.

https://vborg.vbsupport.ru/external/2017/02/17.png

Update:

As to why I'm not seeing color pickers in your MOD has been figured out.

I'm using Apple's Safari browser, as I'm on macOS Sierra and/or iOS (iPad/iPhone). In that browser the color pickers don't display, and instead are shown as replaceable hexadecimal values.

The thought that this might be the cause had me fire up one of my Linux VM's and login to the AdminCP using Firefox. In that browser the color pickers do show as in your screenshot, and as you said you observed when you were logged in.

So it's a browser issue, and one that I think you dealt with in an earlier MOD you wrote for me just recently.

Snowhog
02-03-2017, 04:31 AM
It's working! Long story short: heed the instructions to the letter!

I mistakenly uploaded the products two folders/contents not to our server root, but to it's upload directory. Solution was to move the two folders 'up' one level (to the server root directory for our forum) and reload the MOD.

RTIF! (Read The Instructions Fool!) :D

MarkFL
02-03-2017, 04:44 AM
It's working! Long story short: heed the instructions to the letter!

I mistakenly uploaded the products two folders/contents not to our server root, but to it's upload directory. Solution was to move the two folders 'up' one level (to the server root directory for our forum) and reload the MOD.

RTIF! (Read The Instructions Fool!) :D

Hey Paul...easy mistake to make, and one that has been an issue for many folks. The bottom line is that you stuck it out and got it going. :up:

Snowhog
02-05-2017, 10:02 PM
Was notified a few minutes ago that a member wasn't able to post a reply. When he was finished typing the reply and pressed the Quick Reply button, he was presented with a totally blank page. I tried myself, and got the same results. Clicking on the Go Advanced button results in a totally blank page as well.

If I disable this MOD then replies work properly. I don't know what is causing this behavior. For the moment I have the MOD disabled; we have to be able to post replies.

MarkFL
02-06-2017, 07:11 AM
Was notified a few minutes ago that a member wasn't able to post a reply. When he was finished typing the reply and pressed the Quick Reply button, he was presented with a totally blank page. I tried myself, and got the same results. Clicking on the Go Advanced button results in a totally blank page as well.

If I disable this MOD then replies work properly. I don't know what is causing this behavior. For the moment I have the MOD disabled; we have to be able to post replies.

I have run this product on at least half a dozen or so vB 4.2.x sites without any issues whatsoever. If you are getting a blank page, then it sounds like the additional files were not put in the correct place. When I was last at your site, it was working correctly, or so I thought. :confused:

Snowhog
02-06-2017, 02:46 PM
It was. The files are in the correct place, and it was working.

I don't know if this has any bearing; in fact, I'm pretty confident it doesn't; but I did remove a single .php file 'before this issue arose' from the include directory; functions_ghsom.php; a GlowHost Spam-o-Matic file. We stopped using Spam-o-Matic several years ago, and it was uninstalled. I discovered this file in the include directory yesterday. It had an old date on it, so I looked at its contents. No vBulletin header, so I knew it wasn't a vBulletin file. Careful examination showed it to be from Spam-o-Matic, so I deleted it. This MOD was working prior to that, so maybe....

I've asked our Forum owner to restore the file 'just in case'. For effective troubleshooting, one needs everything to be 'as it was', so when this .php file is restored, I'll re-enable this MOD and see what happens.

MarkFL
02-06-2017, 03:33 PM
It was. The files are in the correct place, and it was working.

I don't know if this has any bearing; in fact, I'm pretty confident it doesn't; but I did remove a single .php file 'before this issue arose' from the include directory; functions_ghsom.php; a GlowHost Spam-o-Matic file. We stopped using Spam-o-Matic several years ago, and it was uninstalled. I discovered this file in the include directory yesterday. It had an old date on it, so I looked at its contents. No vBulletin header, so I knew it wasn't a vBulletin file. Careful examination showed it to be from Spam-o-Matic, so I deleted it. This MOD was working prior to that, so maybe....

I've asked our Forum owner to restore the file 'just in case'. For effective troubleshooting, one needs everything to be 'as it was', so when this .php file is restored, I'll re-enable this MOD and see what happens.

I would agree that removing that file shouldn't have had any bearing on this product. :)

Snowhog
02-06-2017, 04:01 PM
In this case, the 'user' was me! :erm: I am to smart for my own good at times.

I had removed the execution bit (chmod -x) on the MODs .php files, thinking (see, there I go again) that as nearly 100% of all other vBulletin .php files aren't executable, these shouldn't be also. Well, guess what!? Yup.

I uninstalled the MOD then removed the installed directory folders/contents and re-uploaded the folders/contents then reinstalled. Activated the MOD and tested. Yup. It works.

Moral here: Don't be so smart dumb ass! :eek: ;) :D

MarkFL
02-06-2017, 04:06 PM
In this case, the 'user' was me! :erm: I am to smart for my own good at times.

I had removed the execution bit (chmod -x) on the MODs .php files, thinking (see, there I go again) that as nearly 100% of all other vBulletin .php files aren't executable, these shouldn't be also. Well, guess what!? Yup.

I uninstalled the MOD then removed the installed directory folders/contents and re-uploaded the folders/contents then reinstalled. Activated the MOD and tested. Yup. It works.

Moral here: Don't be so smart dumb ass! :eek: ;) :D

Glad you got it sorted out! :up:

You should see some of the doozies I have caused...but it comes with the territory. :D

elsa23
03-01-2017, 08:13 PM
Hi Mark, thanks for the great addition

I have one issue : I use "Enhanced Interface - Full WYSIWYG Editing" , when I click quote bouton fron review, nothing happen
I must click on "Switch Editor to Source Mode" to can quote from review
thanks

MarkFL
03-01-2017, 10:14 PM
Hi Mark, thanks for the great addition

I have one issue : I use "Enhanced Interface - Full WYSIWYG Editing" , when I click quote bouton fron review, nothing happen
I must click on "Switch Editor to Source Mode" to can quote from review
thanks

I just did a quick test on my local dev site, and I was able to use the "Quote" button in the topic review in either editor modes.

I would have to come to your site to investigate why the issue exists there, so if you like, please send the login credentials to a temporary admin account to me via PM. :)

elsa23
03-01-2017, 10:32 PM
I just did a quick test on my local dev site, and I was able to use the "Quote" button in the topic review in either editor modes.

I would have to come to your site to investigate why the issue exists there, so if you like, please send the login credentials to a temporary admin account to me via PM. :)

I am still testing a lot of mods in local :o I PM you when I instal it soon in live forum :up: Thanks a lot