Welcome to Geeklog, Anonymous Thursday, February 29 2024 @ 11:31 pm EST

Geeklog Forums

phpbbbridge - want to remove rightblocks and fill whole side of page


Status: offline

brahm2

Forum User
Newbie
Registered: 03/11/06
Posts: 5
I have successfully installed the phpBBBridge mod on one of the latest versions of Geeklog, using a slightly older theme (GulMich - but I've done some tweaking to get it working mostly perfectly).

When one of my users clicks on the forum link, I would like for the right blocks to disappear and for the forum "window" to fill the whole right side of the page - much like geeklog's homepage.
See home: http://www.geeklog.net
And forums: http://www.geeklog.net/forum/index.php
The whole rightblocks menu just disappears and the forums fill the empty space.

I cannot figure out how to do this on my Geeklog installation, and I've tried searching quite a few times - part of the problem is knowing what keywords to use.

Here is my site: http://www.brahm2.com/acl
Here is the forums: http://brahm2.com/acl/phpBB2/index.php - you can see how it does not use all the space it could be using.

Thanks for any replies, Cheers,
Brahm
 Quote

Status: offline

asmaloney

Forum User
Full Member
Registered: 02/08/04
Posts: 214

Try changing the phpbbbridge config option called $_PHPBBB_CONF['show_right_blocks']...

- Andy
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
in path_to_geeklog/plugins/phpbbbridge/config.php

look for :

Text Formatted Code
$_PHPBBB_CONF['show_left_blocks']  = true;
$_PHPBBB_CONF['show_right_blocks'] = true;

 


and set them approprietly.

Ha Andy beat me by a second!
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

brahm2

Forum User
Newbie
Registered: 03/11/06
Posts: 5
ah yes, should have mentioned that I already have set those options (show_right_blocks=false) - you can see when you click my forum link that the right blocks are gone, but the white space where they were is still there and the forum is not filling it up. This is the issue I am referring to.

Any thoughts?

Thanks Smile
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
Believe it or not, your problem lies in your geeklogs theme. In /layout/GulMich/style.css
#central {
float:left;
width: 56%;
margin-bottom: 20px;
}
is your content container, and as you can see the width needs to be set to 100%
Although that may mess with the look of your site.
Try playing with the number.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

brahm2

Forum User
Newbie
Registered: 03/11/06
Posts: 5
Okay.. one final question.

If I change the width in the style.css file, it changes the center width for all of my pages. How can I change it so that the page is wider only when the forum is selected?

Thanks for the responses so far.. tried to figure this out on my own without much luck!
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
try adding this to your phpbb2/templates/subSilver/subSilver.css

#central {
float:left;
width: 100% !important;
margin-bottom: 20px;
}

and return the code in your geeklog css to normal.

its important to add the !important after whatever width you settled on.

you are going to find that the theme you chose for gl is not very flexible for dynamic content.
As there are several other plugins that want to use the whole right side too.

hope this helps.

FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

brahm2

Forum User
Newbie
Registered: 03/11/06
Posts: 5
Problem Solved - though a manual, workaroundish way. Thought I'd post it in case others happened to have the same problem.

I disabled the menu from the right side of the screen in /plugins/phpbbbridge/config.php
In the /[phpBBdir]/templates/subSilver folder I manually changed the width="100%" in the viewforum_body.tpl, index_body.tpl, and other similar files to a number around 600.. not percent though, just a solid pixel number. And that does the trick.

Didn't touch any CSS stuff. But thanks to everyone for the help.

Hope this helps someone searching in the future.
 Quote

All times are EST. The time is now 11:31 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content