- Avatar Sandbox rewrite
- Updated owned item tags code
- Inventory Collectibles Category
- Great Divide Features ("Potentially Unbalanced" indicator in server list and User Statistics tab on profiles)
- Refreshed Settings Page design
- Fixed library item type detection
- Breadcrumbs on the view page for models, audios, decals, and meshes now link to the Library instead of the Store.
- If the document loads prior to the DOMContentLoaded event being registered in the sitewide.js file, then it'll still run everything as normal instead of just not running
- Updated README.md
I was bored so:
- You can now make a profile act like a birthday profile by appending ?birthday=true to the URL
724 lines
30 KiB
HTML
Executable file
724 lines
30 KiB
HTML
Executable file
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<!-- META TAGS -->
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<!-- PUBLIC -->
|
|
<title>Poly+ Settings</title>
|
|
|
|
<!-- RESOURCES -->
|
|
<link rel="stylesheet" href="css/polytoria.css" />
|
|
<link rel="stylesheet" href="css/settings.css" />
|
|
</head>
|
|
<body data-bs-theme="dark">
|
|
<dialog class="w-50" id="ResetDefaults-Modal">
|
|
<div class="modal-header">
|
|
<p>Are you sure?</p>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>Are you sure you'd like to reset all settings to their defaults? (this action is irreversible)</p>
|
|
<button id="ResetDefaults-Modal-Yes" class="btn btn-danger">Yes</button>
|
|
<button id="ResetDefaults-Modal-No" class="btn btn-primary">No</button>
|
|
</div>
|
|
</dialog>
|
|
<dialog class="w-50" id="ThemeCreator-Modal" data-setting="ThemeCreator">
|
|
<div class="modal-header">
|
|
<p>Theme Creator</p>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>Let out your creativity and turn it into a reality on Polytoria's website!</p>
|
|
<hr class="mt-3 mb-3" />
|
|
|
|
<label>Save Theme to JSON</label>
|
|
<div class="input-group mb-3">
|
|
<input id="SaveThemeToJSONInput" type="text" class="form-control bg-dark ignore" placeholder="JSON String..." disabled />
|
|
<button id="CopyThemeJSONBtn" class="btn btn-warning">Copy</button>
|
|
</div>
|
|
|
|
<label>Load Theme from JSON</label>
|
|
<div class="input-group">
|
|
<input type="text" class="form-control bg-dark ignore" placeholder="JSON..." />
|
|
<button id="LoadThemeFromJSONBtn" class="btn btn-success ignore">Load</button>
|
|
</div>
|
|
|
|
<hr class="mt-2 mb-3" />
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-header">Navigation</div>
|
|
<div class="card-body">
|
|
<label>Navbar Background Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="NavBGColor" />
|
|
|
|
<label>Navbar Border Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="NavBorderColor" />
|
|
|
|
<label>Sidebar Background Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="SideBGColor" />
|
|
|
|
<label>Sidebar Border Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="SideBorderColor" />
|
|
|
|
<hr class="navbar-divider" />
|
|
|
|
<label>Navbar Item Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="NavItemColor" />
|
|
|
|
<label>Sidebar Item Background Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="SideItemBGColor" />
|
|
|
|
<label>Sidebar Item Border Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="SideItemBorderColor" />
|
|
|
|
<label>Sidebar Item Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="SideItemColor" />
|
|
|
|
<label>Sidebar Item Label Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="SideItemLabelColor" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-header">Background</div>
|
|
<div class="card-body">
|
|
<label>Background Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="BGColor" />
|
|
|
|
<label>Background Image (URL)</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="BGImage" />
|
|
|
|
<label>Background Image Size (if there is a background image)</label>
|
|
<select class="form-select bg-dark mb-2" data-setting="BGImageSize">
|
|
<option value="fit" selected>Fit (default)</option>
|
|
<option value="cover">Cover</option>
|
|
<option value="contain">Contain</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-header">Text</div>
|
|
<div class="card-body">
|
|
<label>Primary Text Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="PrimaryTextColor" />
|
|
|
|
<label>Secondary Text Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="SecondaryTextColor" />
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<label>Link (state: default) Text Color</label>
|
|
</div>
|
|
<div class="col">
|
|
<label>Link (state: hovered) Text Color</label>
|
|
</div>
|
|
<div class="col">
|
|
<label>Link (state: focused) Text Color</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="LinkTextColor" />
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="LinkHoveredTextColor" />
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="LinkFocusedTextColor" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-header">Cards</div>
|
|
<div class="card-body">
|
|
<label>Card (Header) Background Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="CardHeadBGColor" />
|
|
|
|
<label>Card (Body) Background Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="CardBodyBGColor" />
|
|
|
|
<label>Card Border Color</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="CardBorderColor" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-header">Branding</div>
|
|
<div class="card-body">
|
|
<label>Website Logo (URL)</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="..." data-setting="WebsiteLogo" />
|
|
</div>
|
|
</div>
|
|
|
|
<div role="group" class="btn-group w-100">
|
|
<button class="btn btn-success w-25" data-setting="[save]">Save</button>
|
|
<button class="btn btn-warning w-25" data-setting="[reset-default]">Reset to Defaults</button>
|
|
<button class="btn btn-secondary w-25" data-setting="[cancel]">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</dialog>
|
|
<dialog class="w-50" id="ModifyNav-Modal" data-setting="ModifyNav">
|
|
<div class="modal-header">
|
|
<p>Modify Navbar</p>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>Customize the navbar to your liking!</p>
|
|
<hr class="mt-2 mb-3" />
|
|
<div class="card mb-2">
|
|
<div class="card-header">#1 Navbar Item</div>
|
|
<div class="card-body">
|
|
<label>Label</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="Play" data-parent="0" data-setting="Label" />
|
|
|
|
<label>Link</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="https://polytoria.com/places/" data-parent="0" data-setting="Link" />
|
|
</div>
|
|
</div>
|
|
<div class="card mb-2">
|
|
<div class="card-header">#2 Navbar Item</div>
|
|
<div class="card-body">
|
|
<label>Label</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="Store" data-parent="1" data-setting="Label" />
|
|
|
|
<label>Link</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="https://polytoria.com/store/" data-parent="1" data-setting="Link" />
|
|
</div>
|
|
</div>
|
|
<div class="card mb-2">
|
|
<div class="card-header">#3 Navbar Item</div>
|
|
<div class="card-body">
|
|
<label>Label</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="Guilds" data-parent="2" data-setting="Label" />
|
|
|
|
<label>Link</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="https://polytoria.com/guilds/" data-parent="2" data-setting="Link" />
|
|
</div>
|
|
</div>
|
|
<div class="card mb-2">
|
|
<div class="card-header">#4 Navbar Item</div>
|
|
<div class="card-body">
|
|
<label>Label</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="People" data-parent="3" data-setting="Label" />
|
|
|
|
<label>Link</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="https://polytoria.com/users/" data-parent="3" data-setting="Link" />
|
|
</div>
|
|
</div>
|
|
<div class="card mb-2">
|
|
<div class="card-header">#5 Navbar Item</div>
|
|
<div class="card-body">
|
|
<label>Label</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="Forum" data-parent="4" data-setting="Label" />
|
|
|
|
<label>Link</label>
|
|
<input class="form-control bg-dark mb-2" placeholder="https://polytoria.com/forum" data-parent="4" data-setting="Link" />
|
|
</div>
|
|
</div>
|
|
|
|
<div role="group" class="btn-group w-100">
|
|
<button class="btn btn-success w-25" data-setting="[save]">Save</button>
|
|
<button class="btn btn-warning w-25" data-setting="[reset-default]">Reset to Defaults</button>
|
|
<button class="btn btn-secondary w-25" data-setting="[cancel]">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</dialog>
|
|
<dialog class="w-75" id="AutoAdBidding-Modal" data-setting="AutoAdBidding">
|
|
<div class="modal-header">
|
|
<p>Automatic Ad Bidding</p>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>description (max 10 ads)</p>
|
|
<hr class="mt-2 mb-3" />
|
|
<div class="input-group mb-2">
|
|
<input type="text" class="form-control ignore" placeholder="Ad ID..">
|
|
<button class="btn btn-primary" id="auto-ad-bidding-add">Add</button>
|
|
</div>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">#</th>
|
|
<th scope="col">Ad Name</th>
|
|
<th scope="col">Bid</th>
|
|
<th scope="col">Automation</th>
|
|
<th scope="col">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th scope="row">1</th>
|
|
<td><a href="https://polytoria.com/create/ad/632">"everdayi m shuffling"</a></td>
|
|
<td class="text-success"><span class="pi">$</span> 150</td>
|
|
<td>
|
|
<select class="form-select ignore">
|
|
<option value="daily" selected>Daily</option>
|
|
<option value="weekly">Weekly</option>
|
|
<option value="monthly">Monthly</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<div role="group" class="btn-group w-100">
|
|
<button class="btn btn-success w-25">
|
|
BID
|
|
</button>
|
|
<button class="btn btn-orange w-25">
|
|
EDIT
|
|
</button>
|
|
<button class="btn btn-danger w-25">
|
|
DELETE
|
|
</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div role="group" class="btn-group w-100">
|
|
<button class="btn btn-success w-25" data-setting="[save]">Save</button>
|
|
<button class="btn btn-warning w-25" data-setting="[reset-default]">Reset to Defaults</button>
|
|
<button class="btn btn-secondary w-25" data-setting="[cancel]">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</dialog>
|
|
<div id="page">
|
|
<h1
|
|
class="text-center"
|
|
style="
|
|
text-shadow: 0px 0px 5px orange;
|
|
padding-bottom: 5px;
|
|
margin-bottom: 10px;
|
|
"
|
|
>
|
|
Poly+ Settings
|
|
</h1>
|
|
<div class="card card-body limited-time setting-container mb-3" id="greatdivide-server-unbalance" style="background-image: linear-gradient(rgba(0.8, 0.8, 0.8, 0.8), rgba(0.8, 0.8, 0.8, 0.8)), url(/images/greatdivide.png); background-size: cover; background-position: center;">
|
|
<div class="row">
|
|
<div class="col-auto">
|
|
<span class="indicator"> </span>
|
|
</div>
|
|
<div class="col">
|
|
<span class="title">
|
|
The Great Divide
|
|
<button class="btn btn-sm toggle-btn" data-setting="Enabled" data-parent="TheGreatDivide">Toggle</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<span class="desc">Reinforcements to aid in your quest to bring home the victory to your team, and bring honor to your peers.</span>
|
|
|
|
<span class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="server-unbalanced-greatdivide" data-setting="UnbalancedIndicatorOn" data-parent="TheGreatDivide" />
|
|
<label class="form-check-label" for="server-unbalanced-greatdivide">"Potentially Unbalanced" indicator in server list </label>
|
|
</span>
|
|
<!--
|
|
<span class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="mvp-user-greatdivide" data-setting="MVPUserIndicatorOn" data-parent="TheGreatDivide" />
|
|
<label class="form-check-label" for="mvp-user-greatdivide"> "MVP" User indicator in server list (not implemented yet)</label>
|
|
</span>
|
|
-->
|
|
<span class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="user-statistics-greatdivide" data-setting="UserStatsOn" data-parent="TheGreatDivide" />
|
|
<label class="form-check-label" for="user-statistics-greatdivide">User Statistics tab on profiles</label>
|
|
</span>
|
|
<!--
|
|
<span class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="leaderboards-greatdivide" data-setting="LeaderboardsOn" data-parent="TheGreatDivide" />
|
|
<label class="form-check-label" for="leaderboards-greatdivide"> Related ranking leaderboards (not implemented yet)</label>
|
|
</span>
|
|
-->
|
|
|
|
<small class="text-muted mt-1" style="font-size: 0.7rem;">
|
|
* some features use <a href="https://polytoria.com/u/dargy" target="_blank">@dargy</a>'s public API! thank you!
|
|
</small>
|
|
<small class="limited-time-tag mt-1">
|
|
* available until July 14th
|
|
</small>
|
|
</div>
|
|
<div class="setting-container" id="pinned-games">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Pinned Games
|
|
<button class="btn btn-sm toggle-btn" data-setting="PinnedGamesOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Pin your favorite places to the top of the homepage! (limit: <span id="PinnedGames-limit"></span> places)</span>
|
|
</div>
|
|
<div class="setting-container" id="forum-mentions">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Forum Mentions
|
|
<button class="btn btn-sm toggle-btn" data-setting="ForumMentsOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Get a quick link to the popular person everyone is talking about's profile!</span>
|
|
<br />
|
|
<span class="warning">* Forum Mentions do not notify the user or show up as a notification on their account.</span>
|
|
</div>
|
|
<div class="setting-container" id="improved-friend-lists">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Improved Friend Lists
|
|
<button class="btn btn-sm toggle-btn" data-setting="ImprovedFrListsOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">
|
|
Accept or decline all friend requests with the click of a button or multi-remove existing friends!
|
|
<br />
|
|
<span class="warning">* You can only remove up to <span id="ImprovedFrLists-limit"></span> friends at once.</span>
|
|
</span>
|
|
</div>
|
|
<div class="setting-container" id="irl-price-with-brick-count">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Show IRL price with Brick Count
|
|
<button class="btn btn-sm toggle-btn" data-setting="Enabled" data-parent="IRLPriceWithCurrency">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc mb-4">
|
|
See the real life currency value along with Bricks across the site!
|
|
<br />
|
|
<span class="warning">* Currencies were calculated on <span id="IRLPriceWithCurrency-Date">[DATE]</span>.</span>
|
|
<br />
|
|
<span class="warning">* Currencies other than USD are purely approximations.</span>
|
|
</span>
|
|
<select id="IRLPriceWithCurrencyCurrency" class="form-select form-select-sm mb-2" style="width:350px;" data-setting="Currency" data-parent="IRLPriceWithCurrency">
|
|
<option value="USD" selected>United States Dollar (USD)</option>
|
|
<option value="EUR">Euro (EUR)</option>
|
|
<option value="CAD">Canadian Dollar (CAD)</option>
|
|
<option value="GBP">Great British Pound (GBP)</option>
|
|
<option value="MXN">Mexican Peso (MXN)</option>
|
|
<option value="AUD">Australian Dollar (AUD)</option>
|
|
<option value="TRY">Turkish Lira (TRY)</option>
|
|
<option value="BRL">Brazilian Real (BRL)</option>
|
|
<option value="ZWL">Zimbabwean Dollar (ZWL)</option>
|
|
</select>
|
|
<!--
|
|
<select id="IRLPriceWithCurrencyPackage" class="form-select form-select-sm mb-2" style="width:350px;" data-setting="Package" data-parent="IRLPriceWithCurrency">
|
|
<option value="0" selected>$0.99 Brick Package</option>
|
|
<option value="1">$4.99 Brick Package</option>
|
|
<option value="2">$9.99 Brick Package</option>
|
|
<option value="3">$24.99 Brick Package</option>
|
|
<option value="4">$49.99 Brick Package</option>
|
|
<option value="5">$99.99 Brick Package</option>
|
|
</select>
|
|
-->
|
|
</div>
|
|
<div class="setting-container" id="hide-notification-badges">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Hide Notification Badges
|
|
<button class="btn btn-sm toggle-btn" data-setting="HideNotifBadgesOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Hide the annoying red circles on the sidebar!</span>
|
|
</div>
|
|
<div class="setting-container" id="store-own-tag">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Show "OWNED" Tag on Store Main Page
|
|
<button class="btn btn-sm toggle-btn" data-setting="StoreOwnTagOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Quickly see if you own the item at a glance with a little tag in the top left corner of item cards on the main store page!</span>
|
|
</div>
|
|
<div class="setting-container" id="theme-creator">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Theme Creator
|
|
<button class="btn btn-sm toggle-btn" data-setting="Enabled" data-parent="ThemeCreator">Toggle</button>
|
|
<button id="ThemeCreator-Options" class="btn btn-primary btn-sm" data-modal="ThemeCreator">Options</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Unleash your creativity and customize the Polytoria website to your liking! (this feature is still in development)</span>
|
|
</div>
|
|
<div class="setting-container" id="more-search-filters">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
More Search Filters
|
|
<button class="btn btn-sm toggle-btn" data-setting="MoreSearchFiltersOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Easily find what you're looking for with more search filters side-wide! (this does not affect the main site search on the navbar)</span>
|
|
<br />
|
|
<span class="warning">* This currently only has a "Creator" username filter on the forum search page, more search filters are yet to come.</span>
|
|
</div>
|
|
<div class="setting-container" id="apply-membership-theme">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Apply Membership Theme for <b>Free</b>
|
|
<button class="btn btn-sm toggle-btn" data-setting="Enabled" data-parent="ApplyMembershipTheme">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Ever want the fancy membership themes for completely <b>free</b>? Well now you can get apply them site-wide!</span>
|
|
<select id="ApplyMembershipThemeTheme" class="form-select form-select-sm mb-2" style="width:350px;" data-setting="Theme" data-parent="ApplyMembershipTheme">
|
|
<option value="Plus" selected>Plus</option>
|
|
<option value="PlusDX">Plus Deluxe</option>
|
|
</select>
|
|
</div>
|
|
<div class="setting-container" id="multi-cancel-outbound-trades">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Multi-Cancel Outbound Trades
|
|
<button class="btn btn-sm toggle-btn" data-setting="MultiCancelOutTradesOns">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">
|
|
Quickly cancel several out-bound trades (trades that you have sent) all at once
|
|
<br />
|
|
<span class="warning">* You can only cancel up to 10 trades at once.</span>
|
|
</span>
|
|
</div>
|
|
<div class="setting-container" id="modify-navbar">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Modify Navbar
|
|
<button class="btn btn-sm toggle-btn" data-setting="ModifyNavOn">Toggle</button>
|
|
<button id="ModifyNav-Options" class="btn btn-primary btn-sm" data-modal="ModifyNav">Options</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc"> Customize the navbar to your liking! </span>
|
|
</div>
|
|
<div class="setting-container" id="item-wishlist">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Item Wishlist
|
|
<button class="btn btn-sm toggle-btn" data-setting="ItemWishlistOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc"> Wishlist that item that you REALLY want! </span>
|
|
</div>
|
|
<div class="setting-container" id="try-on-items">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Try-On Items
|
|
<button class="btn btn-sm toggle-btn" data-setting="TryOnItemsOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">See how that new item looks on your avatar before spending your bricks!</span>
|
|
</div>
|
|
<div class="setting-container" id="outfit-cost">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Show Outfit Cost on Profiles
|
|
<button class="btn btn-sm toggle-btn" data-setting="OutfitCostOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Quickly see how many bricks a user spent on their avatar!</span>
|
|
</div>
|
|
<div class="setting-container" id="outfit-cost">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Show Approximate Place Revenue
|
|
<button class="btn btn-sm toggle-btn" data-setting="ShowPlaceRevenueOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Quickly see how many bricks a user has gained from one of their places!</span>
|
|
<br />
|
|
<span class="warning"
|
|
>* Gamepass revenue is calculated assuming the price hasn't changed and all users that bought the gamepass, bought it at the same price that it is at the time of calculating.</span
|
|
>
|
|
</div>
|
|
<div class="setting-container" id="item-replace-sales">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Show "Owners" instead of "Sales"
|
|
<button class="btn btn-sm toggle-btn" data-setting="ReplaceItemSalesOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Replace the "Sales" statistic with the "Owners" statistic if the item has 0 sales (most likely meaning it is an item awarded by staff).</span>
|
|
</div>
|
|
<div class="setting-container" id="hoarders-list">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Collectibles' Hoarders List
|
|
<button class="btn btn-sm toggle-btn" data-setting="Enabled" data-parent="HoardersList">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">List all the users that have more than 1 copy of a collectible!</span>
|
|
<span class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="hoarders-list-avatars" data-setting="AvatarsEnabled" data-parent="HoardersList" />
|
|
<label class="form-check-label" for="hoarders-list-avatars">
|
|
Show Avatar Icons
|
|
<br />
|
|
<span style="font-size: 0.6rem; color: orange;">* Avatar icons will result in more requests, potentially leading to more ratelimiting and slower hoarder list loading.</span>
|
|
</label>
|
|
</span>
|
|
<select class="form-select form-select-sm mb-2" style="width:350px;" data-setting="MinCopies" data-parent="HoardersList" data-useValue="true">
|
|
<option value="2">Min. 2+ Copies</option>
|
|
<option value="3">Min. 3+ Copies</option>
|
|
<option value="5">Min. 5+ Copies</option>
|
|
<option value="10">Min. 10+ Copies</option>
|
|
<option value="15">Min. 15+ Copies</option>
|
|
<option value="35">Min. 35+ Copies</option>
|
|
</select>
|
|
</div>
|
|
<div class="setting-container" id="hoarders-list">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Quick Library Downloads
|
|
<button class="btn btn-sm toggle-btn" data-setting="LibraryDownloadsOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Quickly download a model (as a <code>.ptmd</code> file), mesh, decal, or sound right from the page showing you details about the asset!</span>
|
|
</div>
|
|
<div class="setting-container" id="event-items-store">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
"Event Items" Store Category
|
|
<button class="btn btn-sm toggle-btn" data-setting="EventItemsCatOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">List all the on-going and past event items separated by their event with a store category!</span>
|
|
</div>
|
|
<div class="setting-container" id="event-items-store">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Show Friend Count on Homepage
|
|
<button class="btn btn-sm toggle-btn" data-setting="HomeFriendCountOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">See how many friends you have on your homepage/dashboard, just scroll to the "friends" section and you'll see it next to the heading!</span>
|
|
</div>
|
|
<div class="setting-container" id="timed-item-owner-check">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Timed-Item Owner Check
|
|
<button class="btn btn-sm toggle-btn" data-setting="ItemOwnerCheckOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc"
|
|
>Click the shopping bags icon in the bottom left-hand corner of the timed item's item thumbnail to toggle an input and a button. Then just enter someone's username and it'll tell you whether
|
|
they own it or not and if so what serial!</span
|
|
>
|
|
</div>
|
|
<div class="setting-container" id="hide-user-ads">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Hide User Ads
|
|
<button class="btn btn-sm toggle-btn" data-setting="Enabled" data-parent="HideUserAds">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Hide those annoying <s>out of context Discord message</s> user ads!</span>
|
|
<br />
|
|
<span class="warning">* Ads that are shown to help support Polytoria are not hidden.</span>
|
|
<span class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="hide-user-ads-banner" data-setting="Banners" data-parent="HideUserAds" />
|
|
<label class="form-check-label" for="hide-user-ads-banner"> Hide Banner User Ads </label>
|
|
</span>
|
|
<span class="form-check form-switch">
|
|
<input class="form-check-input" type="checkbox" role="switch" id="hide-user-ads-rectangle" data-setting="Rectangles" data-parent="HideUserAds" />
|
|
<label class="form-check-label" for="hide-user-ads-rectangle"> Hide Rectangle User Ads </label>
|
|
</span>
|
|
</div>
|
|
<div class="setting-container" id="upload-multiple-decals">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Multi-Decal Uploading
|
|
<button class="btn btn-sm toggle-btn" data-setting="UploadMultipleDecals">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">
|
|
Quickly upload several decals all at once!
|
|
</span>
|
|
</div>
|
|
<div class="setting-container" id="avatar-dimension-toggle">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Avatar Dimension Toggle
|
|
<button class="btn btn-sm toggle-btn" data-setting="AvatarDimensionToggleOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">
|
|
Quickly switch between a 3D or 2D rendition of somebody's avatar on their profile page!
|
|
</span>
|
|
</div>
|
|
<div class="setting-container" id="collectibles-inventory-category">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
"Collectibles" Inventory Category
|
|
<button class="btn btn-sm toggle-btn" data-setting="CollectibleInventoryCatOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">
|
|
Sort a player's inventory by all of their limited-edition collectibles!
|
|
</span>
|
|
</div>
|
|
<!---
|
|
<div class="setting-container" id="auto-ad-bidding">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Automatic Ad Bidding
|
|
<button class="btn btn-sm toggle-btn" data-setting="AutoAdBiddingOn">Toggle</button>
|
|
<button class="btn btn-primary btn-sm" data-modal="AutoAdBidding">Options</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">description</span>
|
|
</div>
|
|
-->
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h3>EXPERIMENTAL SETTINGS</h3>
|
|
<p>These features are a work in progress.</p>
|
|
<hr />
|
|
<div class="setting-container" id="game-profiles">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Game Profiles
|
|
<button class="btn btn-sm toggle-btn" data-setting="GameProfilesOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Traverse a place view page that matches a place's color palette!</span>
|
|
<br />
|
|
<span class="warning">* Place creators must request a game profile for one to be made.</span>
|
|
<br />
|
|
<span class="warning">* This feature will be expanded upon in the future.</span>
|
|
</div>
|
|
<div class="setting-container" id="inline-editing">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Inline Editing
|
|
<button class="btn btn-sm toggle-btn" data-setting="InlineEditingOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Quickly edit your asset's details such as name and description on the same page as viewing the asset!</span>
|
|
<br />
|
|
<span class="warning">* This feature currently only supports places.</span>
|
|
<br />
|
|
<span class="warning">* This feature is not finished or polished.</span>
|
|
</div>
|
|
<div class="setting-container" id="forum-unix-timestamps">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Forum Unix Timestamps
|
|
<button class="btn btn-sm toggle-btn" data-setting="ForumUnixStampsOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">See a date and time that is adjusted to everyone (who is using Poly+)'s local time</span>
|
|
<br />
|
|
<span class="warning">* The styling for this feature is not yet done.</span>
|
|
</div>
|
|
<div class="setting-container" id="avatar-sandbox">
|
|
<span class="indicator"> </span>
|
|
<span class="title">
|
|
Avatar Sandbox
|
|
<button class="btn btn-sm toggle-btn" data-setting="AvatarSandboxOn">Toggle</button>
|
|
</span>
|
|
<br />
|
|
<span class="desc">Create an avatar with all the item possibilities available to your heart's content!</span>
|
|
<br />
|
|
<span class="warning">* This feature is not polished - things like modifying avatar "Body Colors", pagination, outfits, etc haven't been added.</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
<div class="btn-group w-100">
|
|
<button id="Save" class="btn btn-primary w-50" disabled="true">Save</button>
|
|
<button id="ResetDefaults" class="btn btn-warning w-50">Reset to Default Settings</button>
|
|
</div>
|
|
<p id="footer-text" class="text-center text-muted mt-2" style="font-size: 0.8rem;">
|
|
<span></span>
|
|
|
|
|
<a id="check-for-updates"><b>Check for Updates</b></a>
|
|
<br />
|
|
made by <a href="https://polytoria.com/u/Index" target="_blank">Index</a> with the help of several contributors <3
|
|
</p>
|
|
</div>
|
|
<script src="settings.js"></script>
|
|
</body>
|
|
</html>
|