Facebook Mod , unsupported by author

Discussion in 'Modifications' started by jjjason84, Feb 7, 2014.

  1. worldbetta

    worldbetta New Member

    Joined:
    Mar 5, 2014
    Messages:
    59
    Likes Received:
    3
    Username: webids
    Pass: webid123

    should work
     
  2. worldbetta

    worldbetta New Member

    Joined:
    Mar 5, 2014
    Messages:
    59
    Likes Received:
    3
    Username: webids
    Pass: webid123

    should work with this user and password
     
  3. Appl Pglng

    Appl Pglng Member Donor

    Joined:
    Mar 12, 2014
    Messages:
    59
    Likes Received:
    6
    Okay, lets get back to this. I logged in to your account and yest, it is indeed not working.

    Here is my Edit data that is working.

    Code:
    <!-- INCLUDE user_menu_header.tpl -->
    <script type="text/javascript">
    window.fbAsyncInit = function() {
    	FB.init({
    	appId      : '{FBOOK_APPID}', 
    	status     : true, 
    	cookie     : true, 
    	xfbml      : true  
    	});
    };
    (function(d){
    	var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
    	if (d.getElementById(id)) {return;}
    	js = d.createElement('script'); js.id = id; js.async = true;
    	js.src = "//connect.facebook.net/en_US/all.js";
    	ref.parentNode.insertBefore(js, ref);
    }(document));
    
    function FBLogin(){
    	FB.login(function(response){
    		if(response.authResponse){
    			window.location.href = "index.php?fbconnect=fblogin";
    		}
    	}, {scope: 'email,user_likes'});
    }
    </script>                                 
    <form name="details" action="" method="post">
    <input type="hidden" name="csrftoken" value="{_CSRFTOKEN}">
    <input type="hidden" name="FB_ids" value="{FBOOK_ID}">
    <table width="100%" border="0" cellpadding="4" align="center">
    	<tr>
    
    		<td align="right" width="30%">{L_002}</td>
    		<td><i>{NAME}</i></td>
    	</tr>
    	<tr>
    		<td align="right" valign="top">{L_003}</td>
    		<td valign="top"><i>{NICK}</i></td>
    	</tr>
    	<tr>
    		<th colspan="2" valign="top" align="center">{L_617}</td>
    	</tr>
    	<tr>
    		<td valign="top" class="errfont" style="text-align:right !important;">{L_004}</td>
    		<td align="left"><input type="password" name="TPL_password" size=20 maxlength="20"> {L_050}</td>
    	</tr>
    	<tr>
    		<td valign="top" class="errfont" style="text-align:right !important;">{L_005}</td>
    		<td align="left">
    			<input type="password" name="TPL_repeat_password" size=20 maxlength=20 />
    		</td>
    	</tr>
       <!-- IF B_FBOOK_LOGIN -->
    <div>{FBOOK_EMAIL}</div>
    <!-- ENDIF -->
    <br> 
    	<tr>
    		<td valign="top" align="right">{L_006}</td>
    		<td>
    			<input type="email" name="TPL_email" size=50 maxlength=50 value="{EMAIL}">
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_252}</td>
    		<td>
    			{DATEFORMAT} <input type="text" name="TPL_year" size="4" maxlength="4" value="{YEAR}">
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_009}</td>
    		<td>
    			<input type="text" name="TPL_address" size=40 maxlength=255 value="{ADDRESS}">
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_010}</td>
    		<td>
    			<input type="text" name="TPL_city" size=25 maxlength=25 value="{CITY}">
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_011}</td>
    		<td>
    			<input type="text" name="TPL_prov" size=10 maxlength=10 value="{PROV}">
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_014}</td>
    		<td>
    			<select name="TPL_country">
    				{COUNTRYLIST}
    			</select>
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_012}</td>
    		<td>
    			<input type="text" name="TPL_zip" size=8 value="{ZIP}">
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_013}</td>
    		<td>
    			<input type="text" name="TPL_phone" size=40 maxlength=40 value="{PHONE}">
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_346}</td>
    		<td>
    			{TIMEZONE}
    		</td>
    	</tr>
    	<tr>
    		<td valign="top" align="right">{L_352}</td>
    		<td>
    			<input type="radio" name="TPL_emailtype" value="html" {EMAILTYPE1} />
    			{L_902}
    			<input type="radio" name="TPL_emailtype" value="text" {EMAILTYPE2} />
    			{L_915}
    		</td>
    	</tr>
    	<tr>
    <!-- IF B_NEWLETTER -->
    		<td align="right" height="2">{L_603}<td>
    			<input type="radio" name="TPL_nletter" value="1" {NLETTER1} />
    			{L_030}
    			<input type="radio" name="TPL_nletter" value="2" {NLETTER2} />
    			{L_029}<br><span class="smallspan"><i>{L_609}</i></span>
    		</td>
    	</tr>
    <!-- ENDIF -->
    </table>
    
    <div class="padding">
    	<h2>{L_719}</h2>
    </div>
    
    <table width="100%" border="0" cellpadding="4" align="center">
    <!-- IF B_PAYPAL -->
    	<tr>
    		<td align="right" width="30%">{L_720}</td>
    		<td>
    			<input type="text" name="TPL_pp_email" size=40 value="{PP_EMAIL}">
    		</td>
    	</tr>
    <!-- ENDIF -->
    <!-- IF B_AUTHNET -->
    	<tr>
    		<td align="right" width="30%">{L_773}</td>
    		<td>
    			<input type="text" name="TPL_authnet_id" size=40 value="{AN_ID}">
    		</td>
    	</tr>
    	<tr>
    		<td align="right" width="30%">{L_774}</td>
    		<td>
    			<input type="text" name="TPL_authnet_pass" size=40 value="{AN_PASS}">
    		</td>
    	</tr>
    <!-- ENDIF -->
    <!-- IF B_WORLDPAY -->
    	<tr>
    		<td align="right" width="30%">{L_824}</td>
    		<td>
    			<input type="text" name="TPL_worldpay_id" size=40 value="{WP_ID}">
    		</td>
    	</tr>
    <!-- ENDIF -->
    <!-- IF B_TOOCHECKOUT -->
    	<tr>
    		<td align="right" width="30%">{L_826}</td>
    		<td>
    			<input type="text" name="TPL_toocheckout_id" size=40 value="{TC_ID}">
    		</td>
    	</tr>
    <!-- ENDIF -->
    <!-- IF B_MONEYBOOKERS -->
    	<tr>
    		<td align="right" width="30%">{L_825}</td>
    		<td>
    			<input type="text" name="TPL_moneybookers_email" size=40 value="{MB_EMAIL}">
    		</td>
    	</tr>
    <!-- ENDIF -->
    	<tr>
    		<td colspan="2">&nbsp;</td>
    	</tr>
    	<tr>
    		<td colspan=2 align="center">
    			<input type="submit" name="Input" value="{L_530}" class="button">
    			<input type="reset" name="Input" class="button">
    		</td>
    	</tr>
    </table>
    <input type="hidden" name="action" value="update">
    </form>
    
    <!-- INCLUDE user_menu_footer.tpl -->
    Still the login is not working. And I dont know, there are times that when I share the item it goes white. Then later itll be working again. I am studying Jasons other facebook thread and trying all the codes there.

    I think its the Facebook cont that is the problem maybe.
     
  4. Appl Pglng

    Appl Pglng Member Donor

    Joined:
    Mar 12, 2014
    Messages:
    59
    Likes Received:
    6
    Tadaaa! Login working now.

    I used the last part of the updated file that Jason gave and pasted it on the original facebook cont.

    Here is my working facebook cont file:

    Code:
    <?php
    ///////////////////////////////////////////////////////////////////////////////////////
    //// Connect with facebook Mod ////////// E ///// I left nots and labeled most ////////
    ///////////////////////////////////////// N ///// of the codes to tell you what ///////
    ///////////////////////////////////////// J ///// they are for and what they do. //////
    //// There is 4 different parts ///////// O ///// You set your app id and app /////////
    //// to this mod on this page /////////// Y ///// secret in your admin area and ///////
    ///////////////////////////////////////////////// you can also turn the connect ///////
    //// part 1: log in to facebook ///////////////// with facebook on or off. ////////////
    //// and gets the info and is /////////// T ///////////////////////////////////////////
    //// stored in webid sql //////////////// H ///
    ///////////////////////////////////////// E ///
    //// Part 2 unlink facebook from webid ////////
    //// The unlink facebook deletes the //////////
    //// facebook info that is stored in //// F ///
    //// webid sql. This is only used if //// A ///
    //// the user clicks on the unlink ////// C ///
    //// facebook button. /////////////////// E ///
    ///////////////////////////////////////// B ///
    //// part 3: checks the facebook ids //// O ///
    //// in the sql to see if the user ////// O ///
    //// is a website member. /////////////// K ///
    ///////////////////////////////////////////////
    ///////////////////////////////////////////////
    ////// part 4: Post auctions to ///////// M ///
    ////// facebook twitter google ////////// O ///
    ////// with the item price, ///////////// D ///
    ////// description, image /////////////////////
    ////// and title. /////////////////////////////
    ///////////////////////////////////////////////
    
    
    /////////////////////////////////////////
    ////// part 1 starts here ///////////////
    /////////////////////////////////////////
    ////// Get user info from facebook //////
    /////////////////////////////////////////
    /////////////////////////////////////////////
    //////// Check the URL to see if the word ///
    //////// fbconnect is in the URL          ///
    $checklink = isset($_GET["fbconnect"])? $_GET["fbconnect"] : ''; 
    
    /////////////////////////////////////////////
    /////////////////////////////////////////////////////
    ///////// This code only runs if the connect with ///
    ///////// Facebook button has been clicked        ///
    ///////// on in the register.php, index.php       ///
    ///////// or user_menu.php and edit_data.php pages //
    /////////////////////////////////////////////////////
    switch($checklink) 
    {
        case "fblogin": 
        $fbookappid = $system->SETTINGS['facebook_app_id'];
        $fbookappsecret = $system->SETTINGS['facebook_app_secret'];
        require'includes/facebook.php'; 
        $fbappid = "$fbookappid";   
        $fbappsecret = "$fbookappsecret";  
        $facebook   = new Facebook(array( 
              'appId' => $fbappid, 
              'secret' => $fbappsecret, 
              'cookie' => TRUE, 
        ));
        $fbookuser = $facebook->getUser();
        if ($fbookuser) 
        { 
            try 
            { 
                $user_profile = $facebook->api('/me'); 
            } 
            catch (Exception $e) { 
                $ERR = $e->getMessage(); 
                exit(); 
            } 
            //////Get the person facebook info
            $fb_user_fbids = $fbookuser; 
            $fbuser_email = isset($user_profile["email"])?$user_profile["email"] : ''; 
            $fbuser_fnmae = isset($user_profile["name"])?$user_profile["name"] : ''; 
            $fbuser_address = isset($user_profile["location"])? $user_profile["location"] : ''; 
            $fbuser_phone = isset($user_profile["phone"])? $user_profile["phone"] : ''; 
            $fbuser_status = isset($user_profile["status"]) ? $user_profile["status"] : ''; 
            $fbuser_birthday = isset($user_profile["birthday"]) ? $user_profile["birthday"] : ''; 
            $fbuser_image = isset($fb_user_fbids) ? "https://graph.facebook.com/".$fb_user_fbids."/picture?type=large" : ''; 
            $post_time = time();  
            
            /////////This will check to see if the person has a stored FB id in the FB sql table  
            /////////If there is no stored FB id in the FB sql table then it will make a new 
            /////////FB id column in the FB sql table 
            $query = "SELECT * FROM " . $DBPrefix . "fblogin WHERE email ='" . $fbuser_email . "'"; 
            $result = mysql_query($query); 
            $system->check_mysql($result, $query, __LINE__, __FILE__); 
            
            /// This checks to see if there is a 
            /// facebook id already stored in the  
            /// sql and if there is no facebook id
            /// stored in the sql then this will 
            /// run and store there facebook id
            if (mysql_num_rows($result) == 0) 
            { 
                $sql = "INSERT INTO " . $DBPrefix . "fblogin (fb_id, name, email, image, postdate, address, phone, birthday, status) VALUES ('$fb_user_fbids', '$fbuser_fnmae', '$fbuser_email', '$fbuser_image', '$post_time', '" . $fbuser_address["name"] . "', '$fbuser_phone', '$fbuser_birthday', '$fbuser_status')"; 
                $res = mysql_query($sql); 
                $system->check_mysql($res, $sql, __LINE__, __FILE__);
    
                $fb_users_id['fb_id'] = $fb_user_fbids;
             } else {
            
            $fb_users_id = mysql_fetch_assoc($result);
            }
            
            //// Make new session's that will be used later on  
            $_SESSION['FBOOK_USER_EMAIL'] = $fbuser_email; 
            $_SESSION['FBOOK_USER_NAME'] = $fbuser_fnmae;
            $_SESSION['FBOOK_USER_IDS'] = $fb_users_id['fb_id'];
            $_SESSION['FBOOK_USER_IMAGE'] = $fbuser_image;
            
            
            
            if (isset($fb_users_id['fb_id']))
            {
                //// Checking the users table to see if 
                //// the user has a stored FB id and if it matchs
                //// we need this code so we can get the facebook
                //// login to work on webid
                $query = "SELECT id, fblogin_id
                FROM " . $DBPrefix . "users 
                WHERE fblogin_id = " . $fb_users_id['fb_id'];
                $fbsql = mysql_query($query);
                $system->check_mysql($fbsql, $query, __LINE__, __FILE__);
                $fb_wb = mysql_fetch_assoc($fbsql);
                $match_ids = $fb_wb['fblogin_id'] == $fb_users_id['fb_id'];
            }
            if ($match_ids)
            {    
                //// make the session that will be needed to see
                //// if the user has a stored facebook id in there sql column 
                $_SESSION['FB_WB'] = $fb_wb['id'];
                
                //// Getting redirected back to any pages that had the 
                //// the redirect session made on if there no redirect session
                //// then the person will be redirected back to the index.php
                if (isset($_SESSION['REDIRECT_AFTER_FBLOGIN']))
                {
                    $redirect = $_SESSION['REDIRECT_AFTER_FBLOGIN'];
                    $URL = $redirect;
                }
                else
                {
                    $URL = 'index.php';
                }
            }
            elseif (isset($_SESSION['REDIRECT_AFTER_FBLOGIN']))
            {
                    $redirect = $_SESSION['REDIRECT_AFTER_FBLOGIN'];
                    $URL = $redirect;
    		}
            else
            {
                    $URL = 'register.php?';
             
            }             
        }
        break;  
         
    ///////////////////////////////////
    //// Part 2 starts here         ///
    //// unlink facebook with webid ///
    ///////////////////////////////////
        case "unlinked":
        	$query = "SELECT id, fblogin_id
        	FROM " . $DBPrefix . "users 
            WHERE id = " . $user->user_data['id'];
            $fb_sql = mysql_query($query);
            $system->check_mysql($fb_sql, $query, __LINE__, __FILE__);
            $unlink_fb = mysql_fetch_assoc($fb_sql);
    
        if (isset($unlink_fb['fblogin_id']))
        {
            /// Delete the user facebook column that is stored in the facebook table in webid sql
            $query = "DELETE from " . $DBPrefix . "fblogin WHERE fb_id = " . $unlink_fb['fblogin_id'];
            $system->check_mysql(mysql_query($query), $query, __LINE__, __FILE__);
            
            //// Delete the facebook id from the user column that will be turned to 0
            $query = "UPDATE " . $DBPrefix . "users SET fblogin_id = '0' WHERE id = '" . $user->user_data['id'] . "'";
              $system->check_mysql(mysql_query($query), $query, __LINE__, __FILE__);
              
              /// unset all facebook session's  
            unset($_SESSION['FBOOK_USER_IDS']);
            unset($_SESSION['FB_WB']);
            unset($_SESSION['FBOOK_USER_EMAIL']);
            unset($_SESSION['FBOOK_USER_NAME']);
            unset($_SESSION['FBOOK_USER_IMAGE']);
          }
              $URL = 'edit_data.php';      
        break;
    /// Part 2 ends here   ///
    ///////////////////////////
    } 
    //////Part 1 ends here  //////
    ////////////////////////////////
    /////////////////////////////////
    //////////////////////////////////
    //// Part 3 starts here ////////////
    //////////////////////////////////////
    //// Facebook login code that turns // 
    //// in to webid login code. /////////
    //////////////////////////////////////
    //// checking to see if the user has the FBOOK_USER_IDS session
    if(isset($_SESSION['FBOOK_USER_IDS']))
    {
        //// checking to see if the user has the FB_WB session
        if (isset($_SESSION['FB_WB']))
        {
             ////turning the session in to a salt
            $checkusersfb = $_SESSION['FBOOK_USER_IDS'];
            
            ////Check the users sql table to see if a user has the same FB id
            ////and if there is a user with the same FB id it will log them in
            $query = "SELECT id, hash, suspended, password FROM " . $DBPrefix . "users WHERE fblogin_id = " . $checkusersfb;
            $sql = mysql_query($query);
            $system->check_mysql($sql, $query, __LINE__, __FILE__);
            
            /// From here down is what turns the facebook 
            /// login in to webid login.
            if (mysql_num_rows($sql) > 0)
            {    
                $_SESSION['csrftoken'] = md5(uniqid(rand(), true));
                $user_data = mysql_fetch_assoc($sql);
                $password = $user_data['password'];
                if ($user_data['suspended'] == 9)
                {
                    $_SESSION['signup_id'] = $user_data['id'];
                    header('location: pay.php?a=3');
                    exit;
                }
                
                /// Here we are checking the user account
                /// to see if the account is suspended
                if ($user_data['suspended'] == 1)
                {
                    $ERR = $ERR_618;
                }
                elseif ($user_data['suspended'] == 8)
                {
                    $ERR = $ERR_620;
                }
                elseif ($user_data['suspended'] == 10)
                {
                    $ERR = $ERR_621;
                }
                else
                {
                    /// Here we are making the webid session's to tell
                    /// webid that we are loged in
                    $_SESSION['WEBID_LOGGED_IN']         = $user_data['id'];
                    $_SESSION['WEBID_LOGGED_NUMBER']     = strspn($password, $user_data['hash']);
                    $_SESSION['WEBID_LOGGED_PASS']         = $password;
                            
                    // Update "last login" fields in users table
                    $query = "UPDATE " . $DBPrefix . "users SET lastlogin = '" . gmdate("Y-m-d H:i:s") . "' WHERE id = " . $user_data['id'];
                    $system->check_mysql(mysql_query($query), $query, __LINE__, __FILE__);
                    
                    ////check ip
                    $query = "SELECT id FROM " . $DBPrefix . "usersips WHERE USER = " . $user_data['id'] . " AND ip = '" . $_SERVER['REMOTE_ADDR'] . "'";
                    $res = mysql_query($query);
                    $system->check_mysql($res, $query, __LINE__, __FILE__);
                        if (mysql_num_rows($res) == 0)
                        {
                            $query = "INSERT INTO " . $DBPrefix . "usersips VALUES
                            (NULL, '" . $user_data['id'] . "', '" . $_SERVER['REMOTE_ADDR'] . "', 'after','accept')";
                            $system->check_mysql(mysql_query($query), $query, __LINE__, __FILE__);
                        }
    
                    // delete your old session
                    if (isset($_COOKIE['WEBID_ONLINE']))
                    {
                        $query = "DELETE from " . $DBPrefix . "online WHERE SESSION = '" . strip_non_an_chars($_COOKIE['WEBID_ONLINE']) . "'";
                        $system->check_mysql(mysql_query($query), $query, __LINE__, __FILE__);
                    }
                    
                    /// Here we are unset unneeded session's
                    unset($_SESSION['FBOOK_USER_EMAIL']);
                    unset($_SESSION['FBOOK_USER_NAME']);
                }
            }
    
        }
    }
    
    //$URL = ''; 
    if (isset($URL)) {
    header('location: ' . $URL);
    exit();
    }
    /////Part 3 ends here //////////
    ////////////////////////////////
    ////////////////////////////////
    //// Part 4 starts here ////////
    //// Post auctions to //////////
    //// facebook twitter google ///
    //// with the item price, //////
    //// description, image ////////
    //// and title. ////////////////
    ////////////////////////////////
    ///////////////////////////////////
    /////////Auction price in title ///
    ///////////////////////////////////
    
    //// Here we are getting the auctions prices
    //// and making them in to salt
    if (!empty($auction_data)) {
    $buy_now_price = strip_tags($system->print_money($auction_data['buy_now']));
    $bid_price = strip_tags($system->print_money($minimum_bid));
    
    //Checking to see if the auction is a Buy Now only auction
    if (isset($auction_data['buy_now']) && ($auction_data['bn_only'] == 'y'));
    {
        $fb_price = " - Buy Now " . $buy_now_price;
    }
    //Checking the auction to see if it is a Standard Auction with a buy now botton
    if (isset($min_bid) && ($auction_data['bn_only'] == 'n') && (isset($auction_data['buy_now'])))
    {
        $fb_price = " - Current Bid: " . $bid_price . " or Buy Now " . $buy_now_price;
    }
    //Checking the auction to see if it is a Standard Auction with no buy now botton
    if (isset($min_bid) && ($auction_data['bn_only'] == 'n') && ($auction_data['buy_now'] == 0))
    {
        $fb_price = " - Current Bid: " . $bid_price;
    }
    
    ///////////////////////////////
    ///////// Auction title    ////
    ///////////////////////////////
    
    ///// Checking to see if the auction title is set
    ///// if the auction title is not found it will
    ///// display the page title.
    if (isset($auction_data['title'])) 
    {
        $fb_title = $auction_data['title'];
    }
    else         
    {
        $fb_title = $system->SETTINGS['sitename'] . $page_title;
    }
    
    /////////////////////////////////
    ///////// Auction Description ///
    /////////////////////////////////
    function shortText($string,$lenght) {
        $string = substr($string,0,$lenght).".....";
        $string_ende = strrchr($string, " ");
        $string = str_replace($string_ende," .....", $string);
        return $string;
    }
    if (isset($auction_data['description'])) {
                $fbdescW = strip_tags($auction_data['description']);
                $fbdescW = trim($fbdescW);
                $fb_desc = $fbdescW;
                }
                else         
                {
                $fb_desc = stripslashes($system->SETTINGS['descriptiontag']);
    }
    
    $fb_desc = shortText($fb_desc,350);
    
    /////////////////////////////////
    ///////// Auction Image      ////
    /////////////////////////////////
    $fb_pic01 = $system->SETTINGS['siteurl'];
    $fb_pic02 = $system->SETTINGS['thumb_show'];
    $fb_pic03 = $uploaded_path . $auction_data['id'] . '/' . $auction_data['pict_url'];
    
    if (empty($auction_data['pict_url'])) 
    {
    $fb_img = "https://ubidzz.com/themes/ubidzz/logo.gif";
    }
    if (isset($auction_data['pict_url'])) 
    {
    $fb_img = $fb_pic01."getthumb.php?w=".$fb_pic02."&fromfile=".$fb_pic03;
    }
    
    //////////////////////////////////
    ///////// Auction URL          ///
    //////////////////////////////////
    $fb_url = (empty($_SERVER['HTTPS'])) ? 'http://' : 'https://';
    $fb_url .= $_SERVER['HTTP_HOST'];
    $fb_url .= $_SERVER['REQUEST_URI'];
    
    //////////////////////////////////
    /////// social network array's ///
    //////////////////////////////////
    $template->assign_vars(array(
            'FB_TITLE' => $fb_title,
            'FB_DESC' => $fb_desc,
            'FB_IMG' => $fb_img,
            'FB_URL' => $fb_url,
            'FB_PRICE' => $fb_price,
            ));
    }        
    /////Part 4 ends here
    
    I think its just a comma or 2 that might have gotten in there.

    CELEBRATIONS!

    A beer for Jason!
     
  5. Appl Pglng

    Appl Pglng Member Donor

    Joined:
    Mar 12, 2014
    Messages:
    59
    Likes Received:
    6
    Jason, a bit more question. :p

    After the Submit part, where it says see your item, post similar, etc. I tried pasting the share button too, thats a good time to share the item.

    It ended up like this.
    But not sharing though. It has a white screen. I know it needs to be told that the link is this one >><a href="{SITEURL}item.php?id={AUCTION_ID}&mode=1">

    How to do that?
     
  6. Luke William Johnson

    Luke William Johnson New Member

    Joined:
    Aug 11, 2011
    Messages:
    3
    Likes Received:
    0
    I had a web tech from my host install following your instructions and the site turned out blank and wouldn't load anything other than a white screen :(
     
  7. TechGuy28

    TechGuy28 New Member

    Joined:
    May 26, 2014
    Messages:
    1
    Likes Received:
    0
    so i spent 30 minutes integrating the code to the theme. I find after i had syntax errors and the facebook login button would not show on either of the pages. I am hoping i can get this to work with my website as its in need of Facebook Integration asap

    edit: I changed the settings in the admin panel to no avail :confused:

    using version webid 1.1.1
     
  8. jessamp

    jessamp New Member

    Joined:
    Dec 7, 2014
    Messages:
    2
    Likes Received:
    0
    So just reading through here, and working out the bugs myself I have made it pretty far. I have everything looking pretty nice, but login is not yet functional. I have not had a single SQL error using your instruction, and only a few syntax errors that were easy to resolve, but I am now 2 days in on this next problem.

    I am running Webid 1.1.1. Basically where I am stuck is after clicking the 'connect with facebook' button, I get the facebook connect window, looks great. I click to allow the application. Then it redirects me back to my webid site with "?fbconnect=fblogin" however no login action is taken. functions the same on home page, registration, and login pages.

    Also from an existing account, the link account button on the edit_details page does not load or function. Just shows blank image box as though it can not resolve an image URL. Clicking on it has no function.

    Any help would be greatly appreciated. This is for a local community project that many are counting on me for. Thanks.
     
  9. jessamp

    jessamp New Member

    Joined:
    Dec 7, 2014
    Messages:
    2
    Likes Received:
    0
    ^^ resolved using Include facebook_cnt.php in header.
     
  10. sandor555

    sandor555 New Member

    Joined:
    Mar 31, 2015
    Messages:
    8
    Likes Received:
    0
    5. You can get the connect with facebook instructions by clicking here

    404 error.
     
  11. jjjason84

    jjjason84 Donor Donor

    Joined:
    Jun 26, 2012
    Messages:
    702
    Likes Received:
    61
    I don't support this mod no more and i lost the instructions how to install it in to webid. If you want this mod you will have to download my free version script that i made and backtrack the mod coding.



    Moderator note: Until things settle with the new forum I've reset the title to not that you do not provide support. This may become the standard for new mods?
     
    Last edited by a moderator: Apr 11, 2015
  12. JHammer

    JHammer New Member

    Joined:
    May 31, 2016
    Messages:
    1
    Likes Received:
    0
    Does anyone still have the FB connect instructions for this mod. I am playing around with a new webid site and really want to get this working.
     
  13. Bryan

    Bryan New Member

    Joined:
    Dec 12, 2015
    Messages:
    4
    Likes Received:
    1
    No progress on this, eh? I see it's working on April's site, but I can't figure out the actual integration steps that have gone missing. :( Can anyone help?
     

Share This Page