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
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 extensions → [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
Hi rajuru,
This extension looks great!
Does it "share" all viewtopic posts or just those visible to guests?
Thanks.
It shares the topic that is explicitly liked by the user! Yes! Guests can also like it!
Very nice...Props!
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
Mark likes http://www.eroyton.co.uk/forum/viewtopic.php?id=10490 on [my_domain]
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.
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
Mark likes http://www.eroyton.co.uk/forum/viewtopic.php?id=10490 on [my_domain]
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.
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!
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?
Update. It fixed itself
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:
Or before the Subscribe via RSS.
Thank you in advance. Keep up the great work
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:
Or before the Subscribe via RSS.Thank you in advance. Keep up the great work
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!
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:
Or before the Subscribe via RSS.Thank you in advance. Keep up the great work
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!
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 Thank you!
Not that much! 30 minutes of works! but tough to manage this! passing extremely busy time
Not that much! 30 minutes of works! but tough to manage this! passing extremely busy time
It's ok, I got it fixed by applying some CSS styles to the Iframe
Thank you again!
cool! you may share it here so that if someone needs same solution can make it!
Interesting.
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:
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.
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....
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
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
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;
}
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
I think it should be on top of the post, many people "like" stuff without reading...
btw: I think this extension increases site trafic, I often have 1-3 facebook server IPs as guests....
Hi!
How do I put this code on my forum?
PunBB Forums → PunBB 1.3 extensions → [extension] Facebook Like button
Powered by PunBB, supported by Informer Technologies, Inc.