![]() |
Advanced printthread pages for vB4
1 Attachment(s)
Little mod with which you can extend the functionality of the pages in the printable version.
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:
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: https://vborg.vbsupport.ru/ 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'). |
Congratulations on publishing your first add-on! :)
|
Thanks Mark!!!! ))
-------------------------------- v1.0.2 -- Add russian versions. -- Some minor fixes. |
!!Reupload last archive with v1.0.2, since in the early uploaded version the error was detected!!
|
v1.0.3
|
Thanks for sharing.
|
Wellcome! ))
|
v1.1.0
|
Thanks for sharing.
|
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 What am I doing wrong and can this be fixed? |
All times are GMT. The time now is 10:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|