forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Enc0der on March 04, 2006, 01:57:10 am

Title: SMF Bridge - username vs. Display name
Post by: Enc0der on March 04, 2006, 01:57:10 am
Hi !

On SMF (and I guess any other BBS available..) any member have an internal username, and a Display Name.
The corrent bridge show the user's username (on the menu, on his comments, etc). is it possible to change that so it'll use his DisplayName instead ?

thanks..
Title: Re: SMF Bridge - username vs. Display name
Post by: Nibbler on March 04, 2006, 02:04:03 am
Not easily. You'd need to look through bridge/smf10.inc.php and udb_base.inc.php and modify the code to accomplish this.
Title: Re: SMF Bridge - username vs. Display name
Post by: PerJ on May 31, 2006, 12:22:22 pm
Anyone done this?
Title: Re: SMF Bridge - username vs. Display name
Post by: Herby007 on June 18, 2006, 11:15:49 pm
1. take \bridges\smf10.inc.php

2. search "memberName" (2 x)

3. replace with "realName"

that's all
Title: Re: SMF Bridge - username vs. Display name
Post by: lurkalot on November 10, 2009, 11:48:13 am
1. take \bridges\smf10.inc.php

2. search "memberName" (2 x)

3. replace with "realName"

that's all

I know this is an old topic, but it was something I was also having a problem with.  Herby007, I tried your method above, and although it seems to have changed the user name to the display name (Dave), it seems to have left the old user name (Skellum) in the file info, and below the thumbs.  see pics attached.

Nibbler, is this a result of not editing the udb_base.inc.php file you mentioned?  Or is there something else I need to do please?