[cBB Blockgets 1.0.2] undefined function get_user_rank()


Avatar de Usuario
IvanPF
Administrador
 
Mensajes: 2010
Registrado: Vie Jun 17, 2011 12:15 am
Ubicación: España (Spain)
 Vie Oct 19, 2012 1:21 pm • a través de Web
Mod: cBB Blockgets 1.0.2

Error: En algunas páginas aparece este error:
Código: Seleccionar todo
Fatal error: Call to undefined function get_user_rank() in /xxxx/xxxxx/forum/blockgets/block/login_block.php on line 35


Solución:
1. Abrir /blockgets/blockgets.php
2. Buscar:
Código: Seleccionar todo
      // Include here the bbcode class to not include in each block :)
      if (!class_exists('bbcode'))
      {
         include("{$phpbb_root_path}includes/bbcode.$phpEx");
      }

3. Añadir antes:
Código: Seleccionar todo
      // Include here the display functions if not defined
      if(!function_exists('get_user_avatar'))
      {
         include("{$phpbb_root_path}includes/functions_display.$phpEx");
      }


Este error estará corregido en cBB Blockgets 1.0.3

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados