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

Getting spam via Drupal contact form - how to stop it?

Hi all,

In the last few days, I've suddenly started getting spam through my contact/feedback form on one of my Drupal sites. Only a few, and they appear to be only to me (the recipient named in the feedback form), but still, it's annoying and likely to get worse unless I can fix it.

I have:

Set the threshold for sending things via the feedback form to 2/hour.

Upgraded to 4.7.3

Banned one IP who'd sent the same message three times

What else can I do?

Flexinode requires some weird command line

Hello,

I'm trying to set up Flexinode. I'm looking through install.txt and it says this:

2) Update your Drupal database using flexinode.mysql. A typical command
line to do this is:
mysql -u username -ppassword drupal < flexinode.mysql

How/where do I do that...? I have phpmyadmin, if that helps...

Thanks,
Jordan

front_page code snippet help

I have a very small code snippet I am to ger working on my front_page, it's:

if ($user->uid == 0) 
   echo "<a href=\"http://www.mysite.net/views/login.php\">Sign In </a>";
if ($user->uid != 0)
  echo "<a href=\"http://www.mysite.net/views/logout.php\">Sign Out </a>";

I do have php enabled for the front page. I've also tried echoing the $user->uid and nothing gets returned

any ideas?

avoid payment screen for free item with ecommerce

Greetings,

is it possible to bypass the payment screen in ecommerce if the item is free, for example, if they want to download a trial version of sofware?

Any help would be greatly appreciated,

Thanks,

Jack

Defending against botnet attacks

One of the sites for which I'm responsible has tanked several times recently. Eventually I became convinced that the problem was a distributed botnet attack -- not necessarily an attempt to take the site down, but rather a side effect of virus-driven referer spam. I'm going to describe the symptoms and the (as yet unproven) strategy I'm using, which others may find useful.

Keep in mind that I'm neither a sysadmin nor a programmer.

The symptoms: After cooking along for many months with a very low load average, suddenly the webserver grinds to a crawl. Web visitors see the "unable to connect to the database" message from Drupal. Load average skyrockets to as high as 80. It's still possible to log in via ssh, but you could brew a pot of coffee while waiting.

Killing httpd, waiting a few minutes, and restarting httpd usually clears up the problem, but in a few cases the backup immediately recurs.

In the server access log, I discover sequences of several hundred of this sort of thing:


221.165.62.200 - - [20/Aug/2006:11:11:30 +0000] "GET /blog/1920 HTTP/1.1" 403 307 "http://www.online-249-poker-kiszka-blada.com/pokeronline-tournaments.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR 1.0.3705)"
61.111.193.224 - - [20/Aug/2006:11:11:35 +0000] "GET /blog/1920 HTTP/1.1" 403 307 "http://www.online-249-poker-kiszka-blada.com/pokeronline-tournaments.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR 1.0.3705)"

Various permissions for visitors

Need to create levels of restricted access for viewers.

For example, I have 12 sites... each has restricted technical content on different topics... is there a module that allows me to create visitor levels who can see 1, 2, or any other number of restricted access sites without having to register in each separately?

Can I create create a module to achieve that without being a rocket scientist?

I could not find documentation on this when searching.

Pages

Subscribe with RSS Subscribe to RSS - Post installation