mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #6762] [Question]: user remarks are wrong? #4506
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4506
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheAstro9aut on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6762
What are you trying to do?
[
]
I don't understand why are user remarks on each inbound like only the user's name like the pic above. While it should be what the remark is when the subscription is added like the inbounds remark and users remark or inbounds name atleast. It's also the same when i want to copy configs from the panel it shows only user's name. While the remark should be inbounds like when the subscription is added or inbounds name and user's name
What have you already tried?
No response
3x-ui version
3.9.0
How did you install 3x-ui?
install.sh script
Operating system
No response
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Oct 7, 2026):
On v3.9.0 the link name already includes the inbound's remark by default. If you see only the user's name, then either the inbound has no Remark, or the panel's Remark Template setting was changed so it no longer contains
{{INBOUND}}. Either one is a setting you can change; it is not a defect.I can't open images, so I couldn't read your screenshot. The answer below comes from the source.
How the name after
#is builtThe link name (the text after
#) comes from one template, theremarkTemplatesetting. Its default is ininternal/web/service/setting.go:41:{{INBOUND}}is the inbound's Remark field and{{EMAIL}}is the client's email (the user name). When a token comes out empty, the-next to it is dropped too. So an inbound with an empty remark gives a link named only after the user. A test pins this behaviour,TestExpandRemarkVars_DropsHyphenBetweenEmptyTokensininternal/sub/remark_vars_test.go:119and:127:The QR code and copy-link views (
internal/sub/remark_vars.go:664) keep only the name part of the template and remove the traffic and days tokens. With the default template they still show<inbound remark>-<email>.What to check
Germany. Your links will then be namedGermany-<user>.{{INBOUND}}. If it reads just{{EMAIL}}, change it back to the default: Other tokens are also available, for example{{HOST}},{{PROTOCOL}}and{{TRANSPORT}}. They're listed at https://github.com/MHSanaei/3x-ui/blob/main/docs/content/docs/en/config/share-links.mdx#remark-template-variablesAfter saving, refresh the subscription in your client app.
If both look right (the inbound has a remark and the template contains
{{INBOUND}}) and you still see only the user name, please reply with:With those three I can trace the exact code path.
Verdict: Not a bug (user configuration)
This reply was generated automatically; a maintainer may follow up.
@TheAstro9aut commented on GitHub (Oct 10, 2026):
Okay this is the information for the sub link Which applies to the sucks dummy: 👤️: {{EMAIL}} | 📊: {{TRAFFIC_LEFT}} | ⏳: {{DAYS_LEFT}}D
This is the config that is imported to the client i which i exported from there. Here everything is fine user stats are showed in the subscription link as a dummy socks and other configs have inbounds name: vless://-@example.top:2052?encryption=mlkem768x25519plus.xorpub.0rtt.vmaAVWpf_lRJheIeVbL4NOB2LhQ2YEZjxKSxMWOUFi_IOZb43Z0a1RGhgpAjmsiHCsfHdFJHhiXK5TPlVEggUNUL8eN4wG6tiK-KxN8IQKc7TvCAZQEQDfBRTSD8tE0HbeM2iQmn-Rqj-BufIy1fWRx-NCBzRW9w9phIIGaWrI4Y6ZWcfABugQ5HNo_C8JDOpY4InSLDPJ5DFg5GCS7-gE7hLEdhTK3adJw9FOxUlgGhNbO93yA-ii8Quue0iA3IbETO5RjZlm2w-B-ZGU7KARhcTOxZWCCeJFFNxlVFVAfjfiB-NWW07uHfdF8rDHDL-TOEYq_OIaEV9sPfTCXG_y9JysvXLUPk0xI3SyqD8mZcvMiCIm0Ejm14_ITMVBi4TMvFit9HzrEhXINGeegvmtw53eAeBFRz_MRXfkbRBoNEWXLCnJ6x9aMizNt_wcYP0TI9xBzfBqly_x8AgJubtrPLCZ7eJC8QFZDZdM4ZqBokcU9OAkcdlwvc3eyhlNKzpZcdCiGh6wbe1hiOkOBH9E7HJM9oVqQi2VFWWGvnMM86qVqZwG56pDBgRGYnlYpiRO4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A8bAxiPam4zGAj1QEgUjWYf4hsdnZa-LBvOKWtUEUwkduQ-ZOFec7yohfijAm6eR136dM8fBex1l9UJO8dLKz4lg9h8p4zzWuGBXHkURfTHB3cZGO25syzwaDFJQMWhHHZIR3huPKq_hnOsC5l0qOVDy4Tjefz3WmWOFU2MgbbjKwFrSRwAWqajkyN9eH-EgZpjZPwgGllHQsRNHDgrg0NMx_0ZYQ0XNFEBh01yGXF4PJ7dBaGdsvuHrE6aUXCWGn3BwcabUvAoc06jVRqgyuP3hT7iiqhJIOirrDoQwPB0wK0tjHLmKkE5FTZWcC30MyJwNx-Lp7J8iRRmZ7J0WJbOCHUlQuBiQ227yJuLMTmhN9HdGBq_B2fMU0CYSDS8Ri5YA8gTWTduEqbIGhZ-KeVDEM8NERv9BOqRENzKJFeKoBJpPLCoC1QJI8vSinfFSlPMTGZ0s3OnsfPEC25daPr-WQPtougzdO2OujWDaD2Ryjs0BC9pcN5vysj3hll-a8lXZdHquUAjyL7aiqg4OUjvO1PJ0IFBKxXc7ah-8Q-f8UaMfsZ39ip1bAsVgbvPi2UjY&headerType=&type=tcp#%F0%9F%87%A9%F0%9F%87%AA%20Germany
All inbounds in subscription's web page and panel are copied like this : 👤️: {{EMAIL}}
Only when imported using the sub itself it's fine