Added the new features to the README.

This commit is contained in:
Azareal 2016-12-08 14:24:19 +00:00
parent 12abd657e1
commit 5296cc0b14
2 changed files with 9 additions and 1 deletions

View File

@ -10,6 +10,12 @@ Basic Forum Functionality
Custom Pages 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 # Dependencies
@ -25,9 +31,11 @@ Instructions on how to do so on Linux: https://downloads.mariadb.org/mariadb/rep
**Run the following commands:** **Run the following commands:**
go get github.com/go-sql-driver/mysql go get github.com/go-sql-driver/mysql
go install github.com/go-sql-driver/mysql go install github.com/go-sql-driver/mysql
go get golang.org/x/crypto/bcrypt go get golang.org/x/crypto/bcrypt
go install 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. 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.

View File

@ -73,6 +73,6 @@ func preparse_message(msg string) string {
func parse_message(msg string) string { func parse_message(msg string) string {
msg = strings.Replace(msg,":)","😀",-1) msg = strings.Replace(msg,":)","😀",-1)
msg = strings.Replace(msg,":D","😃",-1) msg = strings.Replace(msg,":D","😃",-1)
//msg = shortcode_to_unicode(msg) msg = strings.Replace(msg,":P","😛",-1)
return strings.Replace(msg,"\n","<br>",-1) return strings.Replace(msg,"\n","<br>",-1)
} }