Closed (fixed)
Project:
OG Block Visibility
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2007 at 18:18 UTC
Updated:
17 Nov 2007 at 10:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jax commentedIt looks like there needs to be only 1 update but I could be wrong. It seems to be working though. I've renamed module_exist to module_exists and added the info file.
Comment #2
jax commentedAnyone available to review this?
Comment #3
spjsche commentedI have implemented the patch in my beautiful newly installed Drupal 5.0 test site, and when I choose to implement a new menu item to only be shown to the subscribed groups, I get a white blank site, and I am unable to recover.
Is there any attribute I can change on the database to retrieve my site without having to rebuild it.
Thanks
Stephen
Comment #4
jax commentedWell, you should just restore the backup you took right before you enabled the module. But if you didn't back up this should work as well:
update system set status = 0 where filename = 'modules/og_block_visibility/og_block_visibility.module';
It's strange that you have this problem since I have the module up and running for a couple of weeks under drupal 5.0 without a problem.
Comment #5
spjsche commentedThanks Jax,
You are quite correct, I should do a backup before I test a new module, but I ws so keen to try this one that I forgot.
I did try disabling the module on the database, but that did not make a difference, so I rebuild it again. (it was empty anyway)
But thanks for the response, much appreciated.
I will have to wait a bit longer, and like they say patience is a virtue.
Stephen
Comment #6
Anonymous (not verified) commentedI haven't tried the patch but the module works fine once the method module_exist is replaced with module_exists and a .info file has been generated.
Regards Paul
Comment #7
jax commentedThat's exactly what the patch does but the project seems to have been abandoned. If I find the time I'll try to get CVS access to commit this patch and release a 1.0 version of this module for 5.0. Because if no one does you're stuck maintaining it outside drupal.
Comment #8
spjsche commentedThat is wonderful news.
Thanks for your time.
Comment #9
frjo commentedThanks for the patch in #1 Jax. I tried it and it works well for me on a new site.
When I tried to update a site from 4.7.x to 5.1 I ran in to a problem that is fixed in my updated version of the patch.
I added a og_block_visibility_update_2() function to og_block_visibility.install that replace module_exist() with module_exists() in the blocks table.
I also added dependencies and version to the info file.
Comment #10
ray007 commentedsubscribing
Comment #11
haimoura commentedsubscribing
Comment #12
gracearoha commentedIs anything new happening on this patch?
Comment #13
frjo commentedIt's still works well for me. A new version of the patch without "version" in the info file (updated module developer guidelines).
Comment #14
csc4 commentedI've installed og_block_visibility_drupal5_2.patch in a new 5 installation and confirm the patch works excellently for me.
Comment #15
Darkswan commentedAfter applying the patch OG Groups shows up in Modules. When I activate the module I get a blank screen. when I click back in the browser I then see the following error.
warning: require_once(./modules/og/og_block_visibility/og_block_visibility.install) [function.require-once]: failed to open stream: Permission denied in C:\www\Apache\htdocs\includes\install.inc on line 726.
I am using apache 2.2 on windows 2003sp2. and gave users full permissions access in \includes and \modules with no luck...
any ideas?
Comment #16
Firewolf commentedI applied the patch and the module shows up. I can even change the settings for it, but the module is just not working.
I tried with a menu block and with the "who's online" block. I created 2 og's and some users on a test site. The blocks are not showing up.
I am using Drupal 5.2 and OG 5.x-3.1.
Anybody gor more luck? Or am I missing some specific settings not mentioned in the readme file?
I want to create group-specific navigation menu's. Perhaps there is another module or another way of working which I can use?
Regards
Comment #17
gengel commentedTrouble patching?
From sites/default/modules, after unpacking og_block_visibility-4.7.x-1.x-dev.tar.gz:
$ patch -p0 --dry-run patching file og_block_visibility/og_block_visibility.info
patch: **** malformed patch at line 12: Index: og_block_visibility/og_block_visibility.install
I checked the patch file, and it seems fine to me. Should I patching a different version of the module?
Comment #18
gengel commentedSorry, here's the full transcript (forgot my <)
$ patch -p0 --dry-run <og_block_visibility_drupal5_2.patch
patching file og_block_visibility/og_block_visibility.info
patch: **** malformed patch at line 12: Index: og_block_visibility/og_block_visibility.install
Should I be patching a different version of the module?
Comment #19
AmirTheSeventh commentedSorry, this is not connected to this issue but as this module is not maintained, I think this the best place to ask my question:
I need to make a block generated by "views" only visible on nodes with Audience (not public posts); so it can generate a menu for every OG automatically and don't want this menu (block) show up on other pages (e.g. home page, any node without audience).
Please note that I do not want to select a specific OG for the block to be visible but I want the block to be visible on all groups on the site
can it be done with this module? Any other way to get it done?
Comment #20
jax commentedIt seems there is a 5.x version of this module. Closing the issue.
Comment #21
AmirTheSeventh commentedas far as i know we must change the status to fix and it will be closed automatically within 2 weeks
Comment #22
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #23
spjsche commentedExcellent, thanks.