Personal Development for Smart People Forums

Personal Development for Smart PeopleTM Forums

 

Go Back   Personal Development for Smart People Forums > General > General & Introductions

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.
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-05-2006, 08:13 PM
Senior Member
 
Join Date: Nov 2006
Location: Illinois
Posts: 149
TechnoGuyRob is on a distinguished road
Send a message via AIM to TechnoGuyRob Send a message via MSN to TechnoGuyRob
Default HOW TO: Remove the annoying sidebar on the forums

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; }
Cheers for using your screen's full real estate!

=========

* 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';
})();
** Full code:
Code:
@-moz-document domain("stevepavlina.com")
{
   #content {
      margin-left: 0px !important;
   } 
   
   #navigation {
      display: none;
   }
}
EDIT 2:

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';
I'm not sure if it can be done with CSS, since the header (table) doesn't have an ID or CLASS.

Last edited by TechnoGuyRob; 11-05-2006 at 09:13 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-05-2006, 08:41 PM
Member
 
Join Date: Nov 2006
Posts: 38
bollenbach is on a distinguished road
Default perfect

installed!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-05-2006, 08:54 PM
Administrator
 
Join Date: Oct 2006
Location: Las Vegas, NV
Posts: 3,820
Steve Pavlina has disabled reputation
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-05-2006, 08:57 PM
Senior Member
 
Join Date: Nov 2006
Location: Illinois
Posts: 149
TechnoGuyRob is on a distinguished road
Send a message via AIM to TechnoGuyRob Send a message via MSN to TechnoGuyRob
Default

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. Perhaps you should include an option in the control panel to remove it for users who want to do so? That would make everyone happy.

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-05-2006, 10:19 PM
Administrator
 
Join Date: Oct 2006
Location: Las Vegas, NV
Posts: 3,820
Steve Pavlina has disabled reputation
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-05-2006, 10:22 PM
Senior Member
 
Join Date: Nov 2006
Posts: 233
Andreas is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-05-2006, 10:33 PM
Administrator
 
Join Date: Oct 2006
Location: Las Vegas, NV
Posts: 3,820
Steve Pavlina has disabled reputation
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-06-2006, 03:46 AM
Senior Member
 
Join Date: Nov 2006
Posts: 233
Andreas is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-06-2006, 04:15 AM
Member
 
Join Date: Nov 2006
Posts: 64
Matt is on a distinguished road
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-06-2006, 06:13 AM
Administrator
 
Join Date: Oct 2006
Location: Las Vegas, NV
Posts: 3,820
Steve Pavlina has disabled reputation
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-06-2006, 12:25 PM
Senior Member
 
Join Date: Nov 2006
Posts: 233
Andreas is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-07-2006, 12:28 AM
Senior Member
 
Join Date: Nov 2006
Location: Illinois
Posts: 149
TechnoGuyRob is on a distinguished road
Send a message via AIM to TechnoGuyRob Send a message via MSN to TechnoGuyRob
Default

A bit selfish of me, but just bumping the topic in case anyone else is interested.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11-07-2006, 03:17 AM
Member
 
Join Date: Nov 2006
Location: Washington State
Posts: 59
Daniel Terhorst is on a distinguished road
Default

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;
   }
}
might do the trick. Adjust as you wish. Posts that are too wide extend beyond the specified borders.

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';
-- Daniel Terhorst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 11-07-2006, 03:41 AM
Senior Member
 
Join Date: Nov 2006
Location: Illinois
Posts: 149
TechnoGuyRob is on a distinguished road
Send a message via AIM to TechnoGuyRob Send a message via MSN to TechnoGuyRob
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 06:45 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 by Pavlina LLC