Member Onboarding/Activity

New Users | Members Without Cards | Logins | Never-Logged-In Members

New Users

<% if !@new_users.blank? %> <% @new_users.sort_by(&:created_at).reverse!.each do |user| %> <% end %> <% end %>
Name Member Level Account Created Waiver Orientation Payment
<%= link_to user.name, user %> <%= user.member_level_string %> <% if user.created_at.present? %> <%= distance_of_time_in_words(DateTime.now, user.created_at.to_date)+" ago" %> <% else %> × <% end %> <% if user.waiver.present? %> <%= distance_of_time_in_words(DateTime.now, user.waiver.to_date)+" ago" %> <% else %> × <% end %> <% if user.orientation.present? %> <%= distance_of_time_in_words(DateTime.now, user.orientation.to_date)+" ago" %> <% else %> × <% end %> <% if user.payments.present? %> <%= distance_of_time_in_words(Date.today, user.payments.maximum(:date))+" ago" %> <% else %> × <% end %>

Basic+ Members Without Cards

<% if !@cardless_users.blank? %> <% @cardless_users.sort_by(&:created_at).reverse!.each do |user| %> <% end %> <% end %>
Name Account Created Member Level Payment Card
<%= link_to user.name, user %> <%= distance_of_time_in_words DateTime.now, user.created_at %> ago <%= user.member_level_string %> <% if user.payments.present? %> <% last_payment = user.payments.maximum(:date) %> <% if Date.today-last_payment > 90 %> <% else %> <% end %> <%= distance_of_time_in_words(Date.today, user.payments.maximum(:date))+" ago" %> <% else %> × <% end %> <% if user.cards.present? %> <% else %> × <% end %>

Logins

<% if !@user_logins.blank? %> <% @user_logins.sort_by(&:current_sign_in_at).reverse!.each do |user| %> <% end %> <% end %>
Name Current Sign In Last Sign In Sign In Count Account Created
<%= link_to user.name, user %> <%= distance_of_time_in_words DateTime.now, user.current_sign_in_at %> ago <% if user.last_sign_in_at != user.current_sign_in_at %> <%= distance_of_time_in_words DateTime.now, user.last_sign_in_at %> ago <% end %> <%= user.sign_in_count %> times <%= distance_of_time_in_words DateTime.now, user.created_at %> ago

Never-Logged-In Members

Excluding non-members <% if !@zombie_members.blank? %> <% @zombie_members.sort_by(&:created_at).reverse!.each do |user| %> <% end %> <% end %>
Name Member Level Account Created
<%= link_to user.name, user %> <%= user.member_level_string %> <%= distance_of_time_in_words DateTime.now, user.created_at %> ago