Discourse Bars 🍻 🍸 (a sidebar framework)

Love it! :heart: thanks very much @Arkshine that’s extremely helpful. Merged!

4 Likes

In other news, the User Locations map from the Locations Plugin is now compatible with Bars.

This is best place on Top like so:

image

But you need to set the height in Theme CSS yourself, like so:

.component-widget {
    .locations-map {
        height: 400px;
        button.map-expand {
            display: none;
        }
    }
}

known issue: expand needs work or hidden hence the above CSS.

2 Likes

I’ve just added support for the 3.3.x feature of custom homepages, so you can stipulate widgets you want to appear on the home page:

So you can now lay out a Homepage like this:

2 Likes

See this change: I’ve had to remove the modifier so it is optional, otherwise all installs of Bars are forced to have a homepage, even if they don’t want one.

Add the modifier instead to the parent Theme or another TC when you need it.

The rest of the logic remains.

3 Likes

thanks.
i tried it but although i delete default blocks they were still there.

1 Like

You have to confirm changes in two places, once on the dialogue and again by the setting name. That’s an idiosyncrasy of Discourse core Theme settings, not Bars.

2 Likes

fixed. is it work with adsense code?

because ads do not load but they load with right side blocks.

1 Like

I don’t see any reason why not. Let me know what you come up with.

1 Like

block is there but blank.

2 Likes

You will need to dig into why or hire someone to help you.

2 Likes

A special thanks to @merefield . He helped me and fixed the problem.

3 Likes

I’ve slightly changed the layout and icons for the sidebar buttons:

image

image

I believe the collapse/expand makes a lot more sense now :sweat_smile:

4 Likes

One negative effect of using this TC was that the Docked Topic Progress control would no longer expand when clicked.

This is now fixed:

1 Like