FKB Pro - Social theme

Sorry :pensive: Birdaha olmazā€¦

Hello, I think this code is for the input in the header section.

My site is only for members, when the guest enters, it redirects to the login section, I need the code for that, how should we add it, thank you.

2 Likes

Hello,

Yeah the previous one is for the header signup button. :slightly_smiling_face: I think in this case the easiest way is to override the core template to add icon. We can do it with plugin outlet too but I think on this page it doesnā€™t really matter because if we use plugin outlet then we have to create new buttons and hide the default buttons section.

You can delete the previous version component what you created because that is not relevant and wonā€™t solve your problem.


I made a simple theme component what you can install. I added some settings where you can change these buttons icons (Sign Up and Log In).

2 Likes

Thank you very much, good work, I congratulate you, I wish you success :+1:

1 Like

Hey dom, thank you very much, itā€™s working smoothly, good luck to you.

I have one more question, users want to turn off the theme option, how can I turn it off, choosing a theme in the settings is turned off, but the user chooses themes in her profile, how can I turn this option off.

1 Like

Ok, I found it, sorry for bothering you, thank you very much for everything.

There is a shift in the usernames for your information, the username is a little above

1 Like

@Don How do I pull in different logos for the theme? For exampleā€¦ a mobile logo?

EDIT: I forgot to addā€¦ this is an awesome themeā€¦ thank you!

2 Likes

You would have to export theme & download or download it from github.

Your better to use a component to augment the theme vs forking the theme. As with forking you would need to keep it upto date yourself if any changes cause breakage.

Just make a component called something like Fakebook extension snd put your mod/overrides.

2 Likes

Hello, you can add logos under branding in site setting: Customize Your Site Branding

2 Likes

Okā€¦ I think I figured out my real problem. I will try to explain. I use the light color themeā€¦ but I change the header to black. The desktop header background is controlled by the ā€œheader backgroundā€ colorā€¦ but if I open it on a mobile phoneā€¦ the header background is actually controlled by the ā€œsecondaryā€ color.

EDIT: I think I figured it out. I created a component and added this to the mobile cssā€¦

.d-header {
  background-color: var(--header_background) !important;
}
2 Likes

Hey @falcon9, Thanks for pointing out, I see now. Iā€™ve removed the unnecessary background color from mobile header. Please update the theme. :slightly_smiling_face:

2 Likes

Awesomeā€¦ thank you very much!

Is there anyway to add a ā€œfeatured imageā€ similar to Wordpressā€¦ orā€¦ is it possible to make the theme search the entire topic (beyond the first post) until it finds an image to use?

1 Like

Sure, with other component. For example, you can try this:

2 Likes

The theme already does this by itself. Iā€™m just looking for a way to control it more. I am looking for it to go beyond the first post to search for images / media or have a place to upload a ā€œfeatured imageā€ that it would default to.

1 Like

Really? Then I stand corrected. I thought it came from TLP because it is active at my forum.

Edit:

Iā€™m totally hopeless :man_facepalming: I had to check do I use TLP or not with FKB Pro. And Iā€™m not.

So, letā€™s forget Iā€™m even visited here everā€¦

(And now I understand what you are after ā€” but could TLP fix that need, or would there be somekind conflict then because of overlapping functionality?)

2 Likes

No @Jagster you were correct. :+1:

TLP does provide a control to choose which image.

Iā€™ve never installed the sidecar plugin with another Theme, but it might work ā€¦

3 Likes

Yeah, you right this theme is use the first image as thumbnail from the OP. So you canā€™t choose it manually. However, it is good to know it works with TLP :slightly_smiling_face:

2 Likes

Okā€¦ so there are two different components like thisā€¦ I was using this oneā€¦

Iā€™ll have to test yours out and see.

1 Like

With the Topic List Thumbnails thereā€™s this:

This only works for the OP AFAIK. I think the same applies to the TLP sidecar, but I may be wrongā€¦ Yeah, sorry, itā€™s in the description some posts above: you can pick one image from the entire topic with the TLP sidecar.

2 Likes

Hello,

Iā€™ve merged an update to the theme. :slightly_smiling_face:

This update contains:

  • split up SCSS into multiple files
  • slightly new sidebar style
  • fix some UX issue on user pages (new user navigation style)
  • move avatar size from head_tag <script type="text/discourse-plugin" block to javascript initializer
  • change narrow desktop width to 1000px (on desktop menu panels change to mobile menu panels)
  • remove most of the chat style (it needs some love as lots of thing changed in core)

Topic List

User page

5 Likes