Drupal is up and running but how do I ...?

add an extra tab to the admin/node page

It shouldn't be too difficult but yet -
how do I add an extra tab to the admin/node page?
I'm working on an optional interface to a limited administrator and I like to add the "add node" option to that page.

Thanx

Site crashing during call to the MySQL dataase

Hello, I am using Drupal v4.6.3 with a MySQl database. I got the site up and running 3 weeks ago and everything was working great. However, last night I noticed that ALL of my blocks dissapeared and I had to do some creative navigation to get through my site to post forum topics. Finally, (an hour later) the entire site crashed. Leaving me with the following error on my index page:

"Fatal error: Call to undefined function: node_title_list() in /home/corey/public_html/modules/forum.module on line 354"

You can view it for yourself here: http://www.coreyhernandez.com

Besides some heavy posting on my part, the only recent change is I installed the mass mailer and phplist module 4 days ago (probably unrelated?). Before the entire site crashed, I could still navigate the site using the history tool in my browser. However, if I were to go to the block editing page I would get a blank screen (the only page that gave me a blank screen). Now I just get the error menioned above.

"Line 354" mentioned above refers to the following portion of code in the forum module:


case 'view':
if (user_access('access content')) {
switch ($delta) {
case 0:
$title = t('Active forum topics');
$sql = db_rewrite_sql("SELECT n.nid, n.title, l.last_comment_timestamp, l.comment_count FROM {node} n INNER JOIN {node_comment_statistics} l ON n.nid = l.nid WHERE n.status = 1 AND n.type='forum' ORDER BY l.last_comment_timestamp DESC");

Best Module or PHP Snippet for a Form with limited number of characters in textfields

Hi All.
I am trying to create a form where people will enter in sports events and I want to have the results emailed to me afterwards. I want to limit the number of characters (or words) they type in each field and would love to also validate the email address and require all fields to not be empty. An option to attach a file would be great, too, if possible.

I've tried the Webforms and Survey modules but am just scratching my head here trying to make them work they way I want.

Can someone point a confused person in the right direction? :)

Thanks,
Alan

"administer users" permission

Does anyone find it odd that I can create a role and enable the "administer users" check box. Then anyone with that ability can now edit the "Super User" (You know the first account created) and change their password and other fun stuff.

It seems to me that that account should be off limits. In fact, does anyone know how I can make that particular account off limits to editing when a role includes "administer users"?

JIm

Suppress page title in a body

Greeting,

I would like to have a new node type almost identical to a "Page" with the only exception in that page title doesn't show up in a body of a page. Any suggestions?

Thanks.

Making Blog posts public or private selectable

What might I do to make a module that will allow me to make posts to my blog public or private with each post?

What is would do is it will allow you to choose with each post you make to set the entry private or public.
Sometimes you might want to make a post to express an opinion or idea, so you make it public. Othertimes it's a personal log entry like a personal journal that you might want to keep private permanently, and/or later make it public for people to read.

Pages

Subscribe with RSS Subscribe to RSS - Post installation