vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Facebook fanpage like button on forum (https://vborg.vbsupport.ru/showthread.php?t=293076)

mmodder 12-17-2012 10:38 PM

Facebook fanpage like button on forum
 
So, i want a like button on my forum that will let users like my facebook page. I have read numerous threads here and havent found a complete answer. Sorry if some of my questions are newbish because this is my first site.

I seen some thing about using vbseo. Is this the best route to take? If so is it a free plugin?

I did find the facebook developer page that has the like button code generator. So getting the code should be no issue. I did sign up to be a developer on facebook and went a head and created an app. But i am having trouble doing anything with it. I did enter the app id and secret into my facebook options. Is this even doing anything? Or do i have to link the app to my site, or does facebook automatically do this?

I do already have the like buttons in my threads and posts. They are all functioning properly. I dont want to use the facebook connect. Is there a way i can just get into the facebook connect in the admin cp and put the code for the like button there?

One other thing i tried doing was putting the code for the like button in an advertisement box. And still no luck!

Please lead me in the right direction. All i want is a simple like button for my facebook page. :(

mmodder 12-19-2012 11:46 PM

Does anyone know this fancy trick? Please help. :)

abdobasha2004 05-27-2013 12:25 AM

Go to like button developer facebook webpage
put url of your page instead of no url
use iframe code

the code generated when user press like will be a fan of your page

ForceHSS 05-27-2013 02:38 AM

Admincp/Forums & Moderators/Forum Blocks Manager add block pick Custom HTML/PHP
Title = whatever you want
Display Order = 0
active = yes
Content Type = html
Content
Code:

<html>
    <head>
      <title>Skape Rend</title>
    </head>
    <body>
      <iframe src="https://www.facebook.com/plugins/like.php?href=https://www.facebook.com/pages/Skape-Rend-Community/276690629126068"
        scrolling="no" frameborder="0"
        style="border:none; width:240px; height:80px"></iframe>
    </body>
 </html>

Change this part of the code to what your page is
https://www.facebook.com/pages/Skape...76690629126068

Also change this part of the code
<title>Skape Rend</title>

tacklebox joe 06-05-2013 09:01 AM

as always awesome advice, instruction and help...thx

--------------- Added [DATE]1370430346[/DATE] at [TIME]1370430346[/TIME] ---------------

one thing is if they hit the like button...it goes to their fb profile AND the fan you fb page?

--------------- Added [DATE]1370430507[/DATE] at [TIME]1370430507[/TIME] ---------------

NEVERMIND.....DOH!!!!

gobears20 06-10-2016 12:47 AM

Thanks for this! Can you add any comments to display on this?

Also, do you have something for Twitter?


Quote:

Originally Posted by ForceHSS (Post 2424381)
Admincp/Forums & Moderators/Forum Blocks Manager add block pick Custom HTML/PHP
Title = whatever you want
Display Order = 0
active = yes
Content Type = html
Content
Code:

<html>
    <head>
      <title>Skape Rend</title>
    </head>
    <body>
      <iframe src="https://www.facebook.com/plugins/like.php?href=https://www.facebook.com/pages/Skape-Rend-Community/276690629126068"
        scrolling="no" frameborder="0"
        style="border:none; width:240px; height:80px"></iframe>
    </body>
 </html>

Change this part of the code to what your page is
https://www.facebook.com/pages/Skape...76690629126068

Also change this part of the code
<title>Skape Rend</title>



All times are GMT. The time now is 11:58 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.01617 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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