From 5296cc0b14bc07a0c4e225b6a641f0304e36c1a7 Mon Sep 17 00:00:00 2001 From: Azareal Date: Thu, 8 Dec 2016 14:24:19 +0000 Subject: [PATCH] Added the new features to the README. --- README.md | 8 ++++++++ pages.go | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14b776dd..c7aadffa 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,12 @@ Basic Forum Functionality Custom Pages +Emojis + +In-memory static file, forum and group caches. + +A profile system including profile comments and moderation tools for the profile owner. + # Dependencies @@ -25,9 +31,11 @@ Instructions on how to do so on Linux: https://downloads.mariadb.org/mariadb/rep **Run the following commands:** go get github.com/go-sql-driver/mysql + go install github.com/go-sql-driver/mysql go get golang.org/x/crypto/bcrypt + go install golang.org/x/crypto/bcrypt Tweak the config.go file and put your database details in there. Import data.sql into the same database. Comment out the first line (put /* and */ around it), if you've already made a database, and don't want the script to generate it for you. diff --git a/pages.go b/pages.go index 1c925b03..5c787dc4 100644 --- a/pages.go +++ b/pages.go @@ -73,6 +73,6 @@ func preparse_message(msg string) string { func parse_message(msg string) string { msg = strings.Replace(msg,":)","😀",-1) msg = strings.Replace(msg,":D","😃",-1) - //msg = shortcode_to_unicode(msg) + msg = strings.Replace(msg,":P","😛",-1) return strings.Replace(msg,"\n","
",-1) } \ No newline at end of file