Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> News Module Hack - Discussion
Author Message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Thu Feb 05, 2009 7:19 am Reply with quote

Maybe add the bookmarking stuff to the Category page? For example http://www.horror-code.com/article-category-1.html

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Thu Feb 05, 2009 7:50 am Reply with quote

The problem is that the fpdf class does not support html output by default, that why I used html2fpdf class in Content Plus. This class extends fpdf functionality and allow to use a most common html/css tags.

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella
http://about.me/jestrella04 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Thu Feb 05, 2009 11:01 am Reply with quote

I have a test for the pdf html fix. It can be downloaded at Only registered users can see links on this board! Get registered or login! I still need to work on image display. The printpdf.php file is the only one changed so I only put that one file for download. Just replace the one in the News folder with this updated one.


Last edited by nuken on Wed Feb 11, 2009 4:54 pm; edited 1 time in total 
View user's profile Send private message Send e-mail Visit poster's website
horrorcode
Involved
Involved



Joined: Jan 17, 2009
Posts: 272
Location: Missouri

PostPosted: Thu Feb 05, 2009 11:15 am Reply with quote

That doesnt seem to do anything for me, looks fine on your site though?
http://www.horror-code.com/article-printpdf-3.html
Edit: Nevermind I see in printpdf it all depends on the tag, more to add though

One other thing, clicking the link doesnt bring you to the story page
 
View user's profile Send private message
nuken







PostPosted: Thu Feb 05, 2009 11:47 am Reply with quote

TY. You got to love them issues.
 
nuken







PostPosted: Thu Feb 05, 2009 2:05 pm Reply with quote

OK. the same link above is to another fix. It fixes the link back to the article issue, image display in pdf and some other html fixes. The images will only work if they are in http://sitename/imagelocation format. if the image is in /imagefolder/image format, it will generate an error when viewed as pdf. That is the next thing I'm gonna address. It is only one file, the printpdf.php file.
 
horrorcode







PostPosted: Thu Feb 05, 2009 10:24 pm Reply with quote

Seems to work a bit faster. Im not sure what you meant about the images, the logo right? I ask because I never got any errors. The story link works, excellent. Thanks again
 
Palbin







PostPosted: Thu Feb 05, 2009 11:11 pm Reply with quote

I think he means if you use a relative link instead of an absolute one. Meaning if you link your image with http://www.yoursite.com/images/raven.jpg it will work, but if you use ./images/raven.jpg it won't.

At least that is what I think he meant.
 
horrorcode







PostPosted: Fri Feb 06, 2009 12:00 am Reply with quote

Ah that makes sense, I handnt even thought of changing anything that specific yet. I figure as long as theres a logo in there, although I am wondering about the size, Im sure thats an easy change so it can wait.

I wonder, would it be possible to get the actual story image to load as well, or instead? It would probably be slower with both right?
 
nuken







PostPosted: Fri Feb 06, 2009 6:25 am Reply with quote

Sorry I should have made that clear. I was talking about the images inside the story. If you add an image to the article itself, it has to be an absolute link in order to work with the pdf. It you use an image with a transparent background, you will get an error that says something about that image type in not allow. Like I said, much left to do. Thanks again for the feedback and the ideas.
 
Palbin







PostPosted: Sat Feb 07, 2009 10:57 am Reply with quote

Found another bug. In the "Bookmark links" & "Tag This" blocks the urls in the link show as httpwww..........

The "Bookmark This" blocks seems to be fine.
 
nuken







PostPosted: Wed Feb 11, 2009 5:27 pm Reply with quote

Just to give a heads up, this project has been moved to Trickedoutnews.com
My hosting contract expires next month with the other hosting company and my sites have had ftp security issues with them so I decided to make a switch and add a new domain too. Also RC 2 is ready for download. The biggest changes are the comments look more like a forum post and the pdf images have been disabled until I can make it easier to use it with the wysiwyg editor.
 
Palbin







PostPosted: Wed Feb 11, 2009 6:11 pm Reply with quote

nuken, I sent you a pm about the blocks.
 
nuken







PostPosted: Wed Feb 11, 2009 6:30 pm Reply with quote

Thank you Palbin.
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6441

PostPosted: Sat Feb 28, 2009 4:51 pm Reply with quote

Only registered users can see links on this board! Get registered or login! would be a really cool addition...

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> News Module Hack - Discussion

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©