v10.10 format post issues
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30206
Printed Date: 31 March 2026 at 4:32pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: v10.10 format post issues
Posted By: kiklop
Subject: v10.10 format post issues
Date Posted: 08 March 2012 at 12:54pm
We are experiencing problems with post formating with the new version. Specifically, we found out that the COLOR BBcodes do not work properly in our forum (we have RTE disabled... never used it).
Just to be sure i didn't screwed up something with our forum mods i tried unmodified forum version and same issue happens.
Displaying older posts with color markups works fine but as soon the post is edited (or a new one is created) the BBCode doesn't work properly.
Any help would be really appreciated !!
------------- http://www.dyxum.com" rel="nofollow - dyxum.com
|
Replies:
Posted By: kiklop
Date Posted: 08 March 2012 at 1:05pm
One of our admins found the problem; the new regexp loop used to format posts does miss color handling. Adding the below to the function_format_post solves the problem for us.
'Covert [COLOR=xxxx]xxx[/COLOR] BBcode in to HTML With objRegExp .Pattern = "\[COLOR=\s*([^\]]+)\s*\]\s*([^\]]+)\s*\[\/COLOR\]" .IgnoreCase = True .Global = True End With strMessage = objRegExp.Replace(strMessage, "<font color=$1>$2</font>")
------------- http://www.dyxum.com" rel="nofollow - dyxum.com
|
Posted By: WebWiz-Bruce
Date Posted: 08 March 2012 at 1:20pm
Thank-you for this will look in to this.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
|