From 4811c7a0e3e46fd7876ab2d34ff97f4fc3ed474c Mon Sep 17 00:00:00 2001 From: Akif9748 Date: Fri, 26 May 2023 19:55:45 +0300 Subject: [PATCH] Delete -forum from forum name --- README.md | 5 ++--- config.json.example | 4 ++-- src/routes/register.js | 2 +- src/themes/bootstrap_black/views/extra/meta.ejs | 2 +- src/themes/bootstrap_black/views/extra/navbar.ejs | 2 +- src/themes/bootstrap_black/views/index.ejs | 2 +- src/themes/common/views/extra/navbar.ejs | 2 +- src/themes/common/views/index.ejs | 2 +- src/themes/common/views/setup.ejs | 5 ++--- src/themes/default_black/views/extra/meta.ejs | 2 +- src/themes/default_white/views/extra/meta.ejs | 2 +- src/themes/xenforo/views/error.ejs | 2 +- src/themes/xenforo/views/extra/meta.ejs | 10 +++++----- src/themes/xenforo/views/extra/navbar.ejs | 2 +- src/themes/xenforo/views/index.ejs | 2 +- src/themes/xenforo/views/thread.ejs | 2 +- 16 files changed, 23 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 193b0c4..231cee4 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ permissions: ["see_deleted_message"] ``` #### Fixes: -- delete -forum from forum name - Admin deleting other admins. - send public to common/public @@ -76,8 +75,8 @@ permissions: ["see_deleted_message"] - add ban button to user profile #### Fixes: -- BETTER SETUP PAGE -- better user.ejs +- BETTER SETUP PAGE: use setup everytime +- better user.ejs: https://github.com/mdbootstrap/bootstrap-profiles - add threads, messages etc. to extra folder - add category to threads - working reset button diff --git a/config.json.example b/config.json.example index 1fca741..b738ec6 100644 --- a/config.json.example +++ b/config.json.example @@ -3,8 +3,8 @@ "codename": "bootstrap_black", "language": "en" }, - "forum_name": "akf", - "description": "Akf-forum!", + "forum_name": "akf-forum", + "description": "Akf-forum offical site!", "limits": { "title": 128, "message": 1024, diff --git a/src/routes/register.js b/src/routes/register.js index 29995c9..525928d 100644 --- a/src/routes/register.js +++ b/src/routes/register.js @@ -43,7 +43,7 @@ app.post("/", RL(24 * 60 * 60_000, 5), async (req, res) => { to: email, subject: name + ", please verify your email", html: ` -

Verify your email in ${forum_name}-forum

+

Verify your email in ${forum_name}

Click here to verify your email ` }, (err) => { diff --git a/src/themes/bootstrap_black/views/extra/meta.ejs b/src/themes/bootstrap_black/views/extra/meta.ejs index f639d2f..dc77660 100644 --- a/src/themes/bootstrap_black/views/extra/meta.ejs +++ b/src/themes/bootstrap_black/views/extra/meta.ejs @@ -1,7 +1,7 @@ - <%= title || dataset.forum_name +"-forum" %> + <%= title || dataset.forum_name %> diff --git a/src/themes/bootstrap_black/views/extra/navbar.ejs b/src/themes/bootstrap_black/views/extra/navbar.ejs index 085ee49..cb1af6d 100644 --- a/src/themes/bootstrap_black/views/extra/navbar.ejs +++ b/src/themes/bootstrap_black/views/extra/navbar.ejs @@ -11,7 +11,7 @@ - <%= dataset.forum_name.toUpperCase() %>-FORUM + <%= dataset.forum_name.toUpperCase() %>