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 / Classic ASP versions(v3.4.XX)
 Allow HTML & Formating
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ranko
Junior Member

400 Posts

Posted - 09 May 2006 :  14:27:49  Show Profile
I am trying out the allow HTML option in the forum and I noticed that the forum adds the <br> tag if I hit enter, which is pretty irritating. Never had it on, so does anyone have idea what do I need to edit to stop it from doing that?

Anything else it changes?

muzishun
Senior Member

United States
1079 Posts

Posted - 09 May 2006 :  15:52:19  Show Profile  Visit muzishun's Homepage
In the FormatStr function in inc_func_common.asp, remove the part that replaces Chr(10) with "<br>". Can't remember the line number off the top of my head, but that's where the replace function is in the forum. It'll do what you're wanting.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 09 May 2006 :  16:05:03  Show Profile
Thanks; I figured it was in there but managed to overlook it when looking for br only.
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 09 May 2006 :  17:55:52  Show Profile  Visit muzishun's Homepage
No problem.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 10 May 2006 :  06:58:02  Show Profile
I assume you're aware of the security risks of enabling HTML and the possibilities of clashes between forum code & HTML, Ranko?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 10 May 2006 :  16:38:50  Show Profile
Yes, but I am safe. I plan to use the second forum as a stash for a story archive, will heavily mod it in the code, and will be the only user with accesstoposting in it. While I am doing the changes I need, and likely latter, I am using Moderate all posts everywhere, just in case.
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07