FKB Pro - 소셜 테마

With FKB Pro and using a link, not buttons by Discourse?

I should tell everything right away… I know, I’m a bad person :man_facepalming:

  • Category lockdown plugin is in use random visitors
  • locked topics are using icon… damn, how can I use those here… well, user-secret (or something, that trenchcoat icon
  • clicking such topic will redirect to /login
  • FKB Pro gives just spinning icon (but it isn’t default right now for obvious reason; after 15 secs it is :wink: )
1개의 좋아요

Yep, it works for me with clicking secret topic and using link too. :slightly_smiling_face: This theme isn’t do anything with these modals only some css modification. Maybe there was just a network lag or something like that? :thinking:

1개의 좋아요

I have decently fast connection, so I don’t believe on lag. But you were using bigger screen. I tried older iPhone and it worked as expected. That means the issue is my iPad.

Strange. Well, hate to say this :wink: but tablets are so rarely used up here, and those closed topics have even lower click rates so I would say… let it be :rofl: It works mostly and that is enough.

Thanks!

2개의 좋아요

Hello, the theme is very successful. If it is made to use the theme as social media, I think you need to overhaul it a little more. There is no need for categories on the social media site, I think it will be better if you make them invisible, thank you for sharing and development.

1개의 좋아요

Hello, when I close the side menu, the page is broken, why?

1개의 좋아요

I think it’s doing it from the browser, I deleted the history, there is no problem, it works very well.

I have another question, there is an icon in the login button, but there is no icon in the register button, how to add an icon to the register button?

2개의 좋아요

I would like to hide view counts at topic cards, and I bet asking here is the fastest and the most reliable way to get a right answer :wink:

Another solution would be hiding totally that box containing likes and views.

1개의 좋아요

That is great if it’s work :slightly_smiling_face:
I think you got the answer here: Add icon to register button - #2 by Lilly

You can do it with some CSS.

Hide views.

.topic-list {
  .main-link {
    .link-bottom-line {
      .views {
        display: none;
      }
    }
  }
}

Hide likes and views.

.topic-list {
  .main-link {
    .link-bottom-line {
      .likes,
      .views {
        display: none;
      }
    }
  }
}
3개의 좋아요

(post deleted by author)

You have to create a new theme component where you can add the modifications you want like this :arrow_down_small:

Ok, I got the code shown, but when we enter the default theme, we can reach the css code part from there, there is no that option in your theme, where can I get it?

I believe Don already answered this question when you asked it previously in the post you deleted. To make changes in addition to the theme, you would need to create a theme component and attach it to your theme(s). There are more detailed instructions in the post Don linked above.

This doesn’t appear to be a question regarding this specific theme though. For more general questions you should use the other topic you created. :+1:

3개의 좋아요

Hello, but I want to find the header part of the theme, not to install components.

How do I get to the header of this theme?

Hello,

You can’t edit directly a remote theme since Restrict editing of remote themes.

Instead of editing it directly you can create a new component what you can attach to the theme.

I assume you want to add an icon to the header signup button.

Follow these steps to achieve it:

  1. Go to /admin/customize/themes/
    Customize → Themes

  2. Click the Components tab and then the Install button

  3. On the popup window click Create new button and type the new component name.

  4. Click Create button.

  5. The component created. Now select FKB Pro theme to activate it.

  6. Click the Edit CSS/HTML button.

  7. Click the Header tab and paste the below code to that section.

<script type="text/discourse-plugin" version="0.8.13">
api.reopenWidget("header-buttons", {
      tagName: "span.header-buttons",

  html(attrs) {
    if (this.currentUser) {
      return;
    }

    const buttons = [];

    if (attrs.canSignUp && !attrs.topic) {
      buttons.push(
        this.attach("button", {
          label: "sign_up",
          className: "btn-primary btn-small sign-up-button",
          action: "showCreateAccount",
          icon: "user"
        })
      );
    }

    buttons.push(
      this.attach("button", {
        label: "log_in",
        className: "btn-primary btn-small login-button",
        action: "showLogin",
        icon: "user"
      })
    );
    
    return buttons;
  }
});
</script>
  1. Click Save
5개의 좋아요

Ok, now I understand, it’s very detailed, thank you very much.

1개의 좋아요

Hi friends,
is the default theme better than the TKP Pro theme, which do you think is more convenient in terms of seo? I am currently using the default theme.??

1개의 좋아요

Matter of taste.

On my forum FKB Pro is default for users, but I’m using more simplifier theme, because I don’t need that much look.

For SEO there is no matter at all.

4개의 좋아요

안녕하세요 @Diyorki,

네, 맞습니다. 기본 테마가 더 좋습니다. 기본 테마를 뼈대(skeleton)라고 생각하면 됩니다. 이 뼈대를 커스터마이징할 수 있죠. 그래서 대부분의 테마는 기본 테마에 단순히 '피부(skin)'를 입히는 역할만 합니다. 사이트를 다르게 보이게 하거나 다른 기능을 추가하고 싶다면 Customization > Theme 또는 #customization:theme-component가 필요합니다. 이러한 테마들은 일반적으로 SEO에 해가 될 수 있는 핵심 기능을 변경하지 않습니다. 물론 단순한 CSS 스타일링으로도 이런 문제가 발생할 수는 있지만, 만약 이런 문제를 발견하신다면 수정해 드릴 수 있습니다. :slightly_smiling_face:

테마를 활성화했을 때 문제가 발생하면 언제든지 기본 테마로 되돌릴 수 있습니다. 기본 테마와 별도로 선택 가능한 테마로 사용할 수도 있습니다. 즉, 사용자는 다양한 테마 중에서 선택할 수 있지만, 사이트의 기본 테마는 여전히 기본(라이트) 테마로 유지됩니다. :slightly_smiling_face:

4개의 좋아요

I didn’t think you would reply so fast :grin: that’s why I love you
diyorki.net
This is my website please let me know if you see any mistakes or errors :slightly_smiling_face:

2개의 좋아요

Hello, Diyor ki :slight_smile:
You’re not using the FKB Pro theme, so your request might be quite off-topic here. :slight_smile:

1개의 좋아요