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

Making a module Views "aware"?

Hi all

More question from me! I am now getting into 4.7 in a big way and am again looking at creating my own news type module. I have looked at flexinode, fleximax and cck however I do not need the ability to create multiple new nodes so these are an overkill, so I am creating my own for a number of reasons.

Anyway, I would be interested in making the module compatible with the Views module and make it Views "aware" so to speak. Can anyone throw some light on how I would go abaout it or what I need to include to make it happen?

Cheers

Plain-text passwords

Hi.

I've developed an email monitoring module (I'm calling it 'Biff' so far). It checks a user's IMAP inbox and reports the number of messages (total & unread), and -- more importantly for us -- mail server space usage against a user's quota. The data is reported in a block for one of the side bars.

In order to do this, I needed to have the user's password in plain text. We use LDAP authentication for both email and Drupal.

The module intercepts the username & password in its hook_user function and stores them in session variables.

I know there are security concerns with doing something like this, but I don't know of any other way to do it.

Any suggestions?

Further, this module also provides a link in the block to our webmail client. It simulates single sign-on by embedding the username and password in the URL to the webmail client. In order to obscure this a bit, I store the actual URL in a cookie. Sure it's still accessible and still sent plain text over the wire, but it's currently the most secure method I've come up with.

Are there any simple schemes to encode or encrypt (and decode or decrypt) cookies anybody knows of?

I'll probably look into using SSL to at least encrypt data on the wire. But there are obviously other security concerns. If anybody has any suggestions on how to better secure this whole process, I'd be very interested in hearing about them.

Customising contact_dir? Is this possible?

I mentioned this a while ago, but it got not response and I really need a hand with it.

I suspect that the reason for a lack of response is because most folks will now be using civicrm or contact manager, but (for a whole host of reasons) I've gone back to using contact_dir, which is serving my purposes perfectly.

However, instead of it showing "Owner" and linking to whoever added the entry, I'd like it to show "Job" and maybe link to a results page for all with the same job title.

image module

Hi

I would like to know if the image.module is working with Drupal 4.7 yet ?

Thanks

Karthik

Anyone using category.module on a live site?

I notice that the category.module page still advises not to use this on a live production site. Is that really the case?

Any mavericks out there gone for it anyway?

Problems with Event module and drop down boxes

Hello Y'all,

I have a small problem with the Event module. I have in stalled the module properly - because I get the three choises on what node to be displayed in the calendar. But I think there is some kind of flaw in my installation - because when I go the the Node where I which to add the event - something strange is happenning.

The start date shows the month in a drop-down-box as well as the time (both the hour and the minutes), however the day and the year is not in a drop-down-box but in a normal text field.

Is this normal?

Pages

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