1 stk Sep 02, 2005 22:01
3 stk Sep 02, 2005 22:29
Wow ... I'm one post away from being "an expert"! :lol:
Glad you like the changes. This "Invalid URL" thing has bugged me for a long time. I used to just turn off the HTML-checker, but then, two weeks later, I'd realize that I forgot to turn it back on. 8| Ouch.
Just this morning, I was thinking about modifying the code so that it skips the URL check for admin-posts (I'm the only one who posts to our blog), but then realized that I needn't be THAT drastic .... just having more feedback would help.
Tracking down WHICH url used to be a real pain. I think the above will make it TONS easier.
Hope so, anyway.
Cheers,
-stk :)
4 personman Sep 02, 2005 22:52
Another thing I've thought of would be to have a checkbox in the post editing area (for admins only) that turns off the html checker during that post only. It would be opt-in, so you would only use it when you need it, such as when you know the code will work, but you don't want to go edit _formatting.php because this is the only time you'll need to post the code in question.
5 stk Sep 03, 2005 00:42
Yes, I've thought of that too. It would be useful.
I'll second that feature request.
Another one I'd like: an easier way of editing the allowed HTML. (Like the way a spell checker works) ...
WARNING: attribute "class" not allowed in tag <p>
What do you want to do: [ignore] [ignore all] [add] [edit allowed tags] ?
-stk
6 personman Sep 03, 2005 00:46
_formatting.php is a pretty scary file. I know that html checking is important, but if it's too hard to do what you want, then some people may turn it off altogether.
7 kwa Sep 03, 2005 19:48
I tried to add the <script> HTML (with some of its attributes) tag to /conf/_formatting.php... First, that file looks pretty cool, but when you try something by yourself, after half an hour of miscellenaous trials and errors, you just leave that file as it was at the beginning and open your [url=www.phpmyadmin.net/]phpMyAdmin[/url] page to insert your tags without any checking...
A "Don't check HTML" checkbox would be fine. However, in order to avoid security issues, it would be fine to restrict it to Administrator or other trusted users...
After trying to help someone on the forum track down one of these errors the other day I was about to suggest the same thing. I wouldn't have posted the code to fix it, though, so I'm glad I waited.