PDA

View Full Version : Publicly Displayed Names


johnr
01-04-2002, 11:01 AM
I could really do with a hack that enables users to have Publicly Displayed Names :)

We just switched from UBB to vB and I would appreciate it if somebody could tell me how to add them to vBulletin!!!

Thanks
John Round

Reeve of shinra
01-04-2002, 02:59 PM
In the admin panel add a custom profile field.

There will be three options asking if it can be edited by the user, seen by the user, ect - you should select yes to these.

After its created, hover your mouse over the link to see what the field id is. If this is your first field, then it should be field5. The next one you create will be field6, then field7, etc.

Now go into your postbit template and add $post[field5]. *Change the field # to correspond with the field that was created.

This will display whatever information is stored in that field.

Since you selcted yes to the early options, members can go into the user control panel and under profile setting, they can edit what is displayed here.

---

I forget what variable is that displays the normal username, but it should be easy to pick out and remove from the template if you so desire.

----

johnr
01-04-2002, 03:19 PM
OK, Is there any way to show the users user name if they do not insert a value for Publicly Displayed Name?

johnr
01-06-2002, 01:25 PM
*bump*

johnr
01-18-2002, 04:05 PM
*bump 2*