On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Removing sidebar on Simple Forum Page.

UserPost

3:01 am
26 Dec 2007


Jack

Guest

1

Awesome plugin…

 

What I want to do, is remove the 2 right-side sidebars just on the forum page.  Seems there should be a Wordpress option for that, maybe in the future tho.  

Any help would be appreciated. 

 

4:02 am
26 Dec 2007


Jack

Guest

2

Ok, I got it.  I’ve removed the 2 sidebars for the forum page only, now I need to figure out how to increase the width of the forum itself on that page.

10:37 am
26 Dec 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

3

See the tutorial in the ‘Articles’ tab on my sidebar. Hopefully that will help.

Most themes define a section called ‘#content’ which is probably the one you need to work with. 

4:00 pm
26 Dec 2007


Jack

Member

posts 6

4

Yeah, Yellow Swordfish I already read that.  I researched it for a few hours last night but what I did was rename the page.php to forum.php and took out the sidebar code.  Nowhere in the forum.php is there a #content tag.  I’m sure there is a way in PHP to put that in, but I’m not exactly sure.

 

BTW…I’m registered now.. yaaay!! lol.. Tongue out  Figured I’d be around for a while.

6:07 pm
26 Dec 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

5

The #content ‘tag’ is not in the forum. It is in your WP theme CSS file. And it might not be called #content. That is just a possibility and what it is often called - especially by theme authors who start with the WP default theme as a model. The modifications for column width need to be done in the style.css of your theme.

7:10 pm
26 Dec 2007


Mr Papa

Moderator

Arizona, USA

posts 1602

6

check your header.php file… a lot of theme authors set up the basic layout in that file…

6:23 pm
20 Jan 2008


Ari

Member

posts 31

7

I’m using the WP Default Theme 1.6 by Michael Heilemann. Does someone have a template file to share to be used with SF (i.e. without sidebar) - or would I need to tweak several files for that?

7:37 pm
20 Jan 2008


Ari

Member

posts 31

8

Managed to find out what to do. Here’s what I did. 

1) Created a new file (sftemplate.php) based on page.php in my template folder.

2) Added <?php /* Template Name: forum */ ?> in the beginning of the file.

3) Removed the line having a reference to sidebar from it.

4) To get wider forum table, changed "narrowcolumn" to "forumcolumn" in template file and created definitions for it in styles.css (copied widecolumn defs). Changed basically only .forumcolumn settings to "margin: 5px 0 0 50px;" and "width: 600px;"

5) Changed the page used by SF to use template just defined. 

Works for me. Hopefully helps others as well.



Reply to Topic: Removing sidebar on Simple Forum Page.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 9        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

phonictony

5 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)