=== wp-mpdf === Contributors: fkrauthan Donate link: http://www.fkrauthan.de Tags: print, printer, wp-mpdf, pdf, mpdf Requires at least: 2.8 Tested up to: 2.9 Stable tag: 2.2 Print Wordpress posts as PDF. Optional with Geshi highlighting. == Description == Print Wordpress posts as PDF. Optional with Geshi highlighting. It is written for an online games programming magazine == Changelog == = 2.2 = * Added the option to add a text if you have checked "need login" and a user isn't logged in * Added an option to set "need login" per post * Added an option to set an own pdf name * Added an optional download statistic * Now removing cache file and database entry when a post/page is deleted = 2.1.1 = * Fixed a new image print bug = 2.1 = * Added the option to allow pdf print only to users who are logged in * Added a script that you can call by cron to create templates in the background (if you have caching enabled) = 2.0.2 = * Added a missing file = 2.0.1 = * Fixed two small include bugs * Fixed a php4 issiue = 2.0 = * Some small bugfixes * PDF Template support (now you can also use a pdf file as a template): If you need this please write me a mail so I can tell you how it works. = 1.9.2 = * Added two vars to the templates for using PDF Templates = 1.9 = * Added option to make a black list instead of a white list * Added button to clear all selected posts on the black/white list = 1.8 = * Fixed the pdf button function e.g. when using this function on the archive page = 1.7 = * Fixed a small pre html tag problem = 1.6 = * Fixed an image printing bug * Cleaned some code parts which aren't needed * Changed PDF author and creator string * Moved the theme dir from the plugin dir to wp-content/wp-mpdf-themes * Now you can access the plugin config under settings and not any longer under plugins = 1.5 = * Fixed an encoding problem again = 1.4 = * Added function parameter for pdfbutton to link to a new page for PDF Print * Added function to display only for some Posts and Pages the PDF print = 1.3 = * Fixed a <pre> problem with newlines = 1.2 = * Fixed an encoding problem * Converted <pre> to <div class="pre"> to prevent a pdf print bug = 1.1 = * Created an admin panel = 1.0 = * Released the Plugin == Installation == 1. Upload the whole plugin folder to your /wp-content/plugins/ folder. 2. Set write permission (777) to the plugin dir folders => wp-mpdf/cache AND wp-mpdf/mdpf/graph_cache 3. Go to the plugins page and activate the plugin. 4. Add to your template "<?php if(function_exists('mpdf_pdfbutton')) mpdf_pdfbutton(); ?>" as a small button or "<?php if(function_exists('mpdf_pdfbutton')) mpdf_pdfbutton('my link', 'my login text'); ?>" as a textlink. The second text specifies the text which should displayed if you have checked "needs login" and a user isn't loggend in. (if you wish to open the pdf print in a new tab you may pass "true" for the first parameter) 5. You can adjust some options: in your admin interface, click on plugins and then on wp-mpdf. For allowing or disabling pdf export you can use the checkbox when creating/editing a post or a page. 6. Place your templates into /wp-content/wp-mpdf-themes == License == This file is part of wp-mpdf. wp-mpdf is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. wp-mpdf is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with wp-mpdf. If not, see .