lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
· 1285 views#0

An account system in a forum is usually the most inconspicuous thing—you log in countless times and barely notice it. But it is precisely the foundation of the community: who can enter, with what identity, whether you can recover a lost account, and whether your accumulated contributions count—all of this rests on this layer.

In this article, let's talk about what your account means in N.HT.

1. Entry: Invitation-only, but with a few open paths

N.HT is invitation-only—you need an invitation code to register. Every new member comes in with a layer of "referral by an acquaintance," which helps maintain the community atmosphere.
But the biggest fear of invitation-only systems is "good people who want to join can't get in." So for those who don't have an invitation code at hand, we've left a self-service path:

GitHub: If you have a GitHub account that's been around for a while (must meet a minimum account age), you can log in directly with it. No invitation code? No problem—just answer a set of community knowledge questions correctly and you'll get a time-limited invitation code to complete registration.
Telegram: Same idea—our bot will guide you through a short quiz, and if you answer correctly, you'll get a code to enter.

2. Login: Four methods, one entry point

The login page is a clean single page, offering four methods side by side—just use whichever is most convenient for you:

Password: Use your username or email plus password. The most basic method.
GitHub: One-click authorization, and you're logged in when you return. Existing users can also link their GitHub account in settings for an extra login method.
Telegram: Once linked, you can log in by clicking in Telegram or scanning a code.
Magic Link: Forgot your password? No problem—enter your username or email, and we'll send a one-time login link to your email. Click it to log in.
2FA: If your account is important, you can enable two-factor authentication (2FA).

3. Account Security: Control is in your hands

When it comes to account security, just "don't leak your password" isn't enough. N.HT puts as much control in your hands as possible:

Login records: In settings, there's a session list showing all your current logins. If something looks suspicious, you can kick that session off individually, or log out of all other devices with one click.
Change password: Whether you change your password yourself or reset it via email, all previous logins will be invalidated.
Unfamiliar login: When you log in from a new device or location, you'll receive a security alert.
Re-verification: For sensitive actions like changing your password, email, or disabling features, you'll be asked to re-enter your password (and a dynamic code if 2FA is enabled). Once verified, you won't be asked again for a short period.

4. Growth System: Making "seriousness" visible

Browsing forums can be addictive, and communities often have two types of users—both are important, and NHT has designed different growth paths for them.

Active Members: Like to interact and participate, and are enthusiastic about helping others in the community. These users can quickly accumulate contribution points, level up, enjoy more privileges, and continue to have an impact in the community;
Lurkers: Prefer to quietly read posts without speaking up, but still seriously absorb the community's content and silently contribute to its growth. In traditional communities, these users are often overlooked and feel the least sense of belonging. For them, we've added a reading growth system and an automatic check-in growth system—NHT remembers the contributions of lurkers in a gentler way.

Points are tied to your account, but there are safeguards so that inviting friends won't cause your points to drop so much that it affects your account usage.

Smooth leveling: The upgrade and downgrade thresholds are separate. You won't instantly drop a level just because you spent some points.
Negative points allowed: Points can be deducted, but negative points won't freeze your basic functions—you can still read, post, reply, and check in as usual.
Invitation and responsibility: But invitations in N.HT aren't just "handing out codes at random"—they come with responsibility: you'll get a points reward for successfully inviting a newcomer; but if the person you invite quickly gets banned for serious violations, you'll also lose points, and any unused codes under your name will be revoked.
Badges: There are also badges in the community, which you can wear as an identity card, displayed as an icon on your avatar. The first one is the "mjj" host expert certification—earned by answering questions in the site. (Currently, this is the only one)


You really can't tell how good an account system is on a daily basis—the better it's done, the less you notice it. All the effort N.HT puts into this layer is ultimately for one thing: to let you stay here and tinker with peace of mind, using an identity that truly belongs to you.

SIGN还在折腾技术的老登!
mjj
mjj Lv1
#1

Thank you, boss. What program is this?

lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#2
Reply @mjj #1

This is self-developed, with Go as the core, and Rust is used as the gateway to replace Nginx.

SIGN还在折腾技术的老登!
大大怪将军B
大大怪将军 SVIP Merchant
SyncArk·星刻 · sl.al
#3

This program is pretty good. It includes quite a few features, and it even has DNS resolution.

SIGN全球CDN免费图床:https://pic.sl.al
lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#4
Reply @大大怪将军 #3

Well, for DNS resolution, I've currently found 4 pretty hardcore anti-DDoS providers.

Using anycast to connect to dozens of backend nodes in Asia, Europe, and North America. In actual use, the latency and stability are both pretty good.
But the glue records for external use are slow to take effect because the domain registrar is responding very slowly. My NS glue records for external use still haven't taken effect. The ones currently working are still the ones from the test provider.

SIGN还在折腾技术的老登!
大大怪将军B
大大怪将军 SVIP Merchant
SyncArk·星刻 · sl.al
#5
Reply @lovesmenot #4

It seems like there are no notification alerts when someone replies? (Mobile version)
But there are email notifications.

SIGN全球CDN免费图床:https://pic.sl.al
lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#6
Reply @大大怪将军 #5

Well, email notifications and TG notifications can be turned on and off by default: https://n.ht/settings.html?sub=notifications
There are also alerts on mobile, just like on PC, but the notification button is hidden pretty deep and not easy to find.
I’ll think about how to make notifications pop up in the browser.

SIGN还在折腾技术的老登!
lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#7

I just tested it, and currently notifications work on mobile, but only on the homepage.
IMG_6548

SIGN还在折腾技术的老登!
大大怪将军B
大大怪将军 SVIP Merchant
SyncArk·星刻 · sl.al
#8
Reply @lovesmenot #7

Do I need to turn on a switch? Because by default, I don't seem to get any notifications here. Chrome iOS

SIGN全球CDN免费图床:https://pic.sl.al
lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#9
Reply @大大怪将军 #8

Mine is also Chrome iOS
On the homepage, there are notifications like Discuz and Discourse, such as "1 new post has a new reply."

SIGN还在折腾技术的老登!
大大怪将军B
大大怪将军 SVIP Merchant
SyncArk·星刻 · sl.al
#10
Reply @lovesmenot #9

It's strange, I just don't have it 😅

IMG_7207.png

SIGN全球CDN免费图床:https://pic.sl.al
Login