forked from memberapp/memberapp.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
85 lines (70 loc) · 2.25 KB
/
config.js
File metadata and controls
85 lines (70 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
var mutedwords = new Array();
var defaulttip = 1000;
var oneclicktip = 0;
var maxfee = 2;
var pathpermalinks = 'https://member.cash/';
var profilepicbase = 'img/profilepics/';
mapTileProvider = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png';
var siteTitle = 'member.cash';
var theStyle = 'feels compact';
var maxScoreToCollapseComment = 64;
var bitcoinjslib = "js/lib/bitcoincashjs-lib-5.2.0.min.patched.js";
var allowBitcloutUser = true;
var defaultTag="#newmember";
var logowide="img/logos/logowide.svg";
var logoicon="img/logos/membericon.svg";
var customCSS="";
var adfrequency = 0.10; //value between 0 and 1
var nativeCoin = {
"dust": 547, //Avoid using BCH tokens - this is actually dust+1
"interestExponent": 22,
"satsPerByte": 1,
"name": 'Membercoin',
"ticker": 'M3M',
"opreturnsize": 4000,
"symbol":'m̈'
}
var bytesForPost=4;
var maxlength=nativeCoin.opreturnsize-bytesForPost;
var maxhexlength=maxlength*2;
var bytesForProfile=4;
var maxprofilelength=nativeCoin.opreturnsize-bytesForPost;
var maxprofilehexlength=maxlength*2;
var bytesForReply=5+32;
var maxreplylength=nativeCoin.opreturnsize-bytesForReply;
var maxreplyhexlength=maxreplylength*2;
var bytesForRating=5+20;
var maxratinglength=nativeCoin.opreturnsize-bytesForRating;
var maxratinghexlength=maxratinglength*2;
//var maxhexlength=368; //memo - 184*2, doge 76*2
var whitespacebreak=20; //how many chars to go back to look for whitespace to break
//These should probably all go in a single config object
var settings = {
"showyoutube": "true",
"showimgur": "true",
"showtwitter": "true",
"showlbry": "true",
"showbitclout": "true",
"shownonameposts": "false",
"shownopicposts": "true"
};
var dropdowns = {
"contentserver": "https://member.cash/v2/member.js",
"txbroadcastserver": "https://member.cash/v2/",
"mcutxoserver": "https://member.cash/v2/",
"imageuploadserver": "https://member.cash/v2/",
"languageselector": "en",
"contentnetwork": -1
};
var numbers = {
"defaulttip": 1000,
"oneclicktip": 0,
"maxfee": 2,
"results": 25,
"usdrate": .50
}
//Google Analytics
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-243798555-1');