Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Advanced printthread pages for vB4 Details »
Advanced printthread pages for vB4
Mod Version: 1.2.0, by taravasya (Coder) taravasya is offline
Developer Last Online: Feb 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.2 Rating: (2 votes - 5.00 average) Installs: 9
Released: 02 Sep 2015 Last Update: 28 Feb 2018 Downloads: 45
Not Supported Uses Plugins Auto-Template Re-usable Code Translations  

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

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:
  1. Upload folder advprintthread to the root of your forum.
  2. 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').

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	2015-09-03-01.jpg
Views:	87
Size:	65.5 KB
ID:	153297  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Enhanced printthread v.1.1 JohnWoo vBulletin 3.0 Full Releases 6 01 Apr 2004 17:43

Comments
  #2  
Old 02 Sep 2015, 04:51
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Congratulations on publishing your first add-on!
Reply With Quote
  #3  
Old 02 Sep 2015, 17:39
taravasya taravasya is offline
 
Join Date: Apr 2011
Thanks Mark!!!! ))

--------------------------------
v1.0.2
-- Add russian versions.
-- Some minor fixes.
Reply With Quote
  #4  
Old 03 Sep 2015, 09:53
taravasya taravasya is offline
 
Join Date: Apr 2011
!!Reupload last archive with v1.0.2, since in the early uploaded version the error was detected!!

Last edited by taravasya; 03 Sep 2015 at 10:14.
Reply With Quote
  #5  
Old 04 Sep 2015, 13:06
taravasya taravasya is offline
 
Join Date: Apr 2011
v1.0.3
  • Fixed bug with page navigation.
  • Added separate language files.
  • Link in threadtools does not appear if in settings are not set value to override the standard settings of vB
Reply With Quote
  #6  
Old 27 Sep 2015, 11:07
zorcocuq zorcocuq is offline
 
Join Date: Apr 2011
Real name: Sinan
Thanks for sharing.
__________________
webmaster sitesi
Reply With Quote
  #7  
Old 27 Sep 2015, 11:17
taravasya taravasya is offline
 
Join Date: Apr 2011
Wellcome! ))
Reply With Quote
  #8  
Old 18 Nov 2015, 10:35
taravasya taravasya is offline
 
Join Date: Apr 2011
v1.1.0
  • Optimized query process.
  • Hooks move`d to filesystem.
Reply With Quote
  #9  
Old 15 Dec 2015, 07:03
mysimsek mysimsek is offline
 
Join Date: Dec 2010
Thanks for sharing.
Reply With Quote
  #10  
Old 27 Feb 2018, 12:28
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
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?
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #11  
Old 27 Feb 2018, 13:35
taravasya taravasya is offline
 
Join Date: Apr 2011
Peter Walker, hello!
About folder hooks, its my fault... Your right. This folder must be a subfolder of advprintthread folder. Re-upload mod.

Try to replace file:
/forum/advprintthread/hooks/attachments.php
with file, which attached to my post(this post).

Let me know, please, if its help you.
Thanks!
Attached Files
File Type: php attachments.php (1.2 KB, 4 views)

Last edited by taravasya; 27 Feb 2018 at 14:42.
Reply With Quote
  #12  
Old 27 Feb 2018, 23:01
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Thanks, I have exchanged attachments.php (and put hooks in the right place) and the mod is now working. Direct image links and inline attachment images are now displayed correctly in print mode.

Thanks a lot for fixing this so quickly.
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #13  
Old 27 Feb 2018, 23:24
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
I do still have one issue with this mod. In admincp/options, you have changed the colours of the settings page for your mod. While this looks pretty, it unfortunately affects ALL section when you select "Setting Group -- Show All Settings --." Now every section is in this unusual colour and has the title "Wellcome to "Advanced Printthread Pages" setup"
By the way, the title has two typos, it should be ""Welcome to "Advanced Print Thread Pages" setup"

It would be great if you could limit these colours to your section or just leave the standard colours, as every other mod does.
__________________
Regards

Peter
www.rifeforum.com
Reply With Quote
  #14  
Old 28 Feb 2018, 05:08
taravasya taravasya is offline
 
Join Date: Apr 2011
I understand... I will update mod(little later), and I think I'll remove custom style completely.
About typos))) What can I say? Thanks! My English leaves much to be desired... I'll fix this too...

Last edited by taravasya; 28 Feb 2018 at 05:18.
Reply With Quote
  #15  
Old 28 Feb 2018, 21:50
taravasya taravasya is offline
 
Join Date: Apr 2011
v1.2.0
  • Fix bug with custom table prefixes(file attachments.php).
  • Removed my custom style for dont change whole admin-cp style while selected: Setting Group / Show All Settings.
(thanks to Peter Walker )
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:53.

Layout Options | Width: Wide Color: