5
ah crap i just lost my long post...stupid time out.
thanks for the compliments
i used the same method newbb2 used, pdf created via fpdf.
coincedentally there was a small printpdf.php made back in 2002 for the news module. so from that i created a printpdf.php that barely worked with AMS. I didn't like that too much so i scrapped that this morning and i just finished one thats made exclusively for AMS 2.2. (not bad for a kid whos just taken cs210 eh ?
)see link
http://ivf.ecwhost.com/home/modules/AMS/test.php?storyid=3 then i added a cool pdf button to the article template. and
added a link to the printpdf.php
next i added this
$story['printpdf_link'] = 'printpdf.php?storyid='.$article->storyid();
to the array on line 126 in archive.php and added a link with a cool button link to printpdf.php
and thats about it. i added 4 lines with no changes to the source. included a cool button and fpdf in XOOPS class although that seems like a waste of space with newbb2 including its own fpdf. eh too bad XOOPS doesn't include fpdf.
pm me if you would like to see the printpdf.php and maybe you could include it in ams 2.4?
although the test.php is pretty much done, im about to give it pdf protection with it. so that people can't copy but only print.
o btw do you know how to print the poster id/name along with an article? i asked this in the beginner's fourm but no one replied.