I am interested to know what the status of the Drupal 6 port is. Is there any help needed? This module is needed on a site I'm developing in Drupal 6. Let me know if there is any testing or code help I might be able to offer.

Thanks.

Comments

pounard’s picture

I still did not start it. If you are good enough with PHP and D6, you can port it easily, it's a small module!
I'll put a dev release as soon as I start porting it, but I don't really have time for this right now.

EDIT: and doh what's the hell! I'll start right now.

pounard’s picture

Title: Status of Drupal 6 port » Port to Drupal 6
Assigned: Unassigned » pounard
Category: feature » task
pounard’s picture

And did it!
I release a 6.x-1.x-dev version, please test it and report any bugs (and fix some if you can).

EDIT: dev release may appear only in 12 hours, be patient!

pounard’s picture

Status: Active » Fixed
gensuperman’s picture

Category: task » bug
Status: Fixed » Needs work

In RE: Drupal 6.13; OG 2.x Dev

I don't think its quite fixed... well my website says it isn't anyways :)

The issue currently isn't with OG Events but with OG Events Views.

Even when changing the OG Events Views .info file to make it compatible with OG 2.x dev version,
it completely breaks a certain section in the OG area on the site, which the error listed below says something
about missing arrays.

So, this is a little warning to everyone out there, please do not activate the OG Events Views module, especially if you are using
OG 2.x dev versions for 6.x.

Every time I kept going to the: /og/my page for "my groups" section of the OG module, it returned a views error.

user warning: Unknown column 'Array' in 'where clause' query: SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid FROM drupal_node node LEFT JOIN drupal_og_uid og_uid ON node.nid = og_uid.nid INNER JOIN drupal_users users ON node.uid = users.uid INNER JOIN drupal_node_access na ON na.nid = node.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public') OR (na.gid = 32 AND na.realm = 'og_admin') OR (na.gid = 17 AND na.realm = 'og_subscriber') OR (na.gid = 30 AND na.realm = 'og_subscriber'))) AND ( (node.status <> 0) AND (node.type IN ('group')) AND (og_uid.uid = Array) )) count_alias in /home/account/public_html/modules/views/includes/view.inc on line 731.

user warning: Unknown column 'Array' in 'where clause' query: SELECT DISTINCT(node.nid) AS nid, node.title AS node_title, users.name AS users_name, users.uid AS users_uid FROM drupal_node node LEFT JOIN drupal_og_uid og_uid ON node.nid = og_uid.nid INNER JOIN drupal_users users ON node.uid = users.uid INNER JOIN drupal_node_access na ON na.nid = node.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public') OR (na.gid = 32 AND na.realm = 'og_admin') OR (na.gid = 17 AND na.realm = 'og_subscriber') OR (na.gid = 30 AND na.realm = 'og_subscriber'))) AND ( (node.status <> 0) AND (node.type IN ('group')) AND (og_uid.uid = Array) )ORDER BY node_title ASC LIMIT 0, 50 in /home/account/public_html/modules/views/includes/view.inc on line 757.

How necessary is it to have the event views active? As for now I can't have it active because of this error.

pounard’s picture

Title: Port to Drupal 6 » Port views integration to Drupal 6

Oh I should precise, I did not port the views integration, the main module is ported. See #535086: Port views integration to D6
Views 2 API is not that hard to write, if you are OK with PHP and ready to read Views 2 API documentation, I'll be pleased to see your patches :)

If not, please be a bit more patient, I don't really have much time these days, may be in september.

pounard’s picture

Title: Port views integration to Drupal 6 » Port main module to Drupal 6

I shouldn't changed the title

deggertsen’s picture

Seems to work so far. As far as I can tell this can be closed since there is another issue for porting views.

Thanks for porting this over. I'm not quite to the point where I feel comfortable messing with module code yet... I'm mostly a themer.

pounard’s picture

Status: Needs work » Fixed

6.x-1.0-beta1 version is released.
Still beta because I need commmunity testing to detect remaining bugs.
We will use it in production sites within the next weeks, with or without community testing.

pounard’s picture

Status: Fixed » Closed (fixed)