3 ms·
It just so happens that I just finished building a Drupal system that stores content until a user with a particular email address logs into a site, then shows i
by mechanical_fish 18y ago
It just so happens that I just finished building a Drupal system that stores content until a user with a particular email address logs into a site, then shows it to them.
Why don't you want the users to join an Organic Group? They don't have to explicitly join: you can have it happen invisibly at signup time. You can write code that intercepts the user as they register (or, better, just after they click an emailed link to confirm their email address), notices that their email is on a list of "users that should be added to group X when they show up", and adds them to the group. Then it's just an, um, "simple" matter of using the permissions system. (Which can, indeed, be a little hairy. But not so hairy that lots of people haven't used it.)
Of course, like so many Drupal problems, this will require some custom code...
- davi 18y ago"I just finished building a Drupal system that stores content until a user with a particular email address logs into a site, then shows it to them." Interesting -- public code? "like so many Drupal problems, this will require some custom code" Yep -- that's what I mean, it's an itch to scratch, not a tool I can deploy today. I wish I could deploy such a tool; it would be useful w/ my graduate work, which involves lots of collaboration w/ different groups. It sounds like you're a heavy Drupal developer, and so your comment gives me some hope that if I were to try to implement this with Drupal, I wouldn't end up in a stinking morass. (At least not one I didn't make myself.)
- mechanical_fish 18y agoyour comment gives me some hope that if I were to try to implement this with Drupal, I wouldn't end up in a stinking morass. Oh, no, Drupal pregenerates the stinking morass for you. ;) Well, it's not really as bad as that. But the person in this thread who pointed out that Drupal development is the art of compromise was on the money. And the learning curve for Drupal 5 can be rather like scaling a sheer cliff. It all depends on what you're trying to do, though. If you're willing to compromise your goals to fit the scope of things that you can convince Drupal to do right out of the box... it works out of the box! Get a book or two. The Lullabot.com folks seem to be good teachers. In particular, if you find yourself wanting to write PHP for Drupal, get a copy of Pro Drupal Development and sleep with it under your pillow. As it happens, my email thing is not public code. But perhaps it could be. I seem to have already identified one potential user! But the stuff I wrote would have to be factored out and turned into a plugin for Organic Groups, or perhaps interfaced with the Actions Module.
- davi 18y agoI dusted off my previous experiments with Drupal and started messing around. I pretty quickly ran into barriers with the 'out of the box' snap together model, but I see what you mean, the infrastructure could work with some customization. But, the 'stinking morass' thing gets to me -- maybe better to start closer to scratch w/ e.g. Rails or Django? Why did you decide to go the 'customize Drupal' route? (for my own notekeeping: brought this idea up again, here: http://news.ycombinator.com/item?id=466673 http://news.ycombinator.com/item?id=466673)