i tried to apply votes to stories (in addition to storylinks). but the arrow signs (for voting) does not appear for stories. only the vote count appears (which is 0 since i cannot vote). i'd appreciate if anyone tell me how to make it also work on stories.
thanks,
erick
I'm writing a module to create a custom node type for use with organic groups (this type of node will be the team page). I want to replace the "Subscription requests" select list with a hidden value that makes it always "open - subscription requests are accepted immediately" so the user can't change this. Any idea how I can accomplish this from within my custom module without hacking into the Organic Groups module?
Every time I try to add an event it is given a date of 1970 (beginning of UNIX era). I've tried turning off contrib modules and so on, but no change.
The strange thing is that I disabled the Events module and installed Countdown, but I get the same problem there. So, presumably this is a server problem of some kind? I've run any necessary updates, btw.
I'm quite new to drupal and am trying to continue my module developement for drupal 5.
Today I commited myself to changing my hook_form_alter function adding formelements either to a node or node setting.
http://drupal.org/node/64279#node-type-settings shows that now when checking for the node-type in the node settings you need to use $form['old_type']['#value'] instead of $form['type']['#value']
I'm not much of a coder (yet! ;) ), but I thought that we (as in: who ever might be interested) could make a little module that allows to convert the users eMail into an image and display it on the (overridden) user page. As you might have guessed it's to prevent spam... I looked around a bit, and found this script that does exactly that. Unfortunately I'm useless at coding, so I have no idea what to do with it. I'd be gratefull if anyone would like to help me with this, I'm sure it'll be usefull to many who want to protect their users.
If there's something like this out there, I'm sorry for posting this, but since I couldn't find it...
here's the code (special thanks to http://chxo.com/labelgen/ ):
I was trying to setup an image gallery using the image_import module. On clicking "create content->import images" I got the error: "Upload module has not yet been configured".
I think the version of image_import I was using was meant for drupal 4.6 instead of 4.7. Looking through the code (in file image_import.module) I found that the "_image_import_check_settings" function was calling: