View Full Version : [COLOR] tags not being parsed in RP3.3
June 19th, 2006, 12:02 PM
[COLOR] BBcode is are not being parsed in the 'product description' field RP3.3 - it's odd as it only seems to be [COLOR] as [URL] BBcodes are appearing fine as a URL like they're meant to.
June 19th, 2006, 02:03 PM
Make sure your using the bbcode correctly. It works fine in the product description here is an example
June 19th, 2006, 02:19 PM
It was working fine before I upgraded (from 3.11 to 3.3) and 'Allow HTML in Product Fields' is set to yes.
June 19th, 2006, 02:23 PM
I am using 3.3
June 19th, 2006, 02:29 PM
Well it's not working for me. If I send you my showproduct.php file wil you please can you take a look at it.
June 19th, 2006, 02:35 PM
I would simply suggest you upload clean unmodified files as we clearly convert markups on the description field of the product.
June 19th, 2006, 04:22 PM
What files should I re-upload? I tried re-uploading showproduct.php but that didn't fix the problem. Tried replacing all the files and that doesn't solve the problem either.
It's only the [COLOR] tags that aren't being parsed - the rest seem to be ok.
June 19th, 2006, 04:48 PM
I honestly do not know what to tell you. showproduct.php would be the one and I use vb 3.5 and a clean unmodified Reviewpost 3.3
I think I see your issue though. Your color bbcode is incorrect. Try making both codes lowercase and red lowercase as well. I think someone typed the code incorrectly in your case.
June 19th, 2006, 05:13 PM
Chnging it all to lowercase unfortunately doesn't solve the problem.
Is it not possible for you to write a line of code along the lines of the convert & to & that you did for me yesterday I could insert or is that a stupid question?
This happened from an upgrade from 3.11 to 3.3 - I noticed I wasn't the only one having problems with the same version upgrade (http://www.photopost.com/forum/showthread.php?t=125177).
June 19th, 2006, 05:23 PM
Just had a look in the mySQL table... is this right?
June 19th, 2006, 05:28 PM
There should not be quote tags at all in the coloe tag it should be
June 19th, 2006, 07:20 PM
At last... we've found the problem :) thanks for your help.
Can you advise me on a suitable 'search and replace' mySQL command to replace all instances of [COLOR="Red"] to [COLOR="Red"]
June 19th, 2006, 07:26 PM
run this with care
UPDATE rp_products SET description = REPLACE(description, '[COLOR="Red"]','[color=red]')
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.