The MU forums have moved to WordPress.org

Top 5 Blogs, Recent Blogs, Site Login..Display all Blogs. Memberlist..etc. (7 posts)

  1. Sergio965
    Inactive
    Posted 18 years ago #

    Hi, I was wodering if anyone could point me in the right direction to finding the followin that can be displayed on my website:

    Top 5 Blogs, Recent Blogs, onSite Login, Memberlist.

    Pretty much everything that's located at BeBlogger.com.

    If anyone can help me out, I'd surely appreciate it.

    Thanks!

  2. gappiah
    Member
    Posted 18 years ago #

    You're not alone, dear!

  3. Invizz
    Inactive
    Posted 18 years ago #

    Code it yourself ;)

  4. Sergio965
    Inactive
    Posted 18 years ago #

    If I could, I would, But I'm not too good with MySQL.

    :(

  5. stutley
    Member
    Posted 17 years ago #

    I searched the forum, but it doesn't seem anyone has answered this. Here's my solution for showing the 5 most recent blogs:


    <?php
    $connect = mysql_connect("localhost", "root", "");
    mysql_select_db("database", $connect);

    $recentblogs = mysql_query("SELECT domain FROM wp_blogs ORDER BY registered DESC LIMIT 5");

    while($row = mysql_fetch_assoc($recentblogs)) {
    echo '<a href="http://' . $row['domain'] . '">' . $row['domain'] . '</a>';
    }
    ?>

    Replace registered with last_updated to show the most recent updated blogs.

  6. drmike
    Member
    Posted 17 years ago #

    There's a plug in over at wpmudev.org that will do this as well except for the onsite login. I use it over at Daria.be

  7. kartik786
    Member
    Posted 17 years ago #

    Can ne1 tell me how to code a homepage like daria.be ?

About this Topic

  • Started 18 years ago by Sergio965
  • Latest reply from kartik786