Keyword

[SOLVED] comments

  • Webcrea
  • Webcrea's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 4 months ago #154294 by Webcrea
comments was created by Webcrea
Hello,

Comments doesn't work when user is connected. If not connected and post comment opens at all, it works.

The error is : Unable to get property 'message' of undefined or null reference in k2.js line 43

In reseau, I can see the ajax request POST is sent but nothing in response !!

Do you have an idea please
Regards
Chris

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Elite Member
More
8 years 4 months ago #154305 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic comments
hello,
Can you share a link to your site?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Webcrea
  • Webcrea's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 4 months ago #154309 by Webcrea
Replied by Webcrea on topic comments
Hi Teo,

Thanks to reply, I solved the clue.
It was, a change in the authorisation test in my template(k2) to use Joomla permission (user->guest) and bypass the k2 user permissions.
But after Submit, the form send my user id and i don't have k2 permission to post, this is regular.
To solve it i had to hack models/item.php and now it works.
So sorry for this but when k2 will use joomla acl ?

Chris

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 4 months ago #154325 by Krikor Boghossian
Replied by Krikor Boghossian on topic comments
It will use it in v3.x series.
You can workaround this issue without hacking the core if the K2 User plugin is still enabled.

You can have the newly registered users automatically assigned to a K2 User group which has the permission to post comments.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Webcrea
  • Webcrea's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 4 months ago #154328 by Webcrea
Replied by Webcrea on topic comments
ok, it seemed to me that something like that exists

thanks for the refresh ;-)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 4 months ago #154335 by Krikor Boghossian
Replied by Krikor Boghossian on topic comments
Nice to be of assistance :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Webcrea
  • Webcrea's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 4 months ago #154338 by Webcrea
Replied by Webcrea on topic [SOLVED]comments
thanks Krikor

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


Powered by Kunena Forum