Groups
- View My Profile
- |
-
Bookmark
- Tools:
{if membershipTier == 'Manager'} {if WIDGETINSTANCE.currentUserTierAtLeast(getCurrentUser(), "editor")} Make Group Admin {/if} Demote Member {/if} {if membershipTier == 'Member'} Promote to Manager {/if} {if (membershipTier == 'Member' || membershipTier == 'Manager') && member.User.AdministrativeTier === "None" && member.User.UserTier !== "Editor"} Ban Member {/if} {if displayBannedMembers == true} Revoke Banned Status {/if} {elseif (group.RequestingUsersMembershipTier == 'Manager')} {if membershipTier == 'Member'} Ban Member {/if} {if displayBannedMembers == true} Revoke Banned Status {/if} {/if} {/macro} {macro displayMember(member)}
${member.User.DisplayName}
{eval} function badgeCallback(memberDisplayName, response) { //console.dir(response); badges = response.Responses[0].User.AwardStatus.Badges; var content = ''; for (k=0;k<=badges.length;k++) { var o = badges[k]; content = content + o.Name; if(k < badges.length-1) //this is for placing comma if its more than two and removing to the last {content = content + ', ';} groupDirectoryBadgeKey = 'badges_' + memberDisplayName; x=document.getElementById(groupDirectoryBadgeKey); x.innerHTML = content; } } var userRequest = new Array(); userRequest.push(new UserKey(member.User.UserKey.Key)); var memberDisplayName = member.User.DisplayName; WIDGETINSTANCE.sendRequests(userRequest, function(response) { badgeCallback(memberDisplayName, response); }); {/eval} {if member.User.Location !== ""} ${member.User.Location}{/if} {if member.MembershipTier == 'GroupAdmin'}Group Admin{elseif member.MembershipTier == 'Manager'}Group Manager{else}${member.MembershipTier}{/if} ${member.User.NumberOfFriends} Friends {if pendingMemberSelected == 'false'}
Approve Member {eval} // AMA customized version of approveMember that e-mails the user after the user is approved. WIDGETINSTANCE.approveMember = function (userKey, displayName) { // call UpdateCommunityGroupMembershipAction to approve the selected user. // build an array of requests var approveMemberRequest = new Array(); approveMemberRequest.push(new UpdateCommunityGroupMembershipAction(new CommunityGroupKey(this.context.options.groupKey), new UserKey(userKey), new MembershipTier("Member"), false)); // display messageBox dialog asking the user to confirm demote membership action (Yes/No) using a callback function var msg = 'Do you wish to allow %0 to join this group?'; if (document.getElementById(this.context.allowMessageId)) msg = document.getElementById(this.context.allowMessageId).innerHTML; msg = msg.replace("%0", displayName); this.child["messageBox"].setDialogMessage(msg); var me = this; this.child["messageBox"].show(function() { // me.showCurrentMembers(); // call sendRequests to send our UpdateCommunityGroupMembershipAction request to the server this.sendRequests(approveMemberRequest, function(responseBatch) { me.ApproveMemberResponseFromServer(responseBatch); }); // E-mail the user emailIndividual(userKey, 'Request to join ' + group.Title + ' is approved', 'Thank you for your interest in joining the ' + group.Title + ' group. Your request has been approved. You can now access the group at the following location:\n\nhttp://www.ama-assn.org/ama/pub/community/groups.shtml?slPage=overview&slGroupKey;=' + groupKeyString + '&slAcceptInvitation;=false'); }); } {/eval} Deny Member {eval} WIDGETINSTANCE.denyPendingMember = function(communityGroupKey, userKey) { // call DeleteContentAction to remove the CommunityGroupMembershipRegistrantKey var denyMemberRequest = new Array(); denyMemberRequest.push(new DeleteContentAction(new CommunityGroupRegistrantKey(new CommunityGroupKey(this.context.options.groupKey), new UserKey(userKey)))); // call sendRequests to send out the DeleteContentAction request to the server // setup the message for messageBox display var me = this; this.child["messageBox"].show(function() { this.sendRequests(denyMemberRequest, function(responseBatch) { me.DenyMemberResponseFromServer(responseBatch); }); // E-mail the user emailIndividual(userKey, 'Decision on request to join ' + group.Title + ' group', "We're sorry. Your request for admission to the " + group.Title + " group is denied. If you have a question about this decision or the registration process, please contact the community manager by replying to this e-mail. Thank you."); }); } {/eval}
${group.Title}
${group.Description}
{if getCurrentUser().isAnonymous} Sign in/Register {/if} {else}- sort by:
- Name
- Date Joined
- filter by:
- Current Members (${group.CommunityGroupStats.MemberCount}) {if group.CommunityGroupVisibility == 'Private' && group.RequestingUsersMembershipTier == 'GroupAdmin' || group.RequestingUsersMembershipTier == 'Manager'}
- Pending Members (${group.CommunityGroupStats.PendingMemberCount}) {/if} {if group.RequestingUsersMembershipTier == 'GroupAdmin' || group.RequestingUsersMembershipTier == 'Manager'}
- Banned Members {/if} {if group.RequestingUsersMembershipTier == 'GroupAdmin'}
- Group Managers {/if}
-
{for admin in admins}
- ${displayMember(admin)} {/for}
-
{for member in members}
- ${displayMember(member)} {/for}
Your search returned no results.
{/if} {if noBannedMembers}There are no banned users.
{/if} {if noPendingMembers}There are no pending members.
{/if}Do you wish to continue?
{if isEdit}Edit{else}Create a Group{/if}
${group.Title}
${group.Description}
{if getCurrentUser().isAnonymous} Sign in/Register {/if} {else} <textarea id="deleteMessage" style="display:none">Are you sure you want to delete this event?</textarea>-
{for event in events}
-
${event.Title} {if event.StartDate == event.EndDate} ${event.StartTime} - ${event.EndTime} ${event.EndDate} ${event.TimeZone} {else} ${event.StartTime} ${event.StartDate} ${event.TimeZone} - ${event.EndTime} ${event.EndDate} ${event.EndTimeZone} {/if} ${event.Location} {if event.BookmarkUrl && event.BookmarkName} ${event.BookmarkName} {/if}
${event.Description}
{if user.UserKey.Key == event.Author.UserKey.Key} {/if} {if user.UserKey.Key == event.Author.UserKey.Key || WIDGETINSTANCE.currentUserIsGroupAdmin(group) || WIDGETINSTANCE.currentUserIsGroupManager(group)} {/if}${showReportAbuse("EventKey", event.EventKey.Key, event.CurrentUserHasReportedAbuse == 'True')}${reportAbuseDialogWidget}
{forelse}
{if isEdit}Edit Event{else}Add Event{/if}
Add a Link to ${group.Title}
-
{for bookmark in bookmarks}
- {/for}
<a id="${voteId}_ViewResults" class="viewResults" href="javascript:void(0)" mce_href="javascript:void(0)" onClick="switchViews(false); return false;" > View Results</a> </h3> {else} <input id="${voteId}_VoteButton" class="slVoteButton" type="button" value="Vote" onClick="WIDGETINSTANCE.answerPoll(); return false;"/>
<a id="${voteId}_ViewResults" class="viewResults" href="javascript:void(0)" mce_href="javascript:void(0)" onClick="switchViews(false); return false;" > View Results</a> {/if} </div> </div> <div class="slResults" {if !resultMode}style="border:0px; margin-bottom:0px; display:none;"{/if} id="${resultsId}"> <p class="pollheading">Quick poll results</p> <p class="pollquestion">${poll.Question}</p> {if (!isAnonymous || (isAnonymous && anonymousUsersCanVoteInPolls)) && !poll.CurrentUserHasVoted && !poll.IsClosed && !options.showResultsOnly} <h3> <a href="javascript:void(0)" mce_href="javascript:void(0)" onClick="switchViews(true); return false;" id="${resultsId}_GoVote"> Go vote!</a> </h3> {/if} {if (isAnonymous) && !poll.CurrentUserHasVoted && !poll.IsClosed && !options.showResultsOnly} <h3> <a href="https://extapps.ama-assn.org/login/" > Login / Register to Vote!</a>
or <a href="javascript:void(0)" mce_href="javascript:void(0)" onClick="switchViews(true); return false;" id="${resultsId}_GoVote" > View Questions</a> </h3> {/if} <div class="resultsTop" style="margin-left:-10px; margin-bottom:-10px; height:17px;" > </div> <div class="resultsMid" style="margin-left:-10px; " > <table class="slAnswerStats" style="margin-left:10px;width:95%;" cellpadding="0" cellspacing="0" border="0"> {for answer in poll.Answers} {var answerPercent = Math.round(answer.Percentage * 100)} {var answerPercent2 = Math.round(answer.Percentage * 100)}
Do you have a question about AMA online polls? <a href="/ama/pub/community/frequently-asked-questions.page.page?" target="_blank" > Read our FAQ</a>. </td> </tr> </table> </div> </div> {/if} {/if}
By clicking on "Accept" you agree to the following Code of Conduct concerning your access and use of this web site. If you do not agree to Code of Conduct, Terms of Use, and privacy policy, do not click "Accept."
- You will only provide information which you are authorized or have the right to provide and such information will be accurate, complete and current.
- You will not post any content which is knowingly false and/or defamatory, discriminatory, inaccurate, abusive, vulgar, hateful, harassing, obscene, profane, sexually oriented, threatening, invasive of a person's privacy, or otherwise violative of any law.
- You will not post any copyrighted material unless you are the owner or have the owner's permission.
- You will be respectful of others. Your posting will not be intemperate or designed to harm or ridicule any other person.
- You will not post with such frequency or repetitiveness that others may be discouraged from posting comments. You will not post comments, information or other content that is unrelated to the topic being discussed.
- You will present your own views (and not those views of an undisclosed or fictitious third party).
- You will not post advertising or other commercial solicitations.
- You understand the AMA may employ an abuse reporting mechanism. AMA may may block, remove, edit or refuse postings or take such other action as we deem appropriate (including suspending or terminating your access to this discussion group).
Your access and use must comply with all applicable governmental regulations and may not interfere with the operation or enjoyment of this web site by others or with the AMA's operation of this Web site. Your access and use of this web site may be discontinued without notice at any time.
Pursuant to the Digital Millenium Copyright Act of 1998, 17 U.S.C. § 512 (c), if you believe in good faith that a copyrighted work has been reproduced on this web site without authorization in a way that constitutes copyright infringement, you may send a notice to: American Medical Association, 515 North State Street, Chicago, IL 60654; Attention, Office of General Counsel. Your notice must contain, at a minimum, (a) a statement that you believe in good faith that use of the material in the manner complained of is not authorized by the copyright owner, (b) the identification and location of the material claimed to be infringing, (c) reasonably sufficient information for AMA to identify and contact the infringer, (d) a statement that the information in the notification is accurate, (e) a statement, under penalty of perjury, that you are authorized to act on behalf of the copyright owner, (f) your contact information, and (g) your physical or electronic signature. See 17 U.S.C. § 512 (c) for further information.
You acknowledge: there can be no expectation of privacy or security of information provided or accessed by you on this web site; the web site is made available to you without any warranty of any nature; and your access or use will not create the basis for any claim by you [or by any other person claiming through you] against the AMA related to your use or access or the AMA's operation of this web site. You understand you may be identified as an AMA and/or federation member, physician, resident, or medical student.
AMA reserves the right to modify this Code of Conduct at any time, so please review it regularly. Your continued use of this web site indicates your acceptance of any such modifications.
By declining the AMA's Term of Use, you will not be allowed to post your comment.
Return to Terms of Use
I Decline the Terms of Use

