Answers.Body: <p>We used CSS to hide that message.  Users won't click a link or take an action they don't know they can do!  haha It's stupid simple but it works and we haven't had a problem since.</p>
  <p>Here's the CSS we used:</p>
  <pre><code>/* Prevent people from enroling / contributing for someone else */
  .crm-not-you-message {
      display: none;
  }
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-19T21:46:42.637Z
Answers.LastActivityDate: 2023-08-19T21:46:42.637Z
Answers.UserDisplayName: richardsplayground
Body: <p>I've seen a few references to this problem here and in the old forums, but not a real solution without hacking/overriding.</p>
  <p>We have a &quot;Members only&quot; event. But at the very top, a link is provided that allows for a member to register a non-member:</p>
  <p>Welcome Rob Brandt. (Not Rob Brandt, or want to register a different person?)</p>
  <p>How to prevent this?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-08-14T21:47:02.077Z
Comments.Text: Hi @rob - you don't have any other option - other than override/hacking
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Tags: <civievent><civimember>
Title: Removing ability to register a different person who is a non-member
ThreadText: # Removing ability to register a different person who is a non-member
  
  (Asked by: username_0 on 2023-08-09)
  
  I've seen a few references to this problem here and in the old forums, but not a real solution without hacking/overriding.
  
  We have a "Members only" event. But at the very top, a link is provided that allows for a member to register a non-member:
  
  Welcome username_0. (Not username_0, or want to register a different person?)
  
  How to prevent this?
  
  **Tags:** civievent, civimember
  
  > **Comments:**
  > **username_1**: Hi @rob - you don't have any other option - other than override/hacking  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-08-19. Score: 1
  
  We used CSS to hide that message.  Users won't click a link or take an action they don't know they can do!  haha It's stupid simple but it works and we haven't had a problem since.
  Here's the CSS we used:
  /* Prevent people from enroling / contributing for someone else */
  .crm-not-you-message {
      display: none;
  }
  
  
  ---
  
  