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

New module idea - limit node posts to one per user

This post: http://drupal.org/node/43197 discusses the need for this type of module. Though I only just saw it today. Thought I would post a similar module I have been working on as a new thread so as not to confuse the two.

The name of this module is bioesque (stolen from the bio module) and provides the ability to limit node posts to one per user and is configurable by type. To install - copy the code to your text editor, save as bioesque.module. create bioesque directory in your modules directory and upload file to the new directory.

Would appreciate and feedback or comments to see if folks like this. If so, can create a project for the module.

<?php
/* Implementation of hook_help...
*/
function bioesque_help($section) {
switch ($section) {
case 'admin/modules#description':
// admin/modules description
$out = 'Provides the ability to limit node creation (authoring) to one node per user. This setting is configurable for each node type.';
return t($out);
case 'admin/help#bioesque':
// admin/help - overall
$out = '

This module provides the ability to limit node creation (authoring) to one node per user. This setting is configurable for each node type.

';

$out .= 'Content Type (node type) Workflow';
$out .= '

The setting is made in the node workflow at admin » content » configure » content types.

Restrict forum module to authenticated users

Hi,

I'd like to restrict access to the forums on my site to authenticated users (i.e., they are private forums for a course). The forum module doesn't have an "access forums" premission in the access control listings, so following the module development tutorial I modified the forum.module code to

Datalogs

Ok, so here is my fourth question of the morning already: Do any of you know of a datalog module? If not, could one of you hobbysts out there make a simple one for me?

Thank You,
dmitrig001

Tabbed Comments

Hi Folks,

not sure where to put this question in the forums, but here goes.

I'm jus getting into Drupal, and it seems both versatile and powerful, as well as scalable. It fits almost all of my needs but I am wondering if someone can give me an idea of the difficulty in setting up comments such that they appear as a tab on a node, much like the discussions tab on mediawiki sites. The reason for this is mainly aesthetic, but for me it is important to let the content be the primary focus.

How do I assign data to a database field from a drupal form

I submitted a similar question to this, but maybe didn't word it well.

I don't know how to create link from a form item to a database field. I can create the form, but where or how do I tell the form what database field should be updated once the form is submitted?

Thanks

Norm

User Blog Customization/Theming

I was just on the hunt for some thoughts on how best to provide user options (4.65+) to customize the appearance of their personal blog. This could be as simple as including a logo image (either in a block or somewhere else determined by template) or as complex as adding control over colors, fonts and included customized content blocks specific to that user blog. Or even something more similar to blogtheme.module.

Pages

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