Hi, is there the possibility to remove comments on own profile?
Hi, is there the possibility to remove comments on own profile? |
Hi - the only answer I have seen to this is to buy a $20 mod from Praveenk at expertzzz.com / Surely this has to be basic Dolphin functionality. At least please tell me it will be fixed in the next version ...? Thanks Dan V |
So Admin can remove comments from peoples pages but they cant remove comments from their own pages? That sucks :-( That means Admin has to keep an eye on all the spammy comments and tidy up for everyone. Can someone please explain how to allow the member to remove comments from their own profile page? Thanks Dan V |
Someone tell me please that theres an easy way to make it possible for members to moderate their own pages comments... pretty please |
Bump |
I found this bit of code that seems like it might be possible to activate members deleting their own comments. Is there somewhere here that one can activate deleting comments if they are on your own paofile page and posted by someone else? There MUST be a way to do this - no?? Dan V |
Woops forgot the code below From inc/classes/BxDolCmts.php /** |
Bump. Come on Boonex, this is a simple enough question. Why wont anyone answer it? |
as admin how can we remove members comments? |
birdtribes, have you checked this code, does it work? Stuart - Woops forgot the code below From inc/classes/BxDolCmts.php /** There are none so blind as those that will not see. |
I have spent hours trying to solve this problem and still into it... But I believe that the part of the code refers to the user who posted it not the owner of the profile...this code checks what you set in admin section if "owner of comment" which means poster can edit/remove it... nurke |
hey guys i have a solution to this :) Step 1: in admin/settings/Membership Levels ""Site is running in free mode"" disable free mode Step2: Manage Membership Types klick on Standard and add comments edit own comments remove own Save changes That's it :)))) wasn't that easy lol :)) |
won't have any effect on free running sites well looks like we have to find another way around this :( |
Well Im glad to see Im not the only one interested in this. I agree with the people above who said the code I posted was for the maker of the comment to remove their own comment. I just thought it indicated the possibility of adapting this code to allow the profile owner to remove posts. I am not a programmer myself. Allowing the owner of the profile to remove comments is such basic and essential functionality I cant believe that this has not been included in the default Dolphin. What are you supposed to do if someone posts crud on your profile???? DV |
there are many basic functions left out in dolphin but why ?... who knows maybe it's just a way to make ppl. buy extra mods .... |
Would someone from Boonex please address this issue? It really cant be that hard to give us a solution can it? (I am using Dolphin 6.1004) |
Just in case anyone is still interested .... okayweb pointed out in another thread that there is a new mod that claims to do this http://www.expertzzz.com/Downloadz/view/5157 also a later version for $15 that allows the member to stop anonymous comments. Looks good. Will be a while before I get to it but please report if anyone installs and it works (or not). |
Users cannot edit or remove thier own comments in 6.14 if the site is running in free mode. here is what I did to resolve it:
In /inc/classes/BxDolCmnts.php
Change the following code:
if(getParam("free_mode") == "on") return false; // is removing own comment allowed
To this:
// if(getParam("free_mode") == "on") return false; // is removing own comment allowed
By commenting out these two this will work for users to edit or delete thier own comments but I have not yet found a solution for members to edit or delete comments on thier own profiles that were put there by other users. still working on that. |
Thanks Tango3D - please let us know if you do solve the 'removing other peoples comments from your Profile Page' problem. I've spent so much on mods Im reluctant to keep spending, especially when Dolphin 7 will probably have a different set of mods possible and useful anyway. DV |
Ok guys, prior to looking at this I've had zero experience with PHP, but I think I've cracked it. In inc>classes>BxDolCmts.php replace the code between // is edit any comment allowed and /** actions functions with the following function isEditAllowedAll () Then, in templates>base>scripts>BxBaseCmtsView.php replace line 244 if (!($n && $isJustPosted) && !$isEditAllowedPermanently) return ''; with if (!($n && $isJustPosted) && !$isEditAllowedPermanently && !$isRemoveAllowedPermanently) return ''; and that, I think, should solve the problem. A couple of caveats 1) Like I say I'm brand new to PHP so can't promise that the above isn't buggy or hacky. All I will say is that it does the job for me. 2) I've spent the best part of two days figuring this out and have a sneaking suspicion that I've forgotten a tweak in the BXBaseCmtsView.php file. If I have it will be something along the lines of making sure that whatever the file does for an isEditAllowed command it does for a isRemoveAllowed command too. Will be interested to hear any feedback. Finally, when faced with problems like this I recommend having a crack at learning the PHP. There's lots of support online and it's (slightly) easier, and certainly more fun than it looks. Best of luck. |
I tried what you have added here- all looks great and seems to be in order- Only I get a access denied error. I tried for an hour to figure it out and have not.
The remove and edit buttons are there, as should be but when I try to edit or remove a comment it gives a access denied error.
So it is looking good so far, now to get around that error would allow it to work! |
I tried what you have added here- all looks great and seems to be in order- Only I get a access denied error. I tried for an hour to figure it out and have not.
The remove and edit buttons are there, as should be but when I try to edit or remove a comment it gives a access denied error.
So it is looking good so far, now to get around that error would allow it to work! You have missed something in the code, causing an error on the permission. Check the code again, also ensure you are putting it in the exact spot they have show you. It does work, I've tried it on 3 different domains and also the test sites for each of them. |
Your mod is correct just add my other mod for the same file BxDolCmts.php At the top look for 'sec_to_edit' => replace 'sec_to_edit' => 999999999999999999999999999999999999999999999999999999999999999990, It will work perfect now |
Your mod is correct just add my other mod for the same file
BxDolCmts.php
At the top look for
'sec_to_edit' =>
replace
'sec_to_edit' => 999999999999999999999999999999999999999999999999999999999999999990,
It will work perfect now THANK YOU, THIS DID THE TRICK. I am a happy camper now!
I knew I had not made an error considering, I have installed so many mods I know Dolphin files well. I did try to change that on my own but made that number a 0, I did not think of many 9's. I have version 6.1.4
Again thank you very much! |
You are welcome! |
Yey Im so glad to hear we finally have a fix for this *^%$&$# lack of basic functionality ! Cant wait to get it up and running. Thanks Everyone. Dan V |
This still works for D6.1.6, thanks!
Taking Dolphin and Making Profitable Websites Since 2009 :) |