Physics Forums 3.5 style and image gallery now live
- Thread starter Greg Bernhardt
- Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
56 replies · 9K views
Physics news on Phys.org
Lyrassia
- 45
- 0
reenmachine said:Very nice colors.
Agreeable for the eyes.
Well done!
Agreed!
Very well done. The new look definitely looks more modern and enjoyable.
bp_psy
- 469
- 8
Noooooooooooooooooooo!
Useful nucleus
- 374
- 62
The new look of PF is amazing! Thank you very much for your efforts!
ChiralWaltz
- 161
- 5
WOOOOWF! I :!) the blue and green color scheme. The buttons are more fun to press. Fast forward button on the quotes? Incredible! And a fish scale boarder? This is too much, I must go pinch myself!
Dembadon
Gold Member
- 660
- 88
The new look is definitely growing on me. Thank you for all of the hard work you do to keep this site's quality high.
dkotschessaa
- 1,063
- 763
Is the forum having a little indigestion with the changes? Seemed to be bouncing with 500 internal server errors this morning.
Just thought I'd mention it.
-Dave K
{Pats PF on the head..there there little guy...It'll be ok.}
Just thought I'd mention it.
-Dave K
{Pats PF on the head..there there little guy...It'll be ok.}
- 19,980
- 11,082
dkotschessaa said:Is the forum having a little indigestion with the changes? Seemed to be bouncing with 500 internal server errors this morning.
Sorry about that. Should be fixed now.
- 10,876
- 423
Looks fine to me.epenguin said:As you say you cannot please everybody. I soon noticed superscript + looks rather like a - as in [H+] and [OH-], involved in about 50% of the Chemistry and Biology questions, or is it only me needing new glasses?![]()
Mentalist
A bit too much. I liked the more minimalist style the previous board had. Over-time I will get used to it though.
jhae2.718
Gold Member
- 1,184
- 20
jedishrfu said:will you be adding the colorizing of program source code to posts?
Geshi works well:
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
.
I've been using Pygments to highlight source code in my posts, e.g. with something similar to:
Code:
echo "import antigravity" | pygmentize -l python -f bbcode
I agree that something that automatically did that would be nice.
Science Advisor
Gold Member
- 1,891
- 170
With the new color scheme it is harder to tell at a glance whether I am on Physics Forums or Facebook. Be forewarned.
Mentor
- 37,505
- 14,386
That is still better than the version we had 1-2 days ago, where the whole text was overlapping with the border of the boxes.
$$\rm{This is the equivalent to a very wide image. This is the equivalent to a very wide image. This is the equivalent to a very wide image.}$$
Interesting, a different box size.
$$\rm{This is the equivalent to a very wide image. This is the equivalent to a very wide image. This is the equivalent to a very wide image.}$$
Interesting, a different box size.
Science Advisor
- 847
- 348
The new look is okay, but i have a wide screen and it sucks that the design doesn't adapt to the window size. I've made a Greasemonkey script for everyone who likes a flexible design. It also gets rid of the sidebar on the front page. I've attached a screenshot of the changes.
But here's a warning: I'm not a webdesigner, so maybe this is a very dilletantish way to do it, but it works for me. I also haven't tested this for more than 5 minutes and i didn't try it with other browsers than Firefox. So use it on your own risk.
But here's a warning: I'm not a webdesigner, so maybe this is a very dilletantish way to do it, but it works for me. I also haven't tested this for more than 5 minutes and i didn't try it with other browsers than Firefox. So use it on your own risk.
Code:
// ==UserScript==
// @name Physics Forums
// @namespace physicsforums
// @include [PLAIN]https://www.physicsforums.com/*[/PLAIN]
// @version 1
// @grant none
// ==/UserScript==
document.body.style.background = "none";
page = document.getElementsByClassName("page")[0];
page.style.width = "95%";
rightcontainer = document.getElementById ("right-container");
if (rightcontainer) rightcontainer.parentNode.removeChild (rightcontainer);
leftcontainer = document.getElementById ("left-container");
if (leftcontainer) leftcontainer.style.width = "100%";
posts = document.getElementsByClassName ("last-post");
for (i = 0; i < posts.length; i++) {
post = posts[i];
post.parentNode.width = "425px";
post.style.width = "400px";
link = post.children[0].children[0].children[0].children[0];
title = link.title;
title = title.substr (35);
title = title.substr (0, title.length - 1);
if (title.length > 55) title = title.substr (0, 55) + "...";
link.children[0].innerHTML = title;
}
pre = document.getElementsByTagName ("pre");
for (i = 0; i < pre.length; i++) {
if (pre[i].style.width == "640px") pre[i].style.width = "100%";
}
Attachments
Last edited by a moderator:
- 10,876
- 423
Why? Longer lines of text are harder to read.rubi said:i have a wide screen and it sucks that the design doesn't adapt to the window size.
Science Advisor
- 847
- 348
Yes, you can. It's called Greasemonkey. Get it from here: https://addons.mozilla.org/de/firefox/addon/greasemonkey/Borg said:Uh... Did you apply it to a saved copy of the page? You can't get a script on your computer to apply itself to whatever page you choose on the internet.
Well, if you like shorter lines, then just change the number "95%" in the script to whatever you like better. The new design was just a bit too small for me. But it's a matter of taste i think.Fredrik said:Why? Longer lines of text are harder to read.
Science Advisor
Gold Member
- 2,395
- 5,225
I knew I should have qualified that statement. Yeah, I guess if you're willing to modify the browser's functionality...rubi said:Yes, you can. It's called Greasemonkey. Get it from here: https://addons.mozilla.org/de/firefox/addon/greasemonkey/
Science Advisor
- 847
- 348
Fredrik said:Why? Longer lines of text are harder to read.
If you prefer a fixed line width, then add this to the script (and change 747px to whatever you want):
Code:
posts = document.getElementsByTagName ("div");
for (i = 0; i < posts.length; i++) {
if (posts[i].id.substr (0,12) == "post_message") posts[i].style.width = "747px";
}
Attachments
Last edited:
Science Advisor
Gold Member
- 4,458
- 3,265
rubi said:I've made a Greasemonkey script for everyone who likes a flexible design. It also gets rid of the sidebar on the front page. I've attached a screenshot of the changes.
But here's a warning: I'm not a webdesigner, so maybe this is a very dilletantish way to do it, but it works for me. I also haven't tested this for more than 5 minutes and i didn't try it with other browsers than Firefox. So use it on your own risk.
Code:// ==UserScript== // @name Physics Forums // @namespace physicsforums // @include [PLAIN]https://www.physicsforums.com/*[/PLAIN] // @version 1 // @grant none // ==/UserScript== document.body.style.background = "none"; page = document.getElementsByClassName("page")[0]; page.style.width = "95%"; rightcontainer = document.getElementById ("right-container"); if (rightcontainer) rightcontainer.parentNode.removeChild (rightcontainer); leftcontainer = document.getElementById ("left-container"); if (leftcontainer) leftcontainer.style.width = "100%"; posts = document.getElementsByClassName ("last-post"); for (i = 0; i < posts.length; i++) { post = posts[i]; post.parentNode.width = "425px"; post.style.width = "400px"; link = post.children[0].children[0].children[0].children[0]; title = link.title; title = title.substr (35); title = title.substr (0, title.length - 1); if (title.length > 55) title = title.substr (0, 55) + "..."; link.children[0].innerHTML = title; } pre = document.getElementsByTagName ("pre"); for (i = 0; i < pre.length; i++) { if (pre[i].style.width == "640px") pre[i].style.width = "100%"; }
Sure is a lot of trouble IMO. I have to agree with...
Fredrik said:Why? Longer lines of text are harder to read.
Last edited by a moderator:
Science Advisor
- 847
- 348
dlgoff said:Sure is a lot of trouble IMO. I have to agree with...
It actually took me just about 20 minutes to write this although I'm not a web programmer and i had to look up some of the commands. And it takes 3 minutes to add it to your Firefox addons. Just install Greasemonkey, add a new userscript and copy&paste the code (including the comments).
If you add the above snippet, you also get the same line width as in the new design. The script actually even has one advantage: The thread titles on the front page are longer.
I'm not saying this modified design is better. I just find it better personally and i thought i'd share it with everyone, who also thinks so.
- 19,980
- 11,082
rubi said:I'm not saying this modified design is better. I just find it better personally and i thought i'd share it with everyone, who also thinks so.
Cool idea. Whatever works for ya!
Science Advisor
Homework Helper
- 15,536
- 1,917
Greg, everything is very nice and works good,
but that "Homework Help" looks strange. Does it mean a person? We are recognized as Homework Helpers. Can you add that little "er" back?
There would be less problems if you made the form a bit wider. It is not true that compressing the text into a narrow place is good to the eyes. I feel it quite bad, staring at small faint letters. There are other people feeling the same. I widened the whole thing from the Browser menu so as it fills the width of my screen, and it is much better now, but with big empty places in the first column. Enough place for "Homework Helper" under my name.
ehild
There would be less problems if you made the form a bit wider. It is not true that compressing the text into a narrow place is good to the eyes. I feel it quite bad, staring at small faint letters. There are other people feeling the same. I widened the whole thing from the Browser menu so as it fills the width of my screen, and it is much better now, but with big empty places in the first column. Enough place for "Homework Helper" under my name.
ehild
Crake2
- 8
- 1
ehild said:Greg, everything is very nice and works good,but that "Homework Help" looks strange. Does it mean a person? We are recognized as Homework Helpers. Can you add that little "er" back?
There would be less problems if you made the form a bit wider. It is not true that compressing the text into a narrow place is good to the eyes. I feel it quite bad, staring at small faint letters. There are other people feeling the same. I widened the whole thing from the Browser menu so as it fills the width of my screen, and it is much better now, but with big empty places in the first column. Enough place for "Homework Helper" under my name.
ehild
There was a topic about the recognition titles: https://www.physicsforums.com/showthread.php?t=681029
I agree with you that "Homework help" doesn't sound/look good.
Science Advisor
Homework Helper
- 15,536
- 1,917
x2791258 said:There was a topic about the recognition titles: https://www.physicsforums.com/showthread.php?t=681029
I agree with you that "Homework help" doesn't sound/look good.
Yes, but my comment was more about the width of the form which would solve these problems with the names.
ehild
Similar threads
Image Gallery Bug? Fix Issues & View All Pages
- LCKurtz
- · Replies 1 ·
- Feedback and Announcements
- Replies
- 1
Image Gallery Suggestion - Sort by Member
- gneill
- · Replies 3 ·
- Feedback and Announcements
- Replies
- 3