A Non-Parse tag

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/59378?pagenum=1
04 November 2025, 21:28

Topic


robrjohnson
A Non-Parse tag
11 September 2005, 15:56


Is it simple to add a tag that will prevent the forum software from parsing the content (e.g. )? It'd be easier than having to insert tags (open & close bold) inside something you're trying to demonstrate. The use would be similar to this:

[[b][/b]url="htt[b][/b]p://w[b][/b]ww.myurl.com"]My url[[b][/b]/url]<

 

Replies ...


laser
11 September 2005, 16:51


It is simple, but it's probably just as easy to insert one tag inside another .... like this :

[url="http://www.v8central.com"]The best motor racing site[/url]<
robrjohnson
11 September 2005, 20:09


That's what I did in the example above. It's fine for simple examples but not for extensive examples. It quickly becomes a pain.<
MarcelG
14 September 2005, 10:06


I think I've build something that might just work. Check the function NoParse in my inc_func_common.asp (login demo/demo if you don't want to register)
It uses the CleanCode function, which afaik is in inc_func_posting.asp ; so, in order to get this to work, you might want to move that function from inc_func_posting.asp to inc_func_common.asp, ór include inc_func_posting.asp in all pages. It seems to be working ; demo: http://www.oxle.com/topic.asp?TOPIC_ID=3117 (also use login demo/demo if you don't want to register).<
robrjohnson
14 September 2005, 13:39


Nice! I like the DOS window too!<
MarcelG
14 September 2005, 14:21


Originally posted by robrjohnson
Nice! I like the DOS window too!
offtopic ; for the DOS window, check the function ReplaceCMDTags in inc_func_common.asp (used in FormatStr, right at the top), plus the style .codepre in inc_header.asp<
© 2000-2021 Snitz™ Communications