DevHeads.net

Postings by Matthias Fechner

Mass Upload

Dear list,

I'm in the process finishing a drupal site.
For this I must upload a lot of pictures.
These pictures should be stored in a special content type with an image
field (drupal7).

Is there a tool I can select all images and push them all in one step to
the server which is generating then for every picture a node with the
content-type 'Header Pictures'?

Thanks
Matthias

Rotating Header Images

Dear list,

I want to add a header block that consists of 4 pictures. The first
picture should be fixed and all other picture should rotate.
The pictures should all displayed in one row.

The drupal version is 7.

Are there some modules which make this possible?
(I already played around with views, but it does not have a random
functionality, I added the pictures as a custom content type).

Thanks
Matthias

Block users with invalid email

Dear drupal users,

I have a site with some 1000 users which is now up for a very long time.
I want to clean-up the user database and delete (or block) all users
with an invalid email.

For this I thought about a script that connects to the mail server of
the entered email address and check with a MAIL FROM/RCPT TO if the
email address is valid.
In case it is not, block or delete the user.

Before I now start to hack a little script for this, is there maybe
already something available, I can use?

Thanks,
Matthias

Drupal7 should send notification about updates

Dear list,

I have now some time a drupal 7.10 installation running.
Some modules are outdated, but I got no notification from the system
that there are updates available.

Under /#overlay=admin/reports/updates/settings I filled my email
address, selected daily check and send for all versions.

Under reports I see that the cron process was execute 1 hour 17 minutes
ago, so I think with the cron process is everything fine.

Is this a bug in drupal7 or must I setup some more options?

Thanks
Matthias

Send mail from queue with not working content-filter

Dear list,

I installed some time ago dspam and integrated it into postfix.
The order was
postfix -> amavisd with reinject into postfix -> dspam with reinject
into postfix.

But dspam crashed and I removed dspam again to get mail traffic up.

My problem is now that some mails are queued and I cannot resend them
because it seems that postfix want to use a content filter I alread
disabled.
The old line in master.cf was:
[localhost]:10025 inet n - n - - smtpd
-o content_filter=lmtp:unix:/var/run/dspam.sock

the new line is now
-o content_filter=

But mailq says:
3D

Agreement for every download

Dear Drupal list,

I search for a module that ask the user to agree on a text every time
they download a file (files are stored as private). I think about an own
content type (downloads) for this kind of files where the file is stored
in a cck field.

Module to show C source code

Hi,

I added now a cck file field to my content to upload here c source files.
Is there a module available to show the content with colored syntax on
the page plus be able to download it?

Or if this is not not possible to show the source code in color output?

Thanks
Matthias

Change Layout of attached files to nodes

Hi,

I just learning drupal and some items are not clear for me.
To get different types of file attachable to nodes I create with CCK
several new filefield fields (field_file_docu - to hold documentation
attachments, field_file_firmware - to hold firmwares for this node,
field_file_other - to hold other files).
I selected in CCK to number of values to unlimited, so I can add more
then one file in each catagory.

Show license/eula before download a file

Hi,

I'm just in the process in lerning drupal to replace a joomla site which
always trouble me with updates and a captcha module and I'm now at a
level I will not continue with joomla.

So i decided to take drupal.
But I have a problem that blocks my migration.

I need a possibility to attach several files to a node which can be
downloaded by clicking on them (like it is done on the drupal.org site
with some information on it, version, date, download counter, maybe more).

But before the download starts it should show a license the user must
accept before the download starts.

Is this in