Closed (fixed)
Project:
OG Block Visibility
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Reporter:
Created:
17 Jun 2008 at 20:18 UTC
Updated:
14 Jul 2012 at 19:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ambereyes commentedI had the same problem, apparently the latest version of og no longer uses the variable this module is searching for, i. e. "og_node_types".
So this module needs some serious updating to match the current version of og.
Comment #2
Anonymous (not verified) commentedComment #3
rbisso commentedGetting the same problem. Thanks for your help, Paul!
Comment #4
johnalbinThe latest OG uses
og_get_types('group')to get a list of node types that are groups. This patch checks for the existence of this function before using it, and if it doesn't find it, it uses the oldvariable_get('og_node_types', array('og'))method. So the og_block_visibility.module will remain compatible with older versions of OG as well.This patch plus the one in #298532: .info file broken and DRUPAL-5 contains module_exist(), a 4.7 function were required to get this module working with the latest OG.
Comment #5
Anonymous (not verified) commentedThanks for this patch
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.