Remove title from comments

I'm new to Drupal, and have been struggling to figure out how to remove the title field/link from comments in Drupal 7. I'd like to completely remove the option to create or display it. Any help would be appreciated. I think I've exhausted searches on Bing and Google. :)

Blacklist IP address Module??

Hi,

I am looking for a particular sort of module to assist a friend of mine having problems with Spammers and Scammers on his site.

We have put in Mollom and also tried using Captcha and Re-Captcha etc however we are finding that now they are just continually attempting to hit comment pages to post additional comments even though the module is now disabled. This is putting a massive load on the server and of course putting in heaps of alerts into the watchdog log etc.

Where is the <head> section generated?

I'm trying to pare down the drupal code so that I can get a better understanding of how everything is generated from user-input content; so far, I've been unable to determine where all the content in the <head> section of the default (Bartik) pages. Some suggestions said that <head> tags could be inserted into page.tpl.php, but material added to the beginning of that sheet still shows up below the <head> section.

How to add a contact form on any page

What is the PHP code to add a contact form to a specific page? I found this but it gives me an error:
http://drupal.org/node/237559

<?php
 module_load_include('inc', 'node', 'node.pages');
 print drupal_get_form('contact_mail_page');
?>

Do i need to change contact_mail_page, inc, node, node.pages, etc specific to my site or has something changed in D7 ?

Permission setting for users

I am having an issue setting up permissions for the roles required for my site. What I want to do is set up a number of static pages that an anonymous user can view. These pages are created by the admin. No new pages will need to be set up. I will most likely edit the footer.php file to accommodate these pages. Anonymous user should never be able to view published content.

Now the users will create additional static pages only viewable by themselves and other users they authorize. Basically , I want everyone who uses the site to create an account and login. New pages will then be able to be created and viewed but ONLY when the users are logged in.

I am not sure how to set this up. When I create new content as a Static Basic page and list the content in the Menu Settings the file appears on the anonymous accessible home page for all to see. This is not want I want. I want people to first login before they can see the new static page.

I also need to be able to give permission to specific invited user to view content.

So how do I set up a role or permission setting to make this happen?

I need 4 distinct roles.

1. Administrator - Admin user has site wide permission.

echo or print_r through hook_submit

I just want to get some data inside a uploaded csv file, then put them in a table and show for the users. I'm be able to store the data inside a variable but when i try to show it i can't see nothing. I try to use Echo and print_r just and it don't work. I put this variable in return and do nothing. I dont want to use drupal_set_message because i want to show the data in a table.

Sorry about my bad english

Thank you very much indeed!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x