Log in

View Full Version : Show Thread Enhancements - Save Page as PDF


m!dn!ght
09-17-2012, 10:00 PM
hi :)
with this mini change you can add a "save as pdf button" in every single Page

step 1 in SHOWTHREAD template find below line

{vb:raw template_hook.threadtoolbar}


Step 2 copy and paste below codes after that

<div style="float:left;">
<!-- PDF Converter Button BEGIN By Sgwgo -->
<script type="text/javascript">
var
pdfbuttonlabel="Save page as PDF"
</script>
<script src="http://www.web2pdfconvert.com/pdfbutton2.js" id="Web2PDF" type="text/javascript"></script>
<!-- PDF Converter Button END By Sgwgo -->
</div>

step 3 Save template

Live Demo (http://www.persian-music.org/2-%D9%82%D9%88%D8%A7%D9%86%DB%8C%D9%86-%DA%A9%D9%84%DB%8C-%D8%B3%D8%A7%DB%8C%D8%AA.html)

all right reserved for www.web2pdfconvert.com

Mr_Running
09-18-2012, 05:27 PM
Interesting :)
Hello midnight, this needs to be marked as External Content

m!dn!ght
09-18-2012, 06:02 PM
Interesting :)
Hello midnight, this needs to be marked as External Content
hi :D
thank you
marked

abdobasha2004
09-19-2012, 10:50 PM
new idea, useful for tips and tricks posts, and useful for this website : http://www.web2pdfconvert.com/ :)

Alan_SP
09-20-2012, 10:27 AM
Actually, this has wrong title. This template change doesn't save thread, but page. Whole thread could be many pages and user would need to save each page manually.

There's a mod that saves whole threads as txt.

ahobilam
09-22-2012, 11:52 AM
My version of VB:4.2
I did it like below:
Edit Templates
Printable Thread template->printthread

find: <ul id="postlist">
Pasted the given code above this.
So,
now it is possible to make pdf of the content of entire thread easily.
Thanks.

xixxon
09-24-2012, 03:25 PM
Good idea ! :)

Dorgham
02-25-2013, 04:51 PM
Great idea and are being implemented now :)