UBB.Dev
Posted By: Jhariden Markup Error (PHP - 5.3) - 05/06/2001 3:15 PM
This is not really a bug as much as typo, but it does break the markup.

When a user uses the [ email ] address [ /email ] markup tag in his or her signature (or anywhere in the post) it works fine - just as it is designed to do. However, if the person edits their post, the script automatically changes the markup to read: [ Email ] address [ /Email ]. Notice the capital "E"? If the person does not manually edit the Cap "E" to a lowercase "e" the link fails to work anymore.

I found that in the generic.php language file the word "email" is entered as "Email". By changing this to read "email" it solved the problem.

Request: The markups should not be case sensitive. I think that there are too many variables here to be that strict. Can we see the code modified to allow any combination of capital and lowercase lettering as long as the string is correct?

Jhariden (aka Strategist)
Stratics Forums
Posted By: Rick Re: Markup Error (PHP - 5.3) - 05/08/2001 4:06 AM
This should be an easy change as I can just put in a case insensitive switch on the regex's. Will get these patched up as I'm making the changes for 5.4.
© UBB.Developers