So I've run into rather an interesting quandry, and would like to toss it out for advice.

For a site I'm building, we want users to have the ability to refer their friends to a specific page. There was no such module on the project/Modules page for 4.6.x, so I figured I'd write one. The result (largely a combination of the print and feedback modules) is this simple module:

http://www.garfieldtech.com/tellafriend.tar.gz

We were planning on contributing it back to Drupal.org as a contributed module, but then I noticed this module in CVS:

http://drupal.org/node/16499

Same name, but actually does something different. (Mine refers pages, that one refers the whole site only.) The author also has his account set to not let me contact him. The discussion thread http://drupal.org/node/15732) on that, however, revealed these other, apparently out-dated and not-recently-updated modules:

http://drupal.org/project/refer
http://drupal.org/node/7827

So between the lot of them, including the module I just wrote, it looks like there's 3 refer-friend-to-this-page modules and one refer-friend-to-whole-site module, but that module has a namespace collision with one of the page-specific modules (mine, of course :-) ). And none of them, it seems, offer invite-to-join-site functionality.

So, I'll throw it out to the community. What do we do with all of this code? :-) It seems sensible to me to be able to refer individual pages, not the whole site, but to invite to join the site. Any of the authors of those modules interested in a merger of some kind? Should I just submit my module to CVS and let someone else figure out the namespace issue? Should I rename it and then do the same? Something else?

I'm open to advice here. I'd just like to see it all merged and simple and happy and unified and stuff. :-)

Comments

Thox’s picture

I'd suggest contacting the maintainer of the existing contributed module in CVS. If your code is easy enough to work with that module, then I'd suggest submitting a patch against it to add your functionality.

The author obviously had a need to refer the whole site, but I'd assume most people want to refer to a specific node / url.

PS - check the readme file in CVS if the author doesn't have contact details elsewhere

robray’s picture

It seems to me that referring a "site" is really just the same as referring the "home page" node.

Therefore, functionality that would refer any node/url would inherently support reffering the home page / site.

Or am I nuts?

flickerfly’s picture

Looks like this page is old... based on the statistics, I'd suggest that the Forward module is the current preferred module for this sort of thing: http://drupal.org/node/31638