This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How do I get my new module approved?

I submitted a new module (signup) months back in April. Since then, I have added a CVS tree, and a sample site. A few other people have used it. However, I can't edit this information until the module is approved.

Is there anything I can do to get the module approved?

sending e-mail upon node publication

I'm trying my best to use the nodeapi hooks to mail a certain subset of users when a node is changed from 'unpublished' to 'published', which from observing the database, apears to be when $node->status changes from 0 to 1. I asume I should be using the "update" hook, with a little trickery to make sure I only send e-mails the first time an "update" is performed and status=1.

I wrote the following code, however I see no output from any of the print statements when I publish a node from the content administration page.

comparison of image/file/attachment modules

See http://apacam.dyndns.org/drupalattach.html where I compare 7 modules:
attached_file, attached_image, image, node_image, attachment, filestore2, flexinode.

An image gallery/management application is a different beast, and flexinode is too,
but these others could probably all be collapsed.

E-Commerce Module for Drupal 4.4.x / CVS?

I noticed in the repository mathias tweaking some things in the E-Commerece module this past week. I have not used it with Drupal 4.4.x or the current CVS version, but does it work? Or does it only work with Drupal 4.3.x? Any plans to make it work with Drupal 4.4.x or even 4.5.x?

Security In Profiles

I just clicked on a "Who's New" link as an anonymous user on the site I'm running, as was horrified to see every field in the profiles module displayed. The only thing anonymouse users have permissoins to on the site are "Access Content" and "Access provate Messages". So how come I'm seeing this dudes home address?

I'll be adding a permissions block to this module, tonight. Seems like it out to be there by default.

c0c0c0

Statistics Dont Work On Book Pages

I have just noticed that statistics only update when viewing a node. Even on the drupal.org site the page count doesnt go up on book pages. If you view the same page but change book to node in the URL then it increments.

You can fix it by changing statistics.module:

FROM:
if ((arg(0) == 'node') && (arg(1) == 'view') && arg(2)) {

TO:
if (((arg(0) == 'node') || (arg(0) == 'book')) && (arg(1) == 'view') && arg(2)) {

www.mrphp.com.au :: We Create Code

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions