Hey there,
Just wondering if there's any chance we could get some of the D7 patches applied to the module. I've been using the invite D7 module for a couple months now but have to run it with more than half a dozen patches which is getting out of hand and making it quite difficult to push new fixes back upstream. This is especially difficult as each patch I make often requires at least 3 prerequisite patches before it can be applied.
The module is still buggy, but getting there and I'd be happy to volunteer some time to help you guys add some of my patches back into the module. It will definitely make my life easier if that can happen :).
Anyway, let me know if there's anything I can do in this regard and I'll be happy to get it done.
Cheers,
- Scott
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 1124708_11.patch | 19.13 KB | hypertext200 |
| #2 | 1124708-invite-admin-fixes-2-D7.patch | 1.71 KB | hadsie |
| #1 | 1124708-invite-fixall-1-D7.patch | 14.88 KB | hadsie |
Comments
Comment #1
hadsie commentedHere's a patch that fixes the following issues:
* #1060808: db errors on invite admin settings page
* #1060826: Fixes for broken db_query calls
* #1060950: Invite 7.x token fixes
* #1060976: Undefined function db_fetch_object
* #1053460: Fatal error: Call to undefined function token_include()
* #1053598: Undefined variable: op in theme_invite_form()
* #1054392: Warning: unserialize() expects parameter 1 to be string, array given
* #1060980: Drupal 7 port fixall patch
* #1063032: Call to undefined function db_result()
* #1073010: undefined variable: SESSION
* #1091002: Invite tokens declared incorrectly
It /probably/ fixes:
* #1094432: Recoverable fatal error
* #1097350: Notice: Undefined offset: 5 in _menu_translate() (line 760 of /var/www/public/includes/menu.inc).
In addition, it fixes:
* a bug triggered on the pending invite listings page.
* A bug preventing sending invites to multiple accounts (this is actually the fix for #1054392: Warning: unserialize() expects parameter 1 to be string, array given as well) "Fix: Notice: Undefined property: stdClass::$data in invite_get_remaining_invites() (line 702 of /home/c3community/c3resilient/sites/all/modules/contrib/invite/invite.module)"
This patch took some time to put together, and should apply cleanly to the latest 7.x codebase. I've noticed several of the new tickets coming into this project are related to issues that I've already submitted patches for, so the sooner this can be applied the less unnecessary work everyone will have moving forward.
- Scott
Comment #2
hadsie commentedHere's another set of fixes for the admin area. To be applied /after/ the patch in #1.
* Error in hook_menu -- $items['admin/config/people/invite/details/%user'] was set as a MENU_LOCAL_TASK but should only be a MENU_CALLBACK.
* drupal_get_form doesn't render the form in D7... needed to add render() to the admin invite listing.
* username's being populated with 'Anonymous' because 'name' is necessary in D7.
Comment #3
smk-ka commentedThanks Scott, and sorry for being so unresponsive (get in touch if you want commit access, you shouldn't be thwarted by someone like me). Committed and closed all referenced issues except:
* #1054392: Warning: unserialize() expects parameter 1 to be string, array given (seems NOT be included in the patches in this issue)
* #1091002: Invite tokens declared incorrectly (because of Dave Raid's comment)
* #1054392: Warning: unserialize() expects parameter 1 to be string, array given (have to check)
Comment #4
nevergoneI would rewrite Invite module (7.x-4.x), please patience. :)
http://drupal.org/node/671818#comment-4301030
Comment #5
jeffwidman commentedsubscribe
Comment #6
hypertext200sub
Comment #7
nevergoneCurrently Views support prepare a support 6.x-2.x version, I would like to publish a new version after a couple of weeks with the bug corrections, then what I will be able to deal with him.
http://drupalcode.org/project/invite.git/shortlog/refs/heads/6.x-invite_...
Comment #8
hypertext200Seems everything has gone in to master.
Comment #9
hypertext200Seems some tasks #1053460: Fatal error: Call to undefined function token_include() like has been committed to master clean it up please.
Comment #10
yugongtian commented+1
Notice: Undefined index: name in _token_token_tree_format_row() (line 108 of /var/www/xxx.com/public_html/sites/all/modules/token/token.pages.inc).
Fatal error: Call to undefined function token_include() in /var/www/xxx.com/public_html/sites/all/modules/invite/invite.tokens.inc on line 110
Comment #11
hypertext200Fixed some issues and this version should work all basic functionality.
Comment #12
hypertext200Comment #13
cutmedia commentedthis patch #11 works in the main but gives an error
Warning: unserialize() expects parameter 1 to be string, array given in invite_get_remaining_invites() (line 712 of /home/test/public_html/modules/invite/invite.module)This error is resolved for me by changing line 712 in invite.module from:
$data = isset($account->data) ? unserialize($account->data) : array();to:
$data = isset($account->data);When clicking the Withdraw link I get this:
Warning: Parameter 1 to invite_cancel() expected to be a reference, value given in drupal_retrieve_form() (line 771 of /home/test/public_html/includes/form.inc).and in admin>invites>operations this:
Notice: Undefined property: stdClass::$canceled in invite_admin_details() (line 334 of /home/test/public_html/modules/invite/invite.admin.inc).seems the canceled field isnt being found but cant find the correct reference.
Comment #14
modoq commentedsubscribing
Comment #15
moonray commented@cutmedia: See #1097344: Warning: Parameter 1 to invite_cancel() expected to be a reference, value given in drupal_retrieve_form() for your withdraw link error.
Comment #16
paulgemini commentedsubscribing
Comment #17
Zarevac commentedSubs
Comment #18
cajunmba commentedIs 7.x-2.x-dev available for download? Not at http://drupal.org/project/invite.
Comment #19
paulgemini commentedclick view all releases at the bottom of the page.
Comment #20
monican commented+1
Comment #21
kitmobley commentedwhenever i hit withdraw from either accepted or pending i get the " You are not authorized to access this page"
I've double checked the settings on the permissions page and i have all 3 boxes(anonymous, authenticated, and administrator) checked for withdraw accepted invitations and still no dice.
any ideas?
Comment #22
nevergone7.x-4.x branch started.
Comment #23
medden commentedHow is the progress with 7.x-4 branch going?
can only see 7.x-2 on the project page, and am confused about which patches to apply in which order.
a link to a working patched version or github / drupal git sandbox would be helpful for many users.
currently the 7.x-2 version gives a white screen of death when invitees try to register.
have tested on two independent servers and get same results on a clean D7 install with only invite contrib module enabled.
I don't want to report a s a bug as this thread makes it sounds like a new version is imminent.
Comment #24
sw3b commentedSubsribing... any news on 7.x-4.x or 7.x-2.x ?!?
Comment #25
paul_constantine commentedSubscribing ... need a working D7 version of this badly because this version does not work at all.
When getting an invite the invited person gets an "access denied" page. And there was no option to set the "user settings" to registration per invite. Beside this the module produces loads of php errors in combination with tokens (tokens seems buggy as well).
Cheers,
Paul
Comment #26
paul_constantine commentedTo quote Clara Pella from the famous Wendy's "Where's the beef?" commercial in the early eighties:
Comment #27
qsurti commentedInvite and userpoint modules are both gaining popularity but the updates for both of them are getting slower. Could there be some reason?
Comment #28
glekli commentedUpdates are now being applied. Please file an issue if you find anything. Thanks.