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
  #12  
Old 02-27-2018, 12:35 PM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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, 8 views)
Reply With Quote
  #13  
Old 02-27-2018, 10:01 PM
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 02-27-2018, 10:24 PM
Peter Walker Peter Walker is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
taravasya
  #15  
Old 02-28-2018, 04:08 AM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #16  
Old 02-28-2018, 08:50 PM
taravasya taravasya is offline
 
Join Date: Apr 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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 12:23 AM.


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.04083 seconds
  • Memory Usage 2,284KB
  • Queries Executed 22 (?)
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
  • (6)post_thanks_box
  • (2)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (4)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_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