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

Volunteer Module

I have searched the site for a "Volunteer Module," and though I see it mentioned several times, I cannot find it. Is this a mod that is active, and where can I get it?

Thanks!

wiki.module improvements, caching issues

I'm working on some homegrown hacks to the wiki.module, and I'm wondering if anyone can help me on a problem I'm running into. I've added a custom settings field to the module that determines what node type "create new wiki page" links will go to. The module defaults to 'story,' and it's easy enough to modify, but it seems like a hassle when making it a user-configurable settings works fine.

It's working on my local site, but how should I go about putting it into the hands of the rest of drupal-land?

Why no "tell a friend" or invite module in drupal?

I'm surprised that their is no "tell-a-friend" module in drupal. Has anyone worked on something like this? I'd like to see a gmail style invitation system for sites with closed registrations, where users can be given invitations to hand out to friends. Of course, that is a much more involved module, but I'm surprised to see no "tell-a-friend" at least.

I tried to create a hackish version, but was unable to get it to send more than one email unless all emails were set in the "to" field which meant all users could see the other email addresses.

custom module disappears from time to time

I'm writing a custom module (called bookswap), and I've been testing it as I go. Sometimes, it disappears from the system, as if it did not exist. I'm still actively developing it, but every now and then, when it is working fine and I *haven't* made any changes to it (say, I go to bed, it works), all of a sudden, the next time I try to use it, it just isn't there. It's name shows up in the module list, and it is shown as enabled, but all of the other functionality is gone. Node types, permissions, settings, etc. All gone. Like it never existed.

Importing DocBook XML or troff/nroff-formatted manpages

Our Free Software project has about 40 manpages with it; one for each userland binary that accompanies each release.

In an effort to keep those manpages current, updated, and available, we're looking to Drupal as a means of delivering them (along with the rest of our site and documentation). Our manpages are kept in DocBook XML (SGML) now, and we generate the man and html/text versions from that base.

What is the best approach to get this content:

webform and PostgreSQL

Hi All,

I modified webform to solve two issues to support PostgreSQL.

The first was that there wasn't a PostgreSQL compatible SQL file to setup the DB for the webform module. Here's what I came up with for that:

BEGIN;
CREATE TABLE webform (
nid integer not null,
confirm text,
email varchar(50),
primary key(nid)

);

CREATE TABLE webform_component (
nid integer not null,
cid integer not null,
name varchar(128),
type varchar(16),
value varchar(128),
extra text,
mandatory integer,
weight integer,
PRIMARY KEY(nid, cid)
);

CREATE TABLE webform_role_node (
nid integer not null,
rid integer not null,
PRIMARY KEY(nid, rid)
);

CREATE TABLE webform_submited_data (
nid integer not null,
sid integer not null,
name varchar(255) not null,
data text,
PRIMARY KEY(nid, sid, name)
);

CREATE SEQUENCE webform_submissions_id_seq START 1 INCREMENT BY 1 CACHE 1 NO CYCLE;

-- Setting default variables
INSERT INTO variable VALUES ('webform_version', 'a:2:{s:4:"text";s:5:"4.5.1";s:5:"build";i:451;}');
COMMIT;

The second issue was that the _webform_save_submission function tried to insert multiple rows inside one db query. Either this wasn't formatted correctly or PostgreSQL doesn't support this feature so I modified it to insert each row individually. The function was modified as below:

Pages

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