The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

print one or more messages

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

In progress print one or more messages

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

First topic message reminder :

Technical Details


Forum version : phpBB2
Position : Founder
Concerned browser(s) : Opera
Screenshot of problem : http://i19.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


fascicularia
Forumember

Posts : 100
Reputation : 1
Language : french

Back to top Go down


In progress Re: print one or more messages

Post by APE on 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





APE
Manager
Manager

Male Posts : 8339
Reputation : 718
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

In progress Re: print one or more messages

Post by JScript on 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?: http://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
Forumember

Male Posts : 741
Reputation : 167
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 on June 19th 2015, 9:14 pm

yes that is what the member wanted Wink





APE
Manager
Manager

Male Posts : 8339
Reputation : 718
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


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