WordPress.org

Support

Support » Miscellaneous » Help convert code.

Help convert code.

  • RBX_pawtracks
    Member

    @rbxpawtracks

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help convert code.’ is closed to new replies.