2012-06-30 19:14:35 +00:00
|
|
|
<div class="box wide">
|
2018-03-21 19:25:12 +00:00
|
|
|
<% if Rails.application.open_signups? %>
|
|
|
|
<p>
|
|
|
|
Not a user yet? <a href="/invitations/open">Sign up here</a>.
|
|
|
|
</p>
|
2015-12-07 19:17:11 +00:00
|
|
|
<% else %>
|
2018-03-21 19:25:12 +00:00
|
|
|
<p>
|
|
|
|
Signup is currently by invitation only to combat spam and increase
|
enable mod_userdir
diff of `rails routes`:
12,13d11
< GET /newest/:user(.:format) home#newest_by_user
< GET /newest/:user/page/:page(.:format) home#newest_by_user
32d29
< user_threads GET /threads/:user(.:format) comments#user_threads
120,122c117,132
< u GET /u(.:format) users#tree
< user GET /u/:username(.:format) users#show
< user_standing GET /u/:username/standing(.:format) users#standing
---
> users_tree GET /users(.:format) users#tree
> user GET /~:username(.:format) users#show
> user_standing GET /~:username/standing(.:format) users#standing
> GET /~:user/stories(/page/:page)(.:format) home#newest_by_user
> user_threads GET /~:user/threads(.:format) comments#user_threads
> user_ban POST /~:username/ban(.:format) users#ban
> user_unban POST /~:username/unban(.:format) users#unban
> user_disable_invite POST /~:username/disable_invitation(.:format) users#disable_invitation
> user_enable_invite POST /~:username/enable_invitation(.:format) users#enable_invitation
> u GET /u(.:format) redirect(302, /users)
> GET /u/:username(.:format) redirect(302, /~%{username})
> GET /@:username(.:format) redirect(302, /~%{username})
> GET /u/:username/standing(.:format) redirect(302, ~%{username}/standing)
> GET /newest/:user(.:format) redirect(302, ~%{user}/stories)
> GET /newest/:user(/page/:page)(.:format) redirect(302, ~%{user}/stories/page/%{page})
> GET /threads/:user(.:format) redirect(302, ~%{user}/threads)
125,128d134
< user_ban POST /users/:username/ban(.:format) users#ban
< user_unban POST /users/:username/unban(.:format) users#unban
< user_disable_invite POST /users/:username/disable_invitation(.:format) users#disable_invitation
< user_enable_invite POST /users/:username/enable_invitation(.:format) users#enable_invitation
2023-08-29 12:45:28 +00:00
|
|
|
accountability. If you know <%= link_to 'a current user', users_tree_path %>
|
|
|
|
of the site, ask them for an invitation, or
|
2018-03-21 19:25:12 +00:00
|
|
|
<% if Rails.application.allow_invitation_requests? %>
|
|
|
|
<a href="/invitations/request">request one publicly</a>.
|
|
|
|
<% else %>
|
|
|
|
request one in <a href="/chat">chat</a>.
|
|
|
|
<% end %>
|
|
|
|
</p>
|
2015-12-07 19:17:11 +00:00
|
|
|
<% end %>
|
2012-07-01 18:31:31 +00:00
|
|
|
</div>
|