Active
Project:
Buddylist2
Version:
5.x-1.0-beta2
Component:
Buddy API Invite
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2008 at 19:01 UTC
Updated:
1 Apr 2009 at 18:10 UTC
in buddy_api_invite.module at line 125 is a hard coded-mail-adress:
'from' => 'dominik.kiss@gmx.at',
should be the token [userB:mail] or something like the global-mail-adress of the page
Comments
Comment #1
ablondeau commentedI have manually edited that line of code, but my users are still getting the same email address in user acceptance messages, so there may be another step (in the database?) that will need to be taken by current users of the module to clean it out.
Comment #2
ablondeau commentedI finally got that pesky hardcoded email address out of a site I am working on. You have to:
1) replace it in the code with something else
2) disable workflow-ng and workflow-ng ui
3) uninstall workflow-ng
4) re-install workflow-ng
The data for the workflow-ng configuration is not stored plain text so I could not just manually edit the configuration in the database to remove the bad address.
Comment #3
laken commentedI found an easier workaround to do this without touching the code:
This will override the workflow configuration defined in the buddy_api_invite.module code, and use the Site's email address as defined in admin/settings/site-information as the From address for this email.
This is a bug, though, and the code does need to be changed. If I get time I'll roll a patch and post it here.