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

My custom version of event.module for Drupal 4.5

For a customer I needed to add some functionality to the event.module for Drupal 4.5. I have put a patch for v 1.96.2.6 and a complete module file in my sandbox if anyone want to check it out.

http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/frjo/event/

Mailhandler and problems with imap_open() function with Gmail account

Hi all,

I'm having trouble accessing my gmail account through the Mailhandler module. I looked at the code, and I'm getting hung up on PHP's imap_open() function.

I'm trying to do the following

$mbox = imap_open("{pop.gmail.com:995/pop3/ssl/novalidate-cert}", "mobilelog@gmail.com", $password) or die("Failed with error: ".imap_last_error());

but all I get are the errors

Missing argument 4 for invite_user()

I'm trying to instal "invite". But when I log-out I get this error:

warning: Missing argument 4 for invite_user() in /home/blah/public_html/modules/invite.module on line 142.
warning: Cannot modify header information - headers already sent by (output started at /home/blah/public_html/includes/common.inc:384) in /home/blah/public_html/includes/common.inc on line 192.

I have searched the archives and bugs and found nothing. How can I fix this.

Thank-you and much positive-karma-in-advance for helping me.

Flexinode: User dropdown based on defined Roles

I've just contributed to modules/flexinode/contrib/ two new files: field_usergroup.inc and its matching README:

This flexinode field addition allows you to choose any of your defined user roles, of which users assigned to those roles will then be displayed in a dropdown menu on the content submission form.

Does FOAF create a permanent user/profile on other Drupal sites???

I understand the initial profile creation on say drupalX.com via man@drupal.org.

But what happens when "man" decides to unsubscribe/leave or is barred from
drupal.org????

Is (s)he still able to login to drupalX via man@drupal.org, or if denied access via the FOAF system is the profile still stored on drupalX.

This is a network security situation, where people who leave or are ejected should not be able to access any network site other than as a visitor.

form_textfield returns "Array" (onthisdate-example)

Hello,

i'm just learning creating modules for dropal.

in the "Creating Modules for 4.5*"-Tutorial there is the following code:

function onthisdate_settings() {
// only administrators can access this module
if (!user_access("admin onthisdate")) {
return message_access();
}
$output .= form_textfield(t("Maximum number of links"), "onthisdate_maxdisp",
variable_get("onthisdate_maxdisp", "3"), 2, 2,
t("The maximum number of links to display in the block.")); return $output;}

Pages

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