TESSERACT Theme: phpbb not showing and page full width problem

User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: phpbb not showing embedded on my forum page

Post by axew3 »

Oh! hello, thank you for the report. This need to be fixed, i've just read and and not test the issue, if it is,
If you use a different username for phpbb and wordpress admin, make sure they do not have the same email address, otherwise it will not be possible to log in. I went to the database and changed the wp admin email address to fix this.
this is a bug that need as soon fixed.

About your template that have width not full on page, two reasons:
or your phpBB template is width fixed, that is not the case, as it display more big about width at real url http://www.buddyhollylegend.com/phpbb/index.php

so i think this is a problem about the template that embed the default wp page, as it is build by wp and not by the theme template process.
Can you try to post your default template page.php, as it is on your template folder you use (that is presumably used to create others).
Lee
User w
User w
Posts: 11
Joined: Thu Oct 27, 2016 7:59 pm

Re: phpbb not showing embedded on my forum page

Post by Lee »

Ok thanks for looking.
For my install, the admin email address must not be the same, if username is different in wordpress admin and phpbb admin.

This is my wp theme page.php

Code: Select all

<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package Tesseract
 */

get_header(); 

?>

	<div id="primary" class="content-area sidebar-left">
		<main id="main" class="site-main" role="main">

			<?php while ( have_posts() ) : the_post(); ?>

				<?php get_template_part( 'content', 'page' ); ?>

				<?php
					// If comments are open or we have at least one comment, load up the comment template
					if ( comments_open() || get_comments_number() ) :
						comments_template();
					endif;
				?>

			<?php endwhile; // end of the loop. ?>

		</main><!-- #main -->
	</div><!-- #primary -->

<?php if ( !is_plugin_active('woocommerce/woocommerce.php') || ( is_plugin_active('woocommerce/woocommerce.php') && ( !isset( $layout_default ) || !$layout_default || ( $layout_default == 'sidebar-left' ) || ( $layout_default == 'sidebar-right' ) ) ) ) get_sidebar(); ?>
    
<?php get_footer(); ?>

Lee
User w
User w
Posts: 11
Joined: Thu Oct 27, 2016 7:59 pm

Re: phpbb not showing embedded on my forum page

Post by Lee »

It looks like the theme footer goes to the bottom of viewport by default, rather than bottom of content.
I added

Code: Select all

<p style="clear:both;"></p>
in the community page, but it didn't fix the issue. I will maybe try to add this in phpbb footer to see it it will work.
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: phpbb not showing embedded on my forum page

Post by axew3 »

maybe in this way will be fixed, two versions on fly, this one add default divs as i've see theme add on your home page that is full, not sure if all the two are necessary, you can try to see and remove one of the two (or both) if necessary, in case remove also closing divs and look to the comment about woocoomerce on bottom: ......

[REMOVED] look posts more below for correct answer
Lee
User w
User w
Posts: 11
Joined: Thu Oct 27, 2016 7:59 pm

Re: phpbb not showing embedded on my forum page

Post by Lee »

Hi, thanks, I appreciate your time with this.

These solutions do not fix this issue unfortunately. I am trying to put a div somewhere in the theme index to clear the footer div, but this also does not work yet, so this issue is with my theme.

If I use the original code for this theme page.php, the issue will fix after ctrl+f5. strange!
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: phpbb not showing embedded on my forum page

Post by axew3 »

but in this exact moment it look right to me!
Post Reply