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

e-mail question

Been browsing about a dozen threads/handbooks already and have many more read through regarding problems to e-mail problems.

Here's my main question: How is it that my site can be configured to send feedback comment (when they use the contact form) notification via e-mail to users with no problem, but can't send e-mail confirmation that a propsective member of the site has submitted for a username and that the admin will review it?

A couple less-important questions (or maybe I just don't realize their significance):

reach $node->nid; in NODE.TPL.PHP?

in my page.tpl.php file I can reach the following variable easily: $node->nid;

I do this to check wheter I'm on the frontpage or not. Now I want to do the same thing in node.tpl.php, so that I can implement google adsense only on detail pages (when a users click read more). I don't want the ads to show on my frontpage.

But in node.tpl.php, I cannot seem to use $node->nid;

is there another way to do what I'm trying here?

Googlebot? Hitting site constantly with random q=

This is basically a repost of this post http://drupal.org/node/106681, but I didn't get any replies so I thought I'd try being a little more descript.

I have hundreds of hits from the same IP requesting q=Random+Nonsense . If I try to block the IP, another one pops up doing the same thing. Also, a lookup on the IP seems that it is Googlebot.

Does anyone know what is going on here, and maybe how to stop this?

Thanks,
Scott

Theme Problems

I’ve had Drupal installed for a couple months now and besides installing a few modules, I have not made any changes. I’ve been sticking with the standard theme but the wife is threatening serious consequences if it does not change. So I’ve spent some time looking at different themes and decided to try a couple.

http://drupal.org/project/bluebreeze
http://drupal.org/project/golden_hour

header image based on time of day

I'm trying to display a different header image, depending on the time of day at the moment a visitor comes to my site

e.g.

from before 10pm -> image1.jpg
after 10pm -> image2.jpg

I was wondering if it's possible to check on time, based on the time format, drupal is using? Or should I uses the webserver time to accomplish this?

any php functions I could use are welcome, also of course code examples will help a lot.

cheers !

Still having problems with login on 4.7.5

Hi guys, I'm sorry for opening another topic on login problems but it seems that upgrading to 4.7.5 didn't work for me.

Pages

Subscribe with RSS Subscribe to RSS - Post installation