Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Bob

    (@prasunsen)

    I’ll have to check it, not familiar with BBpress topics

    Thread Starter bill_baroud02

    (@bill_baroud02)

    thats’s a fast answer !
    let me know if you have further information please.
    thanks.

    Plugin Author Bob

    (@prasunsen)

    Sorry, BBpress won’t parse any shortcodes from other plugins. The problem is not in Watu.

    Thread Starter bill_baroud02

    (@bill_baroud02)

    I use bbpress-shortcodes-whitelist plugin to enable shortcodes inside bbpress topics, it works fine, i do display polls this way.

    Plugin Author Bob

    (@prasunsen)

    I tried it but it doesn’t display our shortcode. When I check the source code there is nothing displayed.
    I don’t know why, the issue is not in Watu and I can’t fix it from within Watu.

    Plugin Author Bob

    (@prasunsen)

    You can probably hack it using this info:
    https://ww.wp.xz.cn/plugins/bbpress2-shortcode-whitelist/faq/

    We won’t add this code overload for a single use-case so you need to do it yourself in your customized version.

    Thread Starter bill_baroud02

    (@bill_baroud02)

    yes i just saw this, i’ll try to do it.
    thank u.

    Plugin Author Bob

    (@prasunsen)

    My guess it that it may work even as another custom plugin (so you can keep applying Watu updates when they are available), but I am not sure. I’ll try it when I have time, probably not today though.

    Thread Starter bill_baroud02

    (@bill_baroud02)

    I can’t do it, im too new to wp to really understand.

    Plugin Author Bob

    (@prasunsen)

    I’ll post here if I can make it work tomorrow.

    Plugin Author Bob

    (@prasunsen)

    No, it does not work.
    What polls are you displaying? From which plugin?

    Plugin Author Bob

    (@prasunsen)

    Got it!
    It doesn’t work with shortcodes with ALL CAPS. I guess it does strtolower somewhere.

    Solution:

    In watu.php under “add_shortcode( ‘WATU’, ‘watu_shortcode’ );” add this:

    add_shortcode( ‘watu’, ‘watu_shortcode’ );

    Then use small letters for your shortcodes. For example:

    [watu 1]

    In the next release we’ll make watu read both small and caps shortcodes to allow such weird cases.

    Thread Starter bill_baroud02

    (@bill_baroud02)

    great ! good job, it works perfectly.
    thank you so much.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘BBpress compatibility’ is closed to new replies.