Version: 1.2.0, by taravasya
Developer Last Online: Mar 2023
Category: Add-On Releases -
Version: 4.2.2
Rating:
Released: 09-01-2015
Last Update: 02-27-2018
Installs: 10
Uses Plugins Auto-Templates
Re-useable Code Translations
No support by the author.
Little mod with which you can extend the functionality of the pages in the printable version.
Displaying Images on the printable version pages(optional)
On the fly conversion links of inline image-attachments to the built-in images (be activated with the first option)
Possibility for layout settings for the converted image-attachments (using CSS properties)
Ability to output at once all the posts from thread on one page (to easily search for the desired text from all thread on the one page) (optional)
Appended to the threadtools link with request all posts from thread on the one page(optional, and so you can limit the maximum number of posts on one page with reassigning the regular vb-settings(but only for printable versions))
Friendly design in mod group-settings (thanks to LifesGreatestGift for great idea!))))
This is my first mod with which I share on vb.org. So wellcome, I`ll try to be a maximum supports.
And... I`m not enough good in english, so.. I will be grateful for literary correction of incorrect phrases in my mod:up:
And one more! Some part of the code based on ideas of: Elite_360_ MarkFL
thanks both for advices!
>>>>Little help for best using my mod.
For install:
Upload folder advprintthread to the root of your forum.
Import product from product manager
Nice function:
After you installing product, go to Options and choose Printthread settings.
Then set option: 'Link with all posts' to 'yes', and fill field 'Maximum displayed posts on one page' with 'all'.
After this, in every thread, in threadtools, you can found new link:
if you click it, you will see all posts from thread in one page in printable version. This allows you to perform an instant search with the contents of all messages in a thread, using the builtin search function of your browser (CTRL + F).
If you are experiencing a very heavy load on your host because of the large number of messages, in option 'Maximum displayed posts on one page' instead of 'all', simply enter the allowable number of messages (for example: '200').
I am trying to get this to work with vb 4.2.5.
I uploaded the files from the upload directory as follows:
/forum/advprintthread
/forum/hooks
I then installed the product and made the following settings in Options/Printhead settings
Enable images in printthread? Yes
Show link with request for all posts on one page in threadtools? Yes
Specify the maximum number of posts that can be displayed on a single page. All
Maximum image size: 100%
Other style options
If I then go to a thread and select Thread Tools / Show Printable Version, it shows the printable version as normal without images.
I looked at the source code, in the product file, and saw links to the directory /advprintthread/hooks/ so I assumed the hooks directory should be a subdirectory of advprinthead and uploaded the hooks directory there.
When I now try to select Thread Tools / Show Printable Version, the page crashes with the following database error:
Database error in vBulletin 4.2.5:
Invalid SQL:
SELECT post.postid, post.visible
FROM rife_post
WHERE post.threadid=7867 AND post.visible=1
ORDER BY dateline
LIMIT 0, 100;
MySQL Error : Unknown column 'post.postid' in 'field list'
Error Number : 1054
Request Date : Tuesday, February 27th 2018 @ 02:25:51 PM
Error Date : Tuesday, February 27th 2018 @ 02:25:52 PM
Script : http://www.rifeforum.com/forum/print...&pp=100&page=1
Classname : vB_Database_MySQLi
MySQL Version : 5.7.21-0ubuntu0.16.04.1