erikp
09-05-2008, 08:57 AM
Hi,
I want to replace all occurrences of the username in my forum with the real name, which is a custom field in the user profile. For example, on the forum home I want to replace 'last post made by jdoo" with "last post by John Doo".
I found the forumhome_lastpostby template but it refers to $lastpostinfo[lastposter] to find the actual name. However I can't figure out where this variable is filled. Can anyone point me in the right direction?
I found that in some templates it is allowed to insert $user[field5], however this is not the case for the lastpostby templates. I'm ok with modifying vbulletin core.
thanks!
p.s. in case you're asking why not assign the full names as usernames: The usernames are email addresses which is a requirement because its part of a network of services. However I don't want to disclose the email addresses of my members
I want to replace all occurrences of the username in my forum with the real name, which is a custom field in the user profile. For example, on the forum home I want to replace 'last post made by jdoo" with "last post by John Doo".
I found the forumhome_lastpostby template but it refers to $lastpostinfo[lastposter] to find the actual name. However I can't figure out where this variable is filled. Can anyone point me in the right direction?
I found that in some templates it is allowed to insert $user[field5], however this is not the case for the lastpostby templates. I'm ok with modifying vbulletin core.
thanks!
p.s. in case you're asking why not assign the full names as usernames: The usernames are email addresses which is a requirement because its part of a network of services. However I don't want to disclose the email addresses of my members