OS Property support center

ANSWERED !!! Edit comments

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 11 months ago - 8 years 11 months ago #82035 by Stephen
ANSWERED !!! Edit comments was created by Stephen
Hi
In the new version you add the function to edit the comments and ratings.
Where can this be controlled?
The reason is that I do not want users to be able to edit their comments and ratings.

When I was testing this I was not able to edit the comments. see image 1 (logged in as the user who made the comment).

Cheers
Stephen

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Attachments:
Last edit: 8 years 11 months ago by Mr. Dam.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #82048 by Mr. Dam
Replied by Mr. Dam on topic Edit comments
Hi Stephen,
In fact, there are some functions for that feature. Those functions are defined in 2 files:
root > components > com_osproperty > classes > listing.php and listing.html.php
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 11 months ago - 8 years 11 months ago #82088 by Stephen
Replied by Stephen on topic Edit comments
Hi
Sorry to have to bother you again but in which line/s should I change to prevent users to edit the comments?

Perhaps there should be a config option in backend if you want that users should be able to edit the comment/s. Just a thought.

Cheers
Stephen

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Last edit: 8 years 11 months ago by Stephen.

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan