[cBB Blockgets 1.0.2] undefined function get_user_rank()


User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Fri Oct 19, 2012 1:13 pm • via Web
Mod: cBB Blockgets 1.0.2

Error: In some pages appears this Fatal 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


Solution:
1. Open /blockgets/blockgets.php
2. Find:
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. Add before:
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");
      }


This error will be fixed on cBB Blockgets 1.0.3

Who is online

Users browsing this forum: No registered users and 0 guests