This forum is for less technical discussions about the Drupal project, not for support questions.

search in rss feeds

Who can answer me a simple question:

why doesn't the search work in rss feeds?

learn-php

Poker spam

We all know the trouble with web spamming from poker-, game-, roulette-, discount sites and so on.

At my site learn-php i put the following code at the top of index.php of the core drupal
code:

$server = getenv("HTTP_REFERER");
$ip = getenv ("REMOTE_ADDR"); 
if (preg_match("/cash/i", "$server")or preg_match("/loans/i", "$server")or 
preg_match("/buy/i", "$server")or preg_match("/credit/i", "$server")or 
preg_match("/discount/i", "$server")or preg_match("/randppro/i", "$server") 
or preg_match("/allkinds/i", "$server") or preg_match("/texas/i", "$server") 
or preg_match("/roulette/i", "$server") or preg_match("/black/i", "$server") 
or preg_match("/yunza/i", "$server")or preg_match("/hawai/i", "$server") or preg_match("/doctor/i",
"$server") or preg_match("/low/i", "$server") or preg_match("/epraha/i", "$server") or
 preg_match("/poker/i", "$server")or preg_match("/casino/i", "$server")or preg_match("/gambling/i", 
"$server")or preg_match("/game/i", "$server"))

{
    
header("Location: " . $server); // send them back

exit;
}

Of course it's a hack. But it works well on my site. As a result i get a far more realistic statistic.

I could imagine that the redirect to the "spam server" header("Location: " . $server)is a possible way to beat them with there own weapons. If we all do it this was.

Block width

Hello; I'm using the goffy theme at http://www.gopokeronline.com
. How can i made the width of the blocks more narrow? i've been playing with the percents in .theme file, but nothing seems to work, here is what didn't work:

Drupal + Tiddlywiki

I just got blown away when I stumbled across Tiddlywiki and its many derivatives.

http://www.tiddlywiki.org

Two in particular caught my interest.

QWikiWeb
PHPTiddlywiki

QWikiWeb adds nice extra useability features, whilst PHPTiddlyWiki made me feel that this could be very straightforward to integrate into Drupal.

What Im thking is that I'd like to give members of drupal community site, the option to create as many Tiddlywiki's as they need. For themselves they could be used as planners (theres a GTDTiddlywiki too btw) or anthing else they want. But then I also wondered if the Tiddlywiki concept wouldnt be a good thing to apply to the "book" nodes, or forums or..etc etc. The neat thing that can be taken from Tiddlywiki is the ability to quickly move around a set of microcontent items within the main tiddlywiki very quickly and easily, whilst seeing each part in the context of the whole - no need to go to another page (all the contents in the same html. It may sound messy, but its not, the Tiddlywiki manages to compress a huge amount of info into a very compact view. Another aspect on the recent Tiddlywikis is that they can represent the views based on tagged content. Of course because its a wiki, all the content items can be edited double click edit , save.

There could be many ways of taking these features and applying them to drupal. If not for enhancing existing Drupal elements (such as a book or forum), then simply as an additional content item that a user can create. It would be another valuable additional personal tool over and above the users blog (or could even be used instead of). At the very least the simple scripts that make editing and other things happen so effortlessly are worth exploring. For example if we could edit drupal content so easily it would be wonderful. maybe it would mean separating out the base editing of a body of content out from all the other settings that go with a content item. One thing that came to mind was the My Workspace module which I use. If that could present and allow editing of the users content in a similar way it would be tremendous.

Are Google Ads worth it?

Does anyone know if one can really make any kinda real money off google ads, or does it amount to just pennies?

Sorry if this is off topic, but replies would be a big help to me - and well, I'm only a member of two forums - and this is one of 'em.

Thanks so much.

EDIT by kbahey: made title more descriptive, and moved to General discussion forum.

New CMS based on Drupal

I'm creating new CMS system, more suitable for ordinal users, based on Drupal. It's going to have many regions instead of 'left&right', some new features in core (like horizontal menu and ability to hide block title), web-based insallation, control panel, already installed WYSIWYG editor, removed 'secondary&primary links' (I have modules in 'top' and 'bottom' instead) and it's going to be compatible with Mambo&Limbo templates.

And the question is - can I get any problems with Drupal license if I want to sell my CMS?

Pages

Subscribe with RSS Subscribe to RSS - General discussion