• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Moderation and printing questions

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have 2 questions about JForum :
- is there a printing feature to be able to print the messages correctly for example
- when a message is posted with an attachment in a moderated forum, the administrator can see the message (in the administration panel) but not the attached files. Is there a way to view it ?

Thomas
[originally posted on jforum.net by toomtooms]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Printing

I don't think that the default templates are set up to support a print media format.

However, it shouldn't be hard to add this in. Basically, you will need to modify the templates to modify the areas you don't want to print to have a "noprint" (or similar) class on the element.

E.g. <div class="header noprint">...</div>

Then add in a "print.css" file that is only used with media="print" in the header.htm template file. This should be the last CSS file included. In this file, you should define the noprint class so that it will not display the areas with the noprint class applied. E.g:





You can also play a lot of other CSS games to make the output look nice for a printer. E.g. have the body defined with printer friendly width, margin, font size, and the like.

2) Modators

Not sure since I don't do a lot of moderation... I seem to remember that not being able to see attachments was discussed on an other thread recently. You might do some searching to see what was said there.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're right ! I didn't see this post : https://coderanch.com/t/577588 #17033
and it's not a very good news for me
Does this feature is planned in a future version ?
[originally posted on jforum.net by toomtooms]
 
So I left, I came home, and I ate some pie. And then I read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic