Print All Posts in Topic

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28362
Joined: Sat Aug 16, 2003 7:36 am

Print All Posts in Topic

Post by Extensions Robot »

Modification name: Print All Posts in Topic
Author: RMcGirr83
Modification description: This modification will allow a user to print all posts with in a topic. Currently when clicking on the print icon in prosilver, the current posts being displayed on the screen are sent to the printable html file. With this mod, by clicking on the print all posts link, all of the posts within the topic will be sent to the html file for printing/storage.

Custom support is given at this forum
Modification version: 1.0.0.a
Tested on phpBB version: 3.0.2

Download file: print_all_posts.zip
File size: 54.35 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 11 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26366
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Print All Posts in Topic

Post by Paul »

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21328
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Print All Posts in Topic

Post by RMcGirr83 »

Thank you MOD Validation Team! :)

I really need to work on a new icon for prosilver. If any graphic god-like soul would like to present one, it would be appreciated cuz my graphic skillz are not up to par.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
evilepsilon
Registered User
Posts: 5
Joined: Mon Apr 28, 2008 10:02 pm

Re: Print All Posts in Topic

Post by evilepsilon »

Well, at least in my opinion it doesn't have to be more complicated than this:
icon_print_all.png
icon_print_all.png (741 Bytes) Viewed 12287 times
If you have something specific in mind tell me and I'll try to make it.

Can you please add what lines need to be changed in order to make this (or any other graphic for that matter) replace the current icon? thanks.
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21328
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Print All Posts in Topic

Post by RMcGirr83 »

I have uploaded a new file into the MODDB just awaiting validation, anyway maybe this will help.

Code: Select all

		<open src="styles/prosilver/template/overall_header.html">
    		<edit>
                <find><![CDATA[L_PRINT_TOPIC}</a></li>]]></find>
                 <inline-edit>
	                <inline-find><![CDATA[</li>]]></inline-find>
                	<inline-action type="after-add"><![CDATA[<li class="rightside"><a href="{U_PRINT_ALL_POSTS}" title="{L_PRINT_ALL_POSTS}" accesskey="p" class="printall">{L_PRINT_ALL_POSTS}</a></li>]]></inline-action>
                </inline-edit>
			</edit>
		</open>
		<open src="styles/prosilver/theme/buttons.css">
    		<edit>
                <find><![CDATA[a.print, a.sendemail, a.fontsize]]></find>
                 <inline-edit>
	                <inline-find><![CDATA[a.fontsize]]></inline-find>
                	<inline-action type="after-add"><![CDATA[, a.printall]]></inline-action>
                </inline-edit>
			</edit>
    		<edit>
                <find><![CDATA[a.print]]></find>
                 <inline-edit>
	                <inline-find><![CDATA[a.print]]></inline-find>
                	<inline-action type="after-add"><![CDATA[, a.printall]]></inline-action>
                </inline-edit>
			</edit>
		</open>
		<open src="styles/prosilver/theme/colours.css">
    		<edit>
                <find><![CDATA[a.print {
	background-image: url("{T_THEME_PATH}/images/icon_print.gif");
}]]></find>
				<action type="after-add"><![CDATA[a.printall {
	background-image: url("{T_THEME_PATH}/images/icon_printall.gif");
}]]></action>
            </edit>
		</open>
		<open src="styles/prosilver/theme/bidi.css">
    		<edit>
                <find><![CDATA[.rtl a.print, .rtl a.sendemail, .rtl a.fontsize]]></find>
                 <inline-edit>
	                <inline-find><![CDATA[a.fontsize]]></inline-find>
                	<inline-action type="after-add"><![CDATA[, .rtl a.printall]]></inline-action>
                </inline-edit>
			</edit>
		</open>
		<diy-instructions lang="en">Refresh the prosilver style to get the new icon to show and purge the cache after installing the mod to regenerate the template files</diy-instructions>
Just rename this part

Code: Select all

		<open src="styles/prosilver/theme/colours.css">
    		<edit>
                <find><![CDATA[a.print {
	background-image: url("{T_THEME_PATH}/images/icon_print.gif");
}]]></find>
				<action type="after-add"><![CDATA[a.printall {
	background-image: url("{T_THEME_PATH}/images/icon_printall.gif");
}]]></action>
            </edit>
		</open>
to be this for your graphic

Code: Select all

		<open src="styles/prosilver/theme/colours.css">
    		<edit>
                <find><![CDATA[a.print {
	background-image: url("{T_THEME_PATH}/images/icon_print.gif");
}]]></find>
				<action type="after-add"><![CDATA[a.printall {
	background-image: url("{T_THEME_PATH}/images/icon_print_all.png");
}]]></action>
            </edit>
		</open>
then copy your image into

Code: Select all

root/styles/prosilver/theme/images/icon_print_all.png
..and yeah, it doesn't have to be anymore complicated than that graphic, but what's easy for you may not be easy for me. I never learned photoshop or GIMP and have no desire to at this point in time.

Thanks for the graphic though. :)
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
evilepsilon
Registered User
Posts: 5
Joined: Mon Apr 28, 2008 10:02 pm

Re: Print All Posts in Topic

Post by evilepsilon »

RMcGirr83 wrote:
..and yeah, it doesn't have to be anymore complicated than that graphic, but what's easy for you may not be easy for me. I never learned photoshop or GIMP and have no desire to at this point in time.

Thanks for the graphic though. :)
I think I was misunderstood - the word "simple" was to state that I don't want to make something bombastic but rather a slight change to the original picture. I had no intention in mocking you or your graphic skills.
You helped us all with this wonderful mod, the least I could do is help in the ways I can.

Thanks for the mod, I waited long time for something like that :)

I have one question though - I didn't understand what I have to edit, can you be more specific for php/xml/etc retard like myself? :)
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21328
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Print All Posts in Topic

Post by RMcGirr83 »

No problem, my graphic skillz just are weak :)

Try this

Code: Select all

open

styles/prosilver/template/overall_header.html

find

L_PRINT_TOPIC}</a></li>

inline_find
</li>

inline after-add

<li class="rightside"><a href="{U_PRINT_ALL_POSTS}" title="{L_PRINT_ALL_POSTS}" accesskey="p" class="printall">{L_PRINT_ALL_POSTS}</a></li>

open

styles/prosilver/theme/buttons.css

find

a.print, a.sendemail, a.fontsize

inline-find

a.fontsize

inline after-add

, a.printall

find

a.print

inline-find

a.print

inline after-add

, a.printall

open

styles/prosilver/theme/colours.css

find

a.print {
       background-image: url("{T_THEME_PATH}/images/icon_print.gif");
    }

after-add

a.printall {
       background-image: url("{T_THEME_PATH}/images/icon_print_all.png");
    }
    
    
open

styles/prosilver/theme/bidi.css

find

.rtl a.print, .rtl a.sendemail, .rtl a.fontsize

inline-find

a.fontsize

inline after-add

, .rtl a.printall

Refresh the prosilver style to get the new icon to show and purge the cache after installing the mod to regenerate the template files
upload the graphic into styles/prosilver/images/*.* refresh the template in the ACP and you should be set.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
evilepsilon
Registered User
Posts: 5
Joined: Mon Apr 28, 2008 10:02 pm

Re: Print All Posts in Topic

Post by evilepsilon »

Works perfect, thanks! :)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26366
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Print All Posts in Topic

Post by Paul »

MOD Updated to version 1.0.0.a
See first post for Download Link
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21328
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Print All Posts in Topic

Post by RMcGirr83 »

Thank you Validation Team :D
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Print All Posts in Topic

Post by A_O_C »

bookmarked. just got around to seeing this one...
MKULTRA
Registered User
Posts: 188
Joined: Tue Oct 16, 2007 12:07 pm
Contact:

Re: Print All Posts in Topic

Post by MKULTRA »

I doubled checked and am fairly certain I installed this correctly, now when I go into print view for both this MOD and the default single page method, the view I see is the HTML dumped out onto the page. Am I the only one that has had this issue?
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Print All Posts in Topic

Post by A_O_C »

MKULTRA wrote:I doubled checked and am fairly certain I installed this correctly, now when I go into print view for both this MOD and the default single page method, the view I see is the HTML dumped out onto the page. Am I the only one that has had this issue?
i think this is intended (i havent tested)...
MOD Robot wrote:Modification description: ...all of the posts within the topic will be sent to the html file for printing/storage...
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21328
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Print All Posts in Topic

Post by RMcGirr83 »

A_O_C FTW!! :)
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
MKULTRA
Registered User
Posts: 188
Joined: Tue Oct 16, 2007 12:07 pm
Contact:

Re: Print All Posts in Topic

Post by MKULTRA »

Oh really, that sort of defeats the purpose of printing a thread. Saving it into a file as an additional option is one thing, but it should still permit outright black and white printing of a simple format page, as is the default. This is including everything, even the header information. I think this MOD needs to be updated, in its current state it is not very practical.
Locked

Return to “[3.0.x] MOD Database Releases”