Skip to content

Commit d8e8b1b

Browse files
Restore Old Comments
1 parent 6053752 commit d8e8b1b

18 files changed

+6950
-0
lines changed

HelloMarioEngine/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ <h2>Comments</h2>
372372
</div>
373373
<hr>
374374
<div class="centered giscus"></div>
375+
<div class="text-center"><a href="../wiki/Disqus.html#Hello Mario Engine">View Old Comments</a></div>
375376
<hr>
376377
</div>
377378
</section>

HelloMarioFramework/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ <h2>Comments</h2>
289289
</div>
290290
<hr>
291291
<div class="centered giscus"></div>
292+
<div class="text-center"><a href="../wiki/Disqus.html#Hello Mario Framework">View Old Comments</a></div>
292293
<hr>
293294
</div>
294295
</section>

IsekaiMario/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ <h2>Comments</h2>
550550
</div>
551551
<hr>
552552
<div class="centered giscus"></div>
553+
<div class="text-center"><a href="../wiki/Disqus.html#Isekai Mario">View Old Comments</a></div>
553554
<hr>
554555
</div>
555556
</section>

wiki/Disqus.html

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
6+
<meta charset="utf-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
<meta name="author" content="Hello Fangaming">
10+
<meta property="og:title" content="Disqus Comments" />
11+
12+
<title>Disqus Comments - Hello Fangaming</title>
13+
14+
<!-- Bootstrap Core CSS -->
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha512-Dop/vW3iOtayerlYAqCgkVr2aTr2ErwwTYOvRFUpzl2VhCMJyjQF0Q9TjUXIo6JhuM/3i0vVEt2e/7QQmnHQqw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
16+
<link rel="shortcut icon" href="/favicon.ico">
17+
18+
<!-- Wiki CSS -->
19+
<link rel="stylesheet" href="styles_wiki.css">
20+
21+
</head>
22+
23+
<body>
24+
25+
<!-- Navigation -->
26+
<nav id="top" class="navbar navbar-default" role="navigation">
27+
<div class="container">
28+
<!-- Brand and toggle get grouped for better mobile display -->
29+
<div class="navbar-header">
30+
<a class="navbar-brand" href="/wiki/"><img src="../img/hf/hf_emblem_white.svg" class="hf-icon"></img> Hello Fangaming</a>
31+
</div>
32+
</div>
33+
<!-- /.container -->
34+
</nav>
35+
36+
<!-- Page Content -->
37+
<div class="container fullheight">
38+
39+
<ol class="breadcrumb">
40+
<li><a href="/wiki/">Wiki</a></li>
41+
<li><a href="/wiki/#other">Other</a></li>
42+
<li class="active">Disqus Comments</li>
43+
</ol>
44+
45+
<!-- Item Heading -->
46+
<div class="row">
47+
<div class="col-lg-12">
48+
<h1 class="page-header">Disqus Comments</h1>
49+
<p>Disqus was used as the comments system on the Hello Fangaming website between 2016-2025. You can see old comments posted using the Disqus comment system here.</p>
50+
</div>
51+
<div class="col-lg-12 text-center">
52+
<select id="thread_selector"></select>
53+
<hr>
54+
</div>
55+
<div id = "comments_container" class="col-lg-12">
56+
<div class="panel panel-default">
57+
<div class="panel-heading"></div>
58+
<div class="panel-body"></div>
59+
</div>
60+
</div>
61+
</div>
62+
<!-- /.row -->
63+
64+
</div>
65+
<!-- /.container -->
66+
67+
<div style="padding: 1.5em;"></div>
68+
69+
<!-- Footer -->
70+
<footer>
71+
<div class="container">
72+
<div class="row footer-in">
73+
<div class="col-lg-12">
74+
<p class="pull-right"><a class="glyphicon glyphicon-chevron-up smoothscroll" href="#top"></a></p>
75+
<p><strong>2006-<script>var d = new Date(); document.write(d.getFullYear());</script> Hello Fangaming</strong></p>
76+
</div>
77+
</div>
78+
</div>
79+
</footer>
80+
81+
<!-- jQuery -->
82+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js" integrity="sha512-DUC8yqWf7ez3JD1jszxCWSVB0DMP78eOyBpMa5aJki1bIRARykviOuImIczkxlj1KhVSyS16w2FSQetkD4UU2w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
83+
84+
<!-- Bootstrap Core JavaScript -->
85+
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha512-oBTprMeNEKCnqfuqKd6sbvFzmFQtlXS3e0C/RGFV0hD6QzhHV+ODfaQbAlmY6/q0ubbwlAM/nCJjkrgA3waLzg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
86+
87+
<!-- Global site tag (gtag.js) - Google Analytics -->
88+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2M3SSEVX2Y"></script>
89+
<script>
90+
window.dataLayer = window.dataLayer || [];
91+
function gtag(){dataLayer.push(arguments);}
92+
gtag('js', new Date());
93+
gtag('config', 'G-2M3SSEVX2Y');
94+
</script>
95+
96+
<!-- Smooth Scroller -->
97+
<script>
98+
$(function() {
99+
$('.smoothscroll').click(function() {
100+
var target = $(this.hash);
101+
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
102+
if (target.length) {
103+
$('html,body').animate({
104+
scrollTop: target.offset().top
105+
}, 500);
106+
return false;
107+
}
108+
});
109+
});
110+
</script>
111+
112+
<!-- Disqus Comments Loader -->
113+
<script type="text/javascript">
114+
var threads = undefined;
115+
var posts = undefined;
116+
//Update comments
117+
var update = function(id) {
118+
window.location.hash = threads[id].title;
119+
$('#comments_container').empty();
120+
var thread_id = threads[id].dsq_id;
121+
$.each(posts, function(index, value){
122+
if (value.thread.dsq_id===thread_id){
123+
$('#comments_container').append($('<div class="panel panel-default"><div class="panel-heading"><strong>'
124+
+value.author.name
125+
+'</strong><span class="text-muted" style="float:right;">'
126+
+value.createdAt.substring(0,10)
127+
+'</span></div><div class="panel-body">'
128+
+value.message
129+
+'</div></div>'));
130+
}
131+
});
132+
}
133+
//Start
134+
$( document ).ready(function() {
135+
//JSON LOAD
136+
var default_id = 0;
137+
$.getJSON("disqus.json", function(result){
138+
threads = result.disqus.thread;
139+
posts = result.disqus.post;
140+
$.each(threads, function(index, value){
141+
$('#thread_selector')
142+
.append($("<option></option>")
143+
.attr("value",index)
144+
.text(value.title));
145+
if (location.hash.replaceAll('%20',' ')=="#"+value.title) default_id = index;
146+
});
147+
});
148+
setTimeout(function(){ update(default_id); $("#thread_selector").val(default_id);}, 100);
149+
//Select Update
150+
$("#thread_selector").change(function(){
151+
update($(this).val());
152+
});
153+
});
154+
</script>
155+
156+
</body>
157+
158+
</html>

wiki/FAQ.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ <h1 class="page-header">Frequently Asked Questions</h1>
113113
<div class="col-lg-12">
114114
<h1 id="other" class="page-header">Comments</h1>
115115
<div class="col-xs-12 giscus"></div>
116+
<div class="col-xs-12 text-center"><a href="Disqus.html#Frequently Asked Questions">View Old Comments</a></div>
116117
</div>
117118
</div>
118119
<!-- /.row -->

wiki/Mario Editor.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ <h1 id="other" class="page-header">Comments</h1>
150150
<strong>Note:</strong> Mario Editor is considered a complete game and is no longer receiving updates. All feature requests will be ignored.
151151
</div>
152152
<div class="col-xs-12 giscus"></div>
153+
<div class="col-xs-12 text-center"><a href="Disqus.html#Mario Editor">View Old Comments</a></div>
153154
</div>
154155
</div>
155156
<!-- /.row -->

wiki/Mario's Journey.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ <h1 class="page-header">Trivia</h1>
8282
<div class="col-lg-12">
8383
<h1 id="other" class="page-header">Comments</h1>
8484
<div class="col-xs-12 giscus"></div>
85+
<div class="col-xs-12 text-center"><a href="Disqus.html#Mario's Journey">View Old Comments</a></div>
8586
</div>
8687
</div>
8788
<!-- /.row -->

wiki/Shroom Editor.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ <h1 class="page-header">Logo</h1>
124124
<div class="col-lg-12">
125125
<h1 id="other" class="page-header">Comments</h1>
126126
<div class="col-xs-12 giscus"></div>
127+
<div class="col-xs-12 text-center"><a href="Disqus.html#Shroom Editor">View Old Comments</a></div>
127128
</div>
128129
</div>
129130
<!-- /.row -->

wiki/Super Mario Bros Game Master.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ <h1 class="page-header">Trivia</h1>
8888
<div class="col-lg-12">
8989
<h1 id="other" class="page-header">Comments</h1>
9090
<div class="col-xs-12 giscus"></div>
91+
<div class="col-xs-12 text-center"><a href="Disqus.html#Super Mario Bros: Game Master">View Old Comments</a></div>
9192
</div>
9293
</div>
9394
<!-- /.row -->

wiki/Super Mario Bros Mushroom Journey.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ <h1 class="page-header">Trivia</h1>
8080
<div class="col-lg-12">
8181
<h1 id="other" class="page-header">Comments</h1>
8282
<div class="col-xs-12 giscus"></div>
83+
<div class="col-xs-12 text-center"><a href="Disqus.html#Super Mario Bros: Mushroom Journey">View Old Comments</a></div>
8384
</div>
8485
</div>
8586
<!-- /.row -->

0 commit comments

Comments
 (0)