How to hide the board with a button?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
AdolfHipster
Registered User
Posts: 8
Joined: Thu Aug 10, 2017 7:53 pm

How to hide the board with a button?

Post by AdolfHipster » Thu Aug 10, 2017 9:15 pm

Hi everyone!

I'm looking for some way to hide/show the board with a button, so i could put the header and the footer together. Here is a image of what I want.

I have a javascript that works, but I don't know where to put it. Index_body maybe?

Thank you in advance! :D
Attachments
Board.jpg

AdolfHipster
Registered User
Posts: 8
Joined: Thu Aug 10, 2017 7:53 pm

Re: How to hide the board with a button?

Post by AdolfHipster » Wed Aug 16, 2017 11:58 pm

It's not possible?

I'm having trouble to find the classes which represent the login's part (white part from the picture). I already have success hiding the navbars.

Thanks!

AdolfHipster
Registered User
Posts: 8
Joined: Thu Aug 10, 2017 7:53 pm

Re: How to hide the board with a button?

Post by AdolfHipster » Thu Sep 28, 2017 7:52 pm

Hi everyone,

I'm using a prosilver based theme and I found that "index_body.html" is the main structure of the forum. It's correct?

I only need some hint on what files should I edit.

Thanks.

Toxyy
Registered User
Posts: 323
Joined: Mon Oct 24, 2016 3:22 pm

Re: How to hide the board with a button?

Post by Toxyy » Tue Oct 03, 2017 6:49 am

Why would anyone want to collapse the site? Wouldn't they just exit it instead? I'm not seeing the purpose here.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

User avatar
Ger
Registered User
Posts: 1103
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: How to hide the board with a button?

Post by Ger » Tue Oct 03, 2017 12:32 pm

Usually in Prosilver you could hide/collapse #page-body.

However, I agree with Toxyy here: I don't see the benefit in hiding everything on a page instead of just leaving it.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

AdolfHipster
Registered User
Posts: 8
Joined: Thu Aug 10, 2017 7:53 pm

Re: How to hide the board with a button?

Post by AdolfHipster » Mon Oct 09, 2017 6:11 pm

The goal is to make the forum main board as forum board and as homepage. I don't have the knowledge yet to integrate the forum login with a webpage, so I think that this idea is another way to accomplish the same thing.

Thanks for your help. :)

User avatar
Ger
Registered User
Posts: 1103
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: How to hide the board with a button?

Post by Ger » Tue Oct 10, 2017 8:23 am

I think you better read up on using external pages, the external login, the pages extension and my cmBB extension.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

Like my work? Buy me a coffee to keep it coming. :ugeek:

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: No registered users and 2 guests