PDA

View Full Version : Custom profile field display


nulltone
05-30-2002, 12:42 AM
Go to http://bulletin.sagehillschool.org.
This is the bulletin board for my school. I administrate it.
Ok, here is the deal. For usernames, I make students use the school networks usernames, to keep things ordered. So, a John Smith's username would be "smithj", which is quite unpleasant. After enough complaints, I came up with an idea.
I made a custom profile field (in my case, "field5") called "Name". Students enter their Full Name "John Smith" in this field. I then replaced all the username variables with "field5" variables in the postbit templates. This works fine.
But from the forum display, and all the other areas, it shows the username. How can I make it show that users "field5" instead of the username? Which variables do I use in the other templates? Does this require a complex hack? What about "Last post by...". Can those display "field5"'s for usernames too?

Logician
05-30-2002, 08:57 AM
it really requires a lot of code modifications. Why dont you require your members to use their names as usernames? If you need school network names too, you can assign this in a custom profile field. So I suggest switch usernames with custom "field 5".. This would be much easier IMO..

nulltone
05-30-2002, 12:34 PM
There is no other option? I am under alot of pressure from the administration, because they want to keep consistancy...

Foxtroter
06-29-2002, 08:13 AM
im working on this too, ill let you know if it works out for me.

Foxtroter
06-29-2002, 01:43 PM
<a href="https://vborg.vbsupport.ru/showthread.php?threadid=40428" target="_blank">https://vborg.vbsupport.ru/showt...threadid=40428</a>