Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced printthread pages for vB4 Details »»
Advanced printthread pages for vB4
Version: 1.2.0, by taravasya taravasya is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

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:
  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

File Type: zip Advanced_Printthread_Pages_for_vB4_v1.1.0_en_ru.zip (10.0 KB, 7 views)
File Type: zip Advanced_Printthread_Pages_for_vB4_v1.2.0_en_ru.zip (9.4 KB, 11 views)

Screenshots

File Type: jpg 2015-09-03-01.jpg (65.5 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
MarkFL

Comments
  #2  
Old 09-02-2015, 02:51 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Congratulations on publishing your first add-on!
Reply With Quote
  #3  
Old 09-02-2015, 03:39 PM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mark!!!! ))

--------------------------------
v1.0.2
-- Add russian versions.
-- Some minor fixes.
Reply With Quote
  #4  
Old 09-03-2015, 07:53 AM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

!!Reupload last archive with v1.0.2, since in the early uploaded version the error was detected!!
Reply With Quote
  #5  
Old 09-04-2015, 11:06 AM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 09-27-2015, 09:07 AM
zorcocuq zorcocuq is offline
 
Join Date: Apr 2011
Location: Izmir,Turkey
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing.
Reply With Quote
  #7  
Old 09-27-2015, 09:17 AM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wellcome! ))
Reply With Quote
  #8  
Old 11-18-2015, 09:35 AM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v1.1.0
  • Optimized query process.
  • Hooks move`d to filesystem.
Reply With Quote
  #9  
Old 12-15-2015, 06:03 AM
mysimsek mysimsek is offline
 
Join Date: Dec 2010
Location: Turkey
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing.
Reply With Quote
  #10  
Old 02-27-2018, 11:28 AM
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06207 seconds
  • Memory Usage 2,325KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete