Group Events Block requires "Administer Nodes" Permission to view

richard.e.morton - December 6, 2008 - 19:47
Project:OG Calendar
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:paulbooker
Status:closed
Description

Hi There,

Well, I htink I have summed it up quite well in the title... I have a authenticated user setup with minimal permissions (create, view, content) butnot "administer nodes" as that seems to be extreme.

Authenitcated users cant see the events in teh group events block and they get the message
"No upcoming events available"

thanks for looking.

Rich

#1

paulbooker - January 9, 2009 - 15:41
Assigned to:Anonymous» paulbooker

Would you please upgrade to 6.x and see if your problem still exists as i am no longer supporting
Drupal 5

#2

richard.e.morton - January 9, 2009 - 18:19

Hi Paul,

Unfortunately that is not practical as all the other projects have not anywhere near being ready. I am not running a simple website it consists of lots of modules...

Even if I take into account that there are other ways of achieving some of the goals of the modules it took months to find a combination of modules which worked well together and gave an interface that was acceptable to the uninitiated. The website is being adopted by many of the members but it is politically to early to make such a major change to the site, in a year or so, maybe.

I know you are a volunteer but it is quite normal to support the current and previous 2 releases, in the OSS world the current and previous, but any less than that just doesn't give the stability required to build applications the upheaval of upgrading platforms.

thanks for considering this anyway

Richard

Not ported yet
PDF-IDcard

Not ported yet
Account Expiry

Not ported yet
Account Types

In development
ACL

In development
CAPTCHA

Available
Content Construction Kit (CCK)

Not ported yet - In development
CCK Field Permissions

Not ported yet
CCK Taxonomy Fields

In development
Computed Field

Available
Content Access

In development
Date

Available
Diff

Available
Email Change Confirmation

In development
Event

Not ported yet
Event Repeat

In development
Forum Access

In development
Forward

Available
Global Redirect

Available
Google Analytics

In development
Image

Available
Image Assist

In development
Invisimail

Available
Job queue

Not ported yet
JSFX 5.x-1.0

Available
Javascript Tools

Not ported yet
Links checker

Available
LoginToboggan

In development
Minutes

Available
modr8

Not ported yet
Node Family

Not ported yet
Node Profile

In development
Meta tags

Available
Organic groups

Available
OG Calendar

Not ported yet
OG Contact

Available
Organic Groups - Multiple Mandatory Groups by Role

Available
Pathauto

Available
Printer, e-mail and PDF versions

Available
reCAPTCHA

In development
RoleAssign

In development
RSVP

Not ported yet
Search Keywords

In development
Session expire

In development
Subform Element

In development
TinyMCE WYSIWYG Editor

Available
Token

Available
Update Status

Not ported yet
Usernode

Available
Views

In development
XML Sitemap

#3

dleeward - January 9, 2009 - 18:45

Can't upgrade to 6.x because many of the modules I need are not yet updated.

Could I use an argument to filter a View by a group instead?

#4

dleeward - January 10, 2009 - 01:41
Status:active» fixed

The Group Events block is no longer needed. Views can now duplicate it's funtionality and the output can be customized in Views.

The key is that OG exposes the Current Group to filters in Views.

Here's the export from Views:

$view = new stdClass(); $view->name = 'group_events'; $view->description = 'Group Events View'; $view->access = array ( ); $view->view_args_php = ''; $view->page = FALSE; $view->page_title = ''; $view->page_header = ''; $view->page_header_format = '1'; $view->page_footer = ''; $view->page_footer_format = '4'; $view->page_empty = '

empty
'; $view->page_empty_format = '4'; $view->page_type = 'list'; $view->url = ''; $view->use_pager = TRUE; $view->nodes_per_page = '10'; $view->block = TRUE; $view->block_title = 'Upcoming Group Events'; $view->block_header = ''; $view->block_header_format = '4'; $view->block_footer = ''; $view->block_footer_format = '4'; $view->block_empty = ''; $view->block_empty_format = '4'; $view->block_type = 'list'; $view->nodes_per_block = '10'; $view->block_more = TRUE; $view->block_use_page_header = FALSE; $view->block_use_page_footer = FALSE; $view->block_use_page_empty = FALSE; $view->sort = array ( ); $view->argument = array ( array ( 'type' => 'name', 'argdefault' => '2', 'title' => '', 'options' => '=', 'wildcard' => 'all', 'wildcard_substitution' => '', ), ); $view->field = array ( array ( 'tablename' => 'node', 'field' => 'title', 'label' => '', 'handler' => 'views_handler_field_nodelink', 'options' => 'link', ), array ( 'tablename' => 'event', 'field' => 'event_start', 'label' => '', 'handler' => 'views_handler_field_date_large', 'defaultsort' => 'ASC', ), ); $view->filter = array ( array ( 'tablename' => 'node', 'field' => 'status', 'operator' => '=', 'options' => '', 'value' => '1', ), array ( 'tablename' => 'node', 'field' => 'type', 'operator' => 'OR', 'options' => '', 'value' => array ( 0 => 'event', 1 => 'volunteer_timeslots', ), ), array ( 'tablename' => 'og_ancestry', 'field' => 'picg', 'operator' => '=', 'options' => '', 'value' => '***CURRENT_GID***', ), array ( 'tablename' => 'event', 'field' => 'event_end', 'operator' => '>', 'options' => '', 'value' => 'now', ), ); $view->exposed_filter = array ( ); $view->requires = array(node, event, og_ancestry); $views[$view->name] = $view;

I've changed the status to Fixed but I guess Won't Fix could be just as valid.

#5

System Message - January 24, 2009 - 01:50
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.