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

Count rows of a table in the database of drupal

Hello,
Do you know how I can count the number of rows in a table of the database of drupal? I try:

$query_rows="SELECT COUNT(*) FROM games";
$queryResult_rows = db_query($query_rows);
while ($links_rows = db_fetch_object($queryResult_rows)) {
$out.=t($links_rows->COUNT(*); //line 58
}

But this doesn't compile because: arse error: syntax error, unexpected '*', expecting ')' in /var/www/drupal-4.6.5/modules/id_games.module on line 58

If I try: t($links_rows->COUNT) it doesn't work fine.
how I can do that?

CVS - How to install?

I am trying to use the projects module - how would I go about installing cvs support for my website (testing Drupal at http://www.sbbic.org/drupal-4.7.0)? I've been here: http://www.nongnu.org/cvs/ but I'm not sure which one to download (I am on an Apache server).

Any help you can give would be great,
Nathan

Input validation

How do enforce some sort of input validation. When a user enters wrong html code in a text area he/she can ruin the design of the website.
Even when you only allow Filtered HTML a single <strong> gets on the front page.
Is there an extra HTMLTidy input filter I can install?

Submission guidelines not appearing at all?

Although I have a message in there, it doesn't seem to appear on the top of the page for any user types at all. Is there something I haven't enabled? They did show once, when I first installed.

Cheers

Display rss feed from anothor site into a block!

Hi there, I would like to display rss feed from anothor website into a drupal block.
Does someone know the answer?

My stories keep getting spammed

As you can see on the following page, this article gets automatically spammed by some script.

http://mostrey.be/pmachine-to-drupal

I already enabled the 'must preview before submitting' option, but this doesn't seem to stop the script. The problem is that this script is running on more than 8 ips! I already blocked the following ips with the troll module, but it's always different ips.

Pages

Subscribe with RSS Subscribe to RSS - Post installation