Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mybb2pdf v1.0
License is attached inside extras folder by using this software you agree to the terms of that license.

Mod Name: Mybb2PDF
Mod Author: Jesse Labrocca
Mod Website:
Mod Version: 1.0
Mod Mybb Compatibility: 1.4x
Mod File Edits: None
Mod Description: This will add the ability to export threads as PDF's.


1. Upload the file from the zip

root/mybb2pdf/ (all files)

2. Alter your templates to add link to export, change text to suit your needs.

Template Name: showthread

<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="pdf"><a href="mybb2pdf.php?tid={$tid}">Export as PDF</a></li>

3. Alter the CSS for your theme to add the pdf class.

Edit showthread.css in your theme in advanced mode

Add this:

ul.thread_tools li.pdf {
background: url(images/pdf.gif) no-repeat 0px 0px;

I guess that's it. Enjoy.


Attached Files
.zip (Size: 24.59 KB / Downloads: 326)
weeee first downloader xD

Great! This will be useful to many! Big Grin
Thanks Smile
This plugin is great.
Great job Smile
Thanks Jesse.
"FPDF error: Some data has already been output, can't send PDF file"

Can you give me a link to the thread? And is it all threads or just one? Did you edit anything?
I haven't edit anything, Its on every post,

The only thing i did is place it over "show printable version" and not under it... But im sure that cant be it!!
Hmm...can you reupload the original file again? You may have some characters on the top of the php file that would cause this. Not sure really. It could be a conflict with another plugin.

Anyone else experiencing this issue?
Works fine here Smile
German Translator. Probleme mit MybbCentral Plugins? Kontaktiert mich.
[Image: mybbaddonssignatur.gif]
Fine for me too.

Forum Jump:

Users browsing this thread: 1 Guest(s)