Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Facebook Comments Box to Threads for VB3 Details »
Facebook Comments Box to Threads for VB3
Mod Version: 1.00, by ShawneyJ (Coder/Designer) ShawneyJ is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 6
Released: 22 Oct 2014 Last Update: Never Downloads: 0
Not Supported Template Edits  

I didn't see a facebook comments in threads mod for vb3.8.x. Or maybe im just going blind! A client wanted this added under her first post. And yes, works a treat for FF, IE, Chrome, Mobile.

I wasn't a huge fan of fb comments under first post. So i will just add here how i added fb comments like my test chat forum, which is placed nicely under Quick Reply.

How to add the facebook comments box to your thread vb3 only.
First, create a Facebook App.

Visit http://developers.facebook.com
Login with your Facebook account.
Select Apps from the navigation menu and choose Create a New App.
Fill in the Display Name and select a category that matches your app.
Click Create App - You’ll now be taken to your App’s Dashboard page.

Click the Settings link and add a Contact Email address and App Domain (your site URL) and Save your changes.

Next, click the Status & Review link, and toggle the switch to make the app public.

Note: maybe a tiny bit different than when i last added Apps.

Ok, so you have your App ID ready to do these template edits to your vbulletin.

This code is slightly modified to pass validator.w3.

In SHOWTHREAD Template find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



And add this Below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Change in red "YOUR-APP-ID" with your FB App ID.

Still in SHOWTHREAD Template, add your FB Comments under quick reply.

Search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Add below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


And Save.

Dont for get to change the x,x,x highlighted in red.
For Example, if i wanted to hide the Facebook Comments in certain Forums, i would place in the Forums ID 40 and 16. My code would look like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Tips,
All this can be edited in the Code:
data-colorscheme = "light" or "dark" theme.
data-numposts = the number of comments to show by default, which is set at 5.
data-order-by = "social", "reverse_time", or "time".
data-width = the width of the FB Box in pixels. For a fluid width, use 100%.
Note: IE dont like fluid width at 100%, it chucks a hissy fit.

You would be better to leave width at nothing.

Moderation.
If you want moderators for your Comment box, visit your App’s Role page and add their Facebook ID as an Administrator.

Lastly, if you want comments box under first post which is added in Postbit Template, and, or anywhere else in your thread, i can add the How-To here.

Screenshots added and Demo at me test chat forums.
Cheers.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	facebook-view.jpg
Views:	282
Size:	77.9 KB
ID:	150781   Click image for larger version

Name:	Thread-view.jpg
Views:	243
Size:	54.2 KB
ID:	150782  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements Add Facebook comments to threads ericgtr vBulletin 4.x Template Modifications 192 05 Oct 2015 11:43
Integration with vBulletin Facebook comments to threads katim110 vBulletin 4.x Template Modifications 5 21 May 2012 03:55

Comments
  #2  
Old 22 Oct 2014, 07:08
tbworld tbworld is offline
 
Join Date: Oct 2008
Nice work @Shawneyj, Thanks for sharing.
Reply With Quote
  #3  
Old 29 Oct 2014, 13:11
RELAX13 RELAX13 is offline
 
Join Date: Nov 2013
Good Id
Reply With Quote
  #4  
Old 31 Oct 2014, 02:42
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
nice addition... Simple!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 21:07.

Layout Options | Width: Wide Color: