fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-04-29 06:22 am

[dw-free] Profile linking code for OpenID uses ext_ format

[commit: http://hg.dwscoalition.org/dw-free/rev/4d08c1afa86e]

http://bugs.dwscoalition.org/show_bug.cgi?id=2556

Use the name.site.com link for the copy-and-paste module in the profile,
rather than ext_1.

Patch by [personal profile] yvi.

Files modified:
  • htdocs/userinfo.bml
--------------------------------------------------------------------------------
diff -r 56b48ba3a2dd -r 4d08c1afa86e htdocs/userinfo.bml
--- a/htdocs/userinfo.bml	Sun Apr 25 23:09:08 2010 -0700
+++ b/htdocs/userinfo.bml	Wed Apr 28 23:26:14 2010 -0700
@@ -1013,8 +1013,8 @@ body<=
 
     if ( $u->is_individual || $u->is_community ) {
 
-        my $local_link .= "<user name=\"" . $u->username . "\">";
-        my $remote_link .= $u->ljuser_display( { no_ljuser_class => 1 } );
+        my $local_link = "<user name=\"" . $u->display_name . "\">";
+        my $remote_link = $u->ljuser_display( { no_ljuser_class => 1 } );
 
 
         my $link_body = "<div style='font-style:italic;'>" . BML::ml( '.linking.about' ) . "</div>";
--------------------------------------------------------------------------------