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

Legal - Terms & Conditions Module

I've just committed a new module to the CVS called 'Legal', which displays your Terms & Conditions to users who want to register on your site, and makes sure they accept the T&C before their registration is accepted.

At the moment you have to copy and paste the the text of your T&C into the module file itself, but I'm planning to do this through the Admin->Site Configuration page in future.

Module to send e-mail to node author

Hi all,
I'm considering writing a modulke that adds a 'mail the author' link, so that a form appears and mail is sent via SMTP without knowing his e-mail address.
I'm looking at privatemsg.module, which is very nice, but adds too many functions.
In my idea, you receive mail with your e-mail client, but your privacy is safe.
Is anyone working on something similar ??

Matteo

open directory project (dmoz) module

Hi All,
I am nearing a decent stopping place with the development of my first module. I'm not really a developer, but I've been able to get the jist of what PHP is about. Oh yeah, before I installed drupal last week I'd never worked with PHP before.

The module is merrily an integration of Dwop Live into the Drupal framework. What this gives you is the ability to parse dmoz data into drupal dynamically, but with the benefit of cache so your server isn't fetching the data each time. You can either grab the entire root of dmoz, or like me tailor a specific tree depending on the site.

In any case I could use some feedback on the module if anyone is interested. I've got it working within the Drupal framework, but I still have some wonky bugs to work out:

1. The users session is not persisting when in my module, not sure if there is some sort of _persist flag I need to set?

2. I tried my best to set all the definable data in the admin screen for the module, but the script requires a server path (/home/sites/blah) that I could never set right. Suffice it to say I'm not sure how to join to strings in PHP. There are a few places in the code that call for

$variable = $pathname + $someothervariable;

I wasn't sure how to join it properly....in any case I'm learning!

3. Where can I insert a link to this module in the primary navigation of the site?

simple pages

Hello everyone,

I am new to Drupal, but I love it so much for it's speed and elegance.

What I would like is to have a type of nodes that are really simple, like a post-it, without any comments allowed. I would use these on a Listings section on my site.

Does this exist? How hard would it be to create it?

TIA.

event.module undefined function bug?

Reference: event.module,v 1.25.2.1 2003/09/13 00:47:10 killes Exp

Is there an undefined function at line 123 of the code? Here:

Aliasing ID's with keywords in node/poll/forum/etc so that links are "asthetically pleasing"

I would like to extend the node/poll/forum ID links so that they could be referred to via an alias. An example would be



http://drupal.org/node/add/forum/ModuleDev


instead of http://drupal.org/node/add/forum/4



I would keep a simple mapping in the database backend that ties a NODE ID to a Keyword/Alias (that would be unique) and links to this node would use the alias, if it exists.

Pages

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