The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

print one or more messages

+2
SLGray
fascicularia
6 posters

Page 2 of 2 Previous  1, 2

Go down

In progress print one or more messages

Post by fascicularia April 28th 2015, 11:01 pm

First topic message reminder :

Technical Details


Forum version : phpBB2
Position : Founder
Concerned browser(s) : Opera
Screenshot of problem : https://i.servimg.com/u/f19/11/93/85/24/sans_t19.png
Who the problem concerns : All members
Forum link : http://altitudetropicale.forums-actifs.com

Description of problem

Hi all
Here is a request a little special that seems unworkable, but knows it never.

My community asked me if it was possible to install a button on each message to print one or more messages (a bit like the quote and multi-quote system) without having to print the entire page.

Ideally, the button should be located above the message framing.

Thanks in advance to those who will read this topic.

PS: I provide aspirin has those who go will crush the meninges on this request for assistance.thumright

avatar
fascicularia
Forumember

Posts : 172
Reputation : 1
Language : french

Back to top Go down


In progress Re: print one or more messages

Post by Ape June 18th 2015, 12:42 pm

yes @JScript that is what they want and yes its on each post but it will only print the post you click the button on not the full page if you see what i mean.

so say i want to print just this comment I'm sending you now i will click the print button and it will print just this post Not the full Screen of posts.

APE


print one or more messages  - Page 2 Left1212print one or more messages  - Page 2 Center11print one or more messages  - Page 2 Right112
print one or more messages  - Page 2 Ape_b110
print one or more messages  - Page 2 Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19122
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: print one or more messages

Post by JScript June 18th 2015, 2:06 pm

@APE
So is to print only the text of each post, ignoring everything else, for example: just what I circled in this image?: https://i.imgur.com/dR0kFvP.png

I am testing with the code below:
HTML: <input type="button" onclick="_Print('#p959635')" value="Print">
Script:
Code:

function _Print(elem) {
    _PrintPopup($(elem).html());
}

function _PrintPopup(data) {
    var prtWin = window.open('', 'new div', 'height=400,width=600');
 
    prtWin.document.write('<html><head><title>Help Forumotion Print</title>');
    prtWin.document.write('<link rel="stylesheet" href="/97-ltr.css" type="text/css" />');
    prtWin.document.write('</head><body >');
      prtWin.document.write(data);
    prtWin.document.write('</body></html>');

    prtWin.print();
    prtWin.close();

    return true;
}

But in this case I have to select only the "content" of the post!

JS
JScript
JScript
Forumember

Male Posts : 741
Reputation : 175
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

In progress Re: print one or more messages

Post by Ape June 19th 2015, 9:14 pm

yes that is what the member wanted Wink


print one or more messages  - Page 2 Left1212print one or more messages  - Page 2 Center11print one or more messages  - Page 2 Right112
print one or more messages  - Page 2 Ape_b110
print one or more messages  - Page 2 Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19122
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum