• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

[Deprecated] Chevereto 2.0 Facebook Comments

Cory

Chevereto Member
Demo: http://v2.imgwiz.com/?v=pMOqt.png


Cost: Free

Instructions:

File Structure:
Code:
upload/
xd_receiver.htm
includes/fbcomments.php

Upload all contents inside upload directory into your root directory of your Chevereto Installation.

Open: includes/config.php

Find:
Code:
<?php

Replace with:
Code:
<?php
$config['facebook_api_key'] = '<Key Here>';

Open: content/themes/ThemeName/header.php
Find:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php show_lang_used(); ?>" lang="<?php show_lang_used(); ?>">

Replace with:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="<?php show_lang_used(); ?>" lang="<?php show_lang_used(); ?>">

Open: content/themes/ThemeName/view.php

Find:
Code:
        </div>
    </div>

<?php include_theme_footer(); ?>

Add Above:

Code:
<?php include("includes/fbcomments.php"); ?>

Result:

Code:
            </div>
<?php include("includes/fbcomments.php"); ?>
        </div>
    </div>

<?php include_theme_footer(); ?>

Setting Up Facebook API, Goto: https://developers.facebook.com/

+ Create New App

  • App Name: Image Hosting Name[/*]
  • Locale: Your language preference[/*]
  • Accept, Facebook Terms.[/*]
  • Continue[/*]

  • Verify reCaptcha Code.[/*]

  • Click on Web >> Site URL & Domain[/*]
  • Site URL: http://yourdomain.com[/*]
  • Site Domain: yourdomain.com (No, http:// or www)[/*]
  • Save Changes[/*]

  • At the top Click on Apps, You should see your recent app and may see;[/*]

Access Token: You need to grant permissions to your app to get an access token.
-Click on 'need to grant permissions' and it will become active.

Get App ID/App Key (In Summary) and paste into the includes/config.php

40thekey.png


Save and upload all files.

Upload and image and view the page, test comments.

Enjoy.

Cost: Free

Status: Deprecated - Use the 2.1.x Internal
 
I wrote this in 30 minutes after, I posted I was going to use it.

Figure, Getting ready to go to bed and once I wake up, there be some comments. :)
 
Compatibility has nothing to do with it, it's a mod that can work anywhere with the right modifications.

Do you have any type of error? If not, provide ftp information via PM and I can take a look.
 
Back
Top