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

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:

Banner question

Is it possible to call a banner function (series) from an HTML-command (expample: http://mysite.com/banner?=0 )
I'm curiuous because if you look at my testing-site drupal.heimp.nl you'll find a banner at the top, I've edited the theme (so it's a permanent one) and now I want it to show my managed banners.

Thanks for helping.

Christiaan

Reduce repeated characters filter

Hi,

We've looked hard for a filter that reduces repeated characters:

e.g. Read this!!!!!!!!!!!!!!!!!!!!!!! -> Read this!!
e.g. Hahahahahahahahahahahahaha -> Haha

I.e. if a sequence of 1+ symbols is repeated more than 2x in a row, reduce it to only 2 repeats.

We have adapted the URLfilter.module to look like this:

Build Loyalty and have your customers coming back more and more often

Greetings,
My first post to this section. I made a Post in support regarding subject,

http://drupal.org/node/15246#comment-25355 pls read

But its such a Biggie, I thought I should Post it here as well. To see if it gets any feedback.

==============

Customer Points

If you wanted to take this one gaint step up. You could store the users points and reward them Privileges based on thier points.

Pages

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