Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
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());
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.
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.
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;}