I did some testing to allow Admins the use of HTML without the feature being turned on for everyone and it worked BUT when you used the html tag for images <img src="image.gif"> and then edited the post it interpreted it as forum code and really threw it out of whack.
I thought this was a coding problem on my part so I reverted to the original code and turned on HTML and did the same thing using an <img src="image.gif"> and the same thing happened.
I have been reading thousands of lines of code the past 3 days and need a break, is there anyone that can tell me the best logic or routine to prevent this from happening?
Here's what happens when you edit a post that originally used the html version of image:
[ img]image.gif">
I put a space in the above example so it didn't get interpreted as forum code...
In reading your post I don't know what you're trying to achieve but if it's any help, I turned on html in my forum to set up the main forum so I could add pics and descriptions to each forum and then turned it off allowing only forum code for our posters. The html coding I did for the forum titles held but now, the only thing allowed in posts is forum code. That way my original html let me set things up the way I wanted but restricted my posters from evoking dangerious html scripts.
Don't know if this is a solution to your problem but I took a stab at it.
quote: In reading your post I don't know what you're trying to achieve but if it's any help, I turned on html in my forum to set up the main forum so I could add pics and descriptions to each forum and then turned it off allowing only forum code for our posters. The html coding I did for the forum titles held but now, the only thing allowed in posts is forum code. That way my original html let me set things up the way I wanted but restricted my posters from evoking dangerious html scripts.
Don't know if this is a solution to your problem but I took a stab at it.
(edit) spelling
Edited by - ribkick on 31 May 2001 20:51:01
I've done that too, turning on HTML for my immediate needs and then turning it back off and yes the html post remains intact, my problem is I don't want to do that. Admins should be able to use HTML in my eyes and I've achieved that.
The problem here is the use of image tags in html and then editing the post. the decoding of the string gets all out of whack. try it yourself. turn on html and then make a test post using both image coding for forum and htm. then edit your post and look what happens to your original entry... I know I can just fix it during the edit but it would be nice to fix snitz code to prevent this anomoly from occurring.