vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - vB Nexus, Facebook & Google multiple login integration (https://vborg.vbsupport.ru/showthread.php?t=220820)

nascartr 08-14-2009 04:16 PM

Quote:

Originally Posted by ibautocommunity (Post 1866814)
You will have to search-and-replace the PRODUCT.XML file for instances of index.php and replace it with the name of your index file.


Thanks for this, I was having the same problem because I am using vbAdvanced and it now works perfectly!

Theo-zzzz 08-14-2009 04:23 PM

There's no facebook button on my site using the cyclic template.
Other templates are alright.
Can you take a look http://www.globalchatforums.com

ibautocommunity 08-14-2009 04:33 PM

Quote:

Originally Posted by Theo-zzzz (Post 1867275)
There's no facebook button on my site using the cyclic template.
Other templates are alright.
Can you take a look http://www.globalchatforums.com

Theo - you are missing the following hook in your customized style; please add this to your FOOTER and your facebook integration will work. Right now the button does not initialize.

Add this to your footer template:

$template_hook[footer_links]

nascartr 08-14-2009 04:44 PM

Marked as installed. Where can users set their preferences as far as posting message to Facebook from topics and replies plus receiving notifications on Facebook of new PM's?

I also tried to skip adding a post to my Facebook and got a page not found error.

For example, if I reply to a post in my Show and Tell forum it tries to redirect when submitting a post to Facebook or skipping to http://diecastcrazy.com/community/sh...75364013%22%7D

Theo-zzzz 08-14-2009 04:50 PM

Quote:

Originally Posted by ibautocommunity (Post 1867285)
Theo - you are missing the following hook in your customized style; please add this to your FOOTER and your facebook integration will work. Right now the button does not initialize.

Add this to your footer template:

$template_hook[footer_links]

Thank you..
It's working..

Installed and nominated MOTM

Ohiosweetheart 08-14-2009 05:10 PM

Hi Anders. I have this installed and double checked everything against your instructions.
However, when I logged out to see what it looks like, everything is a mess! I'm sure it's because my navbar and header templates are customized.

Could you please take a look and let me know what I should do?
http://kawfeeklub.com

Thank you!


EDIT: I'm also getting some weird warnings when I create a new thread, along with a FACEbook notice that I can see this because I'm the developer of the app.
Quote:

Application response error

Invalid template bundle id specified: 2147483647. You can see this because you are one of the developers of the app.


justitaly.eu 08-14-2009 05:16 PM

Quote:

Originally Posted by ibautocommunity (Post 1867265)
JUSTITALY.EU:

You have not followed the instructions. It's really important to do steps 1-X when configuring the product.

1) You have to enter your GOOGLE SITE ID + FACEBOOK API+FACEBOOK SECRET KEY.
2) SAVE
3) Go back to vBNEXUS options, scroll down and find the "CLICK HERE" link on the bottom for feed manager.
4) Go there - and SAVE templates.
5) Go to vBNEXUS options again - and the template id's should have automatically appeared linking your feeds to your facebook application account.
6) Save and done.

I disabled the product due to the errors. i have re-enabled it and followed the instructions above and am still having the same problems. I can see that the template id are automatically inserted but still get the same error.

I've also checked in my facebook dev panel and those template id's are registered so i cant understand what the the problem is here.

any ideas?

justitaly.eu 08-14-2009 05:38 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1867312)

EDIT: I'm also getting some weird warnings when I create a new thread, along with a FACEbook notice that I can see this because I'm the developer of the app.

Application response error

Invalid template bundle id specified: 2147483647. You can see this because you are one of the developers of the app.


???

This is exactly the same errror message i am getting Ohiosweetheart and the bundle id is exatly the same (2147483647)

I'm not a dev but it seems although my admincp in updating with my personal bundle id's somehow it is defaulting to bundle 2147483647 which does not appear in my facebook dev panel or admincp.

yamahapaul 08-14-2009 05:40 PM

I've installed it on my forum root, then went to import the product and got this mesage-

http://i306.photobucket.com/albums/n.../Capturefb.jpg

guess thats it for me then :(

Ohiosweetheart 08-14-2009 05:51 PM

Quote:

Originally Posted by ibautocommunity (Post 1867265)
JUSTITALY.EU:

You have not followed the instructions. It's really important to do steps 1-X when configuring the product.

1) You have to enter your GOOGLE SITE ID + FACEBOOK API+FACEBOOK SECRET KEY.
2) SAVE
3) Go back to vBNEXUS options, scroll down and find the "CLICK HERE" link on the bottom for feed manager.
4) Go there - and SAVE templates.
5) Go to vBNEXUS options again - and the template id's should have automatically appeared linking your feeds to your facebook application account.
6) Save and done.

I just found this. So my apologies for the double post.

I did these steps as outlined in your instructions. However I'm still getting the same errors that Justitaly is getting.

Could there be another issue here?


Quote:

Originally Posted by justitaly.eu (Post 1867328)
This is exactly the same errror message i am getting Ohiosweetheart.

I saw that sweetie. I followed the instructions to the T, so there has to be another issue at work.

ibautocommunity 08-14-2009 05:56 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1867343)
I just found this. So my apologies for the double post.

I did these steps as outlined in your instructions. However I'm still getting the same errors that Justitaly is getting.

Could there be another issue here?


I saw that sweetie. I followed the instructions to the T, so there has to be another issue at work.

Guys - I'll take a look at this for ya in a few here. Will update.

ibautocommunity 08-14-2009 05:57 PM

Also, basic instructions for users, you can copy the HTML and images and host them on your site if you'd like:

http://carblog.com/vbnexus/user-guide/

Ohiosweetheart 08-14-2009 06:05 PM

Quote:

Originally Posted by ibautocommunity (Post 1867350)
Guys - I'll take a look at this for ya in a few here. Will update.

Thanks sweetie.


Please don't miss my post here -
Quote:

Hi Anders. I have this installed and double checked everything against your instructions.
However, when I logged out to see what it looks like, everything is a mess! I'm sure it's because my navbar and header templates are customized.

Could you please take a look and let me know what I should do?
http://kawfeeklub.com

Thank you!

ibautocommunity 08-14-2009 06:09 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1867362)
Thanks sweetie.


Please don't miss my post here -

Disable the product for now so your forum doesn't look bad :)

Calash 08-14-2009 06:23 PM

I really like how this looks and the lack of template edits.

I am going to echo a few of the other users in my question. I currently use the Facebook Connect mod and have a handful or so of people who joined using that mod. Is there a set process to transition from that mod to this one without losing the currently connected users?

On the Facebook Connect mod there is a user table called fbuser. It maps fbuid (facebook userid) to userid (vb userid). Is there a similar table in this mod and if so would migrating this table over be enough to preserve the current connections?

Thanks

ibautocommunity 08-14-2009 06:38 PM

Quote:

Originally Posted by Calash (Post 1867378)
I really like how this looks and the lack of template edits.

I am going to echo a few of the other users in my question. I currently use the Facebook Connect mod and have a handful or so of people who joined using that mod. Is there a set process to transition from that mod to this one without losing the currently connected users?

On the Facebook Connect mod there is a user table called fbuser. It maps fbuid (facebook userid) to userid (vb userid). Is there a similar table in this mod and if so would migrating this table over be enough to preserve the current connections?


Thanks

There is a table called vbnexus_nonvbuser which maps Facebook Connect/Google Friend Connect userid with the vBulletin userid. Facebook users have a type 1 and Google Friend Connect users have type 2. The field associated signifies if the user chose to associate an existing vB account to the Facebook/Google Friend Connect account.
Since the Facebook users can do more than just login (publish feeds etc), the table vbnexus_facebookuser contains their userid and on/off flags for their Facebook userCP settings.

I hope that helps :)

Thanks

cad2go 08-14-2009 07:19 PM

@Calash - please post how it went. lol

@ib - you the man!

ibautocommunity 08-14-2009 08:15 PM

Guys, it is "uber" important to have the following hook in your customized styles, in the footer template you must have this hook:

$template_hook[footer_links]

Otherwise things are not going to work.

To the person running MYSQL4 - you are missing out - should upgrade to mysql5 or request that your hosting provider upgrade their software; it's 2009! :p

Ohiosweetheart 08-14-2009 08:29 PM

Just in case someone doesn't know., that piece of code goes here -

Code:

<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
              $template_hook[footer_links]
                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>


goyo 08-14-2009 09:21 PM

Amazing start IBxAnders! :)

What about other languages ?
Most of the Google login windows (for example Google friend connect login page) are translated to other languages (I can switch the hl=en to some other language in the url) but I don't see this piece of code at all in the main pop-up window and other vB Nexus related windows...is it possible to translate them ? (or maybe they've been translated already by Google ?).

Facebook also has been translated to many languages...it's locale code at the end of the url: locale=en_US...can I safely switch the login url to other languages ?

A possible bug report:
Facebook connect button doesn't appear in Opera (9.64).

Skyrider 08-14-2009 09:47 PM

Can someone explain to me how this works exactly? I've seen this before on other sites, and it doesnt matter if I login using my AIM or Facebook. I still had to register/login on the site itself to actually do things. In this case, I am logged in with AIM, but I still have to register on the forums to post.

EDIT:
It seems to work for Facebook, just the AIM login doesn't work it seems.

jesusdlg 08-14-2009 09:56 PM

What a great add-on, thank you!

Does anyone knows what file do I need to edit to translate this phrase?

"New! Use your Facebook, Google, AIM & Yahoo accounts to securely log into this site, click logo to login"

Thanks in advance and congratulations for this add-on

Jesus

Skyrider 08-14-2009 10:03 PM

PS:

I can't seem to log in on your demo forum using my gmail (google mail) email. When it goes to the next page and shows on which nickname I can use on the forums.. I can't press the "login" button, nothing is happening.

cheat-master30 08-14-2009 11:56 PM

I'm thinking of trying this, but one quick question (to mod author):

I already have the Facebook Connect mod installed, would I install that first, then add this, or install that after installing this mod? Basically, are there any conflicts in tables and such like?

Ohiosweetheart 08-15-2009 12:31 AM

This could be a bug or perhaps it just conflicts with the auto tag mod?

I started a new thread on my site, named it another test thread. The content on the thread was simply testing nexus.

I couldn't post the thread because this was in the tag box -
Quote:

<br /><strong>Warning</strong>: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in <strong>[path]/includes/init.php(304) : eval()'d code</strong> on line <strong>613</strong><br />testing,nexus
Once I removed it from the box, of course, the thread posted fine. :(

EDIT: I disabled the auto tagging mod and it works fine now. So there's a conflict between these mods there somewhere, I'm guessing.
But still no prompt to publish the post to Facebook.

Ohiosweetheart 08-15-2009 12:48 AM

Sorry again for the double post. I see now why there's no prompt to publish to FB. In my userCP, The settings for the FB control panel keep reverting back to no. I keep ticking yes and SAVE, go back and they're all set to No again.

I did check in the feed settings in vBulletin Options / vB Nexus Configuration, and everything there is set to Yes.

Any ideas?

Shamil. 08-15-2009 12:56 AM

For those getting the facebook error message about the bundle, you need to "Create Feed Template" in the Facebook applications page. You will be given a bundle ID. Keep it safe, because we can't currently edit the default bundle IDs causing the error.

Cableguy69 08-15-2009 01:26 AM

Hi IB, first off great mod.

unfortunately this is only half working working on 2 of my skins and not at all on my main skin. I tried to adapt the code from the post you made below but failed. Would you be able to take a look for me please?

http://www.revolution-forums.com

Quote:

Originally Posted by ibautocommunity (Post 1866721)
This is the code that you need to place into your template, where you currently have the facebook button displayed on the right. Please note that you have to adjust this html, because your template is CSS DIV based, and this is a table block - so it might not work.

PHP Code:

<table cellpadding="3" cellspacing="0" border="0" width="100%">
  <
tr align="right">
    <
td align="right" valign="middle"><span class="smallfont">New! Use your <strong>FacebookGoogleAIM Yahoo</strongaccounts to securely log into this site, <strong>click logo to login</strong></span></td>

    <
td width="380px" align="right"><!-- fbconnect --><fb:login-button onlogin="window.location='http://YOURSITE.com/forum/index.php?product=vbnexus&product-mod=facebook&do=login&loc=L2ZvcnVtLw==';"></fb:login-button><!-- / fbconnect --> &nbsp<a href='#' onclick='isgooglesignin = true; google.friendconnect.requestSignIn()'><img src="./vbnexus/images/nexus.gif" border="0"></a>
    </
td>
  </
tr>
</
table



ZiG 08-15-2009 01:39 AM

im getting a fatal error when i attempt to configure the facebook feeds:

Quote:

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'All one line story templates must be nonempty' in /home/rdyup/public_html/forums/vbnexus/facebook/facebookapi_php5_restlib.php:3017 Stack trace: #0 /home/rdyup/public_html/forums/vbnexus/facebook/facebookapi_php5_restlib.php(747): FacebookRestClient->call_method('facebook.feed.r...', Array) #1 /home/rdyup/public_html/forums/admincp/global.php(243) : eval()'d code(66): FacebookRestClient->feed_registerTemplateBundle(Array, Array, NULL, Array) #2 /home/rdyup/public_html/forums/admincp/global.php(243): eval() #3 /home/rdyup/public_html/forums/admincp/index.php(24): require_once('/home/rdyup/pub...') #4 {main} thrown in /home/rdyup/public_html/forums/vbnexus/facebook/facebookapi_php5_restlib.php on line 3017
not sure what the reason for this is, but only 1 template is filled in...and thats the signup template.

Quote:

{*actor*} just became a member of <a href="{*bburl*}">{*bbtitle*}</a>.
could that be the reason? could someone else post the rest of the default feed templates for me plz?

ZiG 08-15-2009 01:44 AM

just a suggestion also for this mod (great mod btw)
if someone is connected via facebook/google/yahoo/aim could possibly be reflected in the postbit...

AWS 08-15-2009 02:14 AM

I created a new usergroup so I could track users that login via this hack. I changed the setting to the new usewrgroup id. Users who sign in go to the default registered users group and not in the usergroup I created.

A bug maybe?

nascartr 08-15-2009 02:44 AM

Quote:

Originally Posted by nascartr (Post 1867297)
Marked as installed. Where can users set their preferences as far as posting message to Facebook from topics and replies plus receiving notifications on Facebook of new PM's?

I also tried to skip adding a post to my Facebook and got a page not found error.

For example, if I reply to a post in my Show and Tell forum it tries to redirect when submitting a post to Facebook or skipping to http://diecastcrazy.com/community/sh...75364013%22%7D

Any idea? Maybe VBSEO is causing the problem?

Wseries 08-15-2009 03:10 AM

I really want to be able to use this mod but before I install a couple of questions if I may.

1. I am only interested in Facebook integration. Is it possible to disable the others?

2. Are people that use this mod to join my forum shown, and asked to agree to, my Forum Rules? If not, can I request this be added in a future version? This is really important to me. Thanks.

Theo-zzzz 08-15-2009 04:52 AM

Quote:

Originally Posted by AWS (Post 1867652)
I created a new usergroup so I could track users that login via this hack. I changed the setting to the new usewrgroup id. Users who sign in go to the default registered users group and not in the usergroup I created.

A bug maybe?

Same problem here..

justitaly.eu 08-15-2009 06:49 AM

Quote:

Originally Posted by ibautocommunity (Post 1867474)
Guys, it is "uber" important to have the following hook in your customized styles, in the footer template you must have this hook:

$template_hook[footer_links]
Otherwise things are not going to work.

To the person running MYSQL4 - you are missing out - should upgrade to mysql5 or request that your hosting provider upgrade their software; it's 2009! :p

I already have the $template_hook[footer_links] so this does not resolve my problem.

any other ideas?

justitaly.eu 08-15-2009 06:55 AM

Quote:

Originally Posted by ct2k7 (Post 1867614)
For those getting the facebook error message about the bundle, you need to "Create Feed Template" in the Facebook applications page. You will be given a bundle ID. Keep it safe, because we can't currently edit the default bundle IDs causing the error.

I have also tried this but when i try to create them myself facebook gives me errors.

I tried adding this: (default text that came with mod)

{*actor*} just became a member of <a href="{*bburl*}"</a>.

but facebook gives me an error:

An error occurred while creating a feed story from the template and template data you provided. The specific error is listed below:

Supplied template data does not cover the following tokens [bburl] needed for template '{*actor*} just became a member of .'


Any other examples i can use?

tiengnhat 08-15-2009 07:43 AM

Can you complate this mod?

Quote:

Warning: require_once([path]/vbnexus/facebook/facebook.php) [function.require-once]: failed to open stream: No such file or directory in [path]/admincp/global.php(243) : eval()'d code on line 5

Fatal error: require_once() [function.require]: Failed opening required '/home/hatto/public_html/demo/4rum/vbnexus/facebook/facebook.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hatto/public_html/demo/4rum/admincp/global.php(243) : eval()'d code on line 5

Cableguy69 08-15-2009 09:24 AM

Quote:

Originally Posted by Cableguy69 (Post 1867630)
Hi IB, first off great mod.

unfortunately this is only half working working on 2 of my skins and not at all on my main skin. I tried to adapt the code from the post you made below but failed. Would you be able to take a look for me please?

http://www.revolution-forums.com

Don't forget about me please IB

Wayne Luke 08-15-2009 02:31 PM

Quote:

Originally Posted by Cableguy69 (Post 1867772)
Don't forget about me please IB

Your request was posted on a Friday evening after work hours in Los Angeles and you followed up in the middle of the night. I am sure they will get to your question as soon as possible but you might need to wait until the work week starts on Monday.

Cableguy69 08-15-2009 05:01 PM

Yeah not a problem there had just been a few posts after mine and I didn't want it getting mised.


All times are GMT. The time now is 11:38 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01873 seconds
  • Memory Usage 1,872KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete