SFML community forums

General => SFML website => Topic started by: Laurent on March 24, 2012, 11:03:35 pm

Title: New forum
Post by: Laurent on March 24, 2012, 11:03:35 pm
Hi

I've finally installed a new forum to replace the outdated phpBB2: SMF 2.0 (http://www.simplemachines.org/)

I've imported everything (members, boards, posts, ...), so there should be absolutely no loss. I've just deleted inactive members with 0 posts.

I've tried to test the new forum as much as possible, but I couldn't try everything. If you see something wrong or missing, if you have comments, please let me know. I'm open for discussion about everything :)

The current theme is temporary, I installed a free theme and changed it a bit. I'm still working on it, I will update it later.

If you wonder why I used a new URL, on a new sub-domain: it's a constraint of the mod that I use to split the forum into two parts (en/fr). The sub-domain points to the same root as the main domain, and only the "forums" address is allowed on it.
Title: Re: New forum
Post by: Groogy on March 25, 2012, 12:15:55 am
FIRST POST!

And it is le beautiful!
And apparently I am a hero ^^
Title: Re: New forum
Post by: Hiura on March 25, 2012, 12:52:03 am
#include <iostream>

int main(int, char**) {
  std::cout << "Looks pretty cool!!" << std::endl;
  return 0;
}
 


thanks Laurent for the upgrade!  :D
Title: Re: New forum
Post by: Contadotempo on March 25, 2012, 12:59:08 am
Nice job!
No bugs so far.


Is this text glowing?
Yes
Wow so innovative and fresh, we're dealing with edge technology here.

Sorry, I'll stop spamming.
Title: Re: New forum
Post by: Jbolte on March 25, 2012, 03:38:01 am
Ooh. Very nice. :D
Title: Re: New forum
Post by: TheMiss on March 25, 2012, 05:53:23 am
Nice and clean indeed  ;D
Title: Re: New forum
Post by: zorexx on March 25, 2012, 07:48:29 am
Very nice indeed, good job. Looking forward to see the new theme.

One issue (well, not a big problem, just thought I should mention it): The favicon is missing.

Also, while you're at it, is it possible to allow embedding videos (like youtube)? I think it will be pretty useful.
How about trying this: http://custom.simplemachines.org/mods/index.php?mod=3268 (http://custom.simplemachines.org/mods/index.php?mod=3268)
Title: Re: New forum
Post by: Laurent on March 25, 2012, 08:55:36 am
Quote
The favicon is missing
Already on my toto list ;)

Quote
Also, while you're at it, is it possible to allow embedding videos (like youtube)? I think it will be pretty useful.
How about trying this: http://custom.simplemachines.org/mods/index.php?mod=3268
Ok, I'll see this.
Title: Re: New forum
Post by: OniLinkPlus on March 25, 2012, 09:01:00 am
Looking good! Nice and smooth, hopefully not as buggy as the old forums. Maybe now I can click the "new posts" button and actually go to the new posts?
Title: Re: New forum
Post by: Nexus on March 25, 2012, 10:13:17 am
Nice! Although I preferred the old smileys :(

Some thing that I find a little bit annoying is that code fields are now scrollable already at a relatively small height. Example:
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
 
 int main()
 {
     // Create the main window
     sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
 
     // Load a sprite to display
     sf::Texture texture;
     if (!texture.loadFromFile("cute_image.jpg"))
         return EXIT_FAILURE;
     sf::Sprite sprite(texture);
 
     // Create a graphical text to display
     sf::Font font;
     if (!font.loadFromFile("arial.ttf"))
         return EXIT_FAILURE;
     sf::Text text("Hello SFML", font, 50);
 
     // Load a music to play
     sf::Music music;
     if (!music.openFromFile("nice_music.ogg"))
         return EXIT_FAILURE;

     // Play the music
     music.play();
 
     // Start the game loop
     while (window.isOpen())
     {
         // Process events
         sf::Event event;
         while (window.pollEvent(event))
         {
             // Close window : exit
             if (event.type == sf::Event::Closed)
                 window.close();
         }
 
         // Clear screen
         window.clear();
 
         // Draw the sprite
         window.draw(sprite);
 
         // Draw the string
         window.draw(text);
 
         // Update the window
         window.display();
     }
 
     return EXIT_SUCCESS;
 }
While this feature may be useful to keep posts small, it prevents one from looking at more complex code examples without scrolling all the time.

And the french forum is still empty. Do the forums now use a separate user base? I had to login in the french forum although I was already logged in in the english one.
Title: Re: New forum
Post by: Hiura on March 25, 2012, 10:17:00 am
(testing quotes  :) )
I had to login in the french forum although I was already logged in in the english one.
I guess it's because the two forums are now on two different domains and the cookies cannot be shared.
Title: Re: New forum
Post by: Laurent on March 25, 2012, 11:45:25 am
Quote
Nice! Although I preferred the old smileys
I can change them. I haven't looked at the available sets of smileys yet.

Quote
Some thing that I find a little bit annoying is that code fields are now scrollable already at a relatively small height.
This is probably configurable, I have to check.

Quote
And the french forum is still empty. Do the forums now use a separate user base? I had to login in the french forum although I was already logged in in the english one.
There's now a single forum (which means same users, same theme, same options, ...), which appears as two separate parts thanks to a special mod.
The french forum is empty because I couldn't import both previous forums, I had to choose. But the old one is still available in read-only mode.
Title: Re: New forum
Post by: Nexus on March 25, 2012, 11:46:42 am
Okay, so you recommend to reopen project threads in the french forum?
Title: Re: New forum
Post by: Laurent on March 25, 2012, 11:50:48 am
Quote
Okay, so you recommend to reopen project threads in the french forum?
Yes, threads for active projects should be reopened in the french forum, nothing will be imported.
Title: Re: New forum
Post by: Laurent on March 25, 2012, 12:08:56 pm
I've removed the maximum height for code blocks.

I looked at the smiley sets available on the SMF website, but none of them was looking good :(
Title: Re: New forum
Post by: Nexus on March 25, 2012, 12:13:56 pm
Thank you! Also for the edit to C++ code in the other thread.

Okay, then I must use the smileys like this (http://www.sfml-dev.org/old-forum-fr/images/smiles/icon_biggrin.gif)
Title: Re: New forum
Post by: Silvah on March 25, 2012, 06:00:37 pm
I've imported everything (members, boards, posts, ...), so there should be absolutely no loss.
Oh, but there is: all messages but one in my inbox are gone.

Is it possible to disable display of smileys?
Title: Re: New forum
Post by: Elgan on March 25, 2012, 06:06:43 pm
good job

but am looking forward to the new theme.

This one is very difficult to read, the grey? back to the grey? fonts are not very high contract. and quite hard to read.




Title: Re: New forum
Post by: nietaki on March 25, 2012, 07:31:15 pm
Disregard me, I'm just trying out the new forums ;)

Also: thanks for the effort as always, Laurent!
Title: Re: New forum
Post by: Laurent on March 25, 2012, 07:57:25 pm
Quote
Oh, but there is: all messages but one in my inbox are gone.
Are you sure? Have you checked the display options, maybe they are just hidden.
A bug in the import script is possible, but it looked like everything was ok.

Quote
This one is very difficult to read, the grey? back to the grey? fonts are not very high contract. and quite hard to read.
This can be changed easily.
Title: Re: New forum
Post by: StormWingDelta on March 25, 2012, 08:27:35 pm
Nice work. I was wondering why I couldn't get onto the site for a few days. Smiley Test!  :) ;) :D ;D >:( :( :o 8) ??? ::) :P :-[ :-X :-\ :-* :'( One of each. :)
Title: Re: New forum
Post by: Silvah on March 25, 2012, 10:43:58 pm
Are you sure? Have you checked the display options, maybe they are just hidden.
Oh, you're right ^^"
I didn't notice that the inbox is divided into pages ^^"
Title: Re: New forum
Post by: eigenbom on March 26, 2012, 04:13:33 am
Ooh fancy new forums!

// c++
#include <iostream>
int main(){
  while(1){std::cout << ":)\n";}
}
 

And Lua highlighting works too :)
-- lua style
for i=1,10 do
  print i
end
--[[
  Multiline comment?
--]]

 
Title: Re: New forum
Post by: gsaurus on March 26, 2012, 12:34:55 pm
I looked at the smiley sets available on the SMF website, but none of them was looking good :(
Well you can add your own smileys (read "pick old forum smiley and put them here").
I have my own set of smileys with default, christmas, summer and halloween themes (last two made by myself) but that's certainly unnecessary for here (http://eve.exofire.net/forum/Smileys/summer/tongue.gif)

Loving the new look (http://eve.exofire.net/forum/Smileys/default/afro.gif)
Title: Re: New forum
Post by: Serapth on March 26, 2012, 08:57:11 pm
I like the new look, but have a bit of a warning for you.


You've now broken all inbound Google links, which will probably do absolute murder on your discovery rate from search traffic.  All existing google searches end up on this page ( http://www.sfml-dev.org/forum-redirect.php?t=5373 ), then the redirect doesn't take you to the proper thread.
Title: Re: New forum
Post by: Laurent on March 27, 2012, 07:58:22 am
It's not a big deal, SFML 2 will be released soon and most of the old threads and old questions won't be up to date anymore.

It will just take some time until Google references this forum correctly, but I think it's ok.
Title: Re: New forum
Post by: Elgan on March 27, 2012, 01:09:18 pm
Any ETA on new theme with better contrast?

not liking the grey on grey hard to readness
Title: Re: New forum
Post by: Laurent on March 27, 2012, 01:26:04 pm
Quote
Any ETA on new theme with better contrast?
Not started yet. Progress will be quite slow, I have to release SFML 2 and write tutorials; these two tasks have a higher priority.
Title: Re: New forum
Post by: eXpl0it3r on March 28, 2012, 10:41:42 am
I like it very much! :D
Finally some proper text editing/displaying. And the stuff from the toolbar get insert at the cursor b^position and not just at the end.
Is there another way for inline code than using the tt-tag (like std::vector<int> bla) which uses code highlighting?
Title: Re: New forum
Post by: Laurent on March 28, 2012, 10:55:28 am
Quote
Is there another way for inline code than using the tt-tag (like std::vector<int> bla) which uses code highlighting?
No, I don't think so.
Title: Re: New forum
Post by: Laurent on March 29, 2012, 08:55:48 pm
Two quick modifications:
- restored the favicon
- videos can now be embedded in posts
Title: Re: New forum
Post by: Serapth on March 29, 2012, 10:31:13 pm
My mobile keeps getting an antispam prompt since the upgrade, quite annoying.
Title: Re: New forum
Post by: Laurent on March 29, 2012, 10:40:31 pm
Quote
My mobile keeps getting an antispam prompt since the upgrade, quite annoying.
I'm still testing/adjusting anti-bot mods. Can you show or describe me what you get?
Title: Re: New forum
Post by: Serapth on March 30, 2012, 04:20:56 am
A page telling me I am probably infested with malware, which then makes me do a math problem, then redirects to an identical page with another math problem.
Title: Re: New forum
Post by: Laurent on March 30, 2012, 07:53:24 am
Quote
A page telling me I am probably infested with malware, which then makes me do a math problem, then redirects to an identical page with another math problem.
Is it when you're logged in, or before? After solving the maths problems, can you use the forum normally?
Title: Re: New forum
Post by: Serapth on March 30, 2012, 06:34:59 pm
It was not logged in, after solving the two math problems it allowed me access to the site.  At which point I logged in, and upon returning ( without logging out... does anyone actually log out? ), it didn't present me with the spam page.
Title: Re: New forum
Post by: Laurent on March 30, 2012, 08:37:51 pm
Ok thanks for the details. It doesn't appear in my log, so I'm not sure which mod does this, and why. I hope it won't happen too often.
Title: Re: New forum
Post by: Nexus on March 31, 2012, 10:17:47 am
The search function (http://en.sfml-dev.org/forums/index.php?action=search) seems not to work correctly. For example, if I enter Thor, I get several threads where the word "author" is contained, and even more threads were nothing alike has been mentioned.
Title: Re: New forum
Post by: Laurent on March 31, 2012, 10:38:15 am
Quote
The search function seems not to work correctly. For example, if I enter Thor, I get several threads where the word "author" is contained, and even more threads were nothing alike has been mentioned.
I enabled the "match whole words only" option, should be ok now.
Title: Re: New forum
Post by: Digital on March 31, 2012, 10:42:27 am
Is it possible to have links from the old forum redirect to the corresponding topic in the new forum? It's frustrating to run into posts that link to other topics, only to be thrown a page that says the forum has moved with no way to get to the actual topic.
Title: Re: New forum
Post by: Nexus on March 31, 2012, 10:47:26 am
Nice, now the search works! Although only some minutes after you wrote your post ;)

By the way, why is the forum fixed to a constant width? On my screen, only a little bit more than the half width is filled with the forum frame. This leads to unfortunate line breaks in codes, such as here (http://en.sfml-dev.org/forums/index.php?topic=7431.msg48974#msg48974)...

And something I just remarked and I really like is the warning that a new answer has been posted in the meantime :)
Title: Re: New forum
Post by: Laurent on March 31, 2012, 12:09:56 pm
Quote
By the way, why is the forum fixed to a constant width?
This is how the theme works. Other themes, such as the default one, have a variable width.
However the current theme can easily be modified to have a variable width too. So later I can provide two versions of the theme: fixed or variable width, and each user can choose its preferred option.

Personnally, I think that very large lines tend to make reading harder, so it's not an issue for me.
Title: Re: New forum
Post by: Nexus on March 31, 2012, 12:15:10 pm
Okay, didn't know that. Otherwise, the current theme really pleases me, it's just the code lines that are sometimes broken. But at least we write shorter lines like this ;)
Title: Re: New forum
Post by: Laurent on March 31, 2012, 01:16:16 pm
Quote
it's just the code lines that are sometimes broken
I changed the CSS to fix this. Now there's a scrollbar instead.
Title: Re: New forum
Post by: Nexus on March 31, 2012, 01:45:10 pm
Sorry, I didn't mean you should change it to a scrollbar (especially not a vertical one as in the example (http://en.sfml-dev.org/forums/index.php?topic=7431.msg48974#msg48974)) :o

I think it was okay before. In case you add a variable-width theme one day, we can use that, otherwise we just write short lines. What do other users think about that?
Title: Re: New forum
Post by: Laurent on March 31, 2012, 06:47:55 pm
Quote
Sorry, I didn't mean you should change it to a scrollbar (especially not a vertical one as in the example)
Ah. But isn't it better this way? I always find broken lines of code hard to read. And now it's also consistent with how theregular (non-colored) code tag works.
Title: Re: New forum
Post by: eXpl0it3r on March 31, 2012, 08:33:13 pm
I'm not one of those but there are many programmer that break their code automatically when it's longer than a specific length. So a fixed length wouldn't be that bad but I also do not have anything against a scrollbar, I thinks it's better than exploiting the theme (like it can happen with big images) or wrapping the code in a strange way.
Title: Re: New forum
Post by: Serapth on April 01, 2012, 02:08:30 pm
Happened again, always with my mobile, this time logged in.  Took a screenshot this time.
(http://flexapic.com/g.ashx?id=8700)

Title: Re: New forum
Post by: Laurent on April 01, 2012, 02:22:26 pm
Great, this time I can find you in the logs.

The mod that is blocking you is the httpBL mod, based on the HoneyPot project. I have no idea why it reports you as a spammer.

Here is the page that gives more information about your IP, maybe you can find out the reason by looking at the details:
http://www.projecthoneypot.org/ip_74.198.9.65

Apparently there's an easy solution:
Quote
If you are the owner of this IP address, you can whitelist it by connecting to this paged from the IP itself (or from an IP within /24). Alternatively, the IP will be auto excused after 90 days of no activity.
Title: Re: New forum
Post by: Serapth on April 01, 2012, 02:39:49 pm
Well thats exactly why it's blocking me, it's a mobile.  That means the IP address is going to be highly recycled.  It also means I don't really own the IP ( it will change the next time I switch off 4g to LTE to 3g, etc... ) so white listing is going to be of little help. 


It's not a big deal, but is this a plugin you can set a threshold with?
Title: Re: New forum
Post by: Laurent on April 01, 2012, 03:51:55 pm
There's a threshold, yes. But I can't change it, there are many bots that are caught with a threat level lower than yours.
Title: Re: New forum
Post by: Nexus on April 08, 2012, 10:41:20 pm
I just saw somebody used highlighting for GLSL code, that's very nice. Generally, syntax highlighting is a big improvement from the old forum. Do you consider adding GLSL to the dropdown list of codes (you could replace XML with it ;))?

By the way, do you know whether there are shortcuts for often-used tags like [code=cpp], [tt] or [url]?
Title: Re: New forum
Post by: Laurent on April 09, 2012, 10:07:34 am
I've added GLSL to the list.

Quote
By the way, do you know whether there are shortcuts for often-used tags
I haven't found anything about shortcuts, neither in the native features nor in mods.
Title: Re: New forum
Post by: Nexus on April 09, 2012, 04:03:06 pm
Ok.

Another thing: The Youtube embedding is good, but is it also possible to have links to Youtube without embedding the video? Sometimes I prefer not to flood the post with over-sized video previews ;)

[Edit] Ah, apparently it works when using http://youtube.com/... without www. But why do [url] tags not always yield links? To insert Youtube videos, one can directly post the link...
Title: Re: New forum
Post by: Nexus on April 30, 2012, 12:11:49 am
And is it possible that we directly get to the advanced search when clicking the "SEARCH" button on the upper left? Because we already have a field on the upper right for direct search ;)
Title: Re: New forum
Post by: Laurent on April 30, 2012, 08:01:37 am
Yeah, good idea. It's done :)
Title: Re: New forum
Post by: Nexus on April 30, 2012, 09:24:30 am
Great, thanks! :)