Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/plugins/avatarep.php on line 1102

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Problema al instalar Game Section
theshadow   23 Aug, 2009, 11:42 am
#1
bueno tengo una duda con este plugin, en la instalacion hay un paso en el que me dice que debo modificar unas lineas de el archivo 'ADMINCP/USERGRUPS.php' pero no encuentro por ningun lado ese archivo, alguien tiene idea? :

Código:
3. OPEN ADMIN/USERGROUPS.PHP AND FIND:
        "cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle'])

REPLACE WITH:
        "cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle']),
        "canviewgames" => $db->escape_string($mybb->input['canviewgames']),
        "canplaygames" => $db->escape_string($mybb->input['canplaygames'])

4. IN THE SAME FILE FIND:
        "cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle'])

REPLACE WITH:
        "cancustomtitle" => $db->escape_string($mybb->input['cancustomtitle']),
        "canviewgames" => $db->escape_string($mybb->input['canviewgames']),
        "canplaygames" => $db->escape_string($mybb->input['canplaygames'])

5. IN TE SAME FILE FIND:
    tablesubheader($lang->perms_misc);
    makeyesnocode($lang->can_view_mlist, "canviewmemberlist", "yes");
    makeyesnocode($lang->can_send_emails, "cansendemail", "yes");

AFTER ADD:
    $lang->set_language($mybb->settings['bblanguage'], "admin");
    $lang->load("games");
    tablesubheader($lang->perm_gamesection);
    makeyesnocode($lang->perm_canviewgames, "canviewgames", "yes");
    makeyesnocode($lang->perm_canplaygames, "canplaygames", "yes");

6. 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:
    $lang->set_language($mybb->settings['bblanguage'], "admin");
    $lang->load("games");
    tablesubheader($lang->perm_gamesection);
    makeyesnocode($lang->perm_canviewgames, "canviewgames", $usergroup['canviewgames']);
    makeyesnocode($lang->perm_canplaygames, "canplaygames", $usergroup['canplaygames']);

link del plugin: http://community.mybboard.net/showthread.php?tid=13798
Joki115   23 Aug, 2009, 2:20 pm
#2
EL plugin ese es para 1.2, dudo que funcione igual
theshadow   23 Aug, 2009, 6:14 pm
#3
hay alguna forma de instalarlo en la version 1.4?
Rafael   24 Aug, 2009, 6:35 am
#4
Hay una version para 1.4 buscala en mods.mybboard.net
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.