| | |||||||
| General & Introductions General discussion forum to introduce yourself and make new friends |
|
Welcome to the Personal Development for Smart People Forums, the place for lively, intelligent discussion of all personal growth issues -- physical, mental, financial, social, emotional, spiritual, and more. You're currently viewing as a guest, which gives you limited read-only access. By joining our free community, you'll be able to post your own messages, access many members-only features, see the new messages posted since your last visit, and of course remove this header message. Registration is fast, simple, and free, so please join today. If you arrived here from a search engine, you may want to explore the main site first, which includes hundreds of deep and insightful articles on a variety of personal development topics. |
| | Thread Tools | Display Modes |
| |||
| EDIT: The Stylish sheet applies to stevepavlina.com in general, because I couldn't figure out how to make it work just for the forums (url and domain both didn't function properly; the former had to be applied to forums/general-introductions, forums/...). If anyone familiar with Stylish can help out on this, that would be great. It doesn't seem like the Stylish sheet interferes with the main site, so for those purposes it should be fine (but if Steve ever changes his site in the future, a conflict might, might, might arise). EDIT 3: This hides ads. If enough people complain about an alternate version that keeps ads, or if Steve wants the ads to show, I will make an alternate version. The sidebar is driving me nuts to the point where it severely hinders my experience of the forums. I know how to find Steve's blog and the donate button just fine, thank you very much. This is, after all, a forum for "smart people"; we don't need to have links pressed in our face that pretty much everyone on this site knows where to find. So I made a Firefox Greasemonkey script and Stylish style that removes the sidebar and makes the forums take up the full width of the page. Personally, I prefer the Stylish add-on because, unlike Greasemonkey, the browser doesn't parse it after the page loads, meaning it integrates smoothly into the layout. So, here they are: Pavlina Annoying Sidebar Fix for Greasemonkey* Pavlina Annoying Sidebar Fix for Stylish** It looks so much nicer that way! ![]() And for anyone who wants to do it for other browsers or put it into your Firefox chrome, just use the styles: Code: #content { margin-left: 0px !important; }
#navigation { display: none; } ========= * Full code: Code: // ==UserScript==
// @name Pavlina Forums Sidebar Fix
// @description Remove annoying sidebar on the Pavlina forums.
// @include http://www.stevepavlina.com/forums/*
// @include http://stevepavlina.com/forums/*
// ==/UserScript==
(function() {
document.getElementById("navigation").style.display = 'none';
document.getElementById("content").style.marginLeft = '0px';
})(); Code: @-moz-document domain("stevepavlina.com")
{
#content {
margin-left: 0px !important;
}
#navigation {
display: none;
}
} And for you hardcore efficiency buffs, to remove the header at the top of each page, simply add the following line of code to the Greasemonkey script: Code: document.body.childNodes[5].style.display='none'; Last edited by TechnoGuyRob; 11-05-2006 at 09:13 PM. |
| |||
|
The sidebar is a bit of a kludge right now and will probably be modified later anyway. In IE6 it behaves like a normal sidebar, but in IE7 or Firefox it's fixed and doesn't scroll along with the text. I personally don't like the fixed position aspect, but it was the only mod I found that worked on all pages rather than just the forum home. I'll need to dig into the templates to find a way to make the behavior uniform, so it works like a normal sidebar. It's not as simple as cutting a few lines from the CSS. Over time many visitors to the forums will enter via search engines or other links rather from the main site, so I thought it important to have some high visibility links to other parts of the site. I also find the default forum width too wide and prefer to read in thinner columns. I'm not certain what I'll do with the sidebar in the long run yet. I may use it to highlight popular threads/posts or other things like that.
__________________ Steve Pavlina www.StevePavlina.com (Twitter page, Facebook page) Get my book Personal Development for Smart People I'm a human alarm clock. I awaken people who are sleeping through life. Then I duck. |
| |||
|
I fully understand its purpose. I just figured it would be nice to remove it for people who are familiar with your works, and who frequent the forums. I am fairly proficient at CSS. If you want, I can see if I can do something to make the sidebar integrate more smoothly. In fact, I'll do it right now. If I can, I'll let you know, and if you like it, then we've got a fix. EDIT: I made a fix to the sidebar. Here is a live example. If you like it, go bug Steve about adding TechnoGuyRob's sidebar fix (I sent him a PM about it). ;-) Last edited by TechnoGuyRob; 11-05-2006 at 09:26 PM. |
| |||
|
I just implemented Rob's sidebar fix (took 10 seconds to edit the template), so now it works like a normal sidebar in IE6, IE7, and Firefox. Thanks a bunch, Rob, for your help with the CSS. I really appreciate it, as I'm sure many others do as well.
__________________ Steve Pavlina www.StevePavlina.com (Twitter page, Facebook page) Get my book Personal Development for Smart People I'm a human alarm clock. I awaken people who are sleeping through life. Then I duck. |
| |||
|
Steve, I like the idea of it highlighting the most popular threads & all time highest rated threads. Looking forward to that. Rob, your live fix is not working on either Safari 2 on OSX or Firefox 2 on OSX. Strange.
__________________ Spread the word that you eat consciously: Vegetarian, Raw, & Vegan badges Embrace Freedom Within: http://byteful.com Twitter: http://twitter.com/bytefulcom |
| |||
|
I don't have OSX. Is the layout messed up? If so could you post a screen shot?
__________________ Steve Pavlina www.StevePavlina.com (Twitter page, Facebook page) Get my book Personal Development for Smart People I'm a human alarm clock. I awaken people who are sleeping through life. Then I duck. |
| |||
|
When I went to Rob's Live Example, I expected the sidebar to be gone, but it wasn't. As for OSX behavior, both Safari and Firefox 2 do not fix the sidebar. Meaning, if I scroll down, it doesn't follow me like some sidebars do. But that's fine, I don't want a fixed sidebar.
__________________ Spread the word that you eat consciously: Vegetarian, Raw, & Vegan badges Embrace Freedom Within: http://byteful.com Twitter: http://twitter.com/bytefulcom |
| |||
|
I would like it better if it was fixed and stretched across the top or bottom of the screen. Here is a crude example: [ StevePavlina.com | Steve's Blog | Erin's Blog | Free Newsletter | Donate | Contact ] I don't mind it the way it is now, though. Just my $0.02. |
| |||
|
Hmmm... I actually prefer that it makes the text a little thinner, since I find it harder to read when the screen is so wide. Thinner columns tend to make reading faster for most people.
__________________ Steve Pavlina www.StevePavlina.com (Twitter page, Facebook page) Get my book Personal Development for Smart People I'm a human alarm clock. I awaken people who are sleeping through life. Then I duck. |
| |||
|
I concur. I'm just a little confused about how the Live preview was supposed to be different. Also, I remember reading somewhere about how the brain reads faster when the content is narrower, and I know it's true for me. But what's true for me may not be true for everyone else, so making it an option for registered users is probably the best option. Better yet, see if there's a way allow each user the ability to set any width they choose. Just a thought.
__________________ Spread the word that you eat consciously: Vegetarian, Raw, & Vegan badges Embrace Freedom Within: http://byteful.com Twitter: http://twitter.com/bytefulcom |
| |||
|
For those who want a fixed size, adding a body entry to the Stylish script, like so: Code: @-moz-document domain("stevepavlina.com")
{
body {
width: 800px;
}
#content {
margin-left: 0px !important;
}
#navigation {
display: none;
}
} I haven't tried it everywhere in the forum, but it seems workable at a shallow glance. I don't use Greasemonkey, so no guarantees, but I imagine something similar to the following line might work: Code: document.body.width = '800px'; |
| |||
|
And for those of you who don't like the "Digg", "RSS", etc. buttons at the bottom of each post, this style will do the trick to hide them: Code: div[align="right"] a[rel="nofollow"] img[height="20"] {
display: none;
} Last edited by TechnoGuyRob; 11-07-2006 at 03:48 AM. |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
All times are GMT. The time now is 06:45 PM.







