We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10525
    • 247 Posts
    Can anybody help me here?

    I am using &type=`manager` and &usersList to display a list of all users, each with edit and delete buttons.

    When I delete a profile (stepping through the confirm page of course), by default the message displayed is ’Your profile has been deleted.’ ($wlpe_lang[102] in lang/en.php).

    I want to change this message to "The profile for [username] has been deleted." I can see where the deletion occurs and the message is printed from in
    function RemoveUserProfileManager($internalKey){
       ...
    }
    (~line 1020 in webloginpe.class.php).

    I know how to make the message dynamic, using a "[+000+]".

    But what I can’t work out is a quick and easy way to replace the "[+000+]" with the username or fullname, without doing a full query to the db.

    Can anyone tell me if there is are variables kicking around for these values that I can use in this function?

    Edit: Or a way of see for myself what variables are available within the script?

    Cheers,

    G