
! NOUVELLE VERSION DU PLUGIN (détails en cliquant sur lire la suite) (VERSION 1.3 du 10/10/2009)
Après des semaines d’attentes voici mon dernier né : plg_relatedarticlestags version 1.0 ou Plugin Related Articles Tags, c’est plus joli je vous l’accorde !
Ce plugin est compatible Joomla! 1.5 NATIF. Une démo est disponible en cliquant ici : DEMO
Pour le télécharger il vous suffit de cliquer ici :
MAJ Version 1.3 (10/10/2009) :
MAJ 1.2 :
MAJ Version 1.1 :
La principale fonctionnalité de ce plugin résulte dans le fait qu’il permet d’afficher, en dessous de vos articles, des liens vers d’autres articles relatifs à celui que vous visionnez. Cette corrélation s’effectue automatiquement. En fait le plugin cherche les mots clés (TAGS) de vos articles et créé des liens entre les articles possédant des mots clés similaires.
A cela s’ajoutent plusieurs critères, qui vous permettront de mieux filtrer votre affichage :

D’autre part, le plugin possède sa propre feuille de style (plugin/content/relatedArticlesTags/relatedArticlesTags.css) ainsi que ses propres fichiers de langues (disponibles de base en français et anglais), je vous laisse la joie de le traduire et de me donner vos fichiers pour que je les ajoute au pack d’installation, si traduction vous faites.
Pour toutes question ça se passe à la suite de cet article.
En espérant que ce plugin vous sera utile (pensez à me noter sur extensions.joomla.org, merci),
merci,
Benjamin Agullana.
Hengxi es tu sur d’avoir des mots clé similaires dans tes articles ?
can there be some english documentation made? Im having trouble working out what to do. I am ashamed to have written this
What’s your problem Jason ? I made a little english doc here : http://joomla.benjamin-agullana.fr/index.php?option=com_content&view=article&id=48:related-articles-tags&catid=35:plugins-joomla&Itemid=59
Maybe you have a problem to entering black listed word ? If it’s that it should be because the TEXTAREA where you have to type the blacklisted words need little improvement (i’ll make it soon). Remember to fill the textarea by word separated with a coma, do not enter line break
ca marche tres bien et ca me donne envie de bien mettre les mots cles dans mes articles
mais j’ai voulu modifier le code en rajoutant une condition mais je dois bloquer sur la syntaxe
je voudrais afficher en priorité les articles les plus recents
donc j’ai mis avec le select « ORDER BY created » mais ca ne passe pas
merci de ton aide
Salut gatman, si tu veux trier par ordre de date de création d’articles tu dois ajouter
$query .= » ORDER BY created ASC »;
à la ligne 159 (entre $query .= $AND; et $query .= » LIMIT 0,$limit »;)
Bonsoir,
merci de m’avoir ouvert les yeux sur ma bêtise car je pensais qu’il recherchait les mots semblables dans les autres articles.
Ce plugin fonctionne très bien et est de plus très élégant.
je rajouterai même : SUPER car en istallant ceci:
http://joomlacode.org/gf/project/seo-generator/frs/
Le plugin trouve les mots clés automatiquement et les affiche impeccable.
Superbe réalisation.
Sera t’il possible dans une future version d’avoir la possibilité de mettre les liens vers les aticles sur plusieurs colonnes ?
En attendant, bravo
Merci pour tous ces messages d’encouragement
Le plugin n’en est qu’à sa première version, il devrait être amélioré pour les prochaines versions
Hello,
i have installed your plugin ok and set the params as your image above.
can you please help me as i do not see any related articles on the bottom of the my articles?
thank you
Hello Vince,
Are you sure all your articles have tags ? The plugin don’t generate tags in your articles, it just shows links at the bottom of your news based on tags. If your articles don’t have tags it can’t match anytags between your articles
Try the link that hendxi published just before your comment. This is a plugin to generate automaticly tags in your articles
hi!, i have translated it to spanish, i have not changed file’s name (en-GB.plg_content_relatedarticlestags and relatedarticlestags have spanish words inside) plz check it. Link= http://www.gigasize.com/get.php?d=tlyggj4jwwc
Also i was wondering how i can do to have this plugin displaying at de end of articles but before comments?
Hi Celena, Thanks for you translation, I’ll add it to the next version.
To display the plugin before comment I dunno how to do
Maybe watch in your backoffice, in Plugins, the order of your content plugin. I’m not sure it will change the place, but it cost nothing to try
ok thanks for your response, i will try that… i love this plugin it is what i was looking for
thanks benjamin for your reply. i was assuming that creating keywords in articles are tags.
now the link that hendxi published looks like a SEO. i dont use SEO on my site. will this break my site because im not sure how it works.
thanks again
No its not a seo for URL rewritting. If you install the plugin it will created tags for each articles based on their title. You can try it without problem
merci de ta réponse rapide, ca fonctionne.j’avais placé le order à la fin de la requete et ca coinçait. j’ai finalement mis
$query .= » ORDER BY created DESC »; pour avoir les articles les plus récents en premier
does not work withj joomla 1.5x with enabled SEO and apache rewrite activated:
Administrator > Configuration > Page (SEO = ON; Apache mod_rewrite= ON)
bejamin,
seems i have an SEOgenerator originally and regenerated all keywords.
your plugin works great and thank you for it.
but how do i show it above my comment section.
thx
Vince, I’m not sure but watch my answer to Celena (above)
»
does not work withj joomla 1.5x with enabled SEO and apache rewrite activated:
Administrator > Configuration > Page (SEO = ON; Apache mod_rewrite= ON)
»
I have the same configuration and it work well.
Thx Hengxi for this remark.
Normally, url (link to articles) are generated with the method JRoute::_ wich transform link compatible with URL rewriting.
C’est vraiment exellent simple et super efficace merci Missiou
Hi
Does this work for Joomla 1.0.x ?
If yes, how do i install the plugin?
didnt work with mambot install.
no matter what i put in the section box, it continues to show on all pages, and no tooltips even when turned on? It appears like any changes i make to the parameters makes no difference
Hi Alex,
In first section box or second ? I made a mistake in the second section box. In this you have to put the ID of section in which you don’t want the plugin to appear and not those in which you want it appears.
I’ll fix the translation soon.
works perfectly, but how can I change « More articles: » in the frontend in German « weitere Beiträge: »?
Send PM to me the language file, I translate in German!
Hi Thomas,
You have to copy/paste the file /administrator/language/en-GB/en-GB.plg_content_relatedarticlestags.ini
in /administrator/language/de-DE/de-DE.plg_content_relatedarticlestags.ini
(rename your file like this, I dunno if it’s de-DE or ge-GE). Than edit the file, and translate all words in german.
OK, i undertsand that bit now. But still, nothing i change on that page makes any difference. eg. changing « show tooltips » from yes to no and vice versa does nothing, and the « more articles » shows up on every page of the site
is it possible it is clashing with anoter plugin? has anyone used chronocomments successfully with relatedtags
Thank for nice plugin. But I think that there is a some bug here.
Plugin show links in the bottom of article, but some links is not right.Plugin is cutting a long link
For example:
http://www.doc4u.ru/2009-01-22-18-44-43/113.html
Right link for this article:
http://www.doc4u.ru/2009-01-22-18-44-43/2-israeltreatment/113-2009-01-30-08-21-48.html
How can to resolve this problem?
Hum, yes i think there is a clash with another plugin. Maybe you enable the legacy mode.
Try to unpublish chronocomment plugin.
I have installed the plugin, however it links to IDs and not to the actual url generated by joomlas SEO I have installed. What should I do?
Hum the links are right or wrong ?
Maybe you need to look in your SEO component
First, I truly want to thank you for very good plugin.
Second, I have one questions:
Why you hard coded line:
$html .= JText::_( ‘More Articles’ ) . » : »;
Is it possible to put that one line (it is only line in front end) in language file?
Hi Boris, thanks for your review.
What do you mean by « hard coded » ?
JText is used to translate word if there is translation.
In this case the translation in english for More Articles is More articles. This is the same
If you want to edit this, go to administrator/langage/en-GB.plg_related_articles_tags.ini and find « More Articles »
You will find the translation
Mea culpa.
Yes, you are right about my question. I mess up language file name (for my language) and that was reason I don’t see translated « More Articles » variable in front end.
I correctd file name and now it’s working like a charm.
I have two more suggestions/questions:
1. It will be nice, for me
, to have option to match plugin layout with module layout. I manually changed plugin css but it will be nice see that as option.
2. This not related strictly with this plugin. I have another plugin (for social bookmarking) and I want to set related item to be above other content plugins (right after article). I try to change plugin order in backend, but that not change anything. Any idea?
Thanks a lot, again.
Yeah 1. is a great idea, I’ll include this in the newest future.
For the second point I’have no real idea. In the code of the plugin I choose to display the plugin above articles, but that’s right if you have other plugin, I dunno how the order is done.
Are you sure when you change the order in the backoffice it doesn’t have any effect ?
Hi,
Please can anyone help.
My site has several sections each with categories. I also have a breadcrumb trail (pathway) above each article to help navigation.
The plugin appears to correctly find related articles based on the tags and shows these below each article. But when you click to go to one of the related articles the breadcrumb trail only changes the article name and NOT the full path. So articles from other parts of my site now appear to have the wrong breadcrumb trail.
It is the standard breadcrumb trail (mod-breadcrumbs) that comes with Joomla 1.5.
Many thanks,
Jon
Hi Jonathan, can you give a link where I can see that problem ? thanks
Hello,
Ive got the same issue as celena. Did you manage it? I changed plugins ordering but it does not work
No Perrine sorry, I don’t know how the ordering of plugins is set.
Cool plug-in!
One issue:
To have it work with tags which contain you need to change the line 156 like this:
$likes[] = mysql_escape_string ($key);
Merci pour ce super plugin, fonctionne très bien à condition d’avoir une bonne gestion des meta keywords
.
Par contre je voulais savoir comment ajouter la date de publication de l’article et aussi pourqoi chez moi les bulles infos ne marchent pas?
Merci d’avance
Oups j’ai oublier aussi, ce serait possible d’avoir une blacklist de mot francais aussi? :p
Merci beaucoup
Pour la date de publication de l’article je l’ajouterai à la prochaine version =)
Pour ce qui est de l’infobulle je ne sais pas, sur quel site as tu mis en place le plugin ?
Pour la liste de mots interdits, je ne sais pas ou en trouver, faut recherche sur google
salut
chez moi le plugin ne fonctionne pas.
J’ai deux articles :
le premier contenant un mot pas exemple « test »
le second article contient également ce mot « test ».
dans la configuration du plugin :
ne j’ai pas renseigné les champs :
»section où apparait le plugin »
ni « catégorie où apparait le plugin »
peux-tu m’éclairer?
merci
matt
re
ok c’est bon il fonctionne nickel !
c’est une recherche dans les « metakeys ».
Merci pour ce plugins ![]()
Matt
Is it possible to make the related articles show up in 2 or 3 rows? I want a total of 15 articles with 5 articles per row. Now I get alle 15 articles in one row.
bonjour, J’ai installé ce plugin qui me parait excellent, seul petits hic, le plugin m’affiche des listes d’articles pour chaque article qui n’ont pas les meme mots clés, et toujours les memes… peut etre l’ai je mal configuré??
autre question la bulle de la fonction « sections dans lesquelles le plugin apparait » me dit de mettre les id des sections dans lesquels je ne veux pas que le plugin apparaisse, alors que le tuto sur ce site dit le contraire… lequel dois je suivre?
merci d’avance
Salut Vinny, dans quelques jours je vais publier une mise à jour du plugin qui devrait corriger tous ces bugs. Tiens toi au courant en jetant un oeil sur le site dans les prochains jours.
Merci de ta compréhension.
Bonjour Vinny,
Tu peux télécharger la dernière version du plugin, normalement tout fonctionne correctement ![]()
J’aussi corrigé le langage : les sections et catégories correspondent à l’endroit où le plugin n’appraitra pas
I try to translate this plugin so where should I put my language file? I ask because I don\\\’t see my work\\\’s effects.
The language file for any joomla’s plugin needs to be in administrator/language/folder-of-your-language (ex for french : administrator/language/fr-FR
You also need to rename the file with the letters corresponding to your language.
Bonjour Benjamin,
related articles tags fonctionnait très bien et tout d’un coup il a disparu, est-il possible qu’il ne soit pas compatible avc le module joomulus ou les plugin et composants J-tags??
merci d’avance
Aucune idée, tu es sûr que le plugin est bien activé ? et qu’il y’a des mots clés dans tes articles ?
Je me suis tropé, j’avais mal réglé mes nouveaux plugin, en fait ça marche nickel!
désolé
Hi, I have installed this plugin but I do not see any item in the administration menue, that could be used for configuration. Also the related articles are not displayed. So please, what should I do after installation to configure/activate this plugin? Thanks
Hi Martin,
In the backoffice you need to go in plugin, there you have to activate the plugin. If you click on its name you will be able to set some parameters.
Also you have to remember that the plugin is displaying link to other related articles by matching tags. It’s include that you write some tags (keywords) in your articles.
I get a fault;undefined value error, when i install this? How can this be rectified and can you add tooltips to it? thanks
Hi Chris, are you sur you are trying to install the plugin in Joomla 1.5 ? It seems this error comes to the fact you are trying to intall on Joomla A.0 version.
Let me know.
Super, le plug in est sans bug, codé proprement, rien à dire sauf félicitation et merci
Bonjour, j’ai installé votre super plugin qui marche très bien. Par contre je n’arrive pas à l’afficher juste avant les commentaires (joomla comment). Y a t-il moyen d’adapter l’ordre d’affichage ?
Merci.
Je précise que j’ai déjà joué sur les ordre d’affichage de joomla mais rien à faire.
Bonjour Turbo,
quelqu’un a eu le même soucis, mais je n’ai jamais trouvé la réponse. C’est Joomla qui défini cet ordre, mais comment ? Je sais pas, désolé
The exclude Section parameter does not work. I had to exclude all the Categories instead.
Is there a fix?
Actually both the exclude Section and exclude Category parameters are not working.
It’s a great plugin but without a working exclude feature, it is not useful.
Hi lohck
Sorry for my late answer.
The plugin doesn’t have a parameter to exclude section or category directly. In fact the parameters are to tell the plugin in which section or category to search tags.
Exemple, you want that the plugin search only in the category 2 of your website, you have to put 2 int the parameter. After that the plugin will only search tags in this category and not in other one
By default the plugin search in all categories
This is the same for sections.
I Hope it will help you,
Have a nice day.
Hi Ben, thanks for taking the trouble to help me.
but it says :
»Sections in which plugin doesn’t appear »
Isn’t this for excluding the plugin from sectionids?
I’m not refering to the ‘Sections’ parameter which I understand it’s for including tags from articles in the sections.
I hope to add some lines in relatedArticlesTags.php to make it ‘hide’ the $html when sectionid (of the article) = $sectionno
could you help me please?
Hum i tested it on my joomla website demo and both categories and sections work.
I don’t understand :/ Sorry.
Did you downloaded the version 1.2 ?
yes it’s 1.2 .. but the excludes doesn’t work and i dun know why.
Anyway, I got it to work!
I added these 2 lines right at the end of the file right before the very last ‘return $html;’
if (in_array($result->sectionid, $sectionsNo)) $html = »;
if (in_array($result->catid, $categoriesNo)) $html = »;
Hum ok… but this is strange, I don’t have problem when i try it
I’ll look in code.
Thanks.
Hi Ben, FF3 is throwing a long list of this error on pages where the related items is excluded, any way to fix?
Error: document.getElementById(\"curseur\") is null
Source File: http://www.example.com/plugins/content/relatedArticlesTags/relatedArticlesTags.js
Line: 32
Hi, is there a way for the plugin to appear above the « Ultimate Social Bookmarking Plugin » and also above !JoomlaComment? Thanks in advance and great work!
Hi Ajushi. You are not the first one to ask me this question but I never found an answer. The problem is coming from Joomla, it orders plugin as it wants xD Dunno how to set this order, sorry
Aaah ok thanks anyway Benjamin I managed to figure it out!
BTW I think the item id’s generated by the links in your related articles plugin is not correct. The links inherit the item id of the current article it is displayed on…
Excellent ce plugin, ca marche superbement bien chez moi
Merci beaucoup !
great plugin – i am using it on my site but the text above the rticles reads « more articles » how do i change this text?
Hi Conor,
You have to edit the file administrator/language/en-GB.plg_content_relatedarticlestags.ini at the line 7
Greate plugin. Do you know of any way to integrate it with the articles in section blog layout?
Best Regards
The plugin works great together with CroneComments, but as others have mentioned, it appears under the comment form. Ajushi, thank you very much for the fix. Now the pathway is correct.
I still would like to know how to apply this plugin to every article in section/category blog layout. If anyone knows how to…
Thank you very much for this plugin Benjamin.
Regards
Hum I think it’s impossible to integrate it in blog/section layout. To do that you need a module, not a plugin.
Hope it helps.
I don\\\’t get this, where do I put the tags, do I need to download another extension? The captcha code is impossible, i’m on my fifth attempt at least.
Thanks
Such an useful plug-in, thx a lot for this great share, so helpful !
Hi Nick. You don’t have to install a specific extension to put the tags.
When you write an article there is a field ( at right if you are in backoffice, at bottom if are in frontend). You have to put the tagd here, separated by a coma.
Hope it helps.
Benjamin, thanks for your quick reply. But I cannot see a fields for tags anywhere. maybe I have a plugin that has removed it or something?
Nick
Interesting way to look at it. For the most part, I agree with you. It would be great if got more post like this. I appreciate it.
lesbian analingus dvd
Hello Benjamin
Thanks for a very useful plugin!
I have set up the related articles plugin and have tested it quite a bit – generally the results are good, but I have a couple of issues with the links the plugin generates.
One is that there are quite a few dead links. For instance here:
Many of the links produced result in 404s – these articles unpublished (or not yet published). It\’s possible to see them when logged in, but the general public gets a broken link.
The second is that many of the link URLs are not Search Engine Friendly. For instance one link from this page
http://www.litrev.co.uk/featured/video-reading-sherlock-holmes.html
inherits the first part of the page\’s URL even when the content is unrelated. The problem is absent if there is a menu listing for the article, but it is not poss. to create a menu listing for all the articles that the plugin is capable of presenting.
Not sure if there is anything that can be done about this as I think it may be more to do with the way Joomla works.
But if you can suggest something I\’d much appreciate it.
thanks again!
John
I’ll make an update in few days, it will fix those bugs. Stay tuned
The requested URL /forxru2/zadanie.txt was not found on this server. 404 Not Found Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch15 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at allhomedecor.org Port 80 Not Found
Super plugin !
Merci bien l’ami
Ps: Je rappelle comme expliquer ci dessus que vous devez avoir des mot clef dans les métadonnée de vos article pour que le plugin s’affiche en bas de l’article.
i installed that nice plug in,but it\’s not working at all. what can be the problem?
which keywords? black listed?
here is the screenshot of parameters.
http://banker.az/files/Capture1.gif
hello, your plugin has worked great, but now it seems to me resulting in dead, 404 links. not sure what has happened? any suggestions? here is an example of what i am getting for related articles links: http://www.patagonjournal.com/es/newswire/179
now, i see what the problem is..i have my site in english and spanish using joomfish. the spanish side is not working with your plugin..any advice?
Sorry for posting so much here. Just turned off the SEO Friendly URLs and Apache re-write and the links work when I do that. How, then, can I make your plugin compatble with search friendly URLs?
Ciao,
malheureusement la feuille de style ça marche pas, je change la distance par l’article mais rien.
J’ai commenté la feuille de style et rien ne se passe.
Que dois-je faire?
Hi Benjamin. I got problem mantioned above but there is no solution?
I got js error « document.getElementById( »curseur ») is null » …
I got that error on joomla pages where i dont have publish any article. It is because plugin can’t excluded.
Any help? Or i must unpublish this excellent plugin
Hey Benjamin, plz delete post before, i am starting to think i sad something rude.
Bonjour,
J’ai installé le plugin que je trouve des plus intéressant ! Néanmoins, il me pose un problème au niveau des URL… En fait quand je suis dans une catégorie /dossier/montagne et que le lien est dans une autre catégorie, il me crée un lien /dossier/montagne/27.html… en général, ça fonctionne même si en référencement c\’est pas extra mais pour certains liens, je tombe sur une page 404… exemple : http://www.aurel-photos.com/actus/15-web/33-a-quoi-revent-les-francais-.html
Est-ce dut à mon rewriting de base ou à autre chose ?
Merci !
le module necessaire pour le plugin ne peut pas telecharge parce le site ne fonctionne plus. Pourriez vous m’envoyer le module directement. Merci beaucoup.
Hello, i,ve installed the plugin on site, but i think i don’t know hoe to use it, could send me an example of configuration, i.e. how put tags on articles, where put it,….
thank you
au top ce plugin, merci bcp ![]()
Il ne manque que la gestion d\’images (avec une petite vignette de la première image de l\’article ![]()
Pour une prochaine version???
Bonjour Benjamin,
J’ai exactement le même problème que Boris MilinkovicNo et Perrine: le plugin apparaît toujours systématiquement en dernier (même si je le positionne en 1).
As tu trouvé une solution depuis ?
Bonjour,
Hélas non je n’ai pas trouvé la solution :/ C’est un problème propre à Joomla.
Great extension! thanks
But you have to change something.
in 180 line I think you have to build a link using slug id ( 136:simptomi-visoka-temperatura ) not $item->id .
This is the way to generate correct link.
The extension is very useful and I love it.
Cheers!
Hey Ben: I have 2 issues…
Any resolution to the SEO linking to the SEO friendly URLs?
I use SimpleCaddy; and in the Related Articles, this plugin doesn’t work. Any thoughts?
Tim, watch Todor (just the comment on top of your), I think it will fix your problem. I’ll add it soon to the plugin.
Hello, I have also problems this the module in the contribution the wrong URL `see is economical, there appear wrong articles or 404 mistakes.
I was of use SEO
If you can look this on http://www.medopia.de and then any article select.
Excuse for my bad English
hi Bejamin nice plugin you make
i want to ask but seems a lot of ppl here who comment always asking XD
so i will ask Todor instead if he visit here again
could you show the slug id you mention? im still new to this slug thing
i found the line but dont know how to change it to slug id
![]()
need enlightment
seems this 404 error i get already been there since i upgrade from 1.5.13 to 1.5.14 since Benjamin plugin work fine in version 1.5.13 (already try it before when still using 1.5.13)
Bonjour Benjamin.
J’ai ajouté deux modifications à ton plugin.
La 1ere pour rendre un peu plus accessible le lien « Lire la suite… » en modifiant la ligne 195 comme ceci :
. ‘‘.JText::_(’Full’).’ ‘.$item->title.’‘
La seconde pour permettre de supprimer les plugin de contenu {nomplugin}…{/nomplugin} ebnn créant une nouvelle fonction au même titre que ta fonction _replaceHref :
function _deletePlg($wordsWithPlg) {
if($wordsWithoutPlg = preg_replace(’`({[^>]*})(.*)({\/[^>]*})`Ui’, »,$wordsWithPlg))
return $wordsWithoutPlg;
else
return false;
}
Et à la suite de l’appel à ta fonction $words = _replaceHref($words) celle-ci $words = _deletePlg($words);
Je peux t’envoyer le fichier php par mail si tu trouves ma modification utile.
Hello, I have also problems this the module in the contribution the wrong URL `see is economical, there appear wrong articles or 404 mistakes.
I was of use SEO
If you can look this on http://www.medopia.de and then any article select.
Excuse for my bad English
seems i this wrong url was because i turned on legacy mode
i have 2 site joomla 1.5.15 1 in legacy 1 in native
i use your plugin ver 1.2 in native one and its working fine
does its doesnt support legacy?or did it cause of server setting cuase both are hosted in different server ^_^