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

How to prevent spam user registrations

Hi

My site( www.eyst.co.uk) is under considerable strain following some spammer targeting my site with automated user registration. It is such time consuming to deal with this problem, So I had to close user registrations.

Do you have any Ideas to combat this kind of spam.

Cheers
Sreeram Penna

Creating a New Page

Hi all, i just started with drupal today and was wondering how i create a new page that i can put stories on. It may sound like a stupic question but i just have not been able to find out how to do it. Thanks.

views bonus flowing block content across columns

i'm using the weather module. it creates a block of current weather for given locations. i have added quite a number of locations to the block and it looks quite silly as a block as it has become very long.

Database question -> node and node_revisions, nid & vid

I'm pretty new to Drupal and am trying to get a handle on how the database works. I've been going through the latest system.install file in the system folder.

I see that the node table has a PRIMARY KEY comprised of both nid and vid. I see that nid is auto_incremented by node and so is generated when a row is added. Based on the code in node.module, it looks like node's vid comes from node_revisions. But although node_revisions has both vid and nid, only vid makes up the PRIMARY KEY, and it seems to come from somewhere else.

My questions are:

1) Where does vid ultimately originate and which tables use it?

2) Why isn't node_revisions' PRIMARY KEY also a combination of vid and nid? Isn't each row of node_revisions only associated with one node (nid)?

3) Is a unique node (ex. nid=22) actually a collection of nodes+revisions (ex. nid+vid=22+3, 22+2, 22+1)? Wait a minute - I just checked my database. It looks like for a particular node, that revisions start at that node's number. Is that right? What is the advantage of this? So my previous example would be 22+22, 22+23, 22+24... Nope. I guess vid is a running number which is really the total number of revisions on the site.

4) Are table column names reused where they actually don't mean the same thing? Ex. cid = comment id & cid = contact id??? Ex2. vid = reVision id & vid = vocabulary id??? That doesn't seem like a good idea. Especially since the DB isn't set up relationally (with foreign keys).

CSS Problem - Help Appreciated

Hi,

I've been using Drupal for a while now and I think its great, but I recently implemented a Gallery and have encountered a problem. The Gallery itself is Gallery2, and is merged inside Drupal perfectly, no problems there.

I am using the BlueBreeze theme however, and basically there are no lines underneath hyperlinks, but when my mouse hovers over a hyperlink the underline appears. This is quite annoying as when I hover images in the Gallery, the same thing happens.

How can I band IP's?

I'm using drupal 4.7.4, all core modules, can I ban IP's straight hand, or do I have to install modules to do so?

Pages

Subscribe with RSS Subscribe to RSS - Post installation