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

Change the Output Word "attachment"

Greetings,

I am new to Drupal, but I do have some experience working with websites. However, I don't have a lot of experience with PHP. I am working on setting up a website for print publication. I have gotten most everything set up the way I want, I just have to start adding content and tweaking my layout. I am having problems working with the nitty-gritty details, though.

Referral Spam - Block referals by server IP address

Many of you might have noticed hits in your referrals log from sites which are not linking to you. This is a known problem which affects search engine rankings severely and I will explain how. I didn't know where exactly to post this but it is crucial that the community is aware of this issue.

The trick is done by sites sending traffic to you with 302 redirects in the server header response. Now, when googlebot or msnbot visit the spammer's site and then there are 2 possibilities which I have detected.

The one is instantly sending the bots to your site with a 302 redirect

The other is by featuring a list of sponsored listings which have a few dynamically chaning links to various "sponsor" sites. They link to a special url in their site, which then sends a 302 server header response and the bot/visitor goes back to the site.

Now there are some networks which have thousands of domains on a few IP addresses, all running the same script. From what I can understand, they are aggregating their links from google results related to relevant keywords.

I have tried to block their IP addresses, but it does not seem to work for me. The following is what I have in my .htaccess (at the very top):

Order Deny,Allow

Deny from 216.34.131.

I am trying to block all hits from domains hosted in the 216.34.131.*** ip range.

It just does not work...

Then I tried adding this at the top:

Question for Heine!!

Hey Heine!!

I didn't know the best way to contact you, so ill post incase someone else can help. Im looking to have badges be present like they are here: http://www.gotfrag.com/cs/story/33658/?cpage=1

Users that have subscribed to their "prime" membership, have an orange "p" next to their name.

I want to do the same thing but with the drupal badges...any suggestions on what code I should use, or where i should put it in the theme files?

Thanks

Problems with php date function and Drupal's search feature??

Hi everyone,

I've learned a lot about Drupal the last few weeks.

I'm having a problem getting the date function to work properly.
It shows the previous date or sometimes a few days behind.

It was working fine until I got Drupal's search feature working with the cron job.

I used this code from w3 schools:
http://www.w3schools.com/php/func_date_getdate.asp

User Badges Question

I've recently installed the user badges module, and am looking to see how I can have badges appear next to the users name, in node/forum/comment posts.

Thanks,
Nick

Problem with audio.module

Hello,

I have been trying to get the audio.module and the audio_attach.module to run on a music site that I am creating. I am trying to attach an audio file to a file product to give the product an audio snippet so that people can listen to part of the song before they buy it. Everything had been going pretty well until I uploaded an mp3 file that did not have the title and the artist embedded in the file. Well, the title and the author defaulted to blank leaving the title for the audio file at 'by' because of the '%title by %author' default title. This is obviously not a very convienient title for a song so I tried to edit the audio node to manually fill in the title and the author tags.

At first when ever I tried to edit the node I kept getting the message 'A file must be provided.' from the audio_validate hook even though I had already attached a file. The changes made were not persistent. I found out that the validate is actually getting called twice on edit with two different nodes being passed in. This behavior seems very strange to me. One of these nodes meets the validation criteria and the other does not. I tried going around this by putting in an extra conditional but when I got it to recognize the attached file instead of editing the original audio node it created an entirely new one with the changes to the node in effect. This is very counter intuitive and I can not understand why it would create a new audio node on edit.

Pages

Subscribe with RSS Subscribe to RSS - Post installation