• Resolved kdelsimone

    (@kdelsimone)


    Hi Vinny:

    Thank you for all of your hard work on this plugin!

    Question: What’s the difference between the bbpnns [reply-url] and [reply-replyurl] tags? I’m having some issues with the bbpress reply URL and am hoping you might have solved it with your custom tags…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi @kdelsimone,

    Thanks for reaching out.

    The difference is that one returns the reply permalink (which shows just the reply itself) and the other returns a link to the thread with the reply’s fragment. e.g.

    Reply url: https://somedomain.com/forums/reply/5000/
    Reply-replyurl = https://somedomain.com/forums/topic/some-topic-title-for-the-thread/#post-5000

    They’re poorly named, I agree, but I’m stuck with them due to backward compatibility.

    I’ll probably revamp this when I get to work some more on version 2.

    Now, what issues are you having with the bbpress reply URL? Maybe I can help…

    Cheers,
    Vinny

    • This reply was modified 6 years, 10 months ago by useStrict.
    Thread Starter kdelsimone

    (@kdelsimone)

    Hi Vinny,

    Thanks for clarifying the difference. The issue I am having is exactly related to which url is returned. I need to direct users to the reply post within the thread (as opposed to the just the reply post by itself), so I think you’ve actually solved that for me with the reply-replyurl tag.

    Regarding backward compatibility, is the [reply-replyurl] tag also used in bbpress or is that unique to bbpnns? I’m trying to figure out where that url is defined in bbpress, as it might help me understand the other issue I’m having.

    Thanks again!
    Kristen

    Plugin Author useStrict

    (@usestrict)

    The tag is unique to bbpnns (I meant bbpnns backward compatibility with itself, for people using the tag).

    The tag uses the following bbpress function: bbp_get_reply_url( $reply_id )

    Cheers,
    Vinny

    Thread Starter kdelsimone

    (@kdelsimone)

    Super helpful–thank you!!

    Plugin Author useStrict

    (@usestrict)

    My pleasure!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reply Tags: [reply-url] vs. [reply-replyurl]’ is closed to new replies.