WordPress.org

Ready to get started?Download WordPress

Forums

Help convert code. (3 posts)

  1. RBX_pawtracks
    Member
    Posted 2 years ago #

    Can someone help me covert this code to WordPress? It was designed for mybb and lightirc.

    <?php
    
    define("IN_MYBB", 1);
    include("path/to/your/global.php");
    header('Content-type: text/javascript');
    
    ?>
    
    params.nick = "<?=(($mybb->user['uid'] > 0) ? $mybb->user['username'] : "Guest_%")?>";

    Thanks.

  2. What's it supposed to do? :)

  3. RBX_pawtracks
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic