![]() |
5.21 Edit comment with UBB reverts to HTML Hi, I am running PP5.21 - 2 instances. Both have the problem. When a comment containing UBB is edited the [UBB] code is shown as HTLM. If these HTMLs are not all manually changed back to [UBB] and Submit Edit is clicked then the changed comment displays the HTML. What is the fix please? Code: Content visible to verified customers only.<span style="font-weight:bold">Test </span> <span style="font-style:italic">test</span> |
What are you using here? Code: Content visible to verified customers only. |
Ahhh! That could be it. I am running UBB threads V6.3 integration. This already causes issues with the member / _cache that we have discussed before. Is there a fix we can make, or do I need to upgrade the UBBthreads? Cheers Mike |
well I show we convert the bbcode so dont know why you would show it converted when you hit edit Your talking comments not descriptions right |
Yes, Chuck, we are talking about editing comments made under a photo that now needs to be edited. Where they contain any UBB code the edit click opens the comment ready for editing with the UBB code replaced by html as shown above. This URL is just a scrap book, so not much used - try it out here please. http://www.encaustic.com/teach/showphoto.php?photo=220 Thanks Mike |
I do not see anything broke on that page as far as ubbcode I do however see you have a mysql query issue with threads.php line 55 as your using an old threads $queryv = ppmysql_query("SELECT C_Users FROM {$Globals['dprefix']}Cache", $db_link); you might want to use this $queryv = ppmysql_query("SELECT * FROM {$Globals['dprefix']}Users", $db_link); |
Thanks for the mysql code - I forgot to change that on this instance - it is already done on the other one at http://www.encausticgallery.com Getting back to the UBB code problem shown on the page that you visited: http://www.encaustic.com/teach/showphoto.php?photo=220 I opened my comment there in order to edit it, then copied the contents of the text box exactly as they showed, and pasted them into a new comment beneath the original. You can see the UBB code is now html. What is causing this failure of HTML reverting to UBB code for the editing of the comment? Thanks Mike |
what happens if you remove the lines I posted above in comments.php? |
Yes, that is it Chuck - thanks. http://www.encaustic.com/teach/showphoto.php?photo=220 Quote:
Cheers Mike |
| All times are GMT -5. The time now is 05:13 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0