1
pathoscord
my first xoops site!
  • 2005/1/25 4:33

  • pathoscord

  • Just popping in

  • Posts: 6

  • Since: 2004/12/16


im really happy i got XOOPS running.
anyway the site is http://ivf.ecwhost.com
theme is from 7dana with the top i modified a bit.
whats even cool is that i got AMS module to have pdf support!

2
brash
Re: my first xoops site!
  • 2005/1/25 6:02

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Nice one pathoscord . Site weighs in at 24 http requests and around 75K of data transfer, not bad . Mind telling me how you implemented PDF support into AMS? Might be something worth adding to the next version .

3
smdcom
Re: my first xoops site!

nice site.. congrats.

4
pathoscord
Re: my first xoops site!
  • 2005/1/26 2:35

  • pathoscord

  • Just popping in

  • Posts: 6

  • Since: 2004/12/16



5
pathoscord
Re: my first xoops site!
  • 2005/1/26 2:54

  • pathoscord

  • Just popping in

  • Posts: 6

  • Since: 2004/12/16


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.

6
limecity
Re: my first xoops site!
  • 2005/1/26 3:42

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


nicely done and organised

7
pathoscord
Re: my first xoops site!
  • 2005/1/26 4:35

  • pathoscord

  • Just popping in

  • Posts: 6

  • Since: 2004/12/16


thanks.

hmm well that was easy, using Klemen VODOPIVEC protection script i now even got pdf protection working too
just click on pdf button after clicking on a test article to see it.

Login

Who's Online

454 user(s) are online (303 user(s) are browsing Support Forums)


Members: 0


Guests: 454


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits