• Resolved Cedernet

    (@cedernet)


    Hi!

    The latest topics shortcode works fine ([w3allastopics topics_number=”5″]), but the latest topics with forum id ([w3allastopicforumsids topics_number=”5″ forums_id=”3,9″]) gives me this:

    Notice: Undefined variable: w3feed_href_blank in /var/www/html/theme/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php on line 2038

    and other questions,
    – Can i exclude a forum? I need all except one forum to show.
    – Can i get the last topics instead last replies?

    – Daniel

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author axew3

    (@axewww)

    going to check also the other question i will return in reply soon:
    in the while, you can grab everything you want as explained here:
    https://www.phpbb.com/support/docs/en/3.1/kb/article/faq-phpbb-atom-feeds/
    check the
    Enable per-forum feeds =
    option
    (yes! they could have do a more easy readable explain about this! But if you read well, you’ll find any feed flavor explained)

    about the error let me see …

    and, after i’ve do this, i noticed looking well, that you can also do this within WordPress Gutenberg

    try this:
    create a new test page, then on gutenberg (blocks mode), then under Widget menu, choose the RSS widget …
    yes you can also use directly this to grab everything you like, even single topics i just used to test this url and work fine (of course!)
    https://www.phpbb.com/feeds/rss/

    Plugin Author axew3

    (@axewww)

    sorry for delay in answer.
    This code line into file
    /wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php:
    $w3_href_blank_ids = ($w3feed_href_blank > 0) ? ' target="_blank"' : '';
    need to be changed into:
    $w3_href_blank_ids = ($ltm['w3_href_blank'] > 0) ? ' target="_blank"' : '';

    thank for report, it will be committed with the fix on repository immediately, when plugin repository return online … it seem down at moment and i can’t commit the applied fix.

    Plugin Author axew3

    (@axewww)

    it was my connection having trouble with dns, now resolved.
    the file
    class.wp.w3all-phpbb.php
    has been fixed about this on repository, download
    class.wp.w3all-phpbb.php
    and replace it on
    /wp-content/plugins/wp-w3all-phpbb-integration/

    the solution above still may present a notice php error if applied just in the suggested way.
    Download the file class.wp.w3all-phpbb.php and replace.

    Thread Starter Cedernet

    (@cedernet)

    Thanks for the fix!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error with shortcode with forum id’ is closed to new replies.