Hi, I've gone through the full install and setup, including checking all permissions and I've got the contact-list all set up and everything, and an anonymous user can see the profile pages, but they can't access the contact form. What am I don't wrong?

See: http://srecschool.org/contact-list

Please help. Thank you!!!
Very cool module by the way!

Comments

jleinenbach’s picture

Component: Documentation » Miscellaneous

Same here. I'm quite sure my permissions are correct.

jleinenbach’s picture

Category: support » bug

Now I uninstalled Custom Contact and reinstalled it again and got some database warnings. I use PostgreSQL.

@JamieR: Do you use MySQL or PostgreSQL? Do you also get these error messages if you deactivate, uninstall the module and reinstall it again?

Here are the warnings:

* warning: pg_query() [function.pg-query]: Query failed: FEHLER: Spalte »flag« existiert nicht LINE 1: ...vent, threshold, callback, parameters) VALUES (2, "flag", 1,... ^ in /usr/share/drupal6/includes/database.pgsql.inc on line 139.
* user warning: query: INSERT INTO flag_actions (fid, event, threshold, callback, parameters) VALUES (2, "flag", 1, "custom_contact_add", "a:0:{}") in /etc/drupal/6/sites/all/modules/custom_contact/custom_contact.install on line 37.
* warning: pg_query() [function.pg-query]: Query failed: FEHLER: Spalte »unflag« existiert nicht LINE 1: ...vent, threshold, callback, parameters) VALUES (2, "unflag", ... ^ in /usr/share/drupal6/includes/database.pgsql.inc on line 139.
* user warning: query: INSERT INTO flag_actions (fid, event, threshold, callback, parameters) VALUES (2, "unflag", 1, "custom_contact_delete", "a:0:{}") in /etc/drupal/6/sites/all/modules/custom_contact/custom_contact.install on line 38.

FEHLER = ERROR
Spalte = column
"existiert nicht" = "does not exist"

jleinenbach’s picture

This is how it worked for me now, but I had to set/correct/check the aliases:

Create a category for every user

admin > build > contact > add

Use the username as the category name for each user.

Replace old user contact form with new one

First step: alias for URL with username

admin > build > path

system path:
contact/{username}
alias:
user/{username}/contact

Second step: alias for URL with user id

admin > build > path

system path:
contact/{userid}
alias:
user/{userid}/contact

Replace old contact form with new contact-list

admin > build > path

system path:
contact-list
alias:
contact

Works great together with module openpgp:
http://drupal.org/project/openpgp

As spamprotection, I recommed:
http://drupal.org/project/spamicide

As a lightweight bot protection for Apache, I recommend:
http://sourceforge.net/projects/mod-spamhaus/