Spam problems? My own almost-solution, maybe can help someone

Hi there.

In the last months on my site (Idolium), I observed that in the logs there was a lot of "access denied" items, all made in a few seconds from the same IP. The "user field" was full of strange names, that do not correspond to any registered user. Like this (from today):

user	22/04/2013 - 19:01	Login attempt failed for larickjgd.	Anonymous	
user	22/04/2013 - 18:42	Login attempt failed for NiniBronsorge.	Anonymous	
user	22/04/2013 - 16:26	Login attempt failed for Weipscreese.	Anonymous	
user	22/04/2013 - 11:58	Login attempt failed for crynctymn.	Anonymous	
user	22/04/2013 - 06:48	Login attempt failed for hememaillaHew.	Anonymous	
user	21/04/2013 - 20:47	Login attempt failed for hojjanama.	Anonymous	
user	21/04/2013 - 15:19	Login attempt failed for hojjanama.	Anonymous

Obviously, all this is an spam try. But, if your server is not powerful, or your site is a bit slow, any request to your site makes it slower yet. And, of course, your log is full of garbage.

How can I avoid this. Well, my site has Mollom installed for registering a user, so for bots is hard to register as a user. And usually this bots use strange names to avoid duplicate a usual username, so, when mi site emails me with a new registered user, I can suspend the account if I suspect from the strange name.

Menu item disappeared after moved

Hi all,

kinda newbie here. I did move a menu item from a position to another (primary links), and now it's visible only to logged in users, but I didnt change any permission. How do I make it visible to everybody?

thanks a lot

Idolium

Here is my site, a year old, made with a lot of modules.

http://www.idolium.com

Drupal 6 page not found error

Hello!

I have a problem with drupal 6 site.

On every page it shows "page not found" error. After refreshing page a couple of times it shows up. But on other computers it shows error again and after refreshing, page shows up.
What could be a problem ?

Thanks.

Saving node content when created on the fly in Template

Hey guys, I have a View which has lots of products split into 3 flags types (Fruit, Veg, Drinks), when the product is flagged it is added to a kind of 'check stock' content that when submitted produces the following table.

Block Not Displaying For Custom Google Search Module

probably a total noob issue. I got started with Drupal on D7 and this is a D6 site.

I want to implement this Google Custom Search on a D6 site: http://drupal.org/node/1887016

We're signed up for GCS and I can get the google results to display on a new node with unfiltered HTML by simply copy/paste the sample Google code.

So to be safe, I started by creating a new module and copy/pasting the exact code from that article (substituting the proper key in the JS file) and enabled the module. Good. I then configured the block permissions for 'all' and placed it in the header. Good. And when I refresh the page? Nothing. No JS in the , no code of any kind being output.

I copied/pasted the same code (with a few changes for D7 permissions) onto my 'test' site (which is D7) and it works perfectly.

So... how do I troubleshoot -why- neither the PHP or the JS is being output from the block to the page?

Below is the code from the MODULE

TIA

{

/**
* Implementation of hook_block().
*/
function mygooglecse_block($op = 'list', $delta = 0, $edit = array()) {
if ($op == 'list') {
$blocks['google_custom_search']['info'] = t('My Google Custom Search');
// Note, we can't cache this block as it will be set up to include some javascript
// in the head of the page if the block is called from the cache this javascript
// won't be included.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x