[cBB Blockgets 1.0.2] undefined function get_user_rank()


Due to a lack of free time, both support on this forum and extension development are currently limited.
All bugs are noted and saved for fixes, even if there are no replies to the posts.
Normal activity will resume as soon as possible.
User avatar
IvanPF
Administrator
 
Posts: 2265
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Fri Oct 19, 2012 1:21 pm • via Web
Mod: cBB Blockgets 1.0.2

Error: En algunas páginas aparece este error:
Code: Select all
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:
Code: Select all
      // 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:
Code: Select all
      // 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

Who is online

Users browsing this forum: No registered users and 0 guests