Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2012, 11:38 PM
mmodder mmodder is offline
 
Join Date: Nov 2012
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 12-20-2012, 12:46 AM
mmodder mmodder is offline
 
Join Date: Nov 2012
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know this fancy trick? Please help.
Reply With Quote
  #3  
Old 05-27-2013, 01:25 AM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 05-27-2013, 03:38 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
2 благодарности(ей) от:
CAG CheechDogg, tacklebox joe
  #5  
Old 06-05-2013, 10:01 AM
tacklebox joe's Avatar
tacklebox joe tacklebox joe is offline
 
Join Date: Feb 2013
Location: New Jersey
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!!
Reply With Quote
  #6  
Old 06-10-2016, 12:47 AM
gobears20 gobears20 is offline
 
Join Date: Feb 2004
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Also, do you have something for Twitter?


Quote:
Originally Posted by ForceHSS View Post
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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03601 seconds
  • Memory Usage 2,222KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (2)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete