Welcome to PF 3.5: New Style, Image Gallery & More!

  • Thread starter Thread starter Greg Bernhardt
  • Start date Start date
AI Thread Summary
The new PF 3.5 style has been launched, offering a modern aesthetic with no significant new functionality. Users are encouraged to provide feedback, although it's acknowledged that not all preferences can be accommodated. A notable addition is the Image Gallery feature, allowing users to browse and search images stored as attachments. While many users appreciate the fresh look, some have expressed concerns about specific design elements and functionality, such as the fixed width of the layout. Overall, the community is generally positive about the changes, emphasizing the need for adjustment time.
  • #51
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";
}
That gives you the adapting design but keeps the line width fixed (see attached image).
 

Attachments

  • physicsforums.jpg
    physicsforums.jpg
    51.2 KB · Views: 387
Last edited:
Physics news on Phys.org
  • #52
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:
  • #53
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.
 
  • #54
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!
 
  • #55
Greg, everything is very nice and works good, :cool: 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
 
  • #56
ehild said:
Greg, everything is very nice and works good, :cool: 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.
 
  • #57
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

Replies
42
Views
5K
Replies
2
Views
1K
Replies
1
Views
3K
Replies
3
Views
3K
Replies
147
Views
18K
  • Sticky
3
Replies
134
Views
28K
Back
Top