Help
General ArrowChat talk that doesn't fit any other forum.
User avatar
redpelon
Customer
 
Posts: 4
Joined: 26 Nov 2014, 13:14

 

by redpelon 27 Nov 2014, 08:32

How/where could I change the display name on arrowchat from the username to my custom profile field [field6] that is for Full Name?
User avatar
Jason
Customer
 
Posts: 2334
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Nov 2014, 11:50

That can be done in the includes/config.php file.
User avatar
redpelon
Customer
 
Posts: 4
Joined: 26 Nov 2014, 13:14

 

by redpelon 28 Nov 2014, 21:15

ahh found it thanks
User avatar
redpelon
Customer
 
Posts: 4
Joined: 26 Nov 2014, 13:14

 

by redpelon 29 Nov 2014, 13:50

hey jason, if my custom field is in a different table than the users table where the other info comes from, how can i have the config.php file pull one filed from the custom field table, and pull the rest from the regular users table? i changed the field to match my custom field in my custom table, and the full name worked, but it made everything else not work

using vbulletin4, thanks
User avatar
Jason
Customer
 
Posts: 2334
Joined: 12 Dec 2009, 16:06

 

by Jason 29 Nov 2014, 14:07

That becomes slightly more complex. You have to alter the MySQL statements in the includes/integration.php file as well.

There are examples in the includes/functions/integrations folder.
User avatar
redpelon
Customer
 
Posts: 4
Joined: 26 Nov 2014, 13:14

 

by redpelon 29 Nov 2014, 15:08

maybe more work than what its worth, but i appreciate it nonetheless