Home › Forums › WordPress Plugins › reply url
- This topic has 11 replies, 3 voices, and was last updated 7 years, 1 month ago by
Julia Reyes.
-
AuthorPosts
-
-
August 1, 2017 at 9:37 pm #5956
Julie
GuestHi Vinny,
In the new topic email, there is the shortcode “topic-url” that returns something like: http://mywebsite/?bbpnns-pgb-gateway=1&redirect_to=http%3A%2F%2Fmywebsite%2Fconversations%2Ftopic%2Fnew-topic-2%2F
This is great because the user is redirected to the login page and then after they log in go straight to the topic.
I expcted that when I used the same shortocde in the new reply email I would get the same thing, but instead I only got:
topic-url: http://employersforumindiana.org/conversations/topic/new-topic-2/This is a problem, because the user goes to a 404 page instead of being redirected to my login page.
While the shortcode reply-url could send the user to the reply, I need them to go to the topic instead of just the reply.
-
August 1, 2017 at 10:17 pm #5957
vinny
KeymasterHi Julie,
Thanks for bringing this up. This is a missed feature from the time bbpnns didn’t have support for [topic-url] when processing replies. I started the fix but realized it’s not as simple as I originally thought.
I’ll have an update for you by the end of the week. Good catch!
Cheers,
Vinny -
August 2, 2017 at 8:20 am #5958
Julie
GuestThis reply has been marked as private. -
August 2, 2017 at 7:13 pm #5962
vinny
KeymasterHi Julie,
It turns out that the bug was actually in the free bbpnns plugin that gets extended by these add-ons. Please update your copy to version 1.15.5 and the problem will be fixed.
Cheers!
Vinny -
August 12, 2017 at 5:11 pm #6026
Julia Reyes
ParticipantHi Vinny,
I think this is related. If not, let me know and I’ll make a new post.I see in the documentation for the digests “the reply link no longer points to the page with the standalone reply. Instead, it points to the topic page, with the reply ID in the fragment..”
Is it possible to change the link to the format, http://mywebsite/?bbpnns-pgb-gateway=1&redirect_to=http%3A%2F%2Fmywebsite%2Fconversations%2Ftopic%2Fnew-topic-2%2F%23post-123
instead of just http://employersforumindiana.org/conversations/topic/new-topic-2/#post-123?
-
August 15, 2017 at 4:03 pm #6038
Julia Reyes
ParticipantI should mention my forum is marked as ‘private’
-
August 17, 2017 at 10:43 pm #6052
vinny
KeymasterI’m now passing the URLs through the ‘bbpnns_topic_url’ filter, which the Private Groups Bridge uses to munge the link.
It should be good now.
Cheers!
Vinny -
August 18, 2017 at 9:17 am #6053
Julia Reyes
ParticipantLooks good. Thanks!
-
August 19, 2017 at 3:58 pm #6060
Julia Reyes
ParticipantNot sure when this happened, but the Topic URLs in the digest aren’t working. Looks like the ‘redirect to site’ portion got repeated and kind of mangled
Topic URL (not working):
http://site.org/?bbpnns-pgb-gateway=1&redirect_to=http%3A%2F%2Fsite.org%2F%3Fredirect_to%3Dhttp%253A%252F%252Fsite.org%252Fconversations%252Ftopic%252Fnew-topic%252FReply URL (working):
http://site.org/?bbpnns-pgb-gateway=1&redirect_to=http%3A%2F%2Fsite.org%2Fconversations%2Ftopic%2Fnew-topic1%2F%3F%23post-2054 -
October 27, 2017 at 1:42 pm #6288
Julia Reyes
ParticipantVinny,
Yes, new topic email and reply now working as expected.No I’m back to a problem with the new topic URL in the digest email
I’m expecting it to be:
http://employersforumindiana.org/?bbpnns-pgb-gateway=1&redirect_to=http%3A%2F%2Femployersforumindiana.org%2Fconversations%2Ftopic%2Fmytopic%2Fbut instead it is:
http://employersforumindiana.org/?bbpnns-pgb-gateway=1&redirect_to=http%3A%2F%2Femployersforumindiana.org%2F -
December 21, 2017 at 6:51 pm #6523
vinny
KeymasterJulie, is this still an issue or can I close the ticket?
-
December 27, 2017 at 1:51 pm #6540
Julia Reyes
ParticipantResolved!
-
-
AuthorPosts
- You must be logged in to reply to this topic.