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!

CommentFileSizeAuthor
#3 installer-created-database.JPG39.58 KBfrednwright

Comments

frednwright’s picture

Follow up - tried running update.php, but still get the same error.

frednwright’s picture

Follow up 2 - tried Node_Invite on a clean install of Drupal and required modules using WAMP and received the same error as above.

frednwright’s picture

StatusFileSize
new39.58 KB

Followup 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]!

acidsolution’s picture

this is just a bug...

suydam’s picture

Category: support » bug

I'll fix this up. Thanks for catching it.

frednwright’s picture

Thanks 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

suydam’s picture

Status: Active » Fixed

Fixed with release 5.x-0.3

suydam’s picture

"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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

suydam’s picture

Status: Closed (fixed) » Fixed

Version 5.x-0.6 fixes this bug.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.