Building Google content around Drupal

Here is a contribution I like to share with fellow Drupallers.
- A method to wrap Google customised content around Drupal!

- Go to your Google 'Personalize Your Homepage' section

http://www.google.com/ig/directory

Errors with New Modules

I just recently added a few new modules to my site and I am getting some error messages that I cannot seem to figure out. I am new to PHP, and Drupal and I have tried to understand what the error messages are refering to but I cannot find a solution. I feel like the answer is not to far away but I need some help figuring out the language here.

My programs used are:

phpMyAdmin 2.6.0-pl3

MySQL 3.23.58

Drupal 4.5

Modules and Error messages:

The Chat Room problem keeps this error messages at the top of the screen:

user error: Table 'votersmind_com_-_drupal.chatevents' doesn't exist
query: SELECT * FROM chatevents WHERE 1136318342 - timestamp < 600 ORDER BY timestamp DESC LIMIT 10 in /home/virtual/site307/fst/var/www/html/includes/database.mysql.inc on line 66.

The Private Message error says this when logging out:

warning: Missing argument 4 for privatemsg_user() in /home/virtual/site307/fst/var/www/html/modules/privatemsg.module on line 45.

warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site307/fst/var/www/html/includes/common.inc:384) in /home/virtual/site30

The Webform module error says this when clicking Webforum on the Admin bar:

warning: webform_page(webform.inc): failed to open stream: No such file or directory in /home/virtual/site307/fst/var/www/html/modules/webform.module on line 1088.

migrating databases / modifying .htaccess

Is there a way to modify the .htaccess file so that it works with PHP in safe mode? I have a site for which the database has been moved and the server updated. The site is no longer working although the configuration file has been changed to reflect the changes in the db name and password. The IT person at the Univeristy where this is located thinks there is a problem with the .htaccess file but I am not sure how to deal with this. I want to upgrade the installation but can't even login to the site given the current configuration problems.

Thanks

Restrict picture upload to certain roles

I want to restrict the ability to upload their picture to certain users, based on their role. As far as I can see, drupal (4.5 at least) only offers the option to allow and disallow it to all users at the same time. Additionally, I want to display a message for those users that don't have the permission so they know why.

Actually I implemented this. I did it by hacking user.module, adding a 'upload pictures' permission and specific code to test for the permission and display the message if needed.

How do I migrate to a new database?

Some time ago I installed a 4.4 version of Drupal for a professor. It was working fine. Then the IT department at the university recently changed the names and passwords of the associated database as part of server upgrades. They actually went in and changed the user name and password for the conf.php file but when I try to access the site I am getting an "Internal Server Error". The URL hasn't changed. Is there anything else that should be reconfigured? One of the tech support people has said that it appears the the .htaccess files don't appear to be working correctly.

modifying registration successful email text

I thought i had found the right place for this, i went into user.module and thought i edited the text that is relevant to the text you get emailed after you register successfully, but after doing more registrations I still get this bit of text that I removed from user.module, but still shows up in my email confirmation.

-------------
Your new Orato membership also enables to you to login to other Drupal powered websites (e.g. http://www.drupal.org/) without registering. Just use the following Drupal ID and password:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older