×

Notice

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

TOPIC: Quote and reply links gives error for public

Quote and reply links gives error for public 10 years 6 months ago #22821

  • Brecht Coene
  • Brecht Coene's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 0
CComment Core 5.0.1, default template, joomla 2.5

Adding comments enabled only for Registered.
As public you can see links 'quote' and 'reply'. When you click of there there is a JS error:
quote: TypeError: form.comment is undefined
reply: TypeError: form.getElement(...) is null - form.getElement('textarea').focus();

When there is a message like 'you are not allowed to add comments' links quote/reply shouldn't be available.

Quote and reply links gives error for public 10 years 6 months ago #22822

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Kristof,
Yes that is a good point! I'll fix this!

Thanks,
Daniel

Quote and reply links gives error for public 10 years 5 months ago #22878

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I just wanted to fix this, but few things came to my mind.

Right now only the user groups that are authorised to post comments, can actually post comments. Is it a good idea to grant post priviligies to moderator groups, no matter if they are selected in the authorised to post comments field?

This can lead to situations where an article is closed for further commenting, but moderators will be able to leave replies there? Is this a situation we want to go into?

Quote and reply links gives error for public 10 years 5 months ago #22888

  • Brecht Coene
  • Brecht Coene's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 0
no, I wouldn't go that way
one can set who is authorised to post
in our case that is not necessarily the same as who is authorised to moderate

Quote and reply links gives error for public 10 years 5 months ago #22890

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yes, but what is the point of being moderator if you are not allowed to post?

Quote and reply links gives error for public 10 years 5 months ago #22891

  • Brecht Coene
  • Brecht Coene's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Thank you received: 0
moderators remove unwanted comments

also, if you want them to post, you can just mark it in the permissions box

Quote and reply links gives error for public 10 years 5 months ago #22897

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Okay this one should fix it:
compojoom.com/downloads/developer-releas...-ccomment/git135431f

If moderators are not allowed to post, they also now don't see the reply|quote + edit buttons. They only have publish/delete privileges.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.135 seconds