Ich hab jetzt mit einer anderen Map alles genauso gemacht wie in der Readme steht:
INSTALATION INSTRUCTIONS FOR USERMAP
1. UPLOAD THE FILES TO YOUR MYBB FORUM
2. WHEN YOU DON'T USE MYBB 1.2.10 or higher, OPEN GLOBAL.PHP AND FIND:
// Run global_start plugin hook now that the basics are set up
$plugins->run_hooks("global_start");
// Set and load the language
if(!isset($mybb->settings['bblanguage']))
{
$mybb->settings['bblanguage'] = "english";
}
// Load language
$lang->set_language($mybb->settings['bblanguage']);
$lang->load("global");
$lang->load("messages");
REPLACE WITH:
// Set and load the language
if(!isset($mybb->settings['bblanguage']))
{
$mybb->settings['bblanguage'] = "english";
}
// Load language
$lang->set_language($mybb->settings['bblanguage']);
$lang->load("global");
$lang->load("messages");
// Run global_start plugin hook now that the basics are set up
$plugins->run_hooks("global_start");
3. OPEN ADMIN/USERGROUPS.PHP AND FIND:
tablesubheader($lang->perms_misc);
makeyesnocode($lang->can_view_mlist, "canviewmemberlist", "yes");
makeyesnocode($lang->can_send_emails, "cansendemail", "yes");
AFTER ADD:
tablesubheader($lang->perm_usermap);
makeyesnocode($lang->perm_canviewusermap, "canviewusermap", "yes");
4. IN TE SAME FILE FIND:
tablesubheader($lang->perms_misc);
makeyesnocode($lang->can_view_mlist, "canviewmemberlist", $usergroup['canviewmemberlist']);
makeyesnocode($lang->can_send_emails, "cansendemail", $usergroup['cansendemail']);
AFTER ADD:
tablesubheader($lang->perm_usermap);
makeyesnocode($lang->perm_canviewusermap, "canviewusermap", $usergroup['canviewusermap']);
5. OPEN ONLINE.PHP AND FIND:
case "portal":
$locationname = $lang->viewing_portal;
break;
AFTER ADD:
// usermap.php functions
case "usermap":
$location = my_substr($user['location'], -strpos(strrev($user['location']), "/"));
$locationname = sprintf($lang->viewing_usermap, $location);
break;
6. IN THE SAME FILE FIND:
case "portal":
$user['activity'] = "portal";
break;
AFTER ADD:
case "usermap":
$user['activity'] = "usermap";
break;
7. ACTIVATE THE PLUGIN
Aber keine Map zu sehen