lovesmenotmjj
lovesmenot Admin OP
· 144 views · OP lovesmenot edited the topic ·

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

Thank you, boss. What program is this?

lovesmenotmjj
lovesmenot Admin OP
Reply @mjj #1

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

SIGN还在折腾技术的老登!
Login