Closed (duplicate)
Project:
Drupal Association Project(s)
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
31 May 2012 at 20:11 UTC
Updated:
30 Nov 2012 at 11:50 UTC
The membership type in USD is not properly generating a badge image on Drupal.org profiles of members with recent purchases.
Comments
Comment #1
drummPlease include a specific example or two.
Comment #2
jredding commentedThe query in the drupalorg_customizations block (now moved to an API) is most likely not including the two new membership types.
Comment #3
twardnw commentedDrumm: I have updated the view that provides the JSON feed to include the USD membership types. What else should be updated?
Comment #4
drummThat's a good start. Looking at https://association.drupal.org/api/association_members.json, we have
Would it be possible to stick to only
We already have handling for those strings. We can always add more, but I think we want to avoid making a distinction between USD and EUR payment for the same membership publicly.
Easiest would be to rename the memberships in CIviCRM, but that could end up being confusing in the admin section. Best would be having it really be the same membership, but that might not be possible. It would be okay to do something in the View, if possible.
Comment #5
twardnw commentedIn Civi the payment processor is tied to the membership type, rather than the contribution page, so we have to differentiate the currency there. Renaming them would definitely be frustrating if we have to modify or create other contribution pages in the future.
One work-around with the view could be to trim the field at 12 characters, but only on the word boundary. Would result in just the word 'Individual' or 'Organization' being output.
Comment #6
drummWorks for me, we just have to watch out when we add other types. It would be good to find a place to document that trick.
Comment #7
twardnw commentedI will add documentation for that to the ado/api page
Comment #8
twardnw commentedLizz, can you link us to a member who was effected by this?
Comment #9
lizzjoySee http://drupal.org/user/106070 for a member with no badge or text showing up (should show Org Member badge)
See http://drupal.org/user/1074544 for text showing up instead of a badge.
Also, some Org. members show the updated copy next to their badge: My organization is a member of the Drupal Association. We’re supporting the Drupal.org infrastructure and other large community initiatives. Join us.
Example: http://drupal.org/user/107667
While others show the old text: ... is an organization member of the Drupal Association, which fosters and supports the Drupal software project, the community and its growth.
Example: http://drupal.org/user/293376
I'm not sure if there is a reason why some badges have new text vs. the old text. Can you correct so all badges display the new text (text has the Join Us link at the end?)
Comment #10
lizzjoyI also notice in the Membership record that the payments listed in CiviCRM are not correctly matched to the membership purchased recently by http://drupal.org/user/106070. There is an old payment in there that should be tied to a different membership record for this person.
This is probably affecting the display of the current membership on the d.org profile.
Comment #11
lizzjoyLatest example is http://drupal.org/user/343093 where the Indivdual Membership is correct but the Organization Membership is not identified (missing level) and the badge is text.
This poses a separate problem when Org. members apply for a Marketplace listing and D.org webmasters cannot identify the membership level as Org. from the profile.
Comment #12
drummThere are a couple problems in the JSON output of https://association.drupal.org/api/association_members.json
{"user":{"Name":"Shawn Haukaas","user_name":"ShawnHaukaas","Country":"United States","membership_joined":"2012","membership_status":"Current"}}{"user":{"Organization":"Digital Frontiers Media","Name":"Stephen Barker","user_name":"DigitalFrontier...","Country":"United States","membership_joined":"2012","membership_status":"New"}}membership_type is missing from both. user_name is truncated for DigitalFrontiersMedia.
Comment #13
shyamala commentedhttp://drupal.org/user/85730: Organization badge is not only showing up for me and also all my colleagues.
Comment #14
Justin Freeman commentedHere are some more examples.
No badge being displayed for the current organisation:
Justin Freeman (CEO) of Agileware, http://drupal.org/user/16908
Text showing up instead of a badge:
Realityloop, http://drupal.org/user/139189
Agileware, http://drupal.org/user/89106
I would really like this fixed soon. It is bad form to not display the Drupal Association membership badge for paid members and their employees. Makes me cringe each time I see it.
Can this please be prioritised? If lack of developer resources is a problem, please contact me direct as I may be able to help with Drupal developer with experience in CiviCRM / Drupal 6 for this issue.
Comment #15
avpadernoAbout #9, for http://drupal.org/user/293376 the text is,"juaneclark is an organization member of the Drupal Association […]" because the author of http://drupal.org/node/1123824 (the Organization node for Aten Design Group) is not juaneclark, but justin2pin. "My organization is a member of the […]" is shown only when the author of that node is the user for which you are seeing the profile.
Comment #16
drumm#1674128: Membership and badge not appearing on Profile/ membership records are overwritten incorrectly fixed this.
Comment #17
tvn commented