vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Facebook Connect - Allow your users to login with their Facebook account (for 3.8) (https://vborg.vbsupport.ru/showthread.php?t=203064)

TandyServices 03-08-2009 11:06 AM

Quote:

Originally Posted by turbosatan (Post 1763110)
I have the problem where the iframe is not tall enough also.

Can anyone advise a way to change this?

EDIT
ok so i found http://wiki.developers.facebook.com/...sizable_IFrame this page. on the canvas page of the facebook app setup you can specify a resizeable iframe instead of a "Smartsize"

There are some details on this page on how to modify some of the code to make itr fit the content size.

But i am no coder. Can anyone who knows their way around code take a look and see if there is a simple one liner that can change this.


In your file look for this and play around with the width and height.. I think that is what you are looking for..

Code:


createHiddenDiv : function() {
      if (document.getElementById('FB_HiddenContainer') == null) {
        document.write('<div id="FB_HiddenContainer" '
                      + 'style="position:absolute; top:-10000px; left:-10000px; width:0px; height:0px;" >'
                      + '</div>');


abdobasha2004 03-08-2009 02:59 PM

when I uninstall it give data base error for all vb !!!!
plz help

DebtFree 03-08-2009 03:10 PM

Quote:

Originally Posted by TandyServices (Post 1763120)
In your file look for this and play around with the width and height.. I think that is what you are looking for..

Code:


createHiddenDiv : function() {
      if (document.getElementById('FB_HiddenContainer') == null) {
        document.write('<div id="FB_HiddenContainer" '
                      + 'style="position:absolute; top:-10000px; left:-10000px; width:0px; height:0px;" >'
                      + '</div>');


Which file is this in?

abdobasha2004 03-08-2009 03:47 PM

when I uninstall it give data base error for all vb !!!!
plz help

TandyServices 03-08-2009 06:01 PM

  • The script tag for http://static.ak.facebook.com/js/api...eLoader.js.php should be placed inside the <body> tag, not inside <head>.
  • It is almost essential that the FB.canvasclient.starttimertosizetocontent() and related code be placed towards the end of other visual HTML markup inside <body> for resizing to work at all.
  • For an IFRAME app, make sure you don't have height set to 100% in either the body or html styles or the resizing won't work.
  • If you are seeing an initial scroll when the page is first loaded it is because the auto resize code is not being completed before the page is rendered. To avoid this issue, you can just explicitly specify CSS style "overflow:hidden" on the body tag in the iFrame.
Retrieved from "http://wiki.developers.facebook.com/...sizable_IFrame"

abrecher 03-09-2009 02:04 AM

Anybody in here able to assist with (paid) installation of this mod ? I installed successfully but have some custom templates and need help integrating with them.

I sent sllik a PM 4-5 days ago but never received a response from him.

Marco van Herwaarden 03-10-2009 01:28 PM

Please do not use this thread to discuss commercial agreements you have with someone.

K4GAP 03-10-2009 06:33 PM

In the install instructions... "Go to the Canvas tab and set the Canvas Page URL" (to whatever you want)....

What is this "Canvas tab"? I'm looking for.

TandyServices 03-11-2009 12:53 PM

Quote:

Originally Posted by externalaw.com (Post 1755107)
In your vbulletin management for this add-on, on the left you see some tabs, one of these is canvas!

:).

intelgio2 03-11-2009 03:09 PM

There seems to be a conflict between this mod and the Social bookmarking navbar mod (https://vborg.vbsupport.ru/showthrea...ight=sharethis)... has anyone found a workaround for this?

The navbar mod creates its own Navbar template. i have attenpted to add the code to that file and have failed miserably :erm:


All times are GMT. The time now is 08:36 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.05707 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete