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

quote.module not working in 4.4.0

I can't get quote.module to work. I have it installed in a fresh version
of Drupal 4.4.0 and have enabled the module in the configuration section.
Then, for example, I have the text 'this is only a test', I click on the "quote"
link, and I get something like this:

    quote=philthis is only a test/quote

In the comment field, the preview view and after I've posted it. Meanwhile the quote text is displayed as a link, which are linking to:

Filestore 2 Questions

OK, I finally worked out how to get cvs versions... and I downloaded fscache and filestore 2, but I'm getting this error message when I click 'submit:

Call to undefined function: md5_file() in .../drupal/modules/fscache.module on line 204

As a total N00B to PHP and sql stuff, I'm presuming this is the bit where it encodes the filename to the sql database, right? Please can anyone tell me why it's undefined?

Article module question

downloaded the article module, followed the instructions, but the new article link generates a blank white page. Incidentally, the instructions say upload the article.module into the module directory, but nothing else about the other files it comes with. Do you just forgot about them?

Also, the instructions say "set-up configuration options in the article admin section." Well, where's that?

Finally, went to the guy's web page and tried to register in his forum but it wouldn't take the user name and password he sent me.

attachments in comments?

I would really like to know how the attachments to comments in projects seen on this site work, since I am having big trouble with getting attached file and even filestore to work (no, I haven't found an answer in any other forums).

I'm using Drupal 4.4, have installed the project module (no option for attaching there), in the attached file readme it just says 'plug the functions in their appropriate places' - I don't know what these places are! Can anyone tell me how to add this functionality into my forums so users can attach files to their posts?

Wiki footnotes documented but not implemented?

The Wiki documentation in the module and help file promises that it supports footnotes when you put numbers inside square brackets in text. This structure is supposed to link to anchors later in the text that consist of the same construct that starts in the left column.

I can't get this to work, and have scanned through the code to see if something is broken. I can't find where it is even implemented. Is anyone familar with this code enough to know if this was ever implemented? The documentation example is actually generated with HTML markup, rather than the promised Wiki syntax.

SpamAssassin Module

I'm considering building a module that uses Spamassassin rules to filter incoming content. Below are some of my notes on the topic. Note that this assumes that the reader is mildly familiar with how Spamassassin works:

Create a Drupal module that uses spamassassin to filter content.

Create a rule to apply to each role to determine whether filter applies.

Specify which node types/comments get filtered. Possibly have a per-node config that allows poster to turn on/off comment spam filter.

Specify a spam score above which content post gets filtered.

Options for filtering actions include message being:
1. denied
2. denied quietly (appear to be accepted)
3. queued for moderation
4. queued for moderation quietly

Spamassassin will need to be modified to only apply body tests, as all
header tests will be unapplicable. Consider the performance
options/payoffs between using spamassassin as a separate process vs.
using the spamd client/server configuration.

Rule sets will need to be customized for each community. Consider developing an interface that allows moderators to adjust scores for rules on a per-message-acceptance basis using a "This is not spam" button in addition to an "Approve" button. e.g. if a blackjack gaming community posts 25 posts all containing the word 'Casino' and the CASINO spam rule by default adds 2.8 points to the overall spam score, each message that gets accepted reduces the spam score for rule CASINO by some predetermined value (like 0.1). After moderators have accepted all 25 posts in this way, the revised spam score for rule CASINO will be 0.3 (most likely below spam threshold).

Pages

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