mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6864] Suggestion for Optimizing the Placement of Sponsor Ads #4562
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#4562
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 @3094422652 on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6864
Is your feature request related to a problem?
In recent versions of the 3x-ui panel, forced/pop-up sponsor ads have been added to the login page and the home dashboard. This display method is overly intrusive, undermines the server management panel’s originally professional and clean UI, and seriously affects the user experience during daily operations.
Describe the solution you'd like
Remove the ad pop-ups and forced display blocks from the login page and home dashboard. We suggest that sponsor ads be uniformly repositioned and pinned to the bottom of the left sidebar.
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
This ensures stable, long-term exposure for sponsors (supporting the project’s monetization) while avoiding visual obstruction or disruption in users’ core operational areas, achieving a win-win balance between sustaining project development and preserving user experience.
Which parts of the panel would this affect?
Frontend (UI / panel pages)
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Oct 17, 2026):
This is a feature request, not a bug. One thing to know first: the panel did have a sponsor card at the bottom of the sidebar, but the maintainer removed it on purpose in v3.10.2. The cards that are left on the login page and the dashboard are inline cards with a close button. They are not pop-ups or modals. Where sponsors appear is the maintainer's call, so this issue stays open as an enhancement.
What the code does today (default branch, v3.10.2)
Only three sponsor slots are left:
export type SponsorSlot = 'dashboard' | 'page' | 'login';(frontend/src/lib/sponsors.ts:3). The backend accepts only the same three:sponsorSlots = map[string]bool{"dashboard": true, "page": true, "login": true}(internal/web/service/panel/sponsor.go:69).The sidebar slot was taken out in commit
6f1dd0d7"feat(sponsors): drop the sidebar slot and simplify the Sponsors page", which is included in v3.10.2. Its message says: "The sidebar no longer carries a sponsor card. The backend stops serving the "sidebar" slot…" Commitfd7b3559had added it, together with the other slots, in v3.10.0.The cards are drawn inline in the page:
<SponsorSlot slot="login" variant="compact" className="login-sponsor" />(frontend/src/pages/login/LoginPage.tsx:251)<SponsorSlot slot="dashboard" />(frontend/src/pages/index/IndexPage.tsx:217)No
Modalis used anywhere infrontend/src/components/sponsor/.Each card has a close button (
frontend/src/components/sponsor/SponsorCard.tsx:76-85). It hides that card forSPONSOR_DISMISS_MS = 24 * 60 * 60 * 1000, which is 24 hours, per browser (frontend/src/lib/sponsors.ts:6).The sidebar still has a Sponsors menu entry that opens the Sponsors page (
frontend/src/layouts/AppSidebar.tsx:238). It is a link, not a card.Related requests: #6818 asked to hide these cards permanently and was closed as not planned. #6844 and #6856 are still open and ask for an off switch. In #6824 the maintainer wrote: "No opt-out switch or bundling is planned." This issue asks for something different: to move the cards rather than switch them off. It also asks to bring back the sidebar placement that
6f1dd0d7just removed, so I have not closed it as a duplicate.Verdict: Feature request
This reply was generated automatically. A maintainer may follow up.
@sariyan-0 commented on GitHub (Oct 18, 2026):
Honestly, it is very disappointing to get an AD for something that I am hosting myself
@muxue-wang commented on GitHub (Oct 19, 2026):
In the nginx reverse proxy, add the following configuration, and the advertisements can be removed.