Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Displaying images
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

germkilla
Starting Member

USA
21 Posts

Posted - 23 July 2001 :  12:08:22  Show Profile  Visit germkilla's Homepage  Send germkilla an AOL message  Send germkilla an ICQ Message
Currently in our forum, 'forum code' is on, 'allow html' is off and 'images in posts' is on. When I enter or and preview it, all I see is the html code - no images. Does 'allow html' need to be on to display these things?

Thanks,
Lee

asp_storm
Average Member

USA
787 Posts

Posted - 23 July 2001 :  12:23:48  Show Profile  Visit asp_storm's Homepage  Send asp_storm an AOL message
no it shouldnt need to be

[_____-asp_newbie-_____]
(__Webmaster__)
[-Newschoolskiing.com-]
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 23 July 2001 :  12:47:33  Show Profile  Send Astralis a Yahoo! Message
I was having the same problem. How can you show images? I can only get a hyperlink to show, no image will show up.

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 23 July 2001 :  21:24:02  Show Profile
In your inc_functions.asp file look for the following code. It is in the "ChkString()" function (lines 496 - 500, if you haven't edited your file):
if fField_Type = "preview" then
if strAllowHTML <> "1" then
fString = HTMLEncode(fString)
end if
end if
You can either delete it or comment out each line of code by putting a quote ' in front of each line.

Then in the same function, about 88 lines back up, you will see this bit of code (lines 408 - 414):
elseif fField_Type = "message" then
if strAllowHTML <> "1" then
fString = HTMLEncode(fString)
end if
elseif fField_Type = "preview" then
if strAllowHTML <> "1" then
fString = HTMLEncode(fString)
end if

elseif fField_Type = "hidden" then
fString = HTMLEncode(fString)
end if
The code in red is what you will add to your file.
If you don't think you can do that correctly, email me your inc_functions.asp file and I'll edit it for you.

- David
Go to Top of Page

germkilla
Starting Member

USA
21 Posts

Posted - 24 July 2001 :  10:28:19  Show Profile  Visit germkilla's Homepage  Send germkilla an AOL message  Send germkilla an ICQ Message
Davio,

Thank you for the response. It has fixed the original problem but created a new one. Now when I turn 'forum code', 'allow html' and 'images in posts' to off, images still appear... I guess something in the fix needs to be fixed...

Thanx!

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 24 July 2001 :  16:46:42  Show Profile
Posts that already have images in there will stay there, but new posts won't have images in there.

- David
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07