celebrir
Guest
Member
I want to create a BB Code which returns the value of a certain simple custom user field.
I have a staff list as a thread on my internal Forum and I want to include the telephone number of the staff members. (Field ID "user_tel").
I figured I need to use the PHP Callback function on the BBcode, handing over the requested UserID as a parameter.
Could look like this:
So far I have figured that I get my wanted result with
Read more
I have a staff list as a thread on my internal Forum and I want to include the telephone number of the staff members. (Field ID "user_tel").
I figured I need to use the PHP Callback function on the BBcode, handing over the requested UserID as a parameter.
Could look like this:
[GETTEL=1][/GETTEL]
So far I have figured that I get my wanted result with
$user.Profile.custom_fields.user_tel
but then I got...Read more