OG User Roles Version 6.x (Public)
Primary tabs
Submitted by somebody on Tue, 07/01/2008 - 11:53am
Groups audience:
- Private group -
Test 6.x version of OG User Roles.
- Theoretically, we don't need the user.module patch because the "Clear the Cache" functionality is now a part of core.
- Haven't yet tested multinode_access patch for node.module, so stay clear of that for now.
- Log in to post comments
- Printer-friendly version
Comments
Removed og_user_roles_theme()
Renamed og_user_roles_theme() to og_user_roles_determine_context() (the equivalent function in OG module).
However, the equivalent function in OG, og_determine_context() is called from og_init(), NOT og_boot().
Need to look into this further. For right now, OGR is calling og_user_roles_determine_context() from og_user_roles_boot().
Additional errors after og_user_roles_theme() removed
Problem with one undefined function after another. Apparently, OG User Test was clicked on. Got rid of first problems by adding
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); // http://drupal.org/node/273068
to: og_user_roles_write_test().
db_num_rows() as been deprecated in 6.x. Replaced with db_result().
That seems to have gotten up past this round of errors, although there is now a new error on ognodeadd:
No idea why that's there.