Topic-icon Community Builder Integration

Active Subscriptions:

None
12 years 2 weeks ago #44166 by camjam
Hey guys, greetings from sunny melb, australia o/

Recently i installed Community Builder v1.9.1 and are having some problems with configuring it, in the JFBConnect docs i see some screenshots that diff to what i have installed, its almost as if JFBConnect doesnt detect CB has been installed maybe? i have no CB options within my JFBConnect Admin pages!
The topic has been locked.
Support Specialist
12 years 2 weeks ago #44176 by alzander
If you installed CB after JFBConnect, you'll need to re-install JFBConnect again. There's some detection in our installer for what extensions you have enabled and we only install the add-ons you need. That's meant to not clutter your system up with a bunch of random plugins that you wouldn't ever use.

If you don't want to re-install JFBConnect (for instance, you're on an older version and don't want to upgrade for some reason), you can unzip the installer for the version your using and find the CB plugin in the packages/plugins/socialprofiles/ directory.

I hope that helps get you going, but should you have any questions, just let me know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 1 week ago #44408 by camjam
Thank-You Alex, sorry about the delay in my reply, life has been hectic lately! I'll give this a try, thanks m8.

Kind Regards
The topic has been locked.
Active Subscriptions:

None
12 years 1 week ago - 12 years 1 week ago #44409 by camjam
Alex. that worked, great, thanks again, apart from one thing, there are required CB fields are not listed in the Social Network Profile Import Configuration, i have only first, middle, and last names listed where i have more required fields i cant link to auto fill from facebook, in fact i have those 3 and then a bunch of non required fields below, infact all but 3 of the fields aren't required for registration either so not much help to me when in community builder fileds admin i have several more req, incl. name, firstname, lastname, username, email, pass, im not sure if i have it set right tbh it physically doesnt list the additional required fields for reg for me to link them to fb prefil fields so im not sure how i can streamline the registration.

I also have the problem that i would like to display the Connect buttons to my logged in users but dont have enough room along side my sc_login modal logout button, so i paste the generated html into a custom html module and that works ok for now to display on the profile page but after say, a user connects an account it still remains the connnect button so im not sure how to overcome it.

incidentally do you know, in the facebook app configuration, specifically on the App Details > [Contact Info] : App Page configuration setting I have only a button to "create new page" when, i already have a page for this app which im the admin of! as well as the canvas page, yet i can't select either, any idea why? It's so hard to correspond with facebook in anyway i dont think its possible, only if they want something from u then they will talk lol, i think my only hope is to ask in the forums, but i thought 1st i would ask you since, you know alot about it, i cant add permissions like user_location etc, unless i submit the app for review and it wont let me submit until i have associated a page :/

Also alex sorry to bug you, it says in the devcenter facebook app settings someplace .. oh yeh, i think it mention this when say u do a roles submission for approval it says, supply a optional test user for the review team, then it says for the? test users can be created blah blah in facebook someplace? and in your app blah blah, is it possible to make facebook test accounts do u kno inside the fb dev console?

Also alex, sorry to nag ut u again :P have u ever had it where nearly every site u goto has like major wait for 'loading google-analytics.com....' its killen me man, like 50% of websites i load lately are a 5 min wait for me to sit around and stare at teh wall while it loads u kno if that code is up the top, u dont even get content u gotta pray they add it at the bottom anyways i wondered if u had this b4, i made sure im not blocking in locally but it still happen!! any idea why?

Thanks Alex,
Cheers,
Cam
Last edit: 12 years 1 week ago by camjam.
The topic has been locked.
Support Specialist
12 years 1 week ago #44418 by alzander
JFBConnect only supports importing into text-type fields (text inputs, textareas, etc) and a few very specific 'select' type fields, like gender. Other fields where you may have custom pre-defined selections aren't supported as there's no way for JFBConnect to align the custom data that Facebook (or other social networks would return) with the custom fields you've defined. You'd need to allow those required fields to be free-form text-type fields if you want to import user data into them.

The other option is to disable the Automatic Registration features of JFBConnect. That will let the user go through a form-based registration process where they can fill out whatever required fields you've defined.

I also have the problem that i would like to display the Connect buttons to my logged in users but dont have enough room along side my sc_login modal logout button, so i paste the generated html into a custom html module and that works ok for now to display on the profile page but after say, a user connects an account it still remains the connnect button so im not sure how to overcome it.

I'm unsure what you mean by this, actually. The SCLogin module has a method to disable the logout button entirely so that all that will be shown is the re-connect buttons. If that's what you're looking for, we're recommend using that configuration of the SCLogin module instead of your custom HTML module. If that's not what you're looking for, let me know what I'm missing.

incidentally do you know, in the facebook app configuration, specifically on the App Details > [Contact Info] : App Page configuration setting I have only a button to "create new page" when, i already have a page for this app which im the admin of! as well as the canvas page, yet i can't select either, any idea why?

The "Create new page" button always shows, as far as I know. I know of no way to 'connect' a Facebook App to a Facebook Page so that there's some sort of link between the two. You can use the Page Tab feature of JFBConnect to show your website (which likely has a Facebook App associated with it) in a Facebook Page.. but there's no link between the two when you do so. I think that button for creating a new app is simply to push you towards creating an Page, if you don't already have one.

It's so hard to correspond with facebook in anyway i dont think its possible, only if they want something from u then they will talk lol, i think my only hope is to ask in the forums, but i thought 1st i would ask you since, you know alot about it, i cant add permissions like user_location etc, unless i submit the app for review and it wont let me submit until i have associated a page current/hmm

Facebook can definitely be like a brick wall when trying to get an explanation about how to set some things up. I'd recommend asking us first. If we can answer, we will.

As for submitting your app, you shouldn't need a Facebook Page to submit an app, as far as I know. They did just change their whole submission process in early May. The requirement for approval for extended permissions like you mention was just added in May and it's still a bit rough around the edges and vague in some areas. If you are getting an error preventing submission, can you let me know exactly what the error(s) are?

Also alex sorry to bug you, it says in the devcenter facebook app settings someplace .. oh yeh, i think it mention this when say u do a roles submission for approval it says, supply a optional test user for the review team, then it says for the? test users can be created blah blah in facebook someplace? and in your app blah blah, is it possible to make facebook test accounts do u kno inside the fb dev console?

As noted, that's an optional field. If you want to create a test user though, go to Roles in the left sidebar and then click the "Test Users" tab in the top. There, you can create 'fake' users that you can switch to to test your app from.

Also alex, sorry to nag ut u again current/tongue have u ever had it where nearly every site u goto has like major wait for 'loading google-analytics.com....' its killen me man, like 50% of websites i load lately are a 5 min wait for me to sit around and stare at teh wall while it loads u kno if that code is up the top, u dont even get content u gotta pray they add it at the bottom anyways i wondered if u had this b4, i made sure im not blocking in locally but it still happen!! any idea why?

Check your browser add-ons. Some are meant to blocking tracking code or 3rd party sites or lots of other things for privacy reasons. Unfortunately, those tools can cause issues with many sites. If that doesn't work, try a different browser altogether to see if it goes away. That will narrow things down to your browser, computer or something lower level, like your ISP.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 days ago - 12 years 5 days ago #44484 by camjam
Hi there Alex, Thank-you for your reply, I guess what i meant with the sclogin module, when its configured to display the various social media connect buttons to logged in users to link their accounts to social media sites, once they do so, say i login with a regular account, then i click Link to facebook and load a new page, the link to facebook connect button no longer displays, i pressume because the account is already linked, which is the functionality i lose when i copy regular html into custom html, tho i do have sourcerer installed and are able to call complex php functions and such from within custom html if i knew what variables to check or functions to call to display only the buttons that the user has not yet linked i would do it but im really just a bit unsure which is the best way to attack it.

With facebook, i was considering the possibility of asking for more roles to pull additional info about the linking user, about me, website, etc but these arnt within the default roles and such, require a submission and review to attain, which, as i mention isnt possible until u link a page to ur app., ive actually got 3 or 4 fb pages im the owner and admin of, not 1 is selectable its frustrating, so due to that i cant click submit review. Hey i guess its really not a big deal, prob the least amount of permission roles u ask for the better it was just something i came across and wondered if u had hit this brickwall too, google are known to be so prestigious but alot of the projects they make are so bug ridden and problematic its beyond belief for me, even the google webapp framework i once dl to check out ran one time only lol, and died a miserable death and eventually i remove! lol.

I will have to ask my ISP if maybe they are the ones blocking analytics its killen me, so many people have it attached to their sites these days, its all a bit of a scam imo all the analytic seo driven products .. pft, anyways, thank you for your assistance, i thought it might be my firefox and dbl checked everything and theres a bit to check! i even set it to "Tell sites i want to be tracked" and it seems to make no difference :/ I also post in the google analytics groups but it seems that i am alone with my problem *sigh*

*UPDATE*

omg, i found it, i had google-analytics set to 127.0.0.1 in my extensive list of blocked porn and ad sites in my hosts file alex!! but all is well your thoughts prompted me to ping the damn host and i soon saw it was pinging my localhost &*^%@# *facepalm* shame i asked my ISP before i realized, oh well its solved! thank-you lol.

Also alex one other thing i really need to do is display a small registration form on the same page as my athleteadvance.com/component/users/?view=login you see to the right hand side i wish to have a small mini registration form if u will is it possible to do it with jfbconnect?

Thanks for your help again,
Kind Regards,
Cam
Last edit: 12 years 5 days ago by camjam.
The topic has been locked.
Support Specialist
12 years 4 days ago - 11 years 11 months ago #44550 by alzander
If you can execute PHP and want the Reconnect buttons to show, the code is as simple as:
$params = array('button_type' => 'icon_text_button');
foreach (JFBCFactory::getAllProviders() as $p)
   echo $p->connectButton($params);
We'll be making some updates to that with the 6.1 release, due out later this month though, so please verify things when you upgrade. Feel free to post back here then as well and we'll let you know the minor code change you'd need to make at that time.

With facebook, i was considering the possibility of asking for more roles to pull additional info about the linking user, about me, website, etc but these arnt within the default roles and such, require a submission and review to attain, which, as i mention isnt possible until u link a page to ur app., ive actually got 3 or 4 fb pages im the owner and admin of, not 1 is selectable its frustrating, so due to that i cant click submit review. Hey i guess its really not a big deal, prob the least amount of permission roles u ask for the better it was just something i came across and wondered if u had hit this brickwall too,

That's really strange that you can't submit the review. Can you tell me what the exact error is that you get when you try to submit for review? As for less permissions is better, that's absolutely true. People get worried when you ask for every permission possible.

google are known to be so prestigious but alot of the projects they make are so bug ridden and problematic its beyond belief for me, even the google webapp framework i once dl to check out ran one time only lol, and died a miserable death and eventually i remove! lol.

Google's authentication and profile API is haphazard at best. Not something like working with, but have it pretty well tamed now.

Also alex one other thing i really need to do is display a small registration form on the same page as my athleteadvance.com/component/users/?view=login you see to the right hand side i wish to have a small mini registration form if u will is it possible to do it with jfbconnect?

JFBConnect doesn't currently have a registration form method. You can use the built-in Joomla User - Profile plugin to add some custom fields to the registration flow or use any of the varied profile extensions out there. Having a very, very simple registration feature is likely something we'll have to add to JFBConnect later this year as it's starting to be requested more.

Finally, I'm glad you figured out the analytics thing. Stuff like that can always be a pain to diagnose and it's doubly annoying when you realize you were the cause :)

I hope that all helps, but if you run into any other issues or have any questions, just let me know!

Thanks,
Alex
Last edit: 11 years 11 months ago by alzander.
The topic has been locked.
Active Subscriptions:

None
11 years 11 months ago #44893 by camjam
Thank-you so much, this solves my problem!

With FB it basically says, until I associate a page to the app, (then doesn't list any of the pages I've created and admin on fb), and a link to create a new page, it wont let me submit a review for say, an example if i wanted to obtain the users website that would require a role that's not available unless 1st having the app reviewed, you know what is strange is that I've done it b4 with my fanspam website and that wasnt an issue, i have no doubt in my mind its yet another facebook bug that i really dont think im gonna put my hand up to be mr test guniee piggy for the fb devs to play around with cuz thats what will prob happen if i ask, then there's a good chance none of it will work lol! ok so i exagerate a little but im not to fussed i guess at the bottom line, the least amount of roles prob. the better, the happier the user.

Thank-you again for your outstanding support alex its been nothing but a complete pleasure dealing with you and having your help available, keep up the great work! and sincerely thank-you!

-cam
The topic has been locked.
Active Subscriptions:

None
11 years 11 months ago - 11 years 11 months ago #44894 by camjam
Hrm Alex i got this error :P

Fatal error: Class 'JFBFactory' not found in /var/www/athleteadvance/plugins/system/sourcerer/helper.php(564) : runtime-created function on line 8

so im goin to grep -ir the JFBFactory, but it could not be found i guess i can find it somewhere ? can i include a file specifically alex, im using this sourcerer thing its not very good but for most simple things it works ok!
Last edit: 11 years 11 months ago by camjam.
The topic has been locked.
Support Specialist
11 years 11 months ago #44899 by alzander
Cam,
For the Fatal Error, I had a small typo in the code I posted above. I had JFBFactory::getAllProviders, That should have been JFBCFactory (there's a C at the end of JFB). Please update the code so it looks like:
$params = array('button_type' => 'icon_text_button'); 
foreach (JFBCFactory::getAllProviders() as $p) 
   echo $p->connectButton($params);

As for the review, I'm still a bit uncertain what is happening or why it won't let you submit the app. I understand why you need to submit for review, but not sure why it would not let you do so. Again, is there any specific error message you're receiving on the submission page that you can post? Knowing the specific error message will help us investigate the problem further.

For your Fanspam site, it's likely that app was created before May 1st, 2014. In that case, it's still a version 1 Facebook App. In that case, you don't need to get approval for extra permissions until it's upgraded to a v2 app. That will happen in a future version of JFBConnect later this summer. Until then, we still use v1 calls when possible to avoid some of the issues the v2 stuff has brought.

I hope that helps,
Alex
The topic has been locked.