
Facebook - Twitter - Google +1 all in one plugin for Joomla enable "Twitter button", "Google +1 button", Facebook "Like button", the Facebook "Share This button", the Facebook "Comment Box" and the "LinkedIn button" on your published articles, with the following features:
- To choose the position (before, after or both the content)
- To choose counter or no-counter button style
- To choose the button size and style
- To choose the language for the social plugins
- To include and exclude certain articles and categories
- To set the CSS style for the container
- To set the container type
- To enable the views where the button will be show up
- To enable the comments counter
- To enable the moderation tool for FB comments
- Facebook Opengraph support
- Asyncronus load option for the plugins script
- Autopublish content fot Twitter and Facebook
- Auto resize Facebook comment box
- Auto choose adapt the plugin's language to the current one
- Video Youtube share support
- Virtuemart support
This plugin is the extension of the popular Facebook Like and Share plugin and it allows the user to share your content with friends on Facebook, Twitter or Google.
The aim of this plugin is to make more easy the life of the people that want to share automatically their contents on the most important social network, and even if quite easy to configure it, I recommand all the users to take your time to do it properly.
The installation procedure is standard, then upload the zip file, enable the plugin and choose the options that you like more.
The configuration is fairly simple, as regards the part relating to facebook you can refer to the documentation of the extension Facebook Like and Share; in the same way about the Google Plus One, you can refer to the extension Google Plus One plugin for Joomla.
About the twitter button the parameters are the show counter mode ("vertical","horizontal" or "none"), the language that tells twitter which language it should be in (default value is ‘en’ for English), the via variable that tells twitter who was the original tweeter (make sure you change it to your twitter account) and the related parameter that adds recommended users to follow. You are allowed up to two Twitter accounts for users to follow after they share content from your website. These accounts could include your own, or that of a contributor or a partner. The first account is the one that is shared in via property. (Make sure you change it to one of your other twitter accounts, or remove it). The correct format to enter data in this variable is "twitterusername:Description of the User".
The plugin can inject the html code for the buttons before or after the article content, but the code of the comments box only after.
All these social buttons are placed in one container, but you can set the order in which they are arranged within it by specifying the weight of each button. It means that if you set the weight for the FB Like button at 1 and the weight of the google +1 button ad 3, the plugin will place the code for the like button before of Google button.
About the autopublish content for Twitter and Facebook: to setup the plugin you need a Twitter application and a Facebook application, then you can follow the instruction:
- How to setup a Facebook application for a website
- How to setup a Twitter application to post a tweet using OAuth
For the Twitter autopublish action you need only the four keys:
- Consumer key
- Consumer secret
- Access token
- Access token secret
About the Autopublish action on Facebook you will need to setup:
- Facebook App ID
- App secret key
- Administrator account id / Pages id where you want to publish the content
You, as application and page administrator, need to be login in Facebook the first time for the authorization procedure. So the first time that you save an article you need to have the rigth permission, if you don't have it then the procedure will fail.
The autopublish action is triggered by the "apply" button in joomla 1.5 and by the "save" button in all the other versions.
That's a small tutorial for enable the autopublish the content on Facebook:
Video tutorial "How to setup the plugin with the Twitter autopublish function":
In the last version you can choose even if the social buttons must be show in the frontpage view or category view, and the open graph support works differently in "not article" views, because the informations included in the head of the page can't manage many buttons at the same time, and sure the opengraph type tag can not be "article" type.
To know how the link will be rendered you can use the tool lint: http://developers.facebook.com/tools/lint/ , that tool can be very usefull to know how FB see your page. With that tool you can verify your url page ,but also force FB to update the information about it, like the image used or the description. After you change image or description information you need to update the url with this tool, in order to refresh the facebook cache of your article.
If you are a moderator and a application administrator you can see all the comments about the application website domain in the page https://developers.facebook.com/tools/comments. This is another reason to connect your website to a Facebook application.
If the Like button is placed near the edge of an HTML element with the overflow property set to hidden, the flyout may be clipped or completely hidden when the button is clicked. This can be remedied by setting setting the overflow property to a value other than hidden, such as visible, scroll, or auto.
This plugin works well with PHP 5 version, then, if your webhosting provider can do it, switch from PHP 4 to PHP 5, in order to solve error like:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'
Although we try to fix many bugs, we can not imagine a scenario in which the plugin is executed, largely due to some functions inhibited by your hosting provider. We therefore invite you to tell us when you have problems, so you can investigate the causes and resolve them.
Final note: be carefull using many FB block and plugins, because they can create some conflicts and the result will be unpredictable.
It would also be advisable that you follow our facebook page to stay updated on the latest version.
Downloads
for Joomla 2.5 is available
Download plugin for Joomla 2.5 v2.3
for Joomla 1.7 is available
Download plugin for Joomla 1.7 v2.3
for Joomla 1.6 is available
Download plugin for Joomla 1.6 v2.3
for Joomla 1.5 is available
Download plugin for Joomla 1.5 v2.3
Old versions
for Joomla 2.5 is available
Download plugin for Joomla 2.5 v2.2
Download plugin for Joomla 2.5 v2.1
Download plugin for Joomla 2.5 v2.0
for Joomla 1.7 is available
Download plugin for Joomla 1.7 v2.2
Download plugin for Joomla 1.7 v2.1
Download plugin for Joomla 1.7 v2.0
Download plugin for Joomla 1.7 v1.3
for Joomla 1.6 is available
Download plugin for Joomla 1.6 v2.2
Download plugin for Joomla 1.6 v2.1
Download plugin for Joomla 1.6 v2.0
Download plugin for Joomla 1.6 v1.3
for Joomla 1.5 is available
Download plugin for Joomla 1.5 v2.2
Download plugin for Joomla 1.5 v2.1
Download plugin for Joomla 1.5 v2.0
Download plugin for Joomla 1.5 v1.3
Every suggestion or bugs notification will be appreciated. Many thanks to everyone who helped us with their suggestions.







Commenti
Thanks and best regards
$head = implode(',',$document->getHeadData());
(The code gives the idea that the problem involves the Head section, so there is something modifing it. But I can't say nothing else from the few spec you provided. )
The work over this plugin is immense, compliments!
I've noticed only one minor bug which can be related to the template in use: if enabled to show on first page, and facebook+twitte r+googleplus are enabled, the google+ option disappears from articles different than first on homepage.
Notice: Array to string conversion in /websites/pcsupport/nornes.co/nornes.co/www/html/plugins/content/fb_tw_plus1/fb_tw_plus1.php on line 117
What could I be doing wrong?
Deepak
Thanks
Deepak
there is no attribute "property"
I'd like to use the plug-in on a custom component I developed for my site for a particular type of content that the standard Joomla content model wasn't appropriate for.
Is there any documentation for that? Or even just a general "go do this to that" sentence or two?
Thanks again for making the plugin. It works great and has never given me any trouble.
JPluginHelper:: importPlugin('content');
$results = $dispatcher->trigger('onPrepareConten t', array (& $article, & $params, $limitstart));
Usually this is the ContentViewArti cle class that extends ContentView, exactly in the display function of the file view.html.php
I would like to center it in the article content so I have no success on my trying, could you please let me know how can I do it?
Thanks in advance from Spain!
Santi
i.e. us can put there : text-align:center;
Great Plugin - but one question - is it possible to use it in Components (in my case - joomgallery?)
I have asked joomgallery support - here is what they said:
In dessen Funktion 'onContentPrepar e' wird abgeprüft, ob gilt $view == 'article'.
Das bedeutet, das Plugin wird nur aktiv, wenn ein Artikel angezeigt wird. Es funktioniert also nicht in anderen Komponenten (bzw. in anderen Views).
Quick translation:
the plug in just shows up if a articel is shown - not in an component.
So my question is if its possible to add this feature?
Thanks, but I don't think that this is enough, because the if clause in 'onContentPrepar e' looks like that:
(($view == 'article')&&($ignore_pagina tion==1))
So it will really only works if the view is called 'article', which isn't the case for most of the third party components.
I think the if clause should be changed if that is possible.
Regards
User
Any idea?
Thx in advance.
In polish language for send button it show me one more words, its look like "button send" in polish "Przycisk Wyślij" and it should be only "Wyślij"
How can i change it?
Great plugin you've made.
But I have one problem. I can't get any pictures to show when i press the share button (to share on FB)
Any suggestions?
I've tried to incert Default image path but with no luck. Can anyone specify the right way to write the path to the default folder? is it http://www.domene.com/images/logo
or how is the right way
If there is no image in the article, the plugin pick the default image.
Can You explain to me, how to exclude section or category? I did know in what format I have to write it.
The same to exclude the content, u must put the the content id of every article where u dont want use the buttons
I also need to remember to disable it every time I add a new category.
Thanks - very useful plugin.
Awesome.
Thanks
Maybe there is some problem in the content type metatag; usually is better to declare it like utf-8:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
Just only a question.. How to short the url with the share twitter button? I love twitter but the 140 chars limit is sometimes annoying.
Fatal error: Class 'ContentHelperRo ute' not found in C:\xampp\htdocs \ttc_j17beta10\plugins\conte nt\fb_tw_plus1\fb_tw_plus1.php on line 518
with K2 V2.5.4 Component
Can you fix it? Thanks
Facebook only indicates that a notification has to moderate, but I'm notified by email.
Thanks.
Please suggest me from where i can download this plugin. I need it. if it is not working, anyone you know any other plugin with Facebook, twitter and Google plus. please suggest me.
Thanks
Sandy
Thanks for your plugin.
I use it in joomla 1.5.25, french language
I've got only utf-8 coding issue with google +1 sharing
ok with meta tag info (Title and description)
But not ok with first paragraph info, only on first paragraph, no issue for article title see ex below
ex : http://img97.imageshack.us/img97/9528/ss20120102181546.png
an idea ?
Thanks
If you choose the fb description tag from the article meta tag description then just copy directly from your article content editor.
After that you need to update the fb cache using https://developers.facebook.com/tools/debug
As I said, the issue is not with facebook but with goggle+ button when I want to Share the article.
But one thing is strange, I choose 'Use first paragraph' option in 'Setting For Facebook Like Button" catetgory to set "first paragraph" in google+ ? all is OK, but I have the issue with special characters
If I choose "Use meta tag description", then for google+ button :
iif I let the meta tag of article empty,, I share the global website metatag and one picture which not belog to the article and alwys the same picture
If I fill meta tag in article (copy and paste of first paragraph), here no issue with special character, but i have to 2 times the same data in article, not nice.
=> relationship between google+ share and "Setting For Facebook Like Button"
take care
Great plugin, real nice and easy to setup and understand
Is it some way to change the layout of the facebook container for comments from its setting dark to light.
As I have hard to read that gry text on a black/dark background.
Thanks
Tobias
is it someone that knows if there is some way to change the textcolor for facebook comments as mine is set to dark layout and have a black background. That gry text doesent presents that good in the site.
exampel http://lindstroms.be/index.php/traeningaeventyr/loepning/261
thanks
Tobias
So you have two option:
1) insert the meta tag description
2)choose the plugin option for the description from the first paragraph
I have one problem. When i anable the plugin it causes an error with my aicontactsafe module. Aicontactsafe doesn't work anymore. When i disable te plugin de aicontactsafe works again. Has anyone a solution for this problem?
There is the autopublish option for the twitter and facebook.
this is great free plugin but i have tried v 1.3 gives error with K2 so i tried beta V2.0 works great for site members but when someone come as visitor gives error with jomsocial?
Fatal error: Cannot redeclare class FacebookApiExce ption in /home/sitename/public_html/plugins/content/fb_tw_plus1/facebook/base_facebook.php on line 107
so cant use this plugin
Note : Joomla 1.7 , Jomsocial 2.4.0
it's very useful plug-in, thanks for that.
my problem is weird characters when try to share, or send, or tweet. you may see the page http://goo.gl/WHgaZ or http://goo.gl/8pv3P. i checked the meta tag, it's utf-8. how can i fix this? i need your help. thanks.
What must change to get buttons in PostHeader?
Non riesco a far funzionare l'autopublish: ho provato a pubblicare articoli di test ma non li vedo su facebook.
Ho dei dubbi su:
- app.domain di facebook: il mio dominio va scritto con www o senza???
- Autopublish Page/Account id del plugin: cosa scrivo per pubblicare sulla bacheca e sulla pagina da me creata???
Grazie
hai seguito passo passo il tutorial?
per completare il setup devi salvare un articolo di test 2 o 3 volte, e quando dico "salva" intendo solo il pulsante "save" o "apply" e non "save and close" o gli altri.
Se hai impostato tutti i parametri al momento dell'operazione di "save" l'articolo viene inviato automaticamente nella pagina che avrai specificato oppure nel tuo account personale.
Fammi sapere se ci riesci o se ci sono problemi.
Ho creato la pagina in FB ed ho scritto in Autopublish Page sia il nome della pagina che l'ID (separati dalla virgola).
Quando salvo l'articolo mi viene chiesti di salvarlo un'altra volta, ma l'articolo si ripresenta vuoto e va ricompiliato (titolo e testo)??
Il secondo salvataggio va a buon fine, su FB non si vede niente e il plugin perde tutta la personalizzazio ne.
Grazie ancora
che versione di joomla stai usando?
ho inserito solo l'ID della pagina creata.
ma è sempre uguale: dopo il primo "salva", mi viene chiesto di salvare ancora per setup di FB ma l'articolo è vuoto. ricompilo l'articolo, viene salvato, non succede niente su FB ed il plugin si è resettato.
Il plugin fa tutto quello che mi spettavo.
Il supporto fantastico. Grazie mille
Great plugin, though it lacked Multi-lang support. I have modified the code to provide that support for the Joomla 2.5 version.
@Salvatore Saba: Send me a message if you are interested in the code and I can mail it to you.
PS: unfortunately I couldn't use the contact form due to restricted user registration.
But now most people use linkedin. Where should I add code. For example, Facebook Share is on, and with that will be LinkedIn button. I use version 1.3 (for joomla 1.7) Code here: http://developer.linkedin.com/plugins/share-plugin-generator
Where should I add code? I tried add it to line 465 in fb_tw_plus1.php, but somethings wrong.
Thank you for help.
Facebook-Twitter-Google+ in-1 is a real time saver plugin for Joomla! that needs abslolutely no hassle to configure and show up :)
I agree that Linkedin and a social bookmark service would add to its already great value.
the plugin is great, works excellent ... except one thing .. the tag is not working with Full article image. It works fine if you place tag inside article text, but it wont work if you use Joomla 2.5 full/intro image system. Full article image url is stored in $images->image_fulltext. What I've seen in the code, the plugin looks for an image tag just in $article->text. Do you plan to support full article images for tag?
Thanks!
Nice plugin. One question though. I'd like the all of the generated code to be injected in the middle of my articles. Let's say...
Some text, some more text
{shareLikeComme n fields}
More text, yet more text...
What kind of modifications would I have to do?
Fatal error: Cannot redeclare class TwitterOAuth in /home/poultrykeeper/red-mite.info/modules/mod_roktwittie/libs/twitteroauth/twitteroauth.php on line 15
Any ideas?
In the feature release I will try to fix it.
Any idea how to change script to be validating XHTML?
I've found article how to change scirpt using javascript
http://www.newtechtips.org/tips-and-tricks-to-validate-w3c-for-facebook-fbml-twitter-google-1-and-youtube/
but don't realy know how change script
but can i know who click the 'like', 'tweet', or '+1' button on my site? i can see the counter, but i also want to see who like it..
thanks
Thanks I already resolved to.
The problem was that I had the site offline.
The plugin is excellent.
\\
Ho scaricato l'ultima versione. Non funziona su virtuemart, ma sugli articolo si
Keep the good work!
and cannot save any article. What can be wrong? (share, like buttons and comments work great! )
Fatal error: Class 'ContentHelperRo ute' not found in /home/evergree/domains/blackpaws.pl/public_html/plugins/content/fb_tw_plus1.php on line 66
An other question that i have is, is it possible to have short url at the twitter share at front to?
but in the fron page you have only one button (save) and this doesn't permit the autopublish. I was thinking is better like that because usually is the administrator that create the content must autopublish it from backend.
From the frontend you can easily use the share buttons.
It works perfectly on the side of it, except when the member want to edit their profile ( JomSocial), an error appears: Fatal error: Can not redeclare class FacebookApiExce ption in / var/www/virtual/website/htdocs/v3/plugins/content/fb_tw_plus1 / facebook / base_facebook.php on line 107
A solution? Thank you.
I added a security check in order to avoid this problem, but if another extension don't do it...then you will have this kind of error.
for the next release I will try to figure out a solution...
The auto post to twitter, generate links to the administration site and not the article itself.
Problem Solved.
First of All, many thanks for this plugin!
Second, your Registration page has some issues. There is no submit button;
Third, The first article on the Featured Articles page is getting the Description and Title from another article (URL is correct)
Fourth, It rarely gets the correct image using the "Like" button;
Cari saluti da Brazil,
Doug
At first I thought it was related to JoomlArt template caching, but it wasn't.
The plugin worked correctly right after I moved the Joomla core Page Cache plugin to the second last position, right before the JAT3 System plugin.
The Cache in the Global Configuration is still disabled. If you ever find a solution for this, please let me know.
I Forgot to add a link on my last post:
http://vidademulher.com.br
Suggestion:
Also, You should add a PayPal donation link somewhere in your site.
I'll centainly donate if I get it working as expected.
By default google+, tweeter, fb like send share button displays before Joomla "Read more" link in index page. But I need to place these button after Joomla "Read more" link. How can I do this. I am using Joomla 2.5
Thanks in Advance.
Il bello è che si possono mettere anche quelli esistenti.
Una sola domanda
La fans Page è a nome di mia figlia e quando metto un articolo dal sito su Facebook appare come se lo avesso messo mia figlia è possibile farlo apparire con il mio nome?
In Facebook administrator ID ho messo il mio ID di facebook
Ciao e grazie
Dovresti ricominciare da capocon il setup, e questa volta dovresti essere tu su facebook a concedere l'autorizzazione, assicurandoti di essere amministratore della pagina dove vorresti pubblicare il contenuto
Grazie ciao
500 - Facebook needs the CURL PHP extension.
You can ask your hosting provider to enable curl php extension.
or if you are still running your joomla in your PC using XAMPP, you can enable your curl php extension in your xampp by following these steps :
To enable curl library with XAMPP we need to modify the php.ini files in our xampp folder.
1) Locate the following files:
C:\Program Files\xampp\apa che\bin\php.ini
C:\Program Files\xampp\php \php.ini
C:\Program Files\xampp\php \php4\php.ini
2) Uncomment the following line on your php.ini file by removing the semicolon.
;extension=php_curl.dll
3) Restart your apache server.
4) Check your phpinfo if curl was properly enabled
I learned from these site and it works. http://www.tildemark.com/programming/php/enable-curl-with-xampp-on-windows-xp.html
Didn't see a "demo" page here (maybe I missed it)?
But you can customize the plugin as you prefere.
pinterest.com
Are you werking on it? I see it's a known bug.
today on my site facebook like button suddently disappeared while watching pages using IE and FF, but it still present in Chromium. Same thing happens while watching this page.
Are you planning to fix this in a short time?
Thank you,
Thomas
I don't mean to set LIKE button for article, but LIKE button for PAGE in the very article, like you have on this article between text "It would also be advisable that you follow our facebook page to stay updated on the latest version." and the Download section.
Btw, I'm using Facebook - Twitter - Google+1 plugin for Joomla 1.5 v2.1.
http://www.compago.it/software/41-compago-software/361-blank-module-for-joomla.html
It looks like this isn't the case. Am I missing something? Can this be done?
By the last version plugin you can choose the image to share if there is some images in the article content.
anyway, for what is 'hashtags' under 'Setting For Twitter Button'? Is it automatic hashtagged for words i inserted there? if yes then i failed to follow instruction because my words didn't hashtagged on twitter
seul probleme dans Google+ et Fb share pour le First paragraph !
j'ai toujours la descripton du site
Btw I use JoomlaWorks AllVideos plugin.
I have installed the plugin in joomla 2.5.4 site and it working nearly fine.
I encounter an error when I activate facebook buttons (one or several): "Notice: Trying to get property of non-object in /homez.467/antibest/www/plugins/content/fb_tw_plus1/fb_tw_plus1.php on line 1144
Notice: Trying to get property of non-object in /homez.467/antibest/www/plugins/content/fb_tw_plus1/fb_tw_plus1.php on line 1146"
It is in function getPicture($obj ,$view)
1144 : if ($img->{'image_intro'}!=null)
1146 : elseif ($img->{'image_fulltext'}!=null)
As a workaround I will try to comment this code.
Let me know I could help you to investigate.
Regards.
Zoup la Troupe a eu cette année des envies de voyage.
instead of
Zoup la Troupe a eu cette année des envies de voyage.
But since 2 or 3 days ago my twitter stopped to use utf-8 code, when on FB and Google+ are worked perfectly (i write in German).
My site has meta:
I forgotten what setting did i change on plugin...
Any idea?
I have a problem. When i like a'n article of my site... on facebook its putting the same photo... i want to post the photo from that article... not the same photo for all of my articlles who i liked....
it is possible, please!!!
thank you
My suggestion would be to have an option where the comments show up only on the article, but a "Add Comments" link to the bottom of articles while in the Category blog (so that people know they can make comments on the article). Click the link and it takes them to the bottom of the article page to insert their comments.
For the "Add comments" button we will consider in the next version.
Then change lines 132-134 fb_tw_plus1.php to:
$autopublish_ca tegories = $this->params->get( 'autopublish_cat egories');
//Facebook autopublish
if (($context == "com_content.article")&&($enable_fb_aut opublish) && (in_array($arti cle->catid,$autopubl ish_ca tegories))) {
Then uninstall and reinstall.
I have a suggestion for auto post to facebook. Now you can choose for the first paragraph. But I think is better to choose the amount of words/letters.
Has anyone else had reported high CPU usage when the user isn't logged into Facebook? I was testing on both Firefox and Safari. When I'm logged out of Facebook, then the comments box asks me to log in - but the browser has extremely high CPU usage during that time. When I'm logged in, then there is no problem.
My site : http://e-nectar.info
The spaces between buttons are not equals
Thanks
I can not show the Facebook and Twitter buttons on the default page (home). Any suggestion how to get them work there too?
Citazione:
When i use the tweet button utf is perfect but shorturl doesn't work.
Any idea pls?
Regards, Tolis
http://www.kavalacity.net
I am using Facebook-Twitter-Google+1 ; but when click on the sharing buttons; my domain name is substituted by the social domain; ej:
Sharing the page www.ortopediaavante.com/catalogo/details...elastica-4-vias.html on Facebook; the sharing becomes to www.Facebook.com/catalogo/details/1/9/ar...elastica-4-vias.html
I found on the source code of the article publicated with CB, in comparison with an exact article copy on Joomla content what I think is the reazon of this problem:
//');
//]]>
//Tweet');
//]]>
//');
//]]>
comments
//
Object description l'opzione è su meta tag description quindi significa che ogni volta manualmente dovrei mettere la descrizione in un articolo, altrimenti dovrei attivare l'opzione che mi dice che automaticamente prende parte dell'articolo (penso). Ecco se io attivo questo opzione l'impaginazione della struttura sballa, e come se va in conflitto con qualche altro css.
Il sito in questione è www.quotidianodigela.it
Come posso risolvere? Grazie in anticipo
RSS feed dei commenti di questo post.