Git Product home page Git Product logo

twistedtwigleg / vanilla-bootstrap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kasperisager/vanilla-bootstrap

0.0 0.0 0.0 7.29 MB

Kickstart your Vanilla-powered community forums with a fresh and solid theme that is ready to be customized to your heart's desires.

Home Page: http://vanillaforums.org/addon/bootstrap-theme

License: MIT License

PHP 2.02% CSS 1.61% JavaScript 11.01% Smarty 10.50% Less 74.86%

vanilla-bootstrap's People

Contributors

beckyvb avatar daazku avatar frdmn avatar fredghostkyle avatar kasperisager avatar lungyiing avatar megalomaniak avatar mikegreiling avatar r-j avatar tdopires avatar tigr avatar toothman avatar twistedtwigleg avatar

Watchers

 avatar  avatar  avatar  avatar

vanilla-bootstrap's Issues

Move MItem Category to front of ItemDiscussion.

So this:
DiscussionItem-old
becomes something like this:
DiscussionItem-new-mockup
Note that the latter is just a quick mockup.

  • Re-position item
  • Resize item
  • Bonus task: look into implementing unique colors per category!
  • Implement for other pages listing discussions from a variety of categories.

Sidepanel still missing from some of the pages.

User profile page for an example. There might be others too, might have to try and look through every page, just to make sure. In some cases perhaps its not really necessary though. Would still need to validate that assumption!

GodotDarkly - Remove white input boxes

So I was making some edits to GodotDarkly and I realized we could change the color of the input boxes.

Right now they are white and it does provide nice contrast, but I wonder if it would be better to make the input boxes a darker color.

For example:

Screenshot_2019-05-03 Imgur testing

CSS:

// Make text areas gray with white text, just like how they will be when actually posted.
// (NOTE: Also effects the search bar.)
.InputBox
{
    background-color: @gray; //@gray-lighter;
    color: white;
}

Personally I think it still maintains a nice contrast, albeit not quite as strong, and it looks more like what the end result will look like when posted. It also effects the search bar, for better or for worse, but if we wanted we could probably make it only effect the posting input boxes.

I like either way, but in my opinion the gray is a little easier on the eyes than the white.
Thoughts?

Look into uploading forum images elsewhere

The old Godot Developer forums used a Imgur plugin to handle image uploads, so the server hosting the forums wouldn't also host all of the images the forums uses. This reduces the file storage needed for the forums, with the caveat that these images had to be fetched from a different server.

However, as I mentioned in #13, I couldn't get the Imgur to work with the latest version of Vanilla, and even if the plugin was working, it would still need to be edited to work with the rich post editor.

This means that right now, any/all images uploaded to the forums will go straight to the server.

I doubt my server provider will have an issue for now, and supposedly I have 'unlimited' storage space, but potentially as the forums grow and more images are uploaded, they may have an issue with the amount of storage space the forums take.

That said, I doubt it will become an issue for quite awhile, or maybe it won't be an issue at all. If it becomes an issue, we can deal with it then, but I figure it is good to think ahead.

If anyone finds any alternatives, please post it here so we can look into it!

The advanced editor is not showing up.

I just disabled the rich editor on my localhost, however the advanced editor is not showing up, just a plain text area and no buttons for formatting or anything. Trying to preview the message gives a invisible error message(white text on white background). Might have to open an issue to track it and try and fix that then.

Originally posted by @Megalomaniak in #19 (comment)

Size of profile pictures for YAGA reactions

As mentioned in this thread on the Godot forums, the YAGA reaction icons make seeing the profile picture of the user who reacted difficult, especially for profile pictures with low contrast.

We could solve this by increasing the profile picture size slightly. For example:

GodotForumsBiggerProfilePictureYAGAExample

In the picture above, the profile pictures are scaled to 36 pixels, which might be just a tad large. We could easily scale it down to 32 or 28 while still maintaining better visibility. A downside with increasing the profile size is that the YAGA reactions will take up a bit more space, though most posts/topics don't get too many reactions so I think the change would be minimal for most posts.

Couple of issues with the theme dicovered when tackling #15

As you can see from the image in a post in #15 the issues with the theme now are:

Image

CategoryLable_20190404_Mega

  • Fix: Topic title breaks into new line causing the list item to become taller.
  • Fix: Topic metadata/details and tags are too lock breaking into new line...

Fix for topic title is simple, if it's too long: truncate and add ellipsis to the end. Should probably also make hover show the full title then as alt-text.

The other one is a bit more complex and has multiple potential fixes, will leave that for later discussion.

Originally posted by @Megalomaniak in #15 (comment)

Add Kiwi IRC webclient

  • Choose placement
  • Create plugin settings
  • Implement the embed
  • Theme it

From #4:

@Megalomaniak said:
Another point of interest, current live forum has the links in it's menu to some discord channel(I don't use discord myself so no clue what channel) and a link to kiwi irc webclient to connect users to the godot irc channel.

The latter allows to be embedded to sites to avoid community memebers having to follow a link to another site, basically to keep users on the community site...
https://kiwiirc.com/embedding

Might be worth investigating in future.

@TwistedTwigleg I'd be willing to take the kiwi irc as my task if you are OK with taking the discord as yours. ...


@Megalomaniak, do you still want to take this issue?

General planning and discussion.

For an example do we want to replicate the buttons so that all buttons look the same as say the buttons on godotengine org download page? etc.

The collapsible menus

I'm not sure that every collapsible menu needs the "Hamburger" icon. Easy enough to set display: none; on them but then could remove the image tags from the master template just as well. Either ways it's not too pressing right now and there is plenty of time to discuss and think about that.

Add Images button doesn't work.

Trying to use the button throws an error in developer console however for a user who doesn't know to look there it just seems to do nothing.

The error thrown:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.imgur.com/3/upload. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

MDN article for CORS:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Code highlighting

So there are couple of issues with the code block worth bringing up in here.

First of all our current theme has a gray rounded box for the code block, which is actually not too dissimilar to the engine website:
https://godotengine.org/article/optional-typing-gdscript

But I feel that might fit better for the inline code bits like this, which currently is more pink/reddish rather than gray.

But more importantly the current code block only displays line numbers for every fifth line and it causes the empty lines to get cut off, which I think is a real issue. This could be considered an actual theme bug, but also should be pretty easy to fix I think. I've opened a separate issue for it(#28).

And then finally, last but not least I'm thinking it would be nice to look into adding a GDScript specific coloring to the code block and maybe try to emulate the color scheme of the godot editors code editor itself in our theme..?

Would need to investigate if this is best done in our theme or the codeblock addon(syntax prettifier), may even be best to maybe integrate the addon straight into our theme addon?

I do have my doubts about this last bit, but since we have multiple color themes to chose from within the theme addon, maybe a good way to go? Again, might have to investigate a bit to properly figure out the best way to go...

Then again, if we took the direction to modify the dark theme to follow godot editors color scheme, maybe the code block could have the same color theme for both lightly and darkly, hmm...

Anyways, thoughts?

Code block line numbers

Currently only every fifth line gets a line number displayed, causing empty lines in code to be cut out, which is a bit of a problem, but it should be an easy fix I think.

input boxes can't be seen

As reported by user fooon on the forum.

The input boxes for the login overlay panel can't be seen since it's just white on white background, fix is easy - PR about to be made.

What next?

I mean after we have called this current theme release "finished"?

Probably should rewrite a whole new theme from scratch anyways since bootstrap is built using some outdated concepts that are deprecated with replacements existing, or we could just try to refactor bootstrap fully, but that is probably a more difficult task.

either ways this should be a future consideration

Forum does not refresh after login

See this forum post for details: Forum Post

Looking around on Google, the issue might be due to the theme. Apparently the Keystone theme (link) didn’t have the triggers setup correctly, which might be the issue we are having too.

A potentially simple solution would be just to force a browser refresh on a successful login, but I don’t know how difficult that would be to implement.

Add Patreon integration to forum header

Since we are trying to stay consistent with the theme and style in GodotEngine.org, we should probably add the the Patreon widget/button to the forum's header. That way the forum's header and GodotEngine.org's current header would be exactly the same.

@Megalomaniak found this link, which should provide a good starting point: https://www.patreondevelopers.com/t/support-me-on-patreon-button/102/5
and for reference a wordpress plugin.

That said, this should probably be tackled later, once the more pressing and prominent things are dealt with first.

  • Add a simple styled button/link.
  • Implement a plugin.
  • Replace basic button/link.
  • Further styling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.