Back to vBulletin 4.x Template Modifications

Facebook-Comments to CMS-Articles
Mod Version: 1.2, by Kraxell

vB Version: 4.x.x Rating: (2 votes - 5.00 average) Installs: 38
Released: 27 Jan 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code External Content  

Hello my vB-friends!

I have a little modification for your vB-CMS!

With this little template-edit you can show facebook-comments under your CMS-articles.

Sorry for my bad english, i doe my best! (iam german)

What is needed for this modification:

- standard facebook account.
- facebook application, anyone can set one up and it's simple https://www.facebook.com/developers/createapp.php

Now the template-edits:

Search template:
vbcms_content_article_page

and find

HTML Code:
{vb:raw comment_block}
Add below this code:

HTML Code:
<!-- FB Comments -->
        <h2 class="blockhead" style="padding-top:5px;"><span class="optiontitle">Facebook comments</span></h2>
        <div id="thread_tags_list" class="thread_info_block blockbody formcontrols floatcontainer">
           <div class="blockrow floatcontainer">
                <div id='tag_list_cell'>
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=YOURAPPID&amp;xfbml=1"></script><fb:comments href="http://www.YOURSITE.com/{vb:raw relpath}" expr:xid="YOUR-APP-ID" simple="1" num_posts="10" width="500" publish_feed="true"></fb:comments><br/>
                </div>
            </div>
        </div>
<img src="clear.gif" height="10" /><br />
        <!-- /FB Comments -->
Be sure you have change YOUR_APP_ID to your app-id!

Now it looks like the screenshot.

If you use it, please push install, rate and nominate

Hope you like it

Big thank to Gemma & Noli for help!

Download

No files for download.

Supporters / CoAuthors

  • Gemma
  • Noli

Screenshots

Click image for larger version
Name:	fb.jpg
Views:	882
Size:	50.1 KB
ID:	136257  


vblts.ru supports vBulletin®, 2022-2024