Thanks for the great module - I am having some trouble implementing it though. I created a new content type called special_invite. Enabled it for node_invite, and put the item $node->invite_link into the template. It is generating the following error message:
user warning: Column 'acted_upon' cannot be null query: INSERT INTO node_invites ( iid, nid ,uid_invitee ,uid_inviter ,status ,sent ,acted_upon ,notes_invitee ,notes_inviter ) VALUES ( 7 ,2334 ,'fred@bellcreek.org' ,1 ,'NEW' ,1217966158 ,NULL ,'' ,'Admin at Bell Creek Community Church has invited you to a special_invitation called Test Invitation!
Admin invites you to rsvp for a special_invitation!
Visit Test Invitation for more information or just check out the RSVP Page to confirm your attendance!\n
Hey There!') in /homepages/35/d226948136/htdocs/bellcreek.org/www/includes/database.mysql.inc on line 172.
also, the email received by the invitees is straight html - how do I fix that?
THanks for your help!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | installer-created-database.JPG | 39.58 KB | frednwright |
Comments
Comment #1
frednwright commentedFollow up - tried running update.php, but still get the same error.
Comment #2
frednwright commentedFollow up 2 - tried Node_Invite on a clean install of Drupal and required modules using WAMP and received the same error as above.
Comment #3
frednwright commentedFollowup 3:
1. Ok, It looks like there is still a bug in the installer.
When I compare the database fields for node_invites that you show in the Video Tour, it doesn't match up with what the installer created on the databases the module created for me.
I have attached a jpg image of the fields that the installer created. After I corrected these fields to match the database fields in your Video Tour, the module worked.
2. Another bug is in the node_invite Administration page. In the "Invite Message" section, in the textbox "Subject for emails", no matter what you put in the textbox, the email subject always follows the form:
[author-name] at [site-name] has invited you to a [type-name] called [title]!
Comment #4
acidsolution commentedthis is just a bug...
Comment #5
suydam commentedI'll fix this up. Thanks for catching it.
Comment #6
frednwright commentedThanks Brian!
It's a GREAT module - It's fantastic to have an alternative to evite and keep things on our home site.
One minor thing I noticed is that when invitees go to the node the link for "invite people to this invitation" is still visible. It will not allow anonymous users to acutally invite people, but it would be great to get rid of that - (or can you tell me what php I should stick in to exclude it?)
thanks again,
Fred
Comment #7
suydam commentedFixed with release 5.x-0.3
Comment #8
suydam commented"One minor thing I noticed is that when invitees go to the node the link for "invite people to this invitation" is still visible. It will not allow anonymous users to acutally invite people, but it would be great to get rid of that - (or can you tell me what php I should stick in to exclude it?)"
Fred, I added this feature to version 5.x-0.4 based entirely on your request.
Essentially, the new version works like this: If the user viewing the node doesn't have permission to invite others to the node, the $node->invite_link is set to "empty string" so that it won't display. Hope that helps.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #10
suydam commentedVersion 5.x-0.6 fixes this bug.