Adding username into the new pm window [pmBOX]  Début

  • Hi,

    Nice that you keep live in pmBOX. Here is a little tip that is nice to include...

    Get the username and print it in the new pm window.
    // requirement ( the call includes the username like from memberslist etc etc..)
    modules.php?op=modload&name=pmBOX&file=replypmsg&send=1&uname=StormS

    Add this in replymsg.

    Code

    // Get username from browser
    $uname_x = $_GET['uname'];
    if(isset($uname_x)){
    $put_name = $uname_x;
    }else{
    $put_name = $uname;
    }


    then change line (600 or so)

    Code

    echo"<br> <INPUT NAME=\"to_user\" SIZE=\"26\" maxlength=\"25\">;


    to

    Code

    echo"<br> <INPUT NAME=\"to_user\" SIZE=\"26\" maxlength=\"25\" value=\"$put_name\"> ";



    This will include the name into the new pm window.

    Regs

    StormS
  • Thanks for your idea, a new release is coming due to some bugs discovered. I will include your idea in it.
  • 12 visiteurs

Données pour les 15 dernières minutes