TESSERACT Theme: phpbb not showing and page full width problem

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

Re: phpbb not showing embedded on my forum page

Post by axew3 »

no i mean the setting about URL in WP_w3all admin config page, where:

(REQUIRED) URL - Real phpBB URL - NOTE: do NOT add final slash '/' here. Example: https://www.axew3.com/forum

but: are you sure that your page-forum.php in the template folder, contain the code of the WP_w3all plugin /addons/page-forum.php?

Because the needed code, that need to display into the page source, isn't present as you can see here:
view-source:http://buddyhollylegend.com/index.php/forum/
User avatar
axew3
w3all User
w3all User
Posts: 2707
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: phpbb not showing embedded on my forum page

Post by axew3 »

ops sorry ok, it contain the code .... i had not read the latest message as still not moderated ...
what contain your WP root .htaccess? can you post?
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 »

axew3 wrote:ops sorry ok, it contain the code .... i had not read the latest message as still not moderated ...
what contain your WP root .htaccess? can you post?
Ok cool thanks. Here is my WP Root .htaccess

Code: Select all

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
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 I found the problem here.
My TESSERACT WP theme allows to create a full width page, I always choose this when I create a new page. I tried again and chose "default template" and now the embed works.
http://buddyhollylegend.com/index.php/community/

But I still have issues, because the width is less in the embedded page and the wp footer displays above the phpbb. Although this will fix if I do a hard refresh, but I have to do that every time I visit the page. I will try clear cache to see if it will fix this. Also I can't scroll in phpbb ACP. I thing I can find answerd for these in other topics here, I will search.

One more thing I discovered, maybe useful to add to installation instructions.
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.

Thanks :)
User avatar
axew3
w3all User
w3all User
Posts: 2707
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(); ?>

Post Reply