Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Facebook-Comments to CMS-Articles Details »»
Facebook-Comments to CMS-Articles
Version: 1.2, by Kraxell Kraxell is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 01-26-2012 Last Update: Never Installs: 38
Template Edits
Re-useable Code  
No support by the author.

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 http://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!

Screenshots

File Type: jpg fb.jpg (50.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Brandon Sheley

Comments
  #32  
Old 07-13-2012, 06:38 PM
baerwurz baerwurz is offline
 
Join Date: Nov 2005
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be cool, if a fb comment will improve the comments count on the Homepage.

Is this possible?
Attached Images
File Type: jpg count.JPG (3.4 KB, 0 views)
Reply With Quote
  #33  
Old 10-11-2012, 01:28 AM
Luiz Biazus Luiz Biazus is offline
 
Join Date: Sep 2010
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is that possible use FANPAGE instead APP?
Reply With Quote
  #34  
Old 09-19-2015, 12:16 AM
horseguards horseguards is offline
 
Join Date: May 2012
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello,

I have installed this mod (vBulletin 4.2.3) and it seems to be that works, but I get the old comment form also there.

Pls check the image http://www.awesomescreenshot.com/ima...597245b580ebcf

What's wrong?

thanks!
Reply With Quote
  #35  
Old 10-10-2015, 01:11 PM
horseguards horseguards is offline
 
Join Date: May 2012
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

found the solution! I had to disable vBulletin comments.
Reply With Quote
  #36  
Old 10-13-2015, 05:00 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sounds good
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04204 seconds
  • Memory Usage 2,278KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete