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)
-   -   Mini Mods - YoBroMoFo - Facebook FanBox widget (https://vborg.vbsupport.ru/showthread.php?t=234436)

TimberFloorAu 01-28-2010 10:00 PM

YoBroMoFo - Facebook FanBox widget
 
1 Attachment(s)
This works on forumhome.

Demo http://www.yobromofo.com/forum/forum.php ( guests can view )

P L E A S E C L I C K I N S T A L L


What does this do?

Ok this mod adds facebook fanbox to your forum home page. Expand and collapses.

Takes 2 minutes to do code edits.

1 template file to edit.
0 to upload

You must have a facebook account, and can get their widget from here:

Just goto http://www.facebook.com/pages/create.php

Please read the instructions CAREFULLY

I will NOT assist those who do not mark this as Installed.
Other sites copying VB.org Modifications including ours, do not hotlink our files ! Do not reproduce this modification unless you credit Me and VB.org as the source publisher.

Special thanks to Cellarius for his Collapsible Boxes Tutorial

AzzidReign 01-29-2010 02:46 AM

Looks good, just don't know how my users will feel if their pictures are randomly shown on my site...It would be cool just to have a thing telling how many fans there are and to have a fan button :P But I'm sure I can figure out how to do that.

Good work :)

ijob 01-29-2010 04:34 AM

quick question b4 I install. Can this be used to target other 'groups' of people belonging a particular 'network'?

TimberFloorAu 01-29-2010 04:40 AM

No idea. Check the code over at developers corner Facebook

Magz 01-29-2010 04:56 AM

Looking good, installed without hitch.

TimberFloorAu 01-29-2010 04:58 AM

Thanks Magz - Looks great !!!!

sumampouw 01-29-2010 05:33 AM

Nice...
Thank you :)

dacho 01-29-2010 05:42 AM

Thanks it's look good

Kingdombuilder 01-29-2010 05:44 AM

Installed and looking good, thanks...

ManagerJosh 01-29-2010 05:44 AM

Can it support multiple facebook fan pages?

Kingdombuilder 01-29-2010 05:54 AM

Quote:

Originally Posted by ManagerJosh (Post 1969563)
Can it support multiple facebook fan pages?

I would image that you would just duplicate for another account...

iguano 01-29-2010 06:40 AM

Installed thanks but in the lateral block, is better for me.:up:

abdobasha2004 01-30-2010 06:52 AM

very nice
better than the java script

GrossKopf 01-30-2010 09:08 AM

The link in your instructions are wrong to create the Fan box. The correct link is http://www.facebook.com/facebook-widgets/fanbox.php

COL NIL SATIS 01-30-2010 07:44 PM

looks promising this!!!

w-elbalad.com 01-30-2010 08:17 PM

looking good, thanks...

COL NIL SATIS 01-31-2010 04:41 PM

Installed and working great...how would i centre it mate??? also rated 5

AdamFL 01-31-2010 04:42 PM

Thank you ! :)

TimberFloorAu 01-31-2010 06:44 PM

Havent tested but try:

Adding <cente> tags as below

Code:

<!-- This is the content for fan box from FACEBOOK-->
<center>
        <!--facebook script content goes here see readme -->
</center>
        <!-- End content from facebook FAN BOX-->


Zaiaku 01-31-2010 11:03 PM

If I had more members using facebook this would be installing this now. I'll get this tagged so I could use it later, Great Work!

TimberFloorAu 01-31-2010 11:09 PM

Personally I cannot stand facebook.
I dont actually have this product/mod installed.

But hundreds of our members think Facebook is the bees knees... I am in the minority lol

tunerclub.net 02-01-2010 03:58 AM

it may just be me... but i cant find in the readme where it says to put the code in the actual file

tunerclub.net 02-01-2010 04:10 AM

ok, i figured it out...

is there a way to make it collapsed by default?

TimberFloorAu 02-01-2010 04:13 AM

Click Install ;)

By Cellarius:

Collapsed as default? Yes, but...

There is a way default the box to be collapsed by default. But this it's quick and dirty, and really not recommended to use. Basically, you have to add display:none to the style of the collapsing container, like so:

Code:
Code:

<div class="blockrow"  id="cel_dummy" style="display: none;">
Now, there are two major drawbacks:

* any user with javascript disabled will not be able to open the box, and the box will show the wrong icon.
* vB at this point only saves information on closed boxes to a cookie; so if you reload the page, the box will always be closed, because vB will not remember that it has been opened.

COL NIL SATIS 02-01-2010 06:37 PM

Quote:

Originally Posted by TimberFloorAu (Post 1971508)
Havent tested but try:

Adding <cente> tags as below

Code:

<!-- This is the content for fan box from FACEBOOK-->
<center>
        <!--facebook script content goes here see readme -->
</center>
        <!-- End content from facebook FAN BOX-->


cheers mate!!! thank you ;)

COL NIL SATIS 02-01-2010 06:39 PM

Is there a way to have more than 32 members in the box.... i changed the 32 to 48 but the 48 dont fit in the box??? any ideas...how to make the box bigger or longer lol

TimberFloorAu 02-01-2010 07:28 PM

Nope sorry.

COL NIL SATIS 02-02-2010 07:38 PM

No problem!!!! thanks for the reply though

COL NIL SATIS 02-06-2010 04:10 PM

anyone know how too have say 50 members in the box????

TimberFloorAu 02-06-2010 07:57 PM

Perhaps contact Facebook API developers. There code is limiting the number of "friends" I would imagine because the script fires multiple requests, and they deem 32 as their limit

COL NIL SATIS 02-07-2010 12:10 PM

Ahh right ok mate..i will try that ..cheers

COL NIL SATIS 02-07-2010 12:18 PM

my page has gone??? any ideas...anyone else having issues

nekiw 02-09-2010 04:16 PM

how can I implement it in a forumblock on right side? please let me know

TimberFloorAu 02-09-2010 06:32 PM

I would imagine, not having created forum blocks.

Create new forum block, title it Facebook Fanbox

Then add the html from facebook ( you will not need our code ) And size the fanbox according to your forum block.

Pretty simple stuff I think Nekiw, but do some investigating first

Boosted Panda 02-09-2010 06:45 PM

The widget is super easy. Just copy and paste the code into the widget and adjust the size.

TimberFloorAu 02-09-2010 06:48 PM

Cheers Matt

crazyace 02-09-2010 08:38 PM

Quote:

Originally Posted by GrossKopf (Post 1970345)
The link in your instructions are wrong to create the Fan box. The correct link is http://www.facebook.com/facebook-widgets/fanbox.php

Please update this in the instructions :D

crazyace 02-09-2010 10:12 PM

Any way to make it fluid? Also any way to make it line up with the collapse bar above it?

nekiw 02-10-2010 06:38 AM

thank you for replies, but I dont understand where to make new forum blocks.
when I goto forum blocks manager all that I can add is preset blocks.
I cant find anywhere to add my own code.

TimberFloorAu 02-10-2010 06:45 AM

1 Attachment(s)
1. thanks for the link update.

2. no it cannot be made fluid.

3. see attached image. Goto forums and Moderators, add new forum block, choose vbblock.blocktype_html

See image below


All times are GMT. The time now is 06:05 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.01467 seconds
  • Memory Usage 1,782KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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