Customizing SMF > Modifications and Packages

SA Facebook Integration

<< < (532/672) > >>

SMFHacks.com Team:

--- Quote from: mmozart on May 29, 2012, 02:22:50 AM ---Greetings!

I had certain problems with this mod. I have website powered by WordPress and smf forum hosted at mywebsiteurl.com/forum . During installation of this mod I have been asked to provide it with username and password in order to change permissions on some files. At the end of installation I was unable to access neither my website or my forum. It looks like it change some files permissions that WordPress do not like. I am not sure what files are changed during this process and why WordPress didn't like it. Problem was solved by hosting company tech support guys.

I really want to install this mod but I do not want to go through website "revitalization" again :S Any advice or suggestion?

--- End quote ---
You can try maybe a manual install. On the modsite download the manual install instructions for the mod then just run the php install script for the tables to get the database setup correctly.

Texan78:
Any suggestions for theses?

http://www.simplemachines.org/community/index.php?topic=365503.msg3342041#msg3342041

http://www.simplemachines.org/community/index.php?topic=365503.msg3342116#msg3342116

-Thanks

Eclipse16V:
Is there already something new regarding the establishment on Facebook?

cichy69:
I got a little problem with this modification.  Maybe someone can help me, or just point me in right direction.

I disabled register with standard smf system, users can only create account with SA Facebook. In plugin options i choose 'automatic' in registration mode, so user click in 'connect with facebook' button and that's all. But there is one problem, if user try to change anything in profile, it must enter password, but facebook password doesn't work.

So currently Im trying to pinpoint part of plugin responsible for making user account, in what file I need to check?
Or maybe someone know what password is automatically generated for users when they connect with facebook?

P.S.
Sorry for my bad english, and that you in advance for any help.

BTW. Great modification.     

SA™:
that part is in sources/facebook/facebookintergrate.php

the password is set in this line
$password = self::fb_createRandomPassword();

though i never got as far as to actualy send/pm the pass to the user

you could setup to send the pass to the user after reg is compleate

in
public static function fb_reg_auto(){

find
 $memberID = registerMember($regOptions);

after you could do this to pm the pass to the users


--- Code: ---
    //Set up the pm
    $title = 'Forum password'; //the title of the pm
    $message = $password; //the body of the pm
   
    $pmfrom = array(
        'id' => 0, //user id where the pm is from
        'name' => 'Admin', //name of the user who the pm is from
        'username' => 'Admin', //username of the user who the pm is from
    );
       
    $pmto = array(
        'to' => array($memberID),// array of ids to send the pm to
        'bcc' => array()//bbc array
    );

    //Now send it
    sendpm($pmto, $title, $message , 0, $pmfrom);
--- End code ---

this is untested so pls back up before trying this chnage

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version