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

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;}

Needing Assistance

After trying numerous cms I've decided to use drupal for my website. I'm looking for someone who would share there wealth of expertise I need someone that would help me customise a custom mudule and layout for my site.If I had the money I suppose could pay someone(but I'm broke)Even if I wasn't I would prefer to go the hands on route.

Thanks in advance
Myisha

diet modules

Last week i was diagnosed with Diabetes. So I now live on tight diets. :):)

However, I plan to develop some modules for my blog. One is to maintain a (closed) online log of my sugar levels, with some nice summary information etc. I now collect them in a spreadsheet, but off
course, as real geek, it shoud be online, in Drupal. With login and access to the data for my doctor etc :):)

In addition to that (I do not know if you know diabetes) I need to track the exact amount of carbohydrates in my meals. They are crucial to me. This is where I want to speak to you about:

I want to make some modules for (general) diets and I need help for this.

The module(s) should do the following:
* create a database of nodes with nutritional info. Each node is a product. For example "milk".
* create a database of recepies that are compiled out of these products. Each recepy will calculate the nutritinional info from the sum and amounts of the components it is made of.
* allow a log of meals. Each meal is an (optionally altered) recipe
* allow a default "ideal day" (diet reference values). One can log her
differences these ideals (e.g. ate 40 carbohydrates more at noon).

My question to you is, to give me some thoughs, ideas and possibly some code. I am looking for
ideas, coders and writers. I am looking for people with better knowledge about diets (mine is limited to diabetes diets) and so on.

Pages

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