The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin on a Facebook page?
Hi,
As some of you may know, im sure it was located here; https://www.facebook.com/vbulletin/app/241880542500773/ Do these still work on your Facebook pages? If so can you post yours. Im looking to re-install my vBulletin so I can use it for a popular page. Thanks Ross |
#2
|
||||
|
||||
The app was discontinued some years ago now, those installed a few years ago may still function, but it would not install and work now.
|
#3
|
|||
|
|||
Ah man, was it just a simple iFrame? or was it a plugin? wonder if anyone has remade one..
|
#4
|
||||
|
||||
While an IFrame was part of it, it was much more than that, signficant custom vBulletin code was needed.
|
#5
|
||||
|
||||
To use vBulletin as a Facebook TAB application (does not works in normal FB profiles and also in Facebook groups), all you need is:
1.- To operate your site in SSL 2.- Your style must be fluid (100% width) or, if it's fixed, 810px width 3.- To add in the headinclude template Code:
<style type="text/css"> overflow:auto; overflow-x:hidden; </style> Code:
<div id="fb-root"></div> <script type="text/javascript" src="//connect.facebook.net/en_US/all.js"></script> <script> FB.init({ status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); </script> <script type="text/javascript"> FB.Canvas.setSize(); window.fbAsyncInit = function () { FB.Canvas.setAutoResize(); } FB.Canvas.scrollTo(0,0); </script> If your Facebook connect in your site does not works, still you can use vBulletin in FB, but in this case you must do some extra work by including and setting FB SDK. This can be done (as example only) by creating a php file with content: Code:
// Required Facebook PHP SDK v4.0.9 or later. // Include required files form Facebook SDK require_once( 'Facebook/HttpClients/FacebookHttpable.php' ); require_once( 'Facebook/HttpClients/FacebookCurl.php' ); require_once( 'Facebook/HttpClients/FacebookCurlHttpClient.php' ); require_once( 'Facebook/Entities/AccessToken.php' ); require_once( 'Facebook/Entities/SignedRequest.php' ); require_once( 'Facebook/FacebookSession.php' ); require_once( 'Facebook/FacebookRedirectLoginHelper.php' ); require_once( 'Facebook/FacebookSignedRequestFromInputHelper.php' ); // added in v4.0.9 require_once( 'Facebook/FacebookRequest.php' ); require_once( 'Facebook/FacebookResponse.php' ); require_once( 'Facebook/FacebookSDKException.php' ); require_once( 'Facebook/FacebookRequestException.php' ); require_once( 'Facebook/FacebookOtherException.php' ); require_once( 'Facebook/FacebookAuthorizationException.php' ); // these two classes required for canvas and tab apps require_once( 'Facebook/FacebookCanvasLoginHelper.php' ); require_once( 'Facebook/FacebookPageTabHelper.php' ); require_once( 'Facebook/GraphObject.php' ); require_once( 'Facebook/GraphSessionInfo.php' ); use Facebook\HttpClients\FacebookHttpable; use Facebook\HttpClients\FacebookCurl; use Facebook\HttpClients\FacebookCurlHttpClient; use Facebook\Entities\AccessToken; use Facebook\Entities\SignedRequest; use Facebook\FacebookSession; use Facebook\FacebookRedirectLoginHelper; use Facebook\FacebookSignedRequestFromInputHelper; // added in v4.0.9 use Facebook\FacebookRequest; use Facebook\FacebookResponse; use Facebook\FacebookSDKException; use Facebook\FacebookRequestException; use Facebook\FacebookOtherException; use Facebook\FacebookAuthorizationException; use Facebook\GraphObject; use Facebook\GraphSessionInfo; // these two classes required for canvas and tab apps use Facebook\FacebookCanvasLoginHelper; use Facebook\FacebookPageTabHelper; // Initialize Facebook Connection FacebookSession::setDefaultApplication( ''.APP_ID.'',''.APP_SECRET.'' ); // init login helper $helper = new FacebookRedirectLoginHelper( ''.APP_TAB_LINK.'' ); // init page tab helper $pageHelper = new FacebookPageTabHelper(); // get session from the page $session = $pageHelper->getSession(); Christos |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|