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

Server load test, slashdotting or ddos attack?

Massive number of users online at the moment... which is it to be?

Comments permission

Hello!

Please, how do I show the comments' options to an end-user when posting a new story?

-a

How secure is Drupal with shared hosting?

I was poking around and found this article and it prompted my question in the title of this post. I am already developing a website on a shared hosting account, so I am curious what other Drupal users or developers might have to say about security in that context and what measures can be taken to make the drupal site more secure.

If this discussion has already taken place elsewhere, I would appreciate someone pointing me to the appropriate node. Thanks for any thoughts or advice.

wiki rehash

Hello,

I've read the discussions on this site about wikis; and I've tried using the wiki module, which hasn't been as successful as I'd hoped (note: I'm not knocking it!).

Using a wiki, you can include a link to a not-yet existent page using the syntax [link] or [my text|link]. When the page is displayed, a question mark is displayed next to the link, indicating that the page doesn't exist. When a person clicks on that link, s/he can then create the page by entering the desired text and saving it.

The problem I've had with wiki.module is that, when you save a page containing a [link], the module hard-codes the link as http://<...>/index.php?q=node/add/story&edit[title]=. The first time you click on the link, it works great. The submit story page is displayed, allowing you to create the new page. The problem is that this happens every time you click on the link. So after the new page is created, the link doesn't work as it should.

I've had a thought about how the wiki linking functionality could be added to Drupal, and - in my admitted ignorance about the code - it doesn't seem like it would be too difficult to implement.

  1. Change wiki.module (or the code that handles submission of a new or edited page) to handle [link] such that all it does is create a link to the specified page (even if it doesn't exist). Of course this would have to be based on a path alias, because there is no node number.

Administer nodes permissions needed to make books accessable

Hi,

I am using Drupal 5.5.2 and I want to write a book node. To make this book accessable for users they need the 'administer nodes' permission. Is this correct? And if correct is there another way to handle this.
By giving users this right each user can administer all content.

Thank you!

Rob.

Including php script on the head section

Hello, I need to modify the chameleon.theme template, in order to insert a php script that must be loaded on the head section of the page, but I don´t know how. This is the script:

  putenv ( "REMOTE_ADDR=".$HTTP_SERVER_VARS["REMOTE_ADDR"] ) ;
  if( $HTTP_SERVER_VARS["HTTP_REFERER"] ) { 
    putenv ( "HTTP_REFERER=".$HTTP_SERVER_VARS["HTTP_REFERER"] ) ; 
  } else  { putenv("HTTP_REFERER=noref");  } 
  PassThru("./cgi-bin/script/referrer.cgi");

Thanks in advance!

Pages

Subscribe with RSS Subscribe to RSS - General discussion