Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: joker on March 14, 2004, 05:45:37 AM

Title: Admin / set Permissions
Post by: joker on March 14, 2004, 05:45:37 AM
Error on fresh install when setting permissions

Notice: Undefined index: permissionname_move_own in /home/agrar.de/public_html/testforum/Sources/ManagePermissions.php on line 1007
Title: Re: Admin / set Permissions
Post by: Kris on March 14, 2004, 05:49:37 AM
Quote from: joker on March 14, 2004, 05:45:37 AM
Error on fresh install when setting permissions

Notice: Undefined index: permissionname_move_own in /home/agrar.de/public_html/testforum/Sources/ManagePermissions.php on line 1007

Looks like missing variable in a language file.
You use the english files or the german ones?
Title: Re: Admin / set Permissions
Post by: Grudge on March 14, 2004, 05:56:00 AM
Yes, It's that it must be missing from a foreign language file as it's in CVS ok. In fact it IS missing from German. To fix this open up ManagePermissions.german.php and stick in these lines:

$txt['permissionname_move'] = 'Move any topic';
$txt['permissionhelp_move'] = 'Move a topic from one board to the other. Users can only select target boards they are allowed to access.';
$txt['permissionname_move_own'] = 'Own topic';

Title: Re: Admin / set Permissions
Post by: Kris on March 14, 2004, 05:58:10 AM
Quote from: Grudge on March 14, 2004, 05:56:00 AM
Yes, It's that it must be missing from a foreign language file as it's in CVS ok. In fact it IS missing from German. To fix this open up ManagePermissions.german.php and stick in these lines:

$txt['permissionname_move'] = 'Move any topic';
$txt['permissionhelp_move'] = 'Move a topic from one board to the other. Users can only select target boards they are allowed to access.';
$txt['permissionname_move_own'] = 'Own topic';



And translate ofcourse ;)
Title: Re: Admin / set Permissions
Post by: joker on March 14, 2004, 05:58:32 AM
Grudge, you're damn quick! :)
Found it too, now.
Title: Re: Admin / set Permissions
Post by: Daniel D. on March 14, 2004, 09:35:55 AM
Ok, ok, I'll add it. I'm not as fast as you.