I'm planning to use OG in some sites I'm developing and have found that the audience selection can be improved.
* There are some problems related only to OG: For example see http://drupal.org/node/130601
Here we can talk about two things:
Do we need access to audience fields always?
Is not possible to give the admin the chance to restrict that?
If we do, how can be the nodes moved from a group to another? (this is the problem that caused SomebodySysop patch not to be committed)
And the audience has to be always a multiple select? -> That's about crossposting
I think that crossposting to more than one group is a valuable thing but it has to be used with caution.
A lot of admins wouldn't like to see some content types crossposted as this could cause, for example, that comments of one group to be seen in other groups! This can result in a lot of problems since users think their comments are only readed in their group, and they "know" the people in the group. Is very likely that they don't expect other people to read their comments.
The solution to the above is to have crossposting enabled on a content type basis. This way I can disable crosposting or story (the content type normal users use to write contents) and allow crossposting to, for example, page. The I disable comments on pages and I'm out of trouble.
This is only a example.
How can I write a simple PHP program (not a drupal module) which use
drupal API to check is user is vaild or is user already login drupal ?
I did the login stuff before by create MySQL table from scratch using PHP,
and now I had drupal installed ... so I think maybe I can simply using drupal.
Is it possible ? Do I really need to write a drupal module ?
A simple and standalone example will be great. Thanks.
Am trying to figure out whether what I'm trying to do should be a module or a snippet. I'm hoping someone can help. I'm trying to migrate a bunch of data into a CCK node type either using drupal_execute() or node_save().
I'd like to have an upload dialogue to point to a csv file. Upload the file, and click submit. The next page, I'd like it to display some form of validation. I'd totally use the node_import module if it worked for my case, but I'm importing a heap of image paths with the node so that's apparently out.
has anyone created a module for people to add an explicit tag to there nodes so that you get a warning before you open up a node that contains objectionable material ????????
Using the quiz module I see no drop-down list when I create a new quiz. Not unless I enter something in the topics box that corresponds with a letter in one of the categories I have created in which case a drop-down with those categories are displayed. I'm a complete newbie when it comes to how the taxonomy module works but is this how it is supposed to work?