×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Disable edit for Users

Disable edit for Users 9 years 6 months ago #28045

  • F.Weber
  • F.Weber's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hello,

sorry for my bad english. :unsure:
important: i want to disable the edit-button for normal users, so only moderators can do edit and delete a feedback.
If the user wants to edit his feedback he has to mail a moderator to do this for him.

Why isn't there an option in the backend for the moderators to reply to a user-comment?
You have to logged in in frontend to do this.
It's an option for a new version you can think about it?! ;)

Another thing.... I want, that a user can only give 1 feedback on the site.
I use the Extension "OSG Seminar Manager" and i want that the users can only give 1 feedback to 1 course (they have booked).
So how can i do this? :S

Disable edit for Users 9 years 6 months ago #28049

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ccomment is not a feedback component. It is a comment extension. As such without hacking the core you cannot force the user to leave just 1 comment.
User editing of comments is only working for 30mins after the user has leaved the comment. This ensures that a user can change small typos that come up after posting the comment.

Regards,
Daniel

Disable edit for Users 9 years 6 months ago #28050

  • F.Weber
  • F.Weber's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
How can i change the edit-time?
30 minutes is a long time. ;)

Disable edit for Users 9 years 6 months ago #28058

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You can edit \components\com_comment\helpers\security.php the restrictModerationTime function on line 214:
$ago = strtotime('now') - 100 * 60;

Regards,
Daniel

Disable edit for Users 9 years 6 months ago #28065

  • F.Weber
  • F.Weber's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Ahh, thanks! :)

Do you add these other things i've wrote to your todo-list too? :blush: :oops:
Thanks!
  • Page:
  • 1
Time to create page: 0.134 seconds