1
Beejay
Forum fullscreen
  • 2004/12/11 23:48

  • Beejay

  • Quite a regular

  • Posts: 232

  • Since: 2004/6/5 2


Does anyone know how to make the forum full screen?

I've done a bit of research and stuff. The left block section in my theme.html looks like:

<td id="leftcolumn">

        <!-- 
Start left blocks loop -->
<{if 
$xoops_lblocks}>
        <{foreach 
item=block from=$xoops_lblocks}>
        <
table cellspacing="0">
          <
tr><td class="blockTitle"><center><{$block.title}></center></td></tr>
          <
tr><td class="blockContent"><{$block.content}></td></tr>
        </
table>
        <{/foreach}>
        <!-- 
End left blocks loop -->
<{/if}>
      </
td>


This doesn't work. Do I need to change things around a bit?

TIA

2
poiinthepark
Re: Forum fullscreen

damn XOOPS logged me out when i hit submit! that sucks... so now reply like i had just typed.


so in short... if you remove

<td id="leftcolumn">

<!-- Start left blocks loop -->
<{if $xoops_lblocks}>
<{foreach item=block from=$xoops_lblocks}>
<table cellspacing="0">
<tr><td class="blockTitle"><center><{$block.title}></center></td></tr>
<tr><td class="blockContent"><{$block.content}></td></tr>
</table>
<{/foreach}>
<!-- End left blocks loop -->
<{/if}>
</td>
from your theme.html file you will loose your left blocks globally accross your site. Is that what you want?

You have options here though!
1: left blocks in a menu in the header!
2: left blocks in a JS file so that they scroll the page as you do and pop out when mouse rolls over. i have these files and can help you if you want them.. drop me an email if you do.
3: You could set up another XOOPS site and run the SUBSITE module available and just install the XOOPS core files with forum and subsite modules and point the subsite to your main sites DB and tell the module which SQL tables to display to the sub site.
This way you could have just your forums running full width.
*much hassle and means your using server space and IMHO would spoil a site.*

it's your site, i dont think there is any possible way to just display the forum module with out left blocks other than to remove them globally.

hope that helps.

3
Beejay
Re: Forum fullscreen
  • 2004/12/12 1:00

  • Beejay

  • Quite a regular

  • Posts: 232

  • Since: 2004/6/5 2


Thanks for your reply. I main thing is when you have right blocks displayed on only the top page every other page the right block isn't there. I just want to do this with the left block also

4
poiinthepark
Re: Forum fullscreen

ok so that simply cuts to the chase.

ok ignore *most* of my above post!.

So you have all of your right blocks displayed on the top page only!.

You wish to only display the LEFT ones on the TOP PAGE too! correct.

Goto your blocks admin and edit all the blocks that are set visable. Default it will show all blocks for registered users so do those first!, you will have to edit each indevidually and set them all to top page.

Do the same to Annonymous Group blocks and the same for Admin/webmaster blocks *any other groups you may have created*.
I know its long winded but its the only way to do what you want.

Check you template/forum/index.html and that it is set to 100% width like in my previous post.

That will save you editing any part of your theme.html file and your LEFT and RIGHT blocks will show on the top page.

Still i think if your forum is going to get used then maybe editing in some navigation functions in the forum pages, like short cuts for BACK TO TOP OF PAGE links will be handy for users, as i said if i was reading a thread that had 20 replies and i had to scroll all the way to the top of the page to find my way out, i would probably not bother A: reading and B: posting.

That is just my opinion! so dont hate me and i hope that sorts out your problem.

5
Beejay
Re: Forum fullscreen
  • 2004/12/12 2:11

  • Beejay

  • Quite a regular

  • Posts: 232

  • Since: 2004/6/5 2


Thanks for that. I've set all blocks on left to top page and not in forum. I've made sure the forum is 100%. But still it doesn't work. Could you have alook at my forum poiinthepark and see if you can see what I'm doing wrong? I really appreciate your help

6
poiinthepark
Re: Forum fullscreen

your problem lies here:
<td id="leftcolumn">

        <!-- 
Start left blocks loop -->
                <!-- 
End left blocks loop -->

      </
td>


and should be:

<td id="leftcolumn">

<!-- 
Start left blocks loop -->
<{if 
$xoops_lblocks}>
<{foreach 
item=block from=$xoops_lblocks}>
<
table cellspacing="0">
<
tr><td class="blockTitle"><center><{$block.title}></center></td></tr>
<
tr><td class="blockContent"><{$block.content}></td></tr>
</
table>
<{/foreach}>
<!-- 
End left blocks loop -->
<{/if}>
</
td>


so go back to your theme.html file and paste that back in!

im on msn or yahoo right now if you want quicker answers, while im still alive at this hour of the morning!.

international_smuggler @ hotmail or yahoo dot com.

7
poiinthepark
Re: Forum fullscreen

looking at the source there is nothing wrong, not that i can see.

all i can think of is that, if you go back to admin/blocks... check the little box at the top so it onoly displayes the blocks that are visable... default it will show all!. saves trauling through unused items.
Some thing in one of the groups must be there still as shown in the forums!. you have a column! if there were no blocks then the column wouldnt be there.

must be some thing missed.

Have you updated your template files?.. check them. admin/system/templates/
are you running a clone template as your forum theme is modified.

8
poiinthepark
Re: Forum fullscreen

glad to have been helpful to you! nice to see it working.


any one else with the same problem it lied here in the code.

<tr> <{if $xoops_lblocks}>
            <
td rowspan="2" valign="top" id="leftcolumn"
              <!-- 
Start left blocks loop -->
            <{foreach 
item=block from=$xoops_lblocks}> <{include file="CHANGE THIS TO YOUR THEME NAME/theme_blockleft.html"}> 
            <{/foreach}> 
              <!-- 
End left blocks loop -->


and set all blocks configs to top page or selected module pages.

dont forget to reload your page too

9
Beejay
Re: Forum fullscreen
  • 2004/12/13 23:48

  • Beejay

  • Quite a regular

  • Posts: 232

  • Since: 2004/6/5 2


Cheers m8. Thanks for your help

10
Montisarts
Re: Forum fullscreen

For anyone who tries this, pointthepark forgot one little thing (close the 'if' tag)


<tr> <{if $xoops_lblocks}>
            <
td rowspan="2" valign="top" id="leftcolumn"
              <!-- 
Start left blocks loop -->
            <{foreach 
item=block from=$xoops_lblocks}> <{include file="CHANGE THIS TO YOUR THEME NAME/theme_blockleft.html"}> 
            <{/foreach}> 
              <!-- 
End left blocks loop [color=CC0000]</td><{/if}>[/color]

Login

Who's Online

208 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits