Home : Products : Gossamer Forum : Pre Sales :

Products: Gossamer Forum: Pre Sales: Re: [MarkBT] Ultimate Bulletin Board, Version 5.44a: Edit Log

Here is the list of edits for this post
Re: [MarkBT] Ultimate Bulletin Board, Version 5.44a
Well, you're going to have to edit code to make this work Smile Look at admin/GForum/Import/UBB.pm, line ~292:
Code:
# Update user_status to use GForum style user status (uses :user).
if (lc($gf_row->{user_status}) eq 'member' or lc($gf_row->{user_status}) eq 'junior member') {
$gf_row->{user_status} = REGISTERED;
}
elsif (lc($gf_row->{user_status}) eq 'moderator') {
$gf_row->{user_status} = REGISTERED;
}
elsif (lc($gf_row->{user_status}) eq 'administrator') {
$gf_row->{user_status} = ADMINISTRATOR;
}
# elsif (lc($gf_row->{user_status}) eq 'guest') {
# $gf_row->{user_status} = ANONYMOUS;
# }
That needs to be updated with your translated user status. For example, this line:
Code:
if (lc($gf_row->{user_status}) eq 'member' or lc($gf_row->{user_status}) eq 'junior member') {
needs to be changed to:
Code:
if (lc($gf_row->{user_status}) eq 'member' or lc($gf_row->{user_status}) eq 'junior member' or lc($gf_row->{user_status}) eq 'mitglied') {
Do the same for moderator and administrator.

Adrian

Last edited by:

brewt: Jul 11, 2002, 11:11 AM

Edit Log: