WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: phpbb_recent_topics] Additional options? (4 posts)

  1. intimez
    Member
    Posted 5 years ago #

    Is it possible to do the following:
    -list of latest posts (instead of topics)
    -link to open in new window

    Thanks!

    http://wordpress.org/extend/plugins/phpbb-recent-topics/

  2. linickx
    Member
    Posted 5 years ago #

    Hi intimez,

    New posts would require quite a bit of changes, but you can get "open in window" by editing /wp-content/plugins/phpbb-recent-topics/display
    /display.php

    Change....

    echo "<a href='" . $SITEURL . "/viewtopic.php?t=$topic->topic_id'>";

    to

    echo "<a target=\"_blank\" href='" . $SITEURL . "/viewtopic.php?t=$topic->topic_id'>";

    :)

  3. intimez
    Member
    Posted 5 years ago #

    For recent post, I thought I can simply change phpbb_topics to phpbb_posts and it would work. Obviously I'm not a coder.

    Thanks linichx, "open in new window" works!

  4. rate4d
    Member
    Posted 4 years ago #

    DUDEEEEEEEEEEEEEEEEEEEEEE

    I NEED LATEST TOPICS TOO, PLEASE TELL THE WAY HOW TO DO IT

Topic Closed

This topic has been closed to new replies.

About this Topic