PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 4th, 2005, 02:36 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Wales
Posts: 30
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.
becomes
<span style=&quot;font-weight:bold&quot;>Test </span>
<span style=&quot;font-style:italic&quot;>test</span>
encaustic is offline   Reply With Quote
Old November 5th, 2005, 04:56 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
What are you using here?

Code:
Content visible to verified customers only.
This would appear correct but if you let me know what integration I will see what I can suggest
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 5th, 2005, 05:50 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Wales
Posts: 30
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
encaustic is offline   Reply With Quote
Old November 6th, 2005, 01:54 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 6th, 2005, 04:31 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Wales
Posts: 30
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
encaustic is offline   Reply With Quote
Old November 7th, 2005, 03:40 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
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);
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 7th, 2005, 04:19 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Wales
Posts: 30
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
encaustic is offline   Reply With Quote
Old November 7th, 2005, 05:02 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
what happens if you remove the lines I posted above in comments.php?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 7th, 2005, 07:17 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Wales
Posts: 30
Yes, that is it Chuck - thanks.
http://www.encaustic.com/teach/showphoto.php?photo=220

Quote:
removed comments.php at line 120 + 121
// if ( VB3_ENHANCEDINT == "on" ) $ecomments = un_htmlspecialchars($ecomments);
//else $ecomments = convert_markups($ecomments);
FIXED for ubb threads V6.3 integration

Cheers
Mike
encaustic is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.14 After edit comment the smilie convert to HTML Tags macuser Photopost Pro Bug Reports 5 December 5th, 2005 02:36 PM
Edit comment Problem. iloco Photopost Pro Bug Reports 7 September 25th, 2005 05:01 PM
Using BBCode or HTML in a photo comment or description tektsu Photopost Pro How Do I...? 2 July 19th, 2005 10:40 AM


All times are GMT -5. The time now is 02:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0