sophie's comment triggered a memory, and got me looking into that area. To override the link that is created in, e.g., user tags, you can use the journal_base hook.
So, in a file, cgi-bin/DW/Hooks/JournalBase.pm, try this code:
package DW::Hooks::JournalBase;
use strict;
LJ::register_hook( 'journal_base', sub {
my ( $u, $vhost ) = @_;
if ( $vhost eq "users" ) {
my $he_user = $u->user;
$he_user =~ s/_/-/g;
return "http://$he_user.$LJ::USER_DOMAIN:9999";
}
} );
1;
no subject
journal_basehook.So, in a file, cgi-bin/DW/Hooks/JournalBase.pm, try this code:
package DW::Hooks::JournalBase; use strict; LJ::register_hook( 'journal_base', sub { my ( $u, $vhost ) = @_; if ( $vhost eq "users" ) { my $he_user = $u->user; $he_user =~ s/_/-/g; return "http://$he_user.$LJ::USER_DOMAIN:9999"; } } ); 1;