[cBB Blockgets 1.0.2] Block in any index page


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

Error: The mod load blocks in any index page and, in some cases, produce problems with other mods.

Solution:
1. Open /blockgets/blockgets.php
2. Find:
Code: Select all
if(empty($this->page) || empty($this->page['page_enabled']) || ($page_type == PAGE_FORUM && !$config['blg_on_board']))

3.Replace with:
Code: Select all
if(empty($this->page) || empty($this->page['page_enabled']) || ($page_type == PAGE_FORUM && (!$config['blg_on_board'] || $user->page['page_dir'])))


This problem will be fixed on cBB Blockgets 1.0.3

Who is online

Users browsing this forum: No registered users and 0 guests