vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Facebook LikeBox Plug-In [1.1.0] (CMS Widget) (https://vborg.vbsupport.ru/showthread.php?t=271710)

ChriDevelop 10-08-2011 10:00 PM

Facebook LikeBox Plug-In [1.1.0] (CMS Widget)
 
1 Attachment(s)
This is a widget for your CMS pages to show the Facebook LikeBox Plug-In.

You will need to Create a new Template (vbcms_widget_static_facelikebox), Create a new Widget (Facebook LikeBox), Configure the Widget, and then finally add the Widget to your Layout (I am not including instructions for that, you should know how to add Widgets to Layouts).

LIVE DEMO

1.0 2011-10-09: First Release
1.1 2011-10-10: Second Release

INSTALL INSTRUCTIONS:

1) Upload all the upload dir into the attachment.

2) Create a new Template
Styles & Templates > Your style > Add Template
Title - vbcms_widget_static_facelikebox
There are some likebox so i do a list*:
  • If you would likebox like this ==> Attachment 1
    Add this template:
    HTML Code:

    <div class="cms_widget">       
    <div class="block">               
    <div class="cms_widget_header">
    <h3>
    <img alt="" src="images/cms/facebook.png" title="Find Us On Facebook">
    &nbsp;Find Us On Facebook!
    </h3>
    </div>
    <div class="cms_widget_content widget_content" align="center">
    <br>
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) {return;}
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    <div class="fb-like-box" data-href="YOUR FACEBOOK PAGE HERE" data-width="XX" data-border-color="#FFFFFF" data-show-faces="true" data-stream="false" data-header="false"></div></div></div></div>

    You must edit the width size in the string data-width="XX" so you can modify XX with a custom width in pixels

    Then you must edit the string "data-href="YOUR FACEBOOK PAGE HERE"" so you must edit YOUR FACEBOOK PAGE HERE with you facebook page URL
    *

* I'll post many versions of this in a few days...

3) Create a new Widget
vBulletin CMS > Widgets > Create New Widget
Widget Type - Static HTML
Title - Facebook LikeBox
SAVE


4) Configure the Widget
Now go to vBulletin CMS > Widgets > Users Online > Configure
Change the Template Name to -
vbcms_widget_static_facelikebox

.
.
.
.

SUPPORT ME WITH A SIMPLE DONATION (CHECK MY USER INFO)

.
.
.
.
IN A FEW DAYS I WILL RELEASE A NEW VERSION OF THIS WIDGET!

voglermc 10-09-2011 11:45 PM

Nice

Rckcrwlr 10-10-2011 09:33 AM

Saving this one...

abdobasha2004 10-10-2011 10:18 AM

it is so simple to copy and past the code from facebook itself !!

ChriDevelop 10-10-2011 10:55 AM

Quote:

Originally Posted by abdobasha2004 (Post 2255497)
it is so simple to copy and past the code from facebook itself !!

Yeah, but i'll edit this in a beautiful widget!

ChriDevelop 10-10-2011 02:07 PM

Updated!

jefferis 01-06-2012 01:19 AM

Quote:

) Configure the Widget
Now go to vBulletin CMS > Widgets > Users Online > Configure
Change the Template Name to -
vbcms_widget_static_facelikebox
There is no Users Online in widgets in the default CMS in 4.1.8...

rjerina 04-25-2012 08:26 AM

Quote:

Originally Posted by jefferis (Post 2284314)
There is no Users Online in widgets in the default CMS in 4.1.8...

Yes, doesn't exist. Dead project?


All times are GMT. The time now is 05:38 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01046 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete