Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
vB Nexus, Facebook & Google multiple login integration Details »»
vB Nexus, Facebook & Google multiple login integration
Version: 1.00, by ibautocommunity ibautocommunity is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.3 Rating:
Released: 08-12-2009 Last Update: 08-12-2009 Installs: 155
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

vBulletin Nexus
Current project release: BETA
This works on vBulletin 3.7.X - 3.8.4

This product will allow visitors to join your community using their Facebook, Google, Yahoo or AIM account; and will allow your existing members to associate an existing forum account with one of the services - such as Facebook.

Please read the documentation and follow it exactly before requesting installation help. Please note, if you have heavily modified styles that are missing hooks - this product will not work and require additional installation steps.

DEMO: http://www.carblog.com/vbnexus

Basic Instructions for your forum's users: http://carblog.com/vbnexus/user-guide/

Download Now

File Type: zip product-vbnexus1b.zip (101.7 KB, 2183 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
andro140, vithorius

Comments
  #232  
Old 08-28-2009, 09:26 PM
webrats webrats is offline
 
Join Date: May 2002
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

everytime i chaneg the template ids it goes back to 2147483647
Reply With Quote
  #233  
Old 08-28-2009, 10:17 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RidinHighSpeeds View Post
At this point it appears the only way for existing users to tie their existing facebook account to their VB profile is to log-out, select the facebook logo, then make the connection. It would be great if VB users could access this page when logged in to add their existing facebook profile:

The a dismissable notice would be great for the option listed above for existing users.. I tried this but after adding the code nothing happens (after clicking any of the logos) since the user is already logged in..
I did tie my forum account to my fb account. But I still can't publish my posts/threads to FB, because my settings in the user cp won't stay on YES. After saving they keep reverting back to no.

Something to note about this - I'm the admin on the site. I'm the only one this is happening to. All other members can publish their posts.

It's also NOT a conflict with any other mod, because I disabled every one of them, and still no go.
Reply With Quote
  #234  
Old 08-28-2009, 10:23 PM
ibautocommunity's Avatar
ibautocommunity ibautocommunity is offline
 
Join Date: Jan 2009
Location: Los Angeles, CA
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ohiosweetheart View Post
I did tie my forum account to my fb account. But I still can't publish my posts/threads to FB, because my settings in the user cp won't stay on YES. After saving they keep reverting back to no.

Something to note about this - I'm the admin on the site. I'm the only one this is happening to. All other members can publish their posts.

It's also NOT a conflict with any other mod, because I disabled every one of them, and still no go.
Try a default vBulletin template please, just to test.
Reply With Quote
  #235  
Old 08-28-2009, 10:30 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On the same forum? Yes I've tested this on the default vB style. Same result.
Reply With Quote
  #236  
Old 08-28-2009, 10:37 PM
ibautocommunity's Avatar
ibautocommunity ibautocommunity is offline
 
Join Date: Jan 2009
Location: Los Angeles, CA
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

internet Explorer 6 Issue Fix
Bug Status: ie6 only, very site specific, NOT a mandatory product update

This is a BUG in IE6 only, we are not going to be including this into the product as it is a very site / server specific issue. If users report "Operation aborted" issue in IE6 you will need to edit plugins and replace their code with the following:

//=== New plugin code for "Include facebook js after <body>" ===
PHP Code:
$headinclude .= "
<script type=\"text/javascript\" src=\"vbnexus/js/jquery.js\"></script>"
;

if(!
$vbulletin->userinfo['userid'] AND !is_browser('ie'6))
{

// Add google related stuff

$headinclude .= "
<!-- Load the Google AJAX API Loader -->
    <script type=\"text/javascript\" src=\"http://www.google.com/jsapi\"></script>

    <!-- Load the Google Friend Connect javascript library. -->
    <script type=\"text/javascript\">
      google.load('friendconnect', '0.8');
    </script>

    <!-- Initialize the Google Friend Connect OpenSocial API. -->
    <script type=\"text/javascript\">
    google.friendconnect.container.setParentUrl('vbnexus/google/' /* location of rpc_relay.html and canvas.html */);
    google.friendconnect.container.initOpenSocialApi({
      site: '" 
$vbulletin->options['vbnexusconfig_google_apikey'] ."',
      onload: function(securityToken) { loadData(); }
    });
    var isgooglesignin = false;
    </script>
    "
;

$headinclude .= "
<script type=\"text/javascript\">
    //google.friendconnect.requestSignOut();
 // load the data using open social 
    function loadData() {
    var req = opensocial.newDataRequest();
      req.add(req.newFetchPersonRequest('VIEWER'), 'viewer');
      req.send(onLoadCallback);
    }


    // called after data is loaded
     function onLoadCallback(data) {
     var ongoogle = "
.
 ((
$_REQUEST['product-mod'] == 'gfconnect') ?"true""false")."             
      if(data.get('viewer').getData()) {
        var viewer = data.get('viewer').getData();
        var name = viewer.getDisplayName();
        //alert('Viewer is ' + name + viewer.getId());
        if(isgooglesignin)
        {
            window.location = 'index.php?product=vbnexus&product-mod=gfconnect&do=login&loc="
.$vbnexus_request_uri."';
        }
        else if(ongoogle)
        {
            //document.getElementById('login_username').value = viewer.getDisplayName();
        }
        if(!ongoogle && !isgooglesignin)
        {
            google.friendconnect.requestSignOut();
        }
      } else {
        //alert('Viewer is anonymous');
        //google.friendconnect.renderSignInButton({ 'id': 'google-login-button', 'style': 'long' })
      }
    }
 </script>   
    "
;
}
$header '<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>' $header
//=== New plugin code for "Modify navbar template" ===
PHP Code:
global $vbulletin;
            if(!
$vbulletin->userinfo['userid'])
{
global 
$vbnexus_request_uri;
$fb_login_button =
'<!-- fbconnect --><fb:login-button onlogin="window.location=\''.$vbulletin->options[bburl].'/index.php?product=vbnexus&product-mod=facebook&do=login&loc='.$vbnexus_request_uri.'\';"></fb:login-button><!-- / fbconnect -->';


$output str_replace("<!-- / breadcrumb, login, pm info -->""<!-- / breadcrumb, login, pm info -->
<div class=\"tborder\" style=\"padding:
$stylevar[cellspacing]px; border-top-width:0px\">
<table cellpadding=\"3\" cellspacing=\"0\" border=\"0\" width=\"100%\">
  <tr align=\"right\">
    <td align=\"right\" valign=\"middle\"><span class=\"smallfont\">New! Use your <strong>Facebook, Google, AIM & Yahoo</strong> accounts to securely log into this site, <strong>click logo to login</strong></span></td>
    <td width=\"380px\" align=\"right\">
$fb_login_button &nbsp<a href='#' onclick='isgooglesignin = true; google.friendconnect.requestSignIn()'><img src=\"vbnexus/images/nexus.gif\" border=\"0\"></a>
    </td>
  </tr>
</table></div>"
$output);


if(!
$vbulletin->userinfo['userid'] AND is_browser('ie'6))
{

// Add google related stuff

$ie6_end_of_body "
<!-- Load the Google AJAX API Loader -->
    <script type=\"text/javascript\" src=\"http://www.google.com/jsapi\"></script>

    <!-- Load the Google Friend Connect javascript library. -->
    <script type=\"text/javascript\">
      google.load('friendconnect', '0.8');
    </script>

    <!-- Initialize the Google Friend Connect OpenSocial API. -->
    <script type=\"text/javascript\">
    google.friendconnect.container.setParentUrl('vbnexus/google/' /* location of rpc_relay.html and canvas.html */);
    google.friendconnect.container.initOpenSocialApi({
      site: '" 
$vbulletin->options['vbnexusconfig_google_apikey'] ."',
      onload: function(securityToken) { loadData(); }
    });
    var isgooglesignin = false;
    </script>
    "
;

$ie6_end_of_body .= "
<script type=\"text/javascript\">
    //google.friendconnect.requestSignOut();
 // load the data using open social 
    function loadData() {
    var req = opensocial.newDataRequest();
      req.add(req.newFetchPersonRequest('VIEWER'), 'viewer');
      req.send(onLoadCallback);
    }


    // called after data is loaded
     function onLoadCallback(data) {
     var ongoogle = "
.
 ((
$_REQUEST['product-mod'] == 'gfconnect') ?"true""false")."             
      if(data.get('viewer').getData()) {
        var viewer = data.get('viewer').getData();
        var name = viewer.getDisplayName();
        //alert('Viewer is ' + name + viewer.getId());
        if(isgooglesignin)
        {
            window.location = 'index.php?product=vbnexus&product-mod=gfconnect&do=login&loc="
.$vbnexus_request_uri."';
        }
        else if(ongoogle)
        {
            //document.getElementById('login_username').value = viewer.getDisplayName();
        }
        if(!ongoogle && !isgooglesignin)
        {
            google.friendconnect.requestSignOut();
        }
      } else {
        //alert('Viewer is anonymous');
        //google.friendconnect.renderSignInButton({ 'id': 'google-login-button', 'style': 'long' })
      }
    }
 </script>   
    "
;
}

$output str_replace("</body>"$ie6_end_of_body."</body>"$output);



Reply With Quote
  #237  
Old 08-28-2009, 11:09 PM
webrats webrats is offline
 
Join Date: May 2002
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think the my problem is that facebooks template numbers are to large now
Reply With Quote
  #238  
Old 08-29-2009, 12:10 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ohiosweetheart View Post
Something to note about this - I'm the admin on the site. I'm the only one this is happening to. All other members can publish their posts.
Try this:
using phpmyadmin, delete your user from the vbnexus table:

Code:
delete from vbnexus_nonvbuser WHERE userid='insertuseridhere'
Then associate the account again. That might solve the problem?
Reply With Quote
  #239  
Old 08-29-2009, 11:57 AM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
Try this:
using phpmyadmin, delete your user from the vbnexus table:

Code:
delete from vbnexus_nonvbuser WHERE userid='insertuseridhere'
Then associate the account again. That might solve the problem?
bbbrrrrr, I hate messing with the db. I'm so liable to mess it up big time.

I'm about ready to uninstall this mod, due to lack of support from the coder.
Reply With Quote
  #240  
Old 08-29-2009, 02:33 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed the Default USERGROUP ID for non-vBulletin Users to other than 2, but it does not effect.

Any solution?
Reply With Quote
  #241  
Old 08-29-2009, 02:51 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn, such a great idea. Wish it worked correctly.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05180 seconds
  • Memory Usage 2,374KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete