• Resolved chrisdoth

    (@chrisdoth)


    Hi, discovered the problem was the name of the folder, renamed the plug in folder to phpbb_recent_topics and page/menu works, then discovered another error,

    Warning: Missing argument 1 for phpbb_topics() in /public_html/wordpress/wp-content/plugins/phpbb_recent_topics/phpbb_recent_topics.php on line 70

    Did a search, and found your blog and the answer [https://www.linickx.com/archives/273/recent-phpbb-topics-on-wordpress-plugin-v03#comments].

    Many thanks for this very usefull plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thanks for posting this chrisdoth, I’ve just released version 0.4 (when wp.org updates) so it shouldn’t be a problem anymore.

    I’ll subscribe to this feed so that I can see any further issues.

    Cheers,
    Nick

    is this compatible with 2.5.1?

    yeah, should work fine as 2.5 & 2.5.1 are very similar, I guess I should update the plugin page ??

    Thank you for sharing this! What a godsend.

    I do not know code, I just fiddle. If I wanted to exclude more than one forum, how would I add that to the display.php? I’ve tried a number of things, but my ignorance is limiting my ability.

    I added this:
    $results = $wpdb->get_results("SELECT * FROM $TOPIC_TABLE WHERE forum_id != 60 ORDER BY topic_time DESC LIMIT $LIMIT");

    …But would like to exclude around 15 forums from the recent topic list. Thanks!

    I got some help from a friend. This is how you do it:

    # Run The query
    $results = $wpdb->get_results("SELECT * FROM $TOPIC_TABLE WHERE forum_id != 58
    AND forum_id != 60
    AND forum_id != 62
    AND forum_id != 65
    AND forum_id != 66
    AND forum_id != 67
    AND forum_id != 71
    AND forum_id != 72
    AND forum_id != 74
    AND forum_id != 81 ORDER BY topic_time DESC LIMIT $LIMIT");

    I hope that helps others who are looking to do the same thing!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘phpbb_recent_topics fix/install advice’ is closed to new replies.