Oh, good point Abronsyth. Links will have to be changed there, too! (Though, yeah, I've removed the link from my user's profiles, I should really add it back in...)
I think that's in
classes/class_userprofile.php currently, inside the
contactinfo() function. The line begins with this:
PHP Code:
$document->add(new Link("messages/newpm/{$mysidia->input->get("user")}",
........HMMMMmmmm. Well removing the username entirely will at least remove the error, but then the newpm page won't know/remember who it should be sending something to - the entire point of having a link on the page.
Maybe... if the value is not numerical, set the recipient to whatever the value is? (
edit: I've tried a lot of things, included is_numeric(), is_int(), and even going so far as !ctype_alpha() but... I seem to maybe be doing something extremely basic wrong??? I can't get this to work.)
Thoughts, HoF?