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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 "ampersand-hash-0-9-1-semicolon"?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

madfiddler
Starting Member

United Kingdom
33 Posts

Posted - 07 February 2005 :  08:50:14  Show Profile
I was trying to work with the user faq mod and add a new faq that explained a new forum code I had added.

However, my new forum code was turned into the appropriate HTML so you couldn't see the code sample in the FAQ when displayed!

so I tried to use the characters "ampersand-hash-0-9-1-semicolon" for example to insert an open square bracket and avoid my new forum code being processed.

Thing is in chkString of inc_func_common.asp it replaces "ampersand-hash" with "hash" so "ampersand-hash-0-9-1-semicolon" then became "hash-0-9-1-semicolon" and did not display.

I commented this line out in chkString, I can't really think why it is there. anyone any ideas? Am I safe to have done this?

Gargoyle over at www.shnforum.com suggested I come over here and ask the all-knowing HuwR....

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 07 February 2005 :  09:06:23  Show Profile
To prevent forum code from being parsed, simply break the tag you wish to show up with another.

Example:
[[b][/b]url] would give you [url]

The removal of &# is there for security reasons; try searching these forums for more information.


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
  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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07