Gossamer Forum
Quote Reply
Get COmmunity username

I am trying us fetch the Community username (comm_username) based on the Forum ID using a global.

I used the following based on username in Links - can anyone help re-writing this so I get the username based on ID.

sub {
my $user = shift;
return unless $user;
my $cfg = Links::Plugins->get_plugin_user_cfg('Auth_Community');
lib->import($cfg->{community_private} . '/lib');
require Community;
Community->import(qw/comm_init comm_get_profile/);
return comm_get_profile($user);

Any help would be appreciated


Subject Author Views Date
Thread Get COmmunity username klauslovgreen 2443 Apr 16, 2003, 6:43 AM
Thread Re: [klauslovgreen] Get COmmunity username
Alex 2370 Apr 16, 2003, 12:23 PM
Post Re: [Alex] Get COmmunity username
klauslovgreen 2359 Apr 16, 2003, 12:43 PM