您好
很遗憾我无法重现此问题。我也在您的网站上试过了,对我来说看起来没问题。
我刚又进行了一些测试,注意到这个问题:429 问题只在我登录时发生。当我退出登录时,问题根本不会出现。所以我认为问题确实出在 FKB Panel 上,与用户信息、用户卡片等有关。
我也可以使用这个主题重现这个“429 (请求过于频繁)”的问题。
你好 ![]()
我们现在将这些获取的数据添加到 sessionStorage,希望这会有所帮助:DEV: Save fetched userDetails and userCardDetails into sessionStorage · VaperinaDEV/fkb-pro-theme@f880e5c · GitHub
大家好 - 我不确定这里是否是发帖的合适地点,因为我有一段时间没来元社区了 - 曾经有一个备受期待但未发布的“主题”,我记得它是在 Discourse 论坛上的一个演示主题。我现在找不到它了,我很想知道这是否就是那个主题?
非常感谢,
Noah
我认为 FKB Pro 不是您想要的那个主题。它是在 2022 年分享的。
我猜您在寻找 Central 主题。
该存储库仍在 Github 上可用,但不确定其维护活跃度如何,因为它从未发布过,仍处于实验阶段。
Bingo!!看起来它是 unlisted。 ![]()
您好,在更新 discourse 后,我遇到了以下错误:
deprecated.js:62 [THEME 506 'FKB Pro theme v2'] Deprecation notice: Accessing `site.mobileView` or `site.desktopView` during the site initialization phase is deprecated. In future updates, the mobile mode will be determined by the viewport size and as consequence using these values during initialization can lead to errors and inconsistencies when the browser window is resized. Please move these checks to a component, transformer, or API callback that executes during page rendering. [deprecated since Discourse 3.5.0.beta9-dev] [deprecation id: discourse.static-viewport-initialization] [info:
每次 Discourse 更新都给 FKB Pro – Social Theme 和 Don 的代码带来了新的挑战。
不!
是!
将分类标题图片恢复到之前的样子。
/* =========================================================
🖼️ 分类标题图片显示优化(Category Heading Logo Fix)
解除 Discourse 默认 aspect-ratio 限制,显示原图比例
Fixes Discourse category heading logo aspect ratio limits
========================================================= */
/*
解除分类标题图片比例限制,让图片以原尺寸显示
Remove aspect ratio restriction so the image displays in its true size
*/
.category-heading__logo.aspect-image {
aspect-ratio: auto !important; /* 移除固定宽高比 / Remove fixed aspect ratio */
width: auto !important; /* 自动宽度 / Auto width */
height: auto !important; /* 自动高度 / Auto height */
display: inline-block !important; /* 内联块显示 / Inline-block display */
overflow: visible !important; /* 避免被裁剪 / Prevent cropping */
}
/*
让图片保持原始比例显示
Ensure the image keeps its original aspect ratio
*/
.category-heading__logo img {
width: 250px !important; /* 原图宽度(可修改) / Original image width (adjustable) */
height: 120px !important; /* 原图高度(可修改) / Original image height (adjustable) */
object-fit: contain !important; /* 保持完整比例不裁剪 / Maintain full ratio without cropping */
border-radius: 6px; /* 可选圆角效果 / Optional rounded corners */
box-shadow: 0 0 4px rgba(0,0,0,0.4); /* 可选阴影效果 / Optional shadow for better visual depth */
}







