SFML community forums

General => SFML website => Topic started by: Laurent on April 29, 2013, 07:46:09 pm

Title: New website
Post by: Laurent on April 29, 2013, 07:46:09 pm
The new website is online.

There's still a lot to do on it, the style is quite neutral.

This thread is open for:
- comments
- bug reports
- ideas
- improvements
- new style / icons / images
- whatever
Title: Re: New website
Post by: fstream on April 29, 2013, 08:06:05 pm
Bug: It relies on the browser's default styles having a white background.

With a default background of #222 it looks like this:
http://www.hashcookie.net/uploads/29f5f6907c_2013-04-29-200039_1154x879_scrot.png
Title: Re: New website
Post by: SpectreNectar on April 29, 2013, 08:17:34 pm
Bug:
Inheritance diagram for (...) doesn't seem to work. I'm using Chrome version 26.0.1410.64 m on Windows 7

JS Error: "toggleVisibility is not defined "
Title: Re: New website
Post by: stoleks on April 29, 2013, 08:21:33 pm
I think it would be great if we could navigate between the pages of the tutorial (with a simple link to the next page), and if there were some buttons to go up in the page in the doc/tutorial pages (it's not very necessary, but it's always great to have some kind of button like that).

Bug : the inheritance diagram do not seem to work on firefox (win 7). 
Title: Re: New website
Post by: zsbzsb on April 29, 2013, 10:41:07 pm
Looks good, the forum banner still needs to be updated with the new logo. I will post anything else I notice too.
Title: Re: New website
Post by: Nexus on April 29, 2013, 10:44:33 pm
Huh, just now it changed :o

Might probably be a bit bigger though... And as soon as we have the "simple & fast multimedia library", we could include that :)
Title: Re: New website
Post by: eigenbom on April 30, 2013, 12:09:37 am
Looks nice and clean. Here's a few comments!

Summary
I think that instead of "Welcome to the SFML website", you should put a short description about what SFML is. For example: "SFML is a Simple and Fast Multimedia Library that provides a solid foundation for developing games and multimedia software." Then you can give your 3 catchy points about multi-media, multi-platform, etc.

Simplicity
I think you should really espouse the simplicity/cleanliness of SFML, as I think that is its primary attraction (Otherwise we'd all be using SDL right?!) You could do that by either having some example code on the front page (maybe in a toggleable pane?), or by having a menu item that takes you to some sample code. (Maybe that could also show examples in the different bindings?)

Showcase
When I check out a new library or engine out, I want to see where it has been used before. So I really think you need a Showcase section on the site. Not a wiki, but a personal selection of say 4 of the best projects you've seen that have used SFML. I think something like ATOM ZOMBIE SMASHER (http://en.sfml-dev.org/forums/index.php?topic=4024.0 (http://en.sfml-dev.org/forums/index.php?topic=4024.0)) would be awesome as a feature item.

Quote
Would be nice to see a quote from someone about SFML, maybe in the showcase?

Anyway, congrats on the new website!
Title: Re: New website
Post by: Jungletoe on April 30, 2013, 01:19:49 am
I really like the new logo. Is there any chance you can upload it for promotion purposes in our games?
Title: Re: New website
Post by: zsbzsb on April 30, 2013, 03:30:13 am
I see you updated the forum banner, and now I got a few more things that I noticed.

Your forum avatar still has the old logo; so you might want to update that. Also the flattr page is still using the old logo.

A bug I found is if you make your browser's width smaller than the minimum width of the site the horizontal scroll bars will appear correctly, however if you scroll to the right the green banner at the top will only stay the size of the browser window, basically the green banner needs a minimum width.
Change
#banner-container {
    width: 100%;
to
#banner-container {
    width: 100%;
    min-width: 950px;
The same problem also appears with the black line running across the bottom of the page to separate the footer from the rest of the page.
Firefox 20.0.1 Windows 8 64 bit.
Title: Re: New website
Post by: Nexus on April 30, 2013, 09:11:26 am
Laurent, you really put a lot of effort into the Graphics tutorials! Nice work!
Maybe you could add again the symbols for the modules in the tutorial overview.

Showcase
When I check out a new library or engine out, I want to see where it has been used before. So I really think you need a Showcase section on the site. Not a wiki, but a personal selection of say 4 of the best projects you've seen that have used SFML. I think something like ATOM ZOMBIE SMASHER (http://en.sfml-dev.org/forums/index.php?topic=4024.0 (http://en.sfml-dev.org/forums/index.php?topic=4024.0)) would be awesome as a feature item.
That could be a good idea. HolySpirit (http://fr.sfml-dev.org/forums/index.php?topic=7513.0) and Ovid The Owl (http://en.sfml-dev.org/forums/index.php?topic=370) would also be nice candidates, I'm sure there are more.
Title: Re: New website
Post by: Laurent on April 30, 2013, 09:18:34 am
Thanks for your comments :)

Quote
Bug: It relies on the browser's default styles having a white background.
I'll fix it this evening.

Quote
Bug:
Inheritance diagram for (...) doesn't seem to work. I'm using Chrome version 26.0.1410.64 m on Windows 7

JS Error: "toggleVisibility is not defined "
I already noticed that. I have no idea why it doesn't work, maybe a Doxygen bug?

Quote
I think it would be great if we could navigate between the pages of the tutorial (with a simple link to the next page)
Is it really needed? The tutorials are really independant, it's not as if they had to be followed in order.

Quote
and if there were some buttons to go up in the page in the doc/tutorial pages (it's not very necessary, but it's always great to have some kind of button like that).
Could be done. But in this case, where should I put these buttons?

Quote
Might probably be a bit bigger though... And as soon as we have the "simple & fast multimedia library", we could include that
This was a quick and dirty update. I'll improve it later. That would be great if I could integrate the website's banner directly.

Quote
Summary
I think that instead of "Welcome to the SFML website", you should put a short description about what SFML is. For example: "SFML is a Simple and Fast Multimedia Library that provides a solid foundation for developing games and multimedia software." Then you can give your 3 catchy points about multi-media, multi-platform, etc.
Why not ;)

Quote
Showcase
When I check out a new library or engine out, I want to see where it has been used before. So I really think you need a Showcase section on the site. Not a wiki, but a personal selection of say 4 of the best projects you've seen that have used SFML. I think something like ATOM ZOMBIE SMASHER (http://en.sfml-dev.org/forums/index.php?topic=4024.0) would be awesome as a feature item.
The main menu on the website is already full, I can't add new sections (bad design, I know...). So I don't know where such a section would go. I guess it wouldn't be visible enough and kind of lost, on the wiki. Suggestions are welcome :P

Quote
Quote
Would be nice to see a quote from someone about SFML, maybe in the showcase?
You mean, a list of people who say that SFML is great? I don't think this kind of stuff adds value to the website / library. Unless the quotes are from popular software developers / projects, but I have nothing like that to put on the website :P

Quote
Your forum avatar still has the old logo; so you might want to update that. Also the flattr page is still using the old logo.
Done.

Quote
A bug I found is if you make your browser's width smaller than the minimum width of the site the horizontal scroll bars will appear correctly, however if you scroll to the right the green banner at the top will only stay the size of the browser window, basically the green banner needs a minimum width.
Good catch, I didn't notice that.

Quote
Laurent, you really put a lot of effort into the Graphics tutorials! Nice work!
Hopefully they will now answer most of the common questions asked on the forum, especially about vertex arrays, views and the new rendering API in general.

Quote
Maybe you could add again the symbols for the modules in the tutorial overview.
I haven't found a consistent set of icons that all look good. Hum, maybe it's cleaner without them.
Title: Re: New website
Post by: eXpl0it3r on April 30, 2013, 10:02:35 am
Although there's nothing wrong with the forum design, it would be kinda nice, if it were consistent with the website site, i.e. green instead of blue. If you agree, but don't want to go through the forum template, maybe you could share it, as it is now and someone could adapt the style. What do you think?
Title: Re: New website
Post by: Laurent on April 30, 2013, 10:19:01 am
I'll try to improve the banner, this one was just a quick and dirty replacement.

I'll see if I can find nice green themes, but if I find nothing it will probably stay like this; I don't think it's inconsistent to have a different color for the forum. It may even be a better idea, it breaks this "green-everywhere" style :P

Or I could make the whole website blue, that's just one value to change in the CSS
Title: Re: New website
Post by: eXpl0it3r on April 30, 2013, 10:21:16 am
I'll try to improve the banner, this one was just a quick and dirty replacement.
I guess a different banner might already give a better feel.

Or I could make the whole website blue, that's just one value to change in the CSS
nooooo, I like the green so far. :)

I just had another idea while looking at the tutorials; it would be nice to have permanent links to the different sections in the tutorial. So if someone had a question for which the answer can be found in the tutorial, one could link him directly to the correct section.
Title: Re: New website
Post by: Laurent on April 30, 2013, 10:27:20 am
Quote
I just had another idea while looking at the tutorials; it would be nice to have permanent links to the different sections in the tutorial.
I started to do it and had style problems (anchors and links use the same HTML tag). But I guess it could be solved easily by using a specific CSS class for anchors. I'll see what I can do.
Title: Re: New website
Post by: fstream on April 30, 2013, 11:56:00 am
(anchors and links use the same HTML tag)
Anchors rely on only the id attribute, which can be used on almost any tag.

For example <h2 id="foobar"> is where you will end up on somesite.com/page.html#foobar.
Title: Re: New website
Post by: Laurent on April 30, 2013, 12:05:24 pm
Quote
Anchors rely on only the id attribute, which can be used on almost any tag.

For example <h2 id="foobar"> is where you will end up on somesite.com/page.html#foobar.
Ah, thanks. Last time I used HTML anchors was... really a long time ago ;D
Title: Re: New website
Post by: Tank on April 30, 2013, 06:02:09 pm
Regarding the main menu problem: "Docs" and "Tutorials" could be packed into "Help" which shows a page with further links. "Forum" and "Wiki" could go into "Community", again with a page containing links to the two.

You'd get two free slots.
Title: Re: New website
Post by: Laurent on April 30, 2013, 06:07:44 pm
Quote
Regarding the main menu problem: "Docs" and "Tutorials" could be packed into "Help" which shows a page with further links. "Forum" and "Wiki" could go into "Community", again with a page containing links to the two.
This is exactly how I started, but I didn't like the result. I ended up with almost empty pages.
Title: Re: New website
Post by: Tank on April 30, 2013, 06:09:53 pm
Did you do it like the current documentation/tutorials pages? I didn't mean that you have to click "Help", then "Tutorials", then "SFML 2.0", but instead "Help", then "SFML 2.0 tutorials" (using a nice grouping like you did at the download page).
Title: Re: New website
Post by: Palpaleos on April 30, 2013, 06:17:37 pm
Where can I find a list of features for this library?
Title: Re: New website
Post by: game_maker on April 30, 2013, 08:42:03 pm
Excellent job! The site is awesome! I loved it.

Thanks for the new tutorials.
Title: Re: New website
Post by: Cornstalks on April 30, 2013, 09:40:10 pm
Overall, I love it. It's a huge improvement.

However, (and I think someone else mentioned this in one of the other threads) there's nothing on the website (that I can find) that says what SFML is and what its features are. The home page is a decent summary, but it would be nice if there was some kind of feature list of each module, much like there was on the old site. It's really helpful when learning what SFML and in making decisions about whether or not it is worth downloading (to know if it does what you need done).
Title: Re: New website
Post by: eXpl0it3r on April 30, 2013, 10:32:37 pm
I'm kinda missing a feature list. If you send a new user to the website and ask him to answer the question "What is SFML?" he won't be able to properly answer it, since he can't get any information on what SFML really is. ;)
Where can I find a list of features for this library?
there's nothing on the website (that I can find) that says what SFML is and what its features are.


I hope that people will know what SFML is before visiting the website. And the homepage says that SFML is a C++ library that deals with graphics, audio, network and windowing. I think it's enough to get the feeling of what SFML does. Details are in the documentation and tutorials.
;)
Title: Re: New website
Post by: eigenbom on April 30, 2013, 11:28:31 pm
I hope that people will know what SFML is before visiting the website. And the homepage says that SFML is a C++ library that deals with graphics, audio, network and windowing. I think it's enough to get the feeling of what SFML does. Details are in the documentation and tutorials.

Well they might have some idea: "Oh my friend said that I should check out SFML, Ok I'll go to the website...", so I think you still need a succinct summary of SFML to inform and reinforce what it is. The people who are familiar with what SFML is won't be spending any time on the front page, so it isn't really for them.

As for the menu issue, I agree that a combined tutorial/docs section would be good, with the actual page listing all the tutorials and documents (rather than just another "tutorial" and "docs" link).
Title: Re: New website
Post by: foobarbaz on May 01, 2013, 01:51:02 am
Oh mah gawd the new site is sooooooo beautiful! I love it!
Title: Re: New website
Post by: Nexus on May 01, 2013, 10:58:12 am
A feature list would indeed be good. Now, there is no place to get an overview about SFML's functionality. For example, it would be nice to see what image, font and file formats are supported. This would be attractive for newcomers and would allow a fast decision concerning whether SFML is the right library for them.
Title: Re: New website
Post by: Foaly on May 01, 2013, 12:19:59 pm
I think a feature list would be very nice! It's usually one of the first thigs I look for, when I want to get an overview over a new library. It's also really helpful to compare librarys, to find what you need.
Title: Re: New website
Post by: Laurent on May 01, 2013, 12:54:52 pm
Supported formats... is there any major format that is not supported? I mean, listing image/sound/fonts formats feels like we're back in the 90s. Now it's a basic feature that every library has.

For higher level features, just have a look at the tutorial index. There's basically 1 tutorial per feature.
Title: Re: New website
Post by: Nexus on May 01, 2013, 01:18:11 pm
The main menu on the website is already full, I can't add new sections (bad design, I know...). So I don't know where such a section would go.
I think you should rearrange the menu items, according to their relevance and the frequency they are clicked. For me, the important ones are Tutorials, Doc, and Forum. Especially the latter two are constantly required, if you actively use SFML. License is secondary, one usually looks at it only one time. Download is only relevant each time a new release happens, or not at all, if you use the Git revisions. Wiki and Bugs are of medium importance.

I suggest to merge rarely used categories. For example, you could make an item Overview or similar, which includes Features and License.

Supported formats... is there any major format that is not supported?
MP3 for example.

I mean, listing image/sound/fonts formats feels like we're back in the 90s. Now it's a basic feature that every library has.
Maybe, but it still saves people from searching everywhere or asking in the forum. And the feature list would not only be about the formats. One would get a detailed overview of the library's capabilities, without skimming through the whole documentation. As mentioned, it is a good starting point to decide whether SFML is suitable for a project.
Title: Re: New website
Post by: Laurent on May 01, 2013, 02:09:43 pm
Quote
I suggest to merge rarely used categories. For example, you could make an item Overview or similar, which includes Features and License.
Let's first see if new categories are really needed, and then we can decide where to add them.

Quote
MP3 for example.
I mean free formats. Which is the maximum that a free library can support.
I know, you'll reply that it may not be obvious to everyone ;)

Quote
Maybe, but it still saves people from searching everywhere or asking in the forum.
I think most people will just assume that it works, and come to the forum only if something doesn't work as expected. And it's if they want to know, they don't have to search everywhere, just in the doc of the loadFromfile functions ;)

Quote
One would get a detailed overview of the library's capabilities, without skimming through the whole documentation. As mentioned, it is a good starting point to decide whether SFML is suitable for a project.
I really think that the tutorials index is a good summary of the important features. I couldn't do better if I created a features page.
Title: Re: New website
Post by: Yuraj on May 01, 2013, 02:19:30 pm
What about creating some comparison table, for example: SFML vs SDL vs allegro and more... Tell people why is SFML better.
Title: Re: New website
Post by: Laurent on May 01, 2013, 02:23:16 pm
I hate this kind of comparison. And these libraries have probably more features than SFML anyway...
Title: Re: New website
Post by: Cornstalks on May 01, 2013, 04:14:32 pm
I mean free formats. Which is the maximum that a free library can support.
I know, you'll reply that it may not be obvious to everyone ;)
It's not obvious though. FFmpeg is a free library and supports decoding MP3/H.264/tons of other non-free codecs. So it's not obvious SFML doesn't support MP3. Also, does SFML support PPM? I don't know. But I'd like to, seeing as I have some PPM images that I generate. So I'm not even sure what free formats the library supports.

Quote
One would get a detailed overview of the library's capabilities, without skimming through the whole documentation. As mentioned, it is a good starting point to decide whether SFML is suitable for a project.
I really think that the tutorials index is a good summary of the important features. I couldn't do better if I created a features page.
But it's also a really non-obvious place to look for features. If I wanted to know SFML's features, I would certainly not think of looking at the tutorials. And even if I did, I'd still prefer a more succinct yet detailed list.

When someone first told me about SFML, I went to the website and immediately did two things before deciding to use it:

If I wouldn't have been able to do either of those two things, I can say that there's a very good chance I wouldn't have tried SFML.
Title: Re: New website
Post by: Laurent on May 01, 2013, 05:23:51 pm
Ok ok. I'll think about it :P
Title: Re: New website
Post by: Tenry on May 01, 2013, 06:40:14 pm
Ok ok. I'll think about it :P
Don't only think about it, do it! Most of the pros are already said...

Btw, I like the new design :)

Do you have any experience with server side scripting (such as PHP) or client side scripting (JavaScript)? Just an idea for the download page: it would be nice to have a default, large download button depending on the users system. Let's say, in my case there would be "Download SFML 2.0 for WINDOWS", next to it dropdowns: "Choose your architecture: [32 bit]" and "Choose your compiler: [GCC 4.7 MinGW (DW2)]". If the user doesn't find the download he's looking for or is not going to download for Windows, there can still be a section below where all the downloads (like it is at the moment) are provided. I imagine something like in the attached screenshot.


[attachment deleted by admin]
Title: Re: New website
Post by: Nexus on May 01, 2013, 06:48:55 pm
This would complicate a lot for little gain, especially considering that you usually don't visit the download page often.

Not all combinations between the dropdown fields are possible, so the dialog would have to account for that. Additionally, one does not directly see which binaries are provided, and one has to perform multiple clicks to find the right one.
Title: Re: New website
Post by: Tenry on May 01, 2013, 07:33:45 pm
Not all combinations between the dropdown fields are possible, so the dialog would have to account for that.
Depending on which architecture is selected the items available for the compiler shall dynamically change.

It was just an idea. Like everything in the world this also has its pros and cons :)
Title: Re: New website
Post by: Laurent on May 01, 2013, 07:48:54 pm
It don't like to make something depend on Javascript when it's not really necessary. Using PHP would require to reload the page on every action, which is not an option.
Title: Re: New website
Post by: Tenry on May 01, 2013, 09:44:13 pm
Using PHP would require to reload the page on every action, which is not an option.
I was thinking of PHP only determining the OS with the User Agent String, so that the page at least suggests the aim operating system.
Title: Re: New website
Post by: Laurent on May 01, 2013, 10:48:10 pm
Quote
I was thinking of PHP only determining the OS with the User Agent String, so that the page at least suggests the aim operating system.
Ok. But I still think it's unnecessary, I assume people know what OS they use ;)
Title: Re: New website
Post by: anthnich on May 02, 2013, 05:19:52 pm
I think the new website looks great. The layout is clean, not overly garish or complicated.

The only thing I would suggest is that you put what SFML stands for on the front page (or in the title bar) for brand new visitors.
Title: Re: New website
Post by: Laurent on May 02, 2013, 06:01:35 pm
Quote
The only thing I would suggest is that you put what SFML stands for on the front page (or in the title bar) for brand new visitors
We're trying to put it in the logo, and/or I'll put it in the home page too.
Title: Re: New website
Post by: zsbzsb on May 02, 2013, 07:09:41 pm
Laurent,
You fixed the green header bar by adding the minimum width. But you still need to apply that fix to the navigation and footer containers. The black line that runs across to divide them from the main body only stays the width of the browser without the fix.

#footer-container {
min-width: 950px
.....
}

#navigation-container {
min-width: 950px
.....
}
Title: Re: New website
Post by: Laurent on May 02, 2013, 08:38:15 pm
Ah, thanks for reminding me!
Title: Re: New website
Post by: Cornstalks on May 02, 2013, 10:44:42 pm
Also, I think the very first paragraph on the home page should say:

"SFML (Simple and Fast Multimedia Library) provides a simple interface to the various components of your PC..." (the underlined part being the new part)

Just so the full name is easy to see and understand.
Title: Re: New website
Post by: fstream on May 03, 2013, 12:18:49 am
Quote
Bug: It relies on the browser's default styles having a white background.
I'll fix it this evening.
Great, I noticed this was fixed! However, new bug I noticed now:
<h2>, <pre> and class="title" relies on the browser's default styles having black text :D

http://www.hashcookie.net/uploads/3334adba1c_2013-05-03-000318_1134x452_scrot.png

(The <div class="title"> on the frontpage should probably be <h2>s instead)
Title: Re: New website
Post by: Laurent on May 03, 2013, 01:39:47 pm
Quote
<h2>, <pre> and class="title" relies on the browser's default styles having black text
Fixed.
Title: Re: New website
Post by: Laurent on May 05, 2013, 03:14:54 pm
I've done some changes:

- Doxygen Javascript bug is fixed (inheritance diagrams in API documentation)
- I've added a "back to top" button on the right side of every h2 title (tutorials only)
- Every h2 title has a unique id that can be used as an anchor (tutorials only)
- I've changed the title of the home page to be "Simple and Fast Multimedia Library" (that was a quick fix, I'll try to put an additional paragraph instead, as suggested) (and the meaning of SFML may also appear directly in the logo, too)
- Fixed all the reported CSS bugs

More important changes (adding sections, redesigning the menu) will come later.

More feedback is still welcome ;)
Title: Re: New website
Post by: eXpl0it3r on May 05, 2013, 03:35:57 pm
- Fixed all the CSS bugs
Nope, though I think it hasn't been reported yet.
If you switch between License and Home or Download, you'll notice that on the License site the whole page, will get slightly pushed to the right.
My guess is the <pre> block being too big and thus forcing the parent containers to get bigger as well.
Title: Re: New website
Post by: Laurent on May 05, 2013, 04:48:23 pm
I can't reproduce this. Isn't it just because the vertical scrollbar appears on some pages (and thus pushes everything to the left) and not on others? :P
Title: Re: New website
Post by: eXpl0it3r on May 05, 2013, 07:57:04 pm
Isn't it just because the vertical scrollbar appears on some pages (and thus pushes everything to the left) and not on others? :P
Now that you say it... ;D
Yeah it exists on the home and license page, since they add a scrollbar.

Dang now I need a bigger screen. :P
Title: Re: New website
Post by: Laurent on May 05, 2013, 08:26:18 pm
You can't imagine how many precious minutes I wasted, trying to fix this "bug" while developing the website ;D
Title: Re: New website
Post by: The Terminator on May 05, 2013, 09:43:08 pm
I have a bug to report. Whenever you search up sfml tutorials and click on the URL: www.sfml-dev.org/tutorials I get a forbidden access error. I'm on my iPhone right now so I don't know if it's an iOS related problem.
Title: Re: New website
Post by: eXpl0it3r on May 05, 2013, 09:50:17 pm
The URL has changed to tutorials.php
I guess the search engines have to catch up first. One could also implement a redirect in the .htaccess file, so the engines would directly know where the content moved to...
Title: Re: New website
Post by: JayArby on May 05, 2013, 10:38:29 pm
The new site looks great!  8)
Title: Re: New website
Post by: eigenbom on May 06, 2013, 12:58:41 am
I have a bug to report. Whenever you search up sfml tutorials and click on the URL: www.sfml-dev.org/tutorials I get a forbidden access error. I'm on my iPhone right now so I don't know if it's an iOS related problem.

Yeah, you need a much nicer 403 and 404 message. :)
Title: Re: New website
Post by: Laurent on May 06, 2013, 07:45:54 am
Quote
Yeah, you need a much nicer 403 and 404 message
Like what?
Title: Re: New website
Post by: hayer on May 06, 2013, 09:03:10 am
Just dropping by to say that I love the new look, and the site feels more modern now than the previous version.
Great work  :D
Title: Re: New website
Post by: Nexus on May 06, 2013, 11:49:20 am
The new forum bar looks pretty cool, too -- I like the combination of green and blue :)
Title: Re: New website
Post by: Laurent on May 06, 2013, 11:58:21 am
Quote
The new forum bar looks pretty cool, too -- I like the combination of green and blue
Thanks. It's not finished, I'll try to make it even better.
Title: Re: New website
Post by: Tank on May 06, 2013, 12:26:25 pm
Will you use a blue bar on the website too? ;) I like it much better than everything in green.
Title: Re: New website
Post by: Laurent on May 06, 2013, 01:03:29 pm
Quote
Will you use a blue bar on the website too?  I like it much better than everything in green.
Just the bar? Or replace every green thing with blue? :P
Title: Re: New website
Post by: Tank on May 06, 2013, 03:34:34 pm
I guess only the bar -- the green itself looks nice, it's just, well, everywhere. ;) It's especially a nice contrast to the logo in my opinion.
Title: Re: New website
Post by: Laurent on May 06, 2013, 03:36:13 pm
Ok, I'll try that at home.
Title: Re: New website
Post by: eigenbom on May 07, 2013, 12:46:28 am
Quote
Yeah, you need a much nicer 403 and 404 message
Like what?

See e.g., http://python.org/333 (http://python.org/333), which prints:

Quote
The URL you requested was not found on this server.
Try our home page(link), or our search engines(link) - or use one of the other links on the left hand navigation.

So you just need a line to tell the user how to resolve the error, e.g., by going to the main page.

Also I found a good reference, from http://alistapart.com/article/perfect404 (http://alistapart.com/article/perfect404): a 404 should have:
- A link to the site map (if you have one) and the home page.  This is the easiest way for users to bail out.
- A search box. If you have a site search, add it to your 404 page.
- A distinctly minimalist look.

And I'll leave this here for fun: https://github.com/adwdw (https://github.com/adwdw)

Title: Re: New website
Post by: Laurent on May 07, 2013, 07:52:20 am
Hum... I'm pretty sure people will be able to find the main menu without an explicit mention in the error message, don't you think? :P
Title: Re: New website
Post by: Laurent on May 07, 2013, 04:35:05 pm
Quote
Will you use a blue bar on the website too?
I tried your suggestion. Although the green logo on blue bar looks good, the rest of the website looks strange. I agree that green everywhere is not fun, but it still looks better.
Title: Re: New website
Post by: Tank on May 08, 2013, 11:51:57 am
Okay, at least it was worth a try. :)
Title: Re: New website
Post by: massive_potato on May 08, 2013, 06:40:06 pm
In the tutorial on Transforms, the word 'positioned' has an extra n.

Quote
By default, entities are positionned relatively to their top-left corner; we'll see later how to change that with the 'origin' property.
Title: Re: New website
Post by: Laurent on May 08, 2013, 08:02:56 pm
Quote
In the tutorial on Transforms, the word 'positioned' has an extra n.
Thanks, it's fixed.
Title: Re: New website
Post by: massive_potato on May 10, 2013, 07:14:02 pm
Quote
By default, the sprite is positionned/rotated/scaled relatively to its top-left corner, because it is the local point (0, 0). But if we change the origin to be (5, 5), the sprite will be positionned/rotated/scaled around its center instead.

Positioned is spelled wrong in the documentation on the Transformable class.
Title: Re: New website
Post by: Laurent on May 11, 2013, 08:49:41 am
Thank you.
Title: Re: New website
Post by: iride on May 22, 2013, 04:08:47 am
Typo in the network packet tutorial.

Quote
"Otherwise bas things may happen, like reading incomplete variables, or ignoring useful bytes."

bas -> bad

Title: Re: New website
Post by: Laurent on May 22, 2013, 07:55:17 am
Thanks.
Title: Re: New website
Post by: Demir on May 24, 2013, 02:25:51 pm
in "Drawing 2D stuff" page of the tutorial

thread.Launch(); //L should be l

Title: Re: New website
Post by: Laurent on May 24, 2013, 05:20:15 pm
Thank you.
Title: Re: New website
Post by: Nexus on May 25, 2013, 10:06:46 am
Did you change something in the last few days? On IE, the layout on the main page is totally upset (only "Home" is visible), and the blue forum bar doesn't appear. Can somebody reproduce that?
Title: Re: New website
Post by: Laurent on May 25, 2013, 11:57:38 am
Quote
Did you change something in the last few days?
Nop.

Quote
On IE, the layout on the main page is totally upset (only "Home" is visible), and the blue forum bar doesn't appear. Can somebody reproduce that?
With IE 10 everything is fine for me.
Title: Re: New website
Post by: Nexus on May 25, 2013, 12:00:44 pm
Ah ok, then it's probably a problem on my side. Thanks!
Title: Re: New website
Post by: Demir on May 26, 2013, 11:17:08 am
Modified (last edited) date information can be useful in the pages.

Especially in "Tutorial" and "Doc" sections.
Title: Re: New website
Post by: Nexus on May 26, 2013, 11:43:03 am
I don't think it is necessary. For the tutorial and doc pages, it is clear to which version they refer. They don't change anymore once a version is released.
Title: Re: New website
Post by: Demir on May 26, 2013, 01:08:51 pm
I agree almost with you Nexus.

I think It's a bit my own habit.

Title: Re: New website
Post by: iride on May 26, 2013, 07:29:42 pm
Can we have links to the next tutorial page? I think we had them in the old website.
Title: Re: New website
Post by: Laurent on May 26, 2013, 08:40:24 pm
Quote
Can we have links to the next tutorial page? I think we had them in the old website.
Why? There's no relation between tutorials, you're not supposed to read them in order like in a book.
Title: Re: New website
Post by: iride on May 27, 2013, 04:22:00 pm
Oh I see, it makes sense now
Title: Re: New website
Post by: Tenry on May 27, 2013, 05:42:12 pm
I personally believe that there are many people who would like to do one tutorial after the other. Or, at least I would put links to related tutorials (i.e., what the reader could do next or should already have done when reading that tutorial).
Title: Re: New website
Post by: Laurent on May 27, 2013, 05:50:11 pm
The tutorial index is just one click away ("back" in your browser) or two ("top" + previous page in breadcrumbs).
Title: Re: New website
Post by: Tenry on May 27, 2013, 07:38:17 pm
The tutorial index is just one click away ("back" in your browser) or two ("top" + previous page in breadcrumbs).
But there are always lazy people, and I personally don't like it either if I always have to go some steps back, only, to get to the next step.
Title: Re: New website
Post by: Laurent on May 27, 2013, 08:03:21 pm
Quote
But there are always lazy people
Me included ;)

Quote
I personally don't like it either if I always have to go some steps back, only, to get to the next step.
But at least, this way people can choose what they want to read next. And, considering the time to do one click compared to the time to read one tutorial, I don't think this is a major issue...

Now can we please focus on important stuff? ;)
Title: Re: New website
Post by: Turbine on June 05, 2013, 11:55:26 am
What does the new icon represent?

Unity, world peace, one nail in the coffin. I love it, but am uncertain as to what it is.
Title: Re: New website
Post by: Laurent on June 05, 2013, 11:58:45 am
http://en.sfml-dev.org/forums/index.php?topic=4960.0

(jump directly to the last pages, unless you have hours to waste ;))
Title: Re: New website
Post by: chrisdembia on June 19, 2013, 08:51:30 pm
The new website is BEAUTIFUL!!!
Title: Re: New website
Post by: FRex on June 28, 2013, 11:34:28 pm
In Sound and probably in all classes docs if you click on inherited and not overridden member you are taken to original class page even though inherited class lists all inherited members and their descriptions.
Title: Re: New website
Post by: Laurent on June 29, 2013, 08:37:01 am
I didn't find any Doxygen option that would control that (I already have INLINE_INHERITED_MEMB enabled), and Google doesn't give useful answers :(
Title: Re: New website
Post by: Nexus on July 10, 2013, 11:53:26 am
In Sound and probably in all classes docs if you click on inherited and not overridden member you are taken to original class page even though inherited class lists all inherited members and their descriptions.
That is the intended behavior. Doxygen only duplicates brief descriptions, but not detailed descriptions.
Title: Re: New website
Post by: FRex on July 10, 2013, 03:14:14 pm
There are full descriptions of every function in inherited classes because INLINE_INHERITED_MEMB is enabled.
Title: Re: New website
Post by: Frizi on July 18, 2013, 08:16:03 pm
I think there should be a public repository (on github maybe) with this website. The design is quite good now,  but still there is a lot of space for improvements (some UX stuff, community tutorials, URLs not rewritten!). The site lacks a developer spending his time exclusively for it. Great libraries and tools needs professional websites. Look at the http://git-scm.com/, the site is open sourced.

First of all, maintaining a big blob of separated php files is a hell of mess, even for the site like that. Look at some MVC frameworks and adapt the philosophy or leave it for the community. If i would have done it, I would have picked the onepage approach. Look at the Angular.js library. It is bloody easy to do some MVC magic without even having php. The downside is javascript dependency (which could be eliminated for basic usecases).
Title: Re: New website
Post by: G. on July 18, 2013, 09:29:39 pm
MVC, angular js, really ? I'm not sure it's that interesting to use hype frameworks or DP just for the sake of it. It's only a static site with very few pages.
Title: Re: New website
Post by: Frizi on July 19, 2013, 11:46:24 pm
Maybe it is a bit of overkill, but still, please, at least make the URLs more friendly. And after all, javascript libraries are not bad if you actually use the included code. MVC is superlight concept that can be applied to almost every website that has more than one page. For the sake of expandability.
Title: Re: New website
Post by: eXpl0it3r on July 20, 2013, 12:02:53 am
It has been stated before and it's a good thing, the website won't include any JavaScript. It's the current "cool thing todo" and makes all the Ruby-MongoDB-JavaScript-Whatever-Hippsters happy, but in many/most cases, it's really not needed.

The URLs are friendly enough as well. Yes they have some .php at the end, is the world gonna end because of it? Nope. Are the search engines having a hard time understanding it? Nope. Are the users confused on which site they are? Nope. Do people looking at the URL not understand where they are being linked to? Nope.
So much drama for a bit visual advancement. ;)

Whether or not the website will be made open source is Laurent's decision and if he decides against it, then he can handle the back-end however he wants. Of course I'm sure he's always open for constructive feedback, that can be adjusted quickly (i.e. no whole rewrite of the website, etc...)! :)
Title: Re: New website
Post by: Laurent on July 20, 2013, 09:42:11 am
Quote
please, at least make the URLs more friendly
Can you explain what you mean? In my opinion they are already quite friendly.
Title: Re: New website
Post by: timo777 on July 20, 2013, 11:50:43 am
In my opinion they're indeed fine. But maybe you could remove the  .php extension. :)
Title: Re: New website
Post by: Nexus on July 20, 2013, 11:58:40 am
If you do that, you will invalidate all the links written in the SFML Game Development book (and on many other websites). Keep the URLs.
Title: Re: New website
Post by: Laurent on July 20, 2013, 04:26:28 pm
Quote
But maybe you could remove the  .php extension.
What difference does it make?
Title: Re: New website
Post by: netrick on July 21, 2013, 09:54:32 am
Quote
But maybe you could remove the  .php extension.
What difference does it make?

None at all.
Title: Re: New website
Post by: Karsomir on August 14, 2013, 11:36:47 am
There is wrong link in tutorials.
http://www.sfml-dev.org/tutorials/2.1/ -> when u're here
2.1 tutorials points to french
http://www.sfml-dev.org/tutorials/2.1/index-fr.php
Title: Re: New website
Post by: Laurent on August 15, 2013, 08:57:59 am
It's fixed, thanks.