4
Hi,
The problem is an error checking one.
There is no checking to see if a person realname (i.e.) 'name' var 'is_null' or 'empty'. The result being that if it is an 'empty' value is returned for 'name' and breaks the function (Basically you cannot see anything)
What I have done is to check that 'name' value is used else return 'uname' instead.
I also did a check to see that 'fct' is not 'empty' if it is not then edit the player in admin (as 'fct' would only be valid is if the administrator was in the admin side), but with some better hindsight, maybe a switch could be used within the function to better use here.
ps: I just remembered I wrote that for my personal version of XOOPS and would need rewriting for 2.17 instead. I will do that shortly.