Integrating Facebook
|
Posted
#86246
(In Topic #17650)
|
|
|---|---|
Well-settled |
I used to have version 7 and since I upgraded to 8.1 I uninstalled and installed the v8 of the addon. Entering AppID and secret, I get: Facebook authorisation Successfully authorisation Facebook posting. Applicable posts now show up on your Facebook page. Now, when I try to add, say a Like button in the right panel, it works on the preview but not on the live site. Viewing the page source, the code is there, but just not working. Same goes to side_personal_stats and the login page. Also, I can't figure for the life of me how to replace normal commenting system with facebook comments in catalogue entries. I suppose I need to replace {COMMENT_DETAILS} in CATALOGUE_DEFAULT_ENTRY_SCREEN.tpl with something else. Tried {FACEBOOK_COMMENTS} but it said that it wouldn't pass it on the template. I did place all the template files from the addon zip into my custom theme folder. What am I missing? |
|
Posted
|
|
Well-settled |
Trying to login from a different browser that had me logged out, I got this error: An unknown authentication scheme was found in the database against your member. Unfortunately we cannot authenticate you. If your account is tied to a third party service maybe you just need to use a different login button. I guess since my account is tied to my facebook login (since the v7 installation) I need to login through facebook? |
|
Posted
|
|
|
ocStaff (admin) |
My guess is your HEADER.tpl may be missing {$EXTRA_HEAD}. IIRC that is how the addon injects the Facebook Javascript code. Previews use a different template which probably does have that in.
Not an intended use case but the Tempcode syntax for putting in a block should make it possible to embed the Facebook comments block into a template. {$BLOCK,block=xxx,...} Or simply to use the code they supply (no need to do anything using ocPortal technology as such, just put their code into a template).
You may need to wait a few seconds before navigating away, log out happens via Javascript running on the logged-out page.
Running 'reset password' on the account will reset it. You may need to remove permissions to your app from your own Facebook account, Facebook is very aggressive about establishing and maintaining its logins. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
Well-settled |
I added the {$EXTRA_HEAD}, it had the old style {EXTRA_HEAD} but nothing gets added in the source code. I'm attaching my current header template if you can take a look. I know it's very crude, bear in mind it's been modified and patched for a few years now so it's not a coding masterpiece lol. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
Well-settled |
|
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
Well-settled |
Critical error - bailing out This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other. Unfortunately a query has failed [SELECT specific_permission,the_page,module_the_name,category_name,t he_value FROM ocp4_gsp WHERE (group_id=9) UNION ALL SELECT specific_permission,the_page,module_the_name,category_name,t he_value FROM ocp4_msp WHERE member_id=582 AND active_until>1338552404] [MySQL server has gone away] (version: 8.1, PHP version: 5.3.8, URL: /start.htm) Details here are intended only for the website/system-administrator, not for regular website users. » If you are a regular website user, please let the website staff deal with this problem. Depending on the error, and only if the website installation finished, you may need to edit the installation options (the info.php file). ocProducts maintains full documentation for all procedures and tools. These may be found on the ocPortal website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you. |
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
I'll get back to you. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Community saint |
As Chris pointed out, it is no longer bundled, it must be installed as an addon before you can see the addition to the menu. Check if it was properly installed. Jean |
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Community saint |
This has been discussed before. Once you log on using Facebook, you are pretty much stuck with that option. This makes sense in that someone who joins using their Facebook account is unlikely to ever want to create an ocPortal login. To re-enable your regular ocPortal login, you will need to do a password reset on your account and avoid logging in using Facebook in the future. That is at least my understanding. Bob |









