<% page_title "Account Upgrade" %> <% meta_description "Upgrade to a Gold or Platinum account." %> <%= render "users/secondary_links" %>

Upgrade Account

<% unless params[:user_id] %>

Want more searching power? Upgrade your account and become a power user of the best database of anime artwork on the internet.

Basic Gold Platinum
Cost Free <%= cents_to_usd(UserUpgrade.gold_price) %>
One time fee
<%= cents_to_usd(UserUpgrade.platinum_price) %>
One time fee
Tag Limit 2 <%= Danbooru.config.base_tag_query_limit %> <%= Danbooru.config.base_tag_query_limit*2 %>
Favorite Limit 10,000 20,000 Unlimited
Favorite Groups 3 5 10
Page Limit 1,000 2,000 5,000
Saved Searches 250 250 1,000
See Hidden Tags No Yes Yes
Search Timeout 3 sec 6 sec 9 sec
<% end %>
<% if params[:user_id] %>

You are gifting this account upgrade to <%= link_to user.pretty_name, user_path(params[:user_id]) %>.

<% else %>

You can also upgrade someone else's account for the same price. The easiest way is to go to their profile page and look for a "Gift Upgrade" link.

<% end %>
<% if Danbooru.config.stripe_publishable_key %> <% if CurrentUser.is_anonymous? %>

<%= link_to "Sign up", new_user_path %> or <%= link_to "login", login_path(url: new_user_upgrade_path) %> first to upgrade your account.

<% elsif CurrentUser.safe_mode? %>

You can pay with a credit or debit card. Safebooru uses Stripe as a payment intermediary so none of your personal information will be stored on the site.

<% if user.level < User::Levels::GOLD %>

<%= button_to "Upgrade to Gold", user_upgrade_path(user_id: user.id, level: User::Levels::GOLD), remote: true, disable_with: "Redirecting..." %>

<%= button_to "Upgrade to Platinum", user_upgrade_path(user_id: user.id, level: User::Levels::PLATINUM), remote: true, disable_with: "Redirecting..." %>

<% elsif user.level < User::Levels::PLATINUM %>

<%= button_to "Upgrade Gold to Platinum", user_upgrade_path(user_id: user.id, level: User::Levels::PLATINUM), remote: true, disable_with: "Redirecting..." %>

<% end %>
<% else %>

You can pay with a credit or debit card on <%= link_to "Safebooru", new_user_upgrade_url(user_id: user.id, host: "safebooru.donmai.us", protocol: "https") %>. Your account will then also be upgraded on Danbooru. You can login to Safebooru with the same username and password you use on Danbooru.

<% end %> <% end %>