SMF Bridge - username vs. Display name SMF Bridge - username vs. Display name
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

SMF Bridge - username vs. Display name

Started by Enc0der, March 04, 2006, 01:57:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Enc0der

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..

Nibbler

Not easily. You'd need to look through bridge/smf10.inc.php and udb_base.inc.php and modify the code to accomplish this.

PerJ


Herby007

1. take \bridges\smf10.inc.php

2. search "memberName" (2 x)

3. replace with "realName"

that's all

lurkalot

Quote from: 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

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?
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0