Dec 04, 2008, 10:09 PM
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: http://www.MybbCentral.com
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.
Installation
1. Upload the file from the zip
root/mybb2pdf.php
root/mybb2pdf/ (all files)
root/images/pdf.gif
2. Alter your templates to add link to export, change text to suit your needs.
Template Name: showthread
After:
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
Add:
<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.
DEMO: http://www.hackforums.net
Mod Name: Mybb2PDF
Mod Author: Jesse Labrocca
Mod Website: http://www.MybbCentral.com
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.
Installation
1. Upload the file from the zip
root/mybb2pdf.php
root/mybb2pdf/ (all files)
root/images/pdf.gif
2. Alter your templates to add link to export, change text to suit your needs.
Template Name: showthread
After:
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
Add:
<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.
DEMO: http://www.hackforums.net