The latest version of Members module (4.3) does not work on the drupal 4.5 version.

Comments

Uwe Hermann’s picture

Component: Miscellaneous » Code
walkah’s picture

just tagged a new release, the download page should get updated next cron run.

gte451f’s picture

I have tried the new members version and it works great! But only for the site ADMIN. I cannot get any other user to view the members page. I get an access denied message. All my other modules work and I am just about positive that my permission are set correctly. I checked the members box in the permission page then went out to the permiessions table to check that "access member list" got added.

Still I can't get a user or any other role to view member list except admin.

Any ideas?

gte451f’s picture

I have tried the new members version and it works great! But only for the site ADMIN. I cannot get any other user to view the members page. I get an access denied message. All my other modules work and I am just about positive that my permission are set correctly. I checked the members box in the permission page then went out to the permiessions table to check that "access member list" got added.

Still I can't get a user or any other role to view member list except admin.

Any ideas?

gte451f’s picture

I have tried the new members version and it works great! But only for the site ADMIN. I cannot get any other user to view the members page. I get an access denied message. All my other modules work and I am just about positive that my permission are set correctly. I checked the members box in the permission page then went out to the permiessions table to check that "access member list" got added.

Still I can't get a user or any other role to view member list except admin.

Any ideas?

asimmonds’s picture

There's a incorrect permission check in the _menu hook

--- members.module      5 Nov 2004 18:04:45 -0000       1.33
+++ members.module      11 Nov 2004 06:01:55 -0000
@@ -23,7 +23,7 @@
     $items[] = array('path' => 'members',
                      'title' => t("members"),
                      'callback' => "members_page",
-                     'access' => user_access("access private messages"));
+                     'access' => user_access("access members list"));
   }

   return $items;
walkah’s picture

fixed in CVS

Capnj’s picture

Sorry, not fixed. Just d/l the cvs version and it behaves the same way. Only the admin even has 'Members' on the navigation menu.

gil

walkah’s picture

did you try the version in CVS? look at the time on the last generated tarball :

Download latest release (4.5.0, 05/11/2004 - 04:20)

Now, compare that to the "Fixed in CVS" comment. Please be patient, new tarballs should be generated soon.

Anonymous’s picture

sulleleven’s picture

grabbed members.module from cvs today and installed onto drupal 4.51
http://artistjoint.com/core/?q=members

Fatal error: Call to undefined function: db_escape_string() in /homepages/19/d100051692/htdocs/sites/artistjoint/core/modules/members.module on line 69

approx line 69:
-------
foreach ($roles as $rid) {
$list[] = "'" . db_escape_string($rid) ."'";
}
$list = implode(',', $list);
--------

jhriggs’s picture

You must use the 4.5 version of the module with Drupal 4.5.x. The CVS version has already been updated for changes in the CVS version of Drupal. You cannot mix and match the versions.

sulleleven’s picture

oh, i thought I read somewhere that the cvs works with 4.51... i was prob thinking of another module, since I am reviewing just about every interesting module there is =)

thanks. works now. very nice!