WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] phpbb_recent_topics fix/install advice (6 posts)

  1. chrisdoth
    Member
    Posted 6 years ago #

    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 [http://www.linickx.com/archives/273/recent-phpbb-topics-on-wordpress-plugin-v03#comments].

    Many thanks for this very usefull plugin.

  2. linickx
    Member
    Posted 6 years ago #

    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

  3. u2wedge
    Member
    Posted 5 years ago #

    is this compatible with 2.5.1?

  4. linickx
    Member
    Posted 5 years ago #

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

  5. kbonikowsky
    Member
    Posted 5 years ago #

    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!

  6. kbonikowsky
    Member
    Posted 5 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic