Owner can not delete comments left on photos

On MY site; it was brought to my attention that members could not delete comments left on their photos.  I checked and this was true, I could delete a comment I left but I could not delete any comment someone else left on my photo.  Does this hold true for everyone or is it just my site.  I have yet to upgrade to 7.1.4 and I am not sure I can test on 7.1.4 because there does not seem to be any comments on photos I can find.

If this is true for everyone, it needs to be fixed; owners of content should be able to delete any comments left; I ran into this problem before with blogs. 

Geeks, making the world a better place
Quote · 7 Oct 2013

I see in the membership allowable actions, there is only the option for removing own comments, so maybe you cant remove others comments. Which would seem to be appropriate as it was not your own comment so what gives you the right to remove it. But on the flip side, if someone leaves a rude comment, I can see the desire to remove it. At which point the offending member would need to be reported.

caredesign.net
Quote · 7 Oct 2013

 

I see in the membership allowable actions, there is only the option for removing own comments, so maybe you cant remove others comments. Which would seem to be appropriate as it was not your own comment so what gives you the right to remove it. But on the flip side, if someone leaves a rude comment, I can see the desire to remove it. At which point the offending member would need to be reported.

Yes.  See, by default Dolphin has a switch for profile comments to let the profile owner remove any comments left.

I had to ADD IT to blogs if I recall.  Owners of content on other social networks have control over their content including comments left on it.  This is yet another area where Dolphin did not get it right.  The problem is that most of the fixes we do to Dolphin NEVER GET ADDED TO THE BLOODY CODE BASE.  So every new release of Dolphin has to be fixed again.  Like the horrible collapsed replies where you have to click so much and the expand all button DOES NOT EXPAND ALL COMMENTS; so when you have thirty nested comments you have to click thirty bleeding times.  Yet, I am sure that is still in the code base even though Alex said he would add it once we tested it.

Geeks, making the world a better place
Quote · 7 Oct 2013

I already wrote about this over 1.5 years ago

http://www.boonex.com/forums/topic/Delete-Photo-Comments-Where-.htm

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 7 Oct 2013

 

I already wrote about this over 1.5 years ago

http://www.boonex.com/forums/topic/Delete-Photo-Comments-Where-.htm

Oh nice!  One and half years and it hasn't been fixed.  OK, let's roll up our sleeves and see what we can do to fix it.

Geeks, making the world a better place
Quote · 7 Oct 2013

Blogs had its own class to handle comments.  The photo module is using the class in /inc/classes to handle comments.

We need to add a class to photos to handle the comments as the main comment handling has no idea what content is being viewed and if the viewer is the owner of that content.  It only knows about comments, not the content being viewed.

Geeks, making the world a better place
Quote · 7 Oct 2013

I guess there is no interest in fixing this.

Geeks, making the world a better place
Quote · 7 Oct 2013

Boonex, 1 1/2 years is long enough.  I assume I need to make some new classes in the photos and videos and sound folders to handle comments.  Some guidance would be appreciated.

Geeks, making the world a better place
Quote · 8 Oct 2013

How many times can I bump something before I get a stern warning; or worst Smile

Geeks, making the world a better place
Quote · 9 Oct 2013

I have added a ticket for this.

http://www.boonex.com/trac/dolphin/ticket/3309

https://www.deanbassett.com
Quote · 9 Oct 2013

 

I have added a ticket for this.

http://www.boonex.com/trac/dolphin/ticket/3309

Thank you.

Geeks, making the world a better place
Quote · 9 Oct 2013

I solved this problem by finding the function 'if' statement that checks whether the delete button will appear or not.

 

and also the function that checks it before running the sql "Delete ...".

 

So I put in this function 'if' one extra condition:

 

'Visitor ID' == 'ID owner of the album'

 

If this is true, then the page shows the delete button.

 

Worked with me! The problem now is to find again where I made this change!! :/

 

As you said, the problem is that each new update we need to correct again.

Quote · 10 Oct 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.