- Posts: 3
COMMUNITY FORUM
K2 comment redirecting issue
- Toby Bonner
- Topic Author
- Offline
- New Member
Less
More
8 years 4 months ago #156224
by Toby Bonner
K2 comment redirecting issue was created by Toby Bonner
Thanks to an update somewhere to recaptcha V2 API, the recaptcha on my site stopped working. That was easy enough to fix with a new key.
However, now when comments are submitted, they redirect to a page that literally only shows the following line of text:
{"message":"Comment added and waiting for approval.","cssClass":"k2FormLogSuccess"}
Something in the code needs fixed, because the "Comment added and waiting for approval." bit is supposed to show up as a simply message that appears above the comment form, without taking users to a whole new page... But I'm not sure where in the code that is, or how to fix it.
I'm not too picky about how that message is shown. If it's a little popup box, or just a message within the page, whatever. I just don't want users taken to a whole new, completely useless page, or for the comment form to remain filled out after the comment has been submitted.
Any help would be greatly appreciated.
However, now when comments are submitted, they redirect to a page that literally only shows the following line of text:
{"message":"Comment added and waiting for approval.","cssClass":"k2FormLogSuccess"}
Something in the code needs fixed, because the "Comment added and waiting for approval." bit is supposed to show up as a simply message that appears above the comment form, without taking users to a whole new page... But I'm not sure where in the code that is, or how to fix it.
I'm not too picky about how that message is shown. If it's a little popup box, or just a message within the page, whatever. I just don't want users taken to a whole new, completely useless page, or for the comment form to remain filled out after the comment has been submitted.
Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 4 months ago #156233
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 comment redirecting issue
Hello Toby,
Can you share a link to your site?
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.
- Toby Bonner
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
8 years 4 months ago #156237
by Toby Bonner
Replied by Toby Bonner on topic K2 comment redirecting issue
Yeah it's: powelltribune.com
You can click on any story and leave a comment to see exactly what it's doing.
You can click on any story and leave a comment to see exactly what it's doing.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 4 months ago #156242
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 comment redirecting issue
For some reason jQuery is being loaded after K2's scripts.
This could be caused by the plugins order (try moving the K2 system plugin further down the list).
Alternatively you can use an extension like jQuery Easy to sort the scripts' order.
This could be caused by the plugins order (try moving the K2 system plugin further down the list).
Alternatively you can use an extension like jQuery Easy to sort the scripts' order.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Toby Bonner
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
8 years 4 months ago #156245
by Toby Bonner
Replied by Toby Bonner on topic K2 comment redirecting issue
Installing jQuery Easy fixed it. I tried moving the System - K2 plugin first, but that didn't seem to do anything.
Submitting comments works, it doesn't redirect to that weird page anymore, and the little success comment shows up like it should.
Thanks for the help!
Submitting comments works, it doesn't redirect to that weird page anymore, and the little success comment shows up like it should.
Thanks for the help!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 4 months ago #156252
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 comment redirecting issue
You 're welcome Toby :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Christian Becker
- Offline
- New Member
Less
More
- Posts: 3
8 years 2 weeks ago #159072
by Christian Becker
Replied by Christian Becker on topic K2 comment redirecting issue
Hi,
I got the same problem here but both solutions didn't help :(
Instead of a Information I got a white page with this content:
{"message":"Comment added and waiting for approval.","cssClass":"k2FormLogSuccess"}
Maybe someone could help me. The page is beckerchristian.com
Thanks allot
Chris
I got the same problem here but both solutions didn't help :(
Instead of a Information I got a white page with this content:
{"message":"Comment added and waiting for approval.","cssClass":"k2FormLogSuccess"}
Maybe someone could help me. The page is beckerchristian.com
Thanks allot
Chris
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 1 week ago #159114
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 comment redirecting issue
There are several JS issues coming from the cookie consent plugin.
These issues can cause the site not to function properly.
Some are 403 permissions issues, you need to correct this issues or deactivate this extension.
These issues can cause the site not to function properly.
Some are 403 permissions issues, you need to correct this issues or deactivate this extension.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Konrad
- Offline
- New Member
Less
More
- Posts: 4
7 years 7 months ago - 7 years 7 months ago #161443
by Konrad
Replied by Konrad on topic K2 comment redirecting issue
Hi,
@Krikor I have the same problem, both solutions didn't work. My site is rkglass.pl, can you direct me to the solution?
@Krikor I have the same problem, both solutions didn't work. My site is rkglass.pl, can you direct me to the solution?
Last edit: 7 years 7 months ago by Konrad.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 7 months ago #161468
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 comment redirecting issue
Hey there,
Since my Polish is really bad, can you point me to an item with enabled comments?
Since my Polish is really bad, can you point me to an item with enabled comments?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.