Topic: [extension] Facebook Like button

Hello,
Just now I have made another extension for my forum and shared for the PunBB Community

Screenshot and more details are here:
http://hungrycoder.xenexbd.com/scripts/ … forum.html

Download

Re: [extension] Facebook Like button

Hi rajuru,

This extension looks great!

Does it "share" all viewtopic posts or just those visible to guests?

Thanks.

Re: [extension] Facebook Like button

It shares the topic that is explicitly liked by the user! Yes! Guests can also like it!

Re: [extension] Facebook Like button

Very nice...Props!

5 (edited by esupergood 2010-06-17 15:55)

Re: [extension] Facebook Like button

Thanks for a very nice extension. It works OK so far me.
One question though.

When I view my profile after liking one of my topics it says

But I'd much rather it say:

Mark likes [topic_title] on [my_domain]

I've seen this done on another forum so I know it's possible. But how?

Thanks in advance for any tips with this.
smile

Re: [extension] Facebook Like button

esupergood wrote:

Thanks for a very nice extension. It works OK so far me.
One question though.

When I view my profile after liking one of my topics it says

But I'd much rather it say:

Mark likes [topic_title] on [my_domain]

I've seen this done on another forum so I know it's possible. But how?

Thanks in advance for any tips with this.
smile

Doesn't it show the subject for you? I see topic subject fine on Facebook.  Here's what I see

Mohammad likes ৪-১ এ জিতল ম্যারাডোনার শিষ্য মেসি হিগুয়েনরা! (পাতা ১) - ফুটবল - খেলাধূলা - প্রজন্ম ফোরাম on forum.projanmo.com.


with the link to topic ! Don't know why not same for your case!

Re: [extension] Facebook Like button

Hmm, well I'll keep using it and see if it magically fixes the problem on its own.
Do you think it could be a setting on my host server?

Re: [extension] Facebook Like button

Update. It fixed itself smile

Re: [extension] Facebook Like button

esupergood wrote:

Update. It fixed itself smile

lolz!

10 (edited by Faith Jaya 2010-06-30 21:37)

Re: [extension] Facebook Like button

Hi rajuru
Great extension. I tested it and it works like a charm. I have a request if you would help with.
I would like to move the Like button like shown in the screenshot below:
http://content.screencast.com/users/FaithJaya/folders/Snagit/media/53abfbf6-b87e-4145-93b3-01db861c6f70/06.30.2010-22.35.09.jpg
Or before the Subscribe via RSS.

Thank you in advance. Keep up the great work wink

11

Re: [extension] Facebook Like button

Faith Jaya wrote:

Hi rajuru
Great extension. I tested it and it works like a charm. I have a request if you would help with.
I would like to move the Like button like shown in the screenshot below:
http://content.screencast.com/users/FaithJaya/folders/Snagit/media/53abfbf6-b87e-4145-93b3-01db861c6f70/06.30.2010-22.35.09.jpg
Or before the Subscribe via RSS.

Thank you in advance. Keep up the great work wink

thanks for your suggestion. but this is how I planned it to work. I have no plan to put it on post action lines. but source is open. if you want, you can change it yourself. just should be just a hook and array assignment change.

so far I remember, I tried to show before subscribe but I could not! Either my problem or no hook! Just can't remember actual reason of my failure!  sad

Re: [extension] Facebook Like button

rajuru wrote:
Faith Jaya wrote:

Hi rajuru
Great extension. I tested it and it works like a charm. I have a request if you would help with.
I would like to move the Like button like shown in the screenshot below:
http://content.screencast.com/users/FaithJaya/folders/Snagit/media/53abfbf6-b87e-4145-93b3-01db861c6f70/06.30.2010-22.35.09.jpg
Or before the Subscribe via RSS.

Thank you in advance. Keep up the great work wink

thanks for your suggestion. but this is how I planned it to work. I have no plan to put it on post action lines. but source is open. if you want, you can change it yourself. just should be just a hook and array assignment change.

so far I remember, I tried to show before subscribe but I could not! Either my problem or no hook! Just can't remember actual reason of my failure!  sad

Thank you for the quick response. I would have moved it to the spot where I want if I had a basic knowledge of hooks and coding in general. I would highly appreciate your help if you can point me in the direction of how to make it show as shown in the screenshot. If it's too much to ask ignore my request. I'm already more than satisfied with it smile Thank you!

13

Re: [extension] Facebook Like button

Not that much! 30 minutes of works! but tough to manage this! passing extremely busy time sad

Re: [extension] Facebook Like button

rajuru wrote:

Not that much! 30 minutes of works! but tough to manage this! passing extremely busy time sad

It's ok, I got it fixed by applying some CSS styles to the Iframe  wink 

Thank you again!

15

Re: [extension] Facebook Like button

cool! you may share it here so that if someone needs same solution can make it!

16

Re: [extension] Facebook Like button

Interesting.

17 (edited by Faith Jaya 2010-07-01 20:13)

Re: [extension] Facebook Like button

rajuru wrote:

cool! you may share it here so that if someone needs same solution can make it!

Actually, It wasn't a solution to move it to where I wanted. though , I just made it look aligned better with other elements (RSS feed, Subscribe..)

Here is how it looks now:
http://content.screencast.com/users/FaithJaya/folders/Snagit/media/63897761-6c0b-4770-b2b4-6f8debacf30d/07.01.2010-21.05.12.png

It's just a tiny change but as you can say, I'm a perfectionist lol!


In your CSS file(Oxygen.css in my example), look for :

.brd .main-modoptions .options

Add the following CSS code before it:

IFRAME

{

    /*+placement:shift 3px 3px;*/

    position: relative;

    left: 3px;

    top: 3px;

}

You can play with the values to achieve the result wanted.

18

Re: [extension] Facebook Like button

Nice extension.
I'm still trying to find a way to get the button AND rss feed to look centered ...
either it's cut off at the bottom or the rss feed gets pushed down as the image height of fb like button is too large for that space....

Re: [extension] Facebook Like button

KeyDog wrote:

Nice extension.
I'm still trying to find a way to get the button AND rss feed to look centered ...
either it's cut off at the bottom or the rss feed gets pushed down as the image height of fb like button is too large for that space....

I will try to do that and post it here for you. subscribe to this topic to receive a notifications when I do smile

Re: [extension] Facebook Like button

KeyDog wrote:

I'm still trying to find a way to get the button AND rss feed to look centered ...

Here is how to do it:

In your theme's CSS file look for:

.brd p.options
{
    border-top: none;
    float:right;
}

Replace it with:

.brd P.options
{
    border-top: none;
    text-align: center;
}

That will center the "RSS" , the "Subscribe" and the "Like button". Hope that helps, I'll be glad to help more if needed  wink

21

Re: [extension] Facebook Like button

Thanks , that alone didn't do the trick, but this did... so thanks for the pointer...

.brd p.options {
    border-top: none;
    text-align: bottom;
    float: right;
  position: relative;
  left: 3px;
  top: -8px;
    }
    
    IFRAME
{
    /*+placement:shift 3px 3px;*/
    position: relative;
    left: 3px;
    top: 5px;
}

Re: [extension] Facebook Like button

KeyDog wrote:

Thanks , that alone didn't do the trick, but this did... so thanks for the pointer...

.brd p.options {
    border-top: none;
    text-align: bottom;
    float: right;
  position: relative;
  left: 3px;
  top: -8px;
    }
    
    IFRAME
{
    /*+placement:shift 3px 3px;*/
    position: relative;
    left: 3px;
    top: 5px;
}

You're right! glad you got it working  big_smile

Re: [extension] Facebook Like button

I think it should be on top of the post, many people "like" stuff without reading...   lol  lol  lol

24

Re: [extension] Facebook Like button

btw: I think this extension increases site trafic, I often have 1-3 facebook server IPs as guests....

Re: [extension] Facebook Like button

Hi!
How do I put this code on my forum?