Add facebook connect button to join page

Hello everyone hope all is well, I am hoping someone can help with this I am trying to add the facebook connect button to the join page, is there anyone that can tackle issue I would really appreciate it!

Thanks in advance!

Quote · 12 Jan 2012

 Deano has a post on this !! hold on I fetch it for you...

 

Hello everyone hope all is well, I am hoping someone can help with this I am trying to add the facebook connect button to the join page, is there anyone that can tackle issue I would really appreciate it!

Thanks in advance!

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 12 Jan 2012

Here is the answer.... check it out ;)

 

http://www.boonex.com/forums/topic/Facebook-Connect-Button-.htm

 

Regards, Josh

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 12 Jan 2012

That puts the facebook connect button on the logon box, but not the join page which is what was requested.

https://www.deanbassett.com
Quote · 12 Jan 2012

For the join page do this.

Edit inc\classes\BxDolJoinProcessor.php

Look for this function.

    function showJoinForm() {
       
        $aJoinFormParams = array(
            'couple_enabled' => $this->bCoupleEnabled,
            'couple'         => $this->bCouple,
            'page'           => $this->iPage,
            'hiddens'        => $this->genHiddenFieldsArray(),
            'errors'         => $this->aErrors,
            'values'         => $this->aValues,
        );
        //echoDbg($this -> oPF);
        echo $this->oPF->getFormCode($aJoinFormParams);
    }


Insert this code just before the line echo $this->oPF->getFormCode($aJoinFormParams);

echo '<div style="text-align: center; margin-top: 8px;"><a href="modules/?r=facebook_connect/login_form"><img border="0" src="' . BX_DOL_URL_ROOT . 'templates/base/images/fbconnectbut.png"></a></div>';

Place a PNG button image named fbconnectbut.png into templates\base\images

This links to the boonex facebook connect. link will need to be changed to link to a different one. Change to modules/?r=deanos_facebook_connect/login_form to link to mine instead of modules/?r=facebook_connect/login_form


https://www.deanbassett.com
Quote · 12 Jan 2012

I should have been more specific Im sorry, I currently have the join page on the home page and would like people to be able to connect and join using there facebook account so I want that option in the join block, how can I do that and like always I really appreciated the help!

Quote · 12 Jan 2012

I provided the code for the join form above your last post here. You must have missed it.

https://www.deanbassett.com
Quote · 12 Jan 2012

will new members be able to join my site using the facebook connect button?

 

Thanks

Quote · 12 Jan 2012

It will work the same way as joining via facebook connect always works. There will be no change on how facebook connect works regardless of which page a button is placed on.


https://www.deanbassett.com
Quote · 12 Jan 2012

Thank you very much I know I can always count on you!

Quote · 12 Jan 2012

Thank you deano92964, you are always great

Qui ne fait pas quand il peut ne fait pas quand il veut.
Quote · 29 Jan 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.