Print Page | Close Window

printer friendly posts problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3531
Printed Date: 04 April 2026 at 2:13am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: printer friendly posts problem
Posted By: donhill
Subject: printer friendly posts problem
Date Posted: 14 June 2003 at 12:30am

Hi, I copied some web pages which contained text and images and pasted them into the message area in post new topic. On the website I have and the printer friendly button printed the mall out mnicely.

On a few others where IO thinlk I uploaded the image via the post and the  url link  the printer friendly post shows the url to teh image and not the image itself.

 

Am I doing something wrong or do I have to paste images in te message body for them to view in the printer friendly post button?

 

 

 




Replies:
Posted By: donhill
Date Posted: 14 June 2003 at 12:32am

test messgae and image url. This one is linked via url button

 



Posted By: WebWiz-Bruce
Date Posted: 14 June 2003 at 4:18am

That is how it was designed to work, so that only text should show on the printer friendly version, so no images just text which is better for the printer.

This has actually been changed in the next version, os that images show in the printer friendly version, only URL's will be changed now so that you can read whet they are on a printed page as http://www.webwiz.net - click here  wouldn't make much senese on a printed page without the URL next to it.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: donhill
Date Posted: 14 June 2003 at 6:11pm

I have to disagree here Borg since I have most of my posts on my website wity images that do show up on the printer friendly version.

As I said some dont and I was wondering why.

See this? Try the printer friendly url and see if it shows.

126WOW.jpg



Posted By: donhill
Date Posted: 14 June 2003 at 6:14pm

So that looks very nice as I intended.

 

So anyone know whyc some dont work? The ones that dont work were posted bu the url button in this post menu

This one below is posted using the url button

 

 



Posted By: donhill
Date Posted: 14 June 2003 at 6:16pm
And looks like they both worked great. Any clues?


Posted By: donhill
Date Posted: 14 June 2003 at 6:16pm

I tried the url post method on my system and no luck. But the paste method worked

 



Posted By: WebWiz-Bruce
Date Posted: 15 June 2003 at 7:03am
I did say in my previous post that the way it works has already been changed for the next version that I am testing at present on this site.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: donhill
Date Posted: 16 June 2003 at 3:49am

yes but it does work on my system too, except as  i said for a couple of posts. When I copy from a webpage and paste it in I am able to printer friendly view the text and image.

When I upload from this url function it doesnt. Since all my original posts to my forum were copied site pages I didnt realize.

I had planned to use the url button to uplaod my images to all new posts but then I discovered on my first new posts they dont work.All my new posts to my forum will be unable to view them unless I either post to a website first before copying them across.

 

Anyway I can get the file with the new code in now? Please



Posted By: WebWiz-Bruce
Date Posted: 16 June 2003 at 4:42am

Go to the file functions_edit_post.asp and find the convert post to text function at the bottom and change it to:-

'******************************************
'***    Convert Post to Text Function ***
'******************************************

'Function to romove icons and colurs to just leave plain text
Function ConvertToText(ByVal strMessage)

 Dim intLoop   'Loop counter
 Dim strTempEmoticonAltTag 'Temp Emoticon code store

 'Remove the font colours, smilley graphics, images, hyperlinks
 strMessage = Replace(strMessage, " target=""_blank""", "", 1, -1, 1)
 strMessage = Replace(strMessage, " border=""0""", "", 1, -1, 1)

 strMessage = Replace(strMessage, "<a href=""", "", 1, -1, 1)
 strMessage = Replace(strMessage, "<a href= """, "", 1, -1, 1)
 strMessage = Replace(strMessage, "</a>", "", 1, -1, 1)

 'Return the message with the icons and text colours removed
 ConvertToText = strMessage

End Function

Although this changed function is no where near being completed and is full of bugs (worse than the old one) for example it doesn't yet convert links to text correctly, problems with borders, etc. But thats becuase I spent less than 2 minutes on it at the moment.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: j055
Date Posted: 25 June 2003 at 3:51am

hello

Printer friendly page breaking HTML

When I view a printer friendly page with font tags the html is broken. It looks like a replace function is corruping the html but I can't find it in the code. Can you help?



Posted By: j055
Date Posted: 25 June 2003 at 3:53am

excpet it dosn't break on your forum so can you tell me where to get the lastest code? I am using 7.01



Posted By: WebWiz-Bruce
Date Posted: 25 June 2003 at 4:02am
See my last post in this topic. The new code is there.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: j055
Date Posted: 25 June 2003 at 4:54am

Oh yes. I didn't see that that code would address my problem but I've tried it and it does so thank you very much.



Posted By: pedalcars
Date Posted: 07 November 2003 at 2:59am
Another html problem on the print friendly page:

If a user has been a twonk and manually inserted forum tags without closing them, the normal page copes OK, but the print friendly page doesn't.

Example:

If a user types in,
"[ RED ]Some text in red [ BLUE ]Some text in blue to end the post"

instead of
"[ RED ]Some text in red [ /FONT ][ BLUE ]Some text in blue to end the post[ /FONT ]"

Then all the following text will maintain the formatting which wasn't closed. In this case, it'll all be in blue. In the normal page, this is cleared at the end of the individual post (ie, next post is fine), but in the print friendly page, the formatting continues.

This is annoying when a user has large / coloured text in their signature, as this carries over to subsequent posts.

Yes it's the user's fault for being a twonk, but given the normal page copes, could the print friendly version not be modified to cope also?

Example:

Some blue text, I have not closed the tag.

-------------
http://www.pedalcars.info/ - www.pedalcars.info

The most fun on four wheels



Posted By: pedalcars
Date Posted: 07 November 2003 at 3:01am
This post has no formatting. Looks fine in the forum. Now click the "print friendly" link, it'll be blue!

To avoid all subsequent posts being blue in the print friendly version, I'll add a font closing tag at the end of this post.

PS. Yes it's minor, but if said twonk has an unclosed [ SIZE = 6 ] in their sig, suddenly all the printable pages take way more paper and ink than they should!


-------------
http://www.pedalcars.info/ - www.pedalcars.info

The most fun on four wheels



Posted By: WebWiz-Bruce
Date Posted: 07 November 2003 at 3:34am
OK, I'll change it so that each post is shown in it's own table that way such things as colours won't be carried over to the next post.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net