TheLounge Simplification

Edit the below file and remove the below sections to remove the password field + realname fields from TheLounge when used in a public setting

sudo -E vim public/js/bundle.js

<div class="col-sm-3"><label for="connect:password">Password</label></div><div class="col-sm-9 password-container"><input class="input" id="connect:password" type="password" name="password" value="'+c(r(null!=(s=null!=n?n.defaults:n)?s.password:s,n))+'" maxlength="512"> '+(null!=(s=e.invokePartial(a(19),n,{name:"../reveal-password",data:o,helpers:t,partials:i,decorators:e.decorators}))?s:"")+' </div>
<div class="col-sm-3"><label for="connect:realname">Real name</label></div><div class="col-sm-9"><input class="input" id="connect:realname" name="realname" value="'+c(r(null!=(s=null!=n?n.defaults:n)?s.realname:s,n))+'" maxlength="512"></div>

In the same file find The Lounge - and replace it with TechSupport then edit your config and make the NetworkName Livechat

Find <h2>User preferences<h2> and replace that with

<h2>How to use the chat:</h2><h3>1. <a href="https://www.dontasktoask.com/" target="_blank">Dont ask to ask.</a> Just state your question to the channel<br>2. For verbose descriptions use a<a href="https://pastebin.com/" target="_blank"> pastebin site</a> or a link to your reddit post<br>3. Be patient, helpers have lives and are not paid to watch chat, if someone knows they will answer your question in due time</h3>
Back to top