仿Facebook主题

||||
-|-|
:discourse2: | 摘要 | Fakebook - 我稍微花了一点心思来展示我们主题系统的灵活性。这个布局看起来可能有点眼熟 :wink:
| :eyeglasses: | 预览 | 在 Discourse Theme Creator 上预览 |
:hammer_and_wrench: | 仓库链接 | https://github.com/discourse/Fakebook
:open_book: |初次使用 Discourse 主题? | Discourse 主题使用新手指南

安装此主题

功能

该主题包含一个导航侧边栏,以及一个展示部分用户个人资料信息的侧边栏。如果主题包含图片,主题列表将显示预览。所有主题都将显示主题摘要。

带有主题摘要的预览:

在主题设置中,您可以找到一些隐藏侧边栏内容或切换侧边栏位置的选项。

我建议在此主题中使用“仅分类”页面布局,因为主列的空间非常有限。

设置

| 名称 | 描述
|-|
| 侧边栏对齐方式 |
| 侧边栏显示简介 |
| 侧边栏显示点赞 |
| 侧边栏显示徽章 |

| 翻译 | 默认值
|-|
| sidebar.welcome | :hugs: 欢迎
| sidebar.back | 返回,
| sidebar.welcome_subhead | 很高兴你在这里!
| sidebar.likes_header | 分享爱心
| sidebar.badges_header | 您的顶级徽章
| sidebar.full_profile | 查看您的完整资料


:discourse2: 由我们托管? 主题在我们的标准版、商业版和企业版计划中均可使用。

107 个赞

I still have a few open todos on this one:

Better handling of images in topic list (They indiscriminately pull images from oneboxes if there’s one in the OP, and these don’t work well as previews)

Include sidebars on tag pages (I don’t have a class to differentiate filtered tag pages from the tag directory)

18 个赞

The name is pretty good though :))

14 个赞

nice work :clap: thanks.

for rtl languages, it seems it needs some slight css tweaks for the user avatar as well as comments:

the category drop-down menu, unlike tag drop-down menu, comes into the topic list:

in the topic pages, margins and paddings for post are not tuned for rtl:

8 个赞

Can you change colors?

I want to keep the original color discourae but with this facebook layout

2 个赞

I loooove it!!

Fantastic work @awesomerobot

1 个赞

Fantastic theme! Great work and thanks for sharing :slight_smile:

Really want to implement your theme but I’m getting a bit of an issue with the topic lists. Do you know what could be causing this? Have been combing through admin settings.

Hello!
What is my error theme?

I don’t think that theme supports RTL right now.

5 个赞

Sorry, what is RTL
Thank you!

3 个赞

Your error theme same me, don’t same demo

Does this theme enable all users to easily upload videos? How would they do this?

1 个赞

Right-to-left language

5 个赞

From your previous posts, I know you use the topic list previews plugin. The topic list previews plugin is not compatible with this theme. So you have to decide whether you want to use this theme or the topic list previews plugin. You can’t use both.

14 个赞

Thank joe so much!
I will decide

1 个赞

Thanks! I suspected this also, but disabling the topic list previews plugin doesn’t fix the format errors. Might require a full uninstall of the plugin.

Edit: Adding confirmation, removing the topics list previews plugin does indeed fix the format issues @thaidb and I were experiencing. Simply disabling the plugin did not fix it, at least for me. To uninstall plugins, can just use these instructions: How to completely uninstall / remove a plugin - #6 by jomaxro

4 个赞

Correct, disabling a plugin will remove certain UI elements to use and configure it, it doesn’t block all of the code from the plugin which is picked up during a rebuild.

1 个赞

Would be amazing if this theme supported topic preview images for mobile! :smiley:

1 个赞

Topic previews isn’t an official plugin. Have you considered asking in the plugin topic?

1 个赞

Right yeah, to clarify, I meant that this theme (without plugins) has topic previews for web, but not for mobile. Mobile support would be great.