• Resolved techandtonic

    (@techandtonic)


    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:
    https://www.wakeboardsd.net/dev/forum

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author axew3

    (@axewww)

    Hello! First of all, let me mention (as maybe can’t be obvious for many) WP_w3all about template iframe feature (that is magic and great) work thank to this guy/project on github:
    https://davidjbradshaw.github.io/iframe-resizer/: this give the power to WP_w3all to do what can do, with phpBB integrated into a WP page. Yes it has been used in this way in WP first time i think. And Yeah! It is possible to do the same with any page! It is amazing.
    After avatars, WP_w3all will add PM … pm between WP users, using phpBB PM system … fast, useful, cool!

    Now about your question, that i’ve not understand i’m sorry (the answer should be yes it is possible). But i’m sorry, please explain in short exactly:
    you do not want existent WP users, to be added into phpBB when they register?
    OR you do not want phpBB users added into WP, when they visit as logged or login into WP first time?

    • This reply was modified 8 years, 5 months ago by axew3.
    Plugin Author axew3

    (@axewww)

    ps looking your title:

    How to use W3All for WordPress PAGE integration, WITHOUT the wp/phpBB user link?

    Do you just need registrations links in WP, need to point to phpBB?
    If it is, it is already done in WP_w3all, open wp_w3all.php file:
    search for this:

     // this affect the lost password url on WP
    // comment out the follow 'add_filter' line to set lost password link point to phpbb lost password page
    //add_filter( 'lostpassword_url', 'phpbb_reset_pass_url', 10, 2 ); 
    
    // this affect the register url on WP
    // comment out the follow 'add_filter' line to set register link point to phpbb register
    //add_filter( 'register_url', 'phpbb_register_url' ); 
    Plugin Author axew3

    (@axewww)

    ps. just answering to another post and re-reading the title … without linking users
    maybe you mean, to use just the template embed feature, without integrating users?
    Yes the answer, it is very easy and in true, i had think to add the documentation about, it will require just three simple steps. But i’ve still not do it.

    Thread Starter techandtonic

    (@techandtonic)

    Yes your third response here is what I’m looking to do. Just use your template embed feature, WITHOUT integrating users.

    Can you please provide documentation on how to just use that feature? I don’t want any integration of users between WP and phpBB. I just want to use your excellent template embed feature so I can have my phpBB showing in my wordpress page.

    Thank you!

    Plugin Author axew3

    (@axewww)

    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, maybe page-axew3-green-things.php instead than forum), so you’ll create the same named blank page in WP (excluded page- in front).

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

    <?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=\"https://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="<?php echo $w3all_url_to_cms;?>">visit the full forum page here</a>.<br /><br /></h3></noscript>
    <iframe style="width:100%;border:0 !important;" src="https://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 https://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.

    • This reply was modified 8 years, 5 months ago by axew3.
    • This reply was modified 8 years, 5 months ago by axew3.
    • This reply was modified 8 years, 5 months ago by axew3.
    Plugin Author axew3

    (@axewww)

    blank page in WP (excluded page- in front)

    should be:
    blank page in WP (excluded page- AND .php ).

    Thread Starter techandtonic

    (@techandtonic)

    I followed your instructions on your response on your forum, and it worked. Thank you so much for the help!!!!

    Here is where I have it set up:

    https://wakeboardsd.net/dev/forum/

    Thanks again for being so responsive and helpful! You do great work!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to use W3All for WordPress PAGE integration, WITHOUT the wp/phpBB user link?’ is closed to new replies.