Using WP_w3all plugin to embed phpBB into WP Page WITHOUT linking users?

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Using WP_w3all plugin to embed phpBB into WP Page WITHOUT linking users?

Re-solved: Using W3All plugin to embed phpBB into WP Page WITHOUT linking users?

by axew3 » Sat Oct 01, 2016 12:17 pm

WP_w3all will include, as separated plugin/module to be added or used as separated (as it is very easy to achieve and is useful/cool), adding pages with easy on WP admin, without doing nothing manually: until this is not ready, the joke can be resumed on just this:

(WP_w3all installed, but disabled, removing the path if was already configured)
copy the default wp_w3all /addons/page-forum.php into your WP template folder, naming as you like (any name), so you’ll create the same named blank page in WP (excluded page- and .php).

The page that will display in this case your forum, that could be anything else, reduced, will look like this (substitute the page-(forum or whatever wasnamed).php code with this):

Code: Select all

<?php 
// wp_w3all pages

 function wp_w3all_hook_jresizer() {
 	
 $s = "<script type=\"text/javascript\" src=\"".plugins_url()."/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.min.js\"></script>
        <script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"></script>
";

	echo $s;
 	
}
 
 add_action('wp_head','wp_w3all_hook_jresizer');
 
// END DO NOT MODIFY

// Start a default WordPress page

 get_header(); 

 ?>

<!-- START iframe div -->

<div class="">
<noscript><h3>Your browser seem to have Javascript disabled, you can't load correctly the forum page at this Url. Please enable Javascript on your browser or <a href="http://url.com">visit the full forum page here</a>.<br /><br /></h3></noscript>
<iframe style="width:100%;border:0 !important;" src="http://localhost/root_integrations/phpbb3_test"></iframe>

		<?php

		echo "<script type=\"text/javascript\">

    	iFrameResize({
    
				log                     : false,
				inPageLinks             : true, 
       // heightCalculationMethod:'bodyScroll', // if iframe not resize on phpBB template bottom, uncomment this

				messageCallback         : function(messageData){ // Callback fn when message is received
					$('p#callback').html(
						'<b>Frame ID:</b> '    + messageData.iframe.id +
						' <b>Message:</b> '    + messageData.message
					);
				}
			});
</script>";
?>

</div>
<!-- END iframe div -->
<?php get_footer(); ?>
change http://localhost/root_integrations/phpbb3_test with your real phpBB URL.
You can create pages you like in this way, naming as you want, and changing just the link to the embedded iframe.

Using WP_w3all plugin to embed phpBB into WP Page WITHOUT linking users?

by daxxruckus » Thu Sep 29, 2016 11:41 pm

OBSOLETE:
refer to this post instead (or any other actual sticky posts about):

https://www.axew3.com/w3/index.php/forum ... ?f=2&t=266

Hi,

love this plugin, it works great! Actually - too great for me. I want my phpBB forum integrated into a Wordpress page, and your feature to do this in the plugin works perfectly once I updated my phpBB theme.

Is there a way I can just use this feature of your plugin, WITHOUT the WP <-> phpBB user linking? I don't want any of the users to exist in Wordpress, only in phpBB. They can sign in on the phpBB forum integrated within my forum page in wordpress. I don't want to sync the users at all.

Is it possible to do this with your plugin? I hope so because the integration of the forum in the page works beautifully.

Thanks!!

site:
http://www.wakeboardsd.net/dev/forum

[added=axew3]
same question has been done and replied/followed here:
https://wordpress.org/support/topic/how ... st-8237747
[/added]

Top