The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Forum topic,Facebook Like

5 posters

Go down

Forum topic,Facebook Like Empty Forum topic,Facebook Like

Post by FL.ux December 20th 2011, 3:57 am

i just want to know how i can add a "Like" button here:in my forum:



Forum topic,Facebook Like Captur35


Spoiler:
FL.ux
FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by PorkyPine V10 December 20th 2011, 3:59 am

i dont think you can do that, but there is a widget for the "like"
PorkyPine V10
PorkyPine V10
Forumember

Male Posts : 387
Reputation : 19
Language : English, Spanish, French, Japanese

http://gfx-creators.forumotion.com/

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by FL.ux December 20th 2011, 4:06 am

i know the widget... but i thought this is possible..

i'll just wait if some staff knows something about this..

cause this would just be awesome if this is possible.
FL.ux
FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by SLGray December 20th 2011, 4:09 am

It is not possible to add a Facebook Like button to each post, but you can add the Forumotion Like button.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by FL.ux December 20th 2011, 4:10 am

how?

i'm using phpbb2 btw
FL.ux
FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by PorkyPine V10 December 20th 2011, 4:10 am

slg wrote:It is not possible to add a Facebook Like button to each post, but you can add the Forumotion Like button.

yea, thats what i thought aswell
PorkyPine V10
PorkyPine V10
Forumember

Male Posts : 387
Reputation : 19
Language : English, Spanish, French, Japanese

http://gfx-creators.forumotion.com/

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by Suuki December 20th 2011, 4:14 am

slg wrote:It is not possible to add a Facebook Like button to each post, but you can add the Forumotion Like button.


O.o oooo~ interested. Smile
Suuki
Suuki
Forumember

Posts : 419
Reputation : 25
Language : English, Japanese (learning lots) :3

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by FL.ux December 20th 2011, 4:14 am

how can i do that?

and another thing..

i got these codes from fb..Facebook for websites(authentication)

The JavaScript SDK requires that you register your website with Facebook to get an App ID (or appId). The appId is a unique identifier for your site that ensures that we have the right level of security in place between the user and your website. The following example shows how to load the JavaScript SDK once you have your appId:

Code:
 <html>
    <head>
      <title>My Facebook Login Page</title>
    </head>
    <body>
      <div id="fb-root"></div>
      <script>
        window.fbAsyncInit = function() {
          FB.init({
            appId      : 'YOUR_APP_ID',
            status    : true,
            cookie    : true,
            xfbml      : true,
            oauth      : true,
          });
        };
        (function(d){
          var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
          js = d.createElement('script'); js.id = id; js.async = true;
          js.src = "//connect.facebook.net/en_US/all.js";
          d.getElementsByTagName('head')[0].appendChild(js);
        }(document));
      </script>
    </body>
 </html>

Once you have loaded the JavaScript SDK into your page and initialized it with your appId, you simply add the Login Button to your page using the <div class="fb-login-button"> element as shown below:

Code:
 <html>
    <head>
      <title>My Facebook Login Page</title>
    </head>
    <body>
      <div id="fb-root"></div>
      <script>
        window.fbAsyncInit = function() {
          FB.init({
            appId      : 'YOUR_APP_ID',
            status    : true,
            cookie    : true,
            xfbml      : true,
            oauth      : true,
          });
        };
        (function(d){
          var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
          js = d.createElement('script'); js.id = id; js.async = true;
          js.src = "//connect.facebook.net/en_US/all.js";
          d.getElementsByTagName('head')[0].appendChild(js);
        }(document));
      </script>
      <div class="fb-login-button">Login with Facebook</div>
    </body>
 </html>


where do i add these codes??
FL.ux
FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by SLGray December 20th 2011, 4:32 am

Check out this in your ap:

Administration Panel>>Modules>>Facebook Connect>>Configuration


Forum topic,Facebook Like Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by FL.ux December 20th 2011, 4:34 am

how do i change the color of the "OR" box?
FL.ux
FL.ux
Forumember

Male Posts : 842
Reputation : 18
Language : I hope I could be a FM staff :'(
Location : I shall fly to the subterranean sky.

Back to top Go down

Forum topic,Facebook Like Empty Re: Forum topic,Facebook Like

Post by kirk December 20th 2011, 1:18 pm

you can add it to every page post,
but the problem is when someone clicks it, it's only going to show/lead back to the link you have in the code.

So say you have your forum index in the code, well it wont matter what page someone clicks the like on, it will all appear on facebook leading back to your index page and not the individual post,

that why i use this instead for post.

Code:
<div class="addthis_toolbox addthis_default_style"> <a class="addthis_button_facebook"></a> <a class="addthis_button_email"></a> <a class="addthis_button_favorites"></a> <a class="addthis_button_print"></a> <span class="addthis_separator">|</span> <a href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4ac8de240c167ec5" class="addthis_button_expanded" style="text-decoration: none">More</a></div> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=xa-4ac8de240c167ec5"></script>

Preview

kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum