mar
02
Dans Joomla par Benjamin Agullana (17 942 lecteurs)
1 étoile2 étoiles3 étoiles4 étoiles5 étoiles
Loading ... Loading ...

! 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 :

DOWNLOAD plg_relatedarticlestags_1.3.zip

Fonctionnalités :

MAJ Version 1.3 (10/10/2009) :

  • Correction du bug pour l’affichage alĂ©atoire des articles, la fonctionnalitĂ©s fonctionnent dorĂ©navant.
  • ImplĂ©mentation du Mootools Accordion Ă  la place de l’infobulle, pour un rendu meilleur de l’introduction des articles.

MAJ 1.2 :

  • Correction d’un bug qui faisait mal fonctionner le plugin parfois.

MAJ Version 1.1 :

  • Le plugin est maintenant traduit en français et anglais ainsi qu’en italien et espagnol (pas totalement), merci Ă  Celena et Piko
  • PossibilitĂ© de trier les articles : les plus rĂ©cents, les plus anciens ou alĂ©atoire.
  • PossibilitĂ© d’afficher une infobulle sur chaque lien, contenant le texte d’introduction de l’article.
  • PossibilitĂ© de limiter l’affichage de cette introduction, en spĂ©cifiant un nombre de lettres Ă  afficher.

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 :

  • possibilitĂ© de dĂ©finir le nombre de liens vers des articles relatifs Ă  afficher
  • possibilitĂ© de dĂ©finir les sections dans lesquelles le plugin cherche Ă  matcher des mots clĂ©s, par dĂ©faut le plugin cherche dans toutes les sections
  • possibilitĂ© de dĂ©finir les catĂ©gories dans lesquelles le plugin cherche Ă  matcher des mots clĂ©s, par dĂ©faut le plugin cherche dans toutes les catĂ©gories
  • possibilitĂ© de dĂ©finir dans quelles sections le plugin doit apparaitre, par dĂ©faut toutes
  • possibilitĂ© de dĂ©finir dans quelles catĂ©gories le plugin doit apparaitre, par dĂ©faut toutes
  • possibilitĂ© d’entrer des mots clĂ©s interdits, qui ne seront pas matchĂ© par le plugin

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.

Articles relatifs...

Commentaires

anyNo Gravatar on 10 mars, 2009 at 12:35 #

that seems nice


hengxiNo Gravatar on 10 mars, 2009 at 13:01 #

J’ai installĂ© et activĂ© le plugin mais rien ne s’affiche ???


Benjamin AgullanaNo Gravatar on 10 mars, 2009 at 13:48 #

Hengxi es tu sur d’avoir des mots clĂ© similaires dans tes articles ?


RyanJinNo Gravatar on 10 mars, 2009 at 18:21 #

thank you! great plg, i try it now


JasonNo Gravatar on 11 mars, 2009 at 0:03 #

can there be some english documentation made? Im having trouble working out what to do. I am ashamed to have written this :(


Benjamin AgullanaNo Gravatar on 11 mars, 2009 at 8:45 #

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


gatmanNo Gravatar on 11 mars, 2009 at 12:54 #

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


Benjamin AgullanaNo Gravatar on 11 mars, 2009 at 15:34 #

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 »;)


hengxiNo Gravatar on 11 mars, 2009 at 16:24 #

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.


hengxiNo Gravatar on 11 mars, 2009 at 16:53 #

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


Benjamin AgullanaNo Gravatar on 11 mars, 2009 at 17:28 #

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 ;)


vinceNo Gravatar on 11 mars, 2009 at 18:08 #

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


Benjamin AgullanaNo Gravatar on 11 mars, 2009 at 18:14 #

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


celenaNo Gravatar on 11 mars, 2009 at 21:49 #

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?


Benjamin AgullanaNo Gravatar on 11 mars, 2009 at 22:57 #

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 :D


celenaNo Gravatar on 12 mars, 2009 at 1:24 #

ok thanks for your response, i will try that… i love this plugin it is what i was looking for :)


vinceNo Gravatar on 12 mars, 2009 at 5:07 #

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


Benjamin AgullanaNo Gravatar on 12 mars, 2009 at 8:44 #

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 :)


gatmanNo Gravatar on 12 mars, 2009 at 10:15 #

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


jackNo Gravatar on 12 mars, 2009 at 12:05 #

does not work withj joomla 1.5x with enabled SEO and apache rewrite activated:

Administrator > Configuration > Page (SEO = ON; Apache mod_rewrite= ON)


vinceNo Gravatar on 12 mars, 2009 at 18:32 #

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


Benjamin AgullanaNo Gravatar on 12 mars, 2009 at 18:54 #

Vince, I’m not sure but watch my answer to Celena (above)


vinceNo Gravatar on 12 mars, 2009 at 19:31 #

ok. thx


hengxiNo Gravatar on 13 mars, 2009 at 10:02 #

 »

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.


Benjamin AgullanaNo Gravatar on 13 mars, 2009 at 10:44 #

Thx Hengxi for this remark.
Normally, url (link to articles) are generated with the method JRoute::_ wich transform link compatible with URL rewriting.


webmaster-aide.comNo Gravatar on 14 mars, 2009 at 16:27 #

C’est vraiment exellent simple et super efficace merci Missiou


arminNo Gravatar on 16 mars, 2009 at 15:26 #

Hi

Does this work for Joomla 1.0.x ?
If yes, how do i install the plugin?
didnt work with mambot install.


Benjamin AgullanaNo Gravatar on 16 mars, 2009 at 16:05 #

HI armin,

Sorry it does’nt work with 1.0.x


AlexNo Gravatar on 23 mars, 2009 at 7:28 #

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


Benjamin AgullanaNo Gravatar on 23 mars, 2009 at 11:02 #

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.


ThomasNo Gravatar on 23 mars, 2009 at 12:44 #

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!


Benjamin AgullanaNo Gravatar on 23 mars, 2009 at 12:50 #

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.


AlexNo Gravatar on 24 mars, 2009 at 1:34 #

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


AlexNo Gravatar on 24 mars, 2009 at 1:35 #

is it possible it is clashing with anoter plugin? has anyone used chronocomments successfully with relatedtags


TovyNo Gravatar on 24 mars, 2009 at 8:01 #

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?


Benjamin AgullanaNo Gravatar on 24 mars, 2009 at 9:56 #

Hum, yes i think there is a clash with another plugin. Maybe you enable the legacy mode.

Try to unpublish chronocomment plugin.


Benjamin AgullanaNo Gravatar on 24 mars, 2009 at 9:59 #

Hi Tovy, did you enable url rewriting ?


Sergio YahniNo Gravatar on 24 mars, 2009 at 15:55 #

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?


Benjamin AgullanaNo Gravatar on 24 mars, 2009 at 16:42 #

Hum the links are right or wrong ?
Maybe you need to look in your SEO component


Boris MilinkovicNo Gravatar on 27 mars, 2009 at 11:01 #

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?


Benjamin AgullanaNo Gravatar on 27 mars, 2009 at 12:08 #

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 :)


Boris MilinkovicNo Gravatar on 28 mars, 2009 at 10:36 #

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. :)


Benjamin AgullanaNo Gravatar on 28 mars, 2009 at 12:36 #

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 ?


Jonathan KirbyNo Gravatar on 29 mars, 2009 at 21:14 #

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


Benjamin AgullanaNo Gravatar on 29 mars, 2009 at 21:19 #

Hi Jonathan, can you give a link where I can see that problem ? thanks :)


PerrineNo Gravatar on 4 avril, 2009 at 15:23 #

Hello,
Ive got the same issue as celena. Did you manage it? I changed plugins ordering but it does not work :(


Benjamin AgullanaNo Gravatar on 4 avril, 2009 at 17:54 #

No Perrine sorry, I don’t know how the ordering of plugins is set.


onivanNo Gravatar on 4 avril, 2009 at 18:27 #

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);


mikeNo Gravatar on 12 avril, 2009 at 22:48 #

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


mikeNo Gravatar on 12 avril, 2009 at 22:48 #

Oups j’ai oublier aussi, ce serait possible d’avoir une blacklist de mot francais aussi? :p
Merci beaucoup :)


Benjamin AgullanaNo Gravatar on 14 avril, 2009 at 8:42 #

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 ;)


almamunNo Gravatar on 15 avril, 2009 at 20:58 #

Your plugin is nice. But it wont care traslations


MattNo Gravatar on 17 avril, 2009 at 19:30 #

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


MattNo Gravatar on 17 avril, 2009 at 19:50 #

re
ok c’est bon il fonctionne nickel !
c’est une recherche dans les « metakeys ».
Merci pour ce plugins ;-)
Matt


boseNo Gravatar on 28 avril, 2009 at 22:35 #

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.


vinnyNo Gravatar on 15 mai, 2009 at 16:49 #

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


Benjamin AgullanaNo Gravatar on 15 mai, 2009 at 22:37 #

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.


Benjamin AgullanaNo Gravatar on 17 mai, 2009 at 18:58 #

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 :)


Xe cơ giớiNo Gravatar on 19 mai, 2009 at 5:46 #

Thanks for share !


tdNo Gravatar on 19 mai, 2009 at 9:01 #

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.


Benjamin AgullanaNo Gravatar on 19 mai, 2009 at 11:08 #

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.


vinnyNo Gravatar on 19 mai, 2009 at 11:55 #

Ok, merci, je vais essayer ça tout de suite, merci!!!! :)


vinnyNo Gravatar on 28 mai, 2009 at 17:57 #

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


Benjamin AgullanaNo Gravatar on 28 mai, 2009 at 20:28 #

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 ?


vinnyNo Gravatar on 28 mai, 2009 at 21:19 #

Oui, je pense qu’il s’agit d’un probleme de compatibilitĂ©…


vinnyNo Gravatar on 28 mai, 2009 at 22:40 #

Je me suis tropĂ©, j’avais mal rĂ©glĂ© mes nouveaux plugin, en fait ça marche nickel!
:) désolé


MartinNo Gravatar on 30 mai, 2009 at 15:19 #

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


Benjamin AgullanaNo Gravatar on 31 mai, 2009 at 17:24 #

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.


chrisNo Gravatar on 3 juin, 2009 at 3:45 #

I get a fault;undefined value error, when i install this? How can this be rectified and can you add tooltips to it? thanks


Benjamin AgullanaNo Gravatar on 3 juin, 2009 at 9:50 #

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.


romainNo Gravatar on 15 juin, 2009 at 14:45 #

Super, le plug in est sans bug, codé proprement, rien à dire sauf félicitation et merci ;-)


TurboNo Gravatar on 20 juin, 2009 at 14:18 #

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.


TurboNo Gravatar on 20 juin, 2009 at 14:28 #

Je prĂ©cise que j’ai dĂ©jĂ  jouĂ© sur les ordre d’affichage de joomla mais rien Ă  faire.


Benjamin AgullanaNo Gravatar on 20 juin, 2009 at 15:09 #

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Ă© :)


lohckNo Gravatar on 25 juin, 2009 at 21:15 #

The exclude Section parameter does not work. I had to exclude all the Categories instead.

Is there a fix?


lohckNo Gravatar on 26 juin, 2009 at 9:38 #

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.


Benjamin AgullanaNo Gravatar on 26 juin, 2009 at 10:32 #

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.


lohckNo Gravatar on 26 juin, 2009 at 11:29 #

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?


Benjamin AgullanaNo Gravatar on 26 juin, 2009 at 13:30 #

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 ?


lohckNo Gravatar on 26 juin, 2009 at 14:13 #

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 =  »;


lohckNo Gravatar on 26 juin, 2009 at 14:16 #

the  » are 2 single quotes


lohckNo Gravatar on 26 juin, 2009 at 14:21 #

and last but not least,

thank you for the great plugin!


Benjamin AgullanaNo Gravatar on 26 juin, 2009 at 14:24 #

Hum ok… but this is strange, I don’t have problem when i try it :) I’ll look in code.

Thanks.


lohckNo Gravatar on 28 juin, 2009 at 13:48 #

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


agenceNo Gravatar on 28 juin, 2009 at 20:22 #

Thanks a lot for this very great plugin !


AjushiNo Gravatar on 12 juillet, 2009 at 22:16 #

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! :)


Benjamin AgullanaNo Gravatar on 15 juillet, 2009 at 9:39 #

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 :)


ajushiNo Gravatar on 30 juillet, 2009 at 3:49 #

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…


ajushiNo Gravatar on 30 juillet, 2009 at 4:34 #

I fixed it :)

Here’s the fix if anyone or Benjamin is interested:

http://pastebin.com/f1244b43e


archlord goldNo Gravatar on 5 août, 2009 at 4:33 #

this is exactly the post I needed to see!


TDMNo Gravatar on 7 août, 2009 at 20:38 #

Excellent ce plugin, ca marche superbement bien chez moi :)

Merci beaucoup !


ConorNo Gravatar on 9 août, 2009 at 22:35 #

great plugin – i am using it on my site but the text above the rticles reads « more articles » how do i change this text?


Benjamin AgullanaNo Gravatar on 10 août, 2009 at 7:45 #

Hi Conor,
You have to edit the file administrator/language/en-GB.plg_content_relatedarticlestags.ini at the line 7


MaartenNo Gravatar on 12 août, 2009 at 14:48 #

Greate plugin. Do you know of any way to integrate it with the articles in section blog layout?

Best Regards


MaartenNo Gravatar on 13 août, 2009 at 10:10 #

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


Benjamin AgullanaNo Gravatar on 13 août, 2009 at 13:35 #

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.


NickNo Gravatar on 19 août, 2009 at 15:04 #

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


PrognosticosNo Gravatar on 19 août, 2009 at 18:05 #

Such an useful plug-in, thx a lot for this great share, so helpful !


Benjamin AgullanaNo Gravatar on 19 août, 2009 at 22:57 #

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.


NickNo Gravatar on 20 août, 2009 at 16:41 #

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


Mini LaptopNo Gravatar on 21 août, 2009 at 10:13 #

Thank you very much for this plugin Benjamin.


ViardogNo Gravatar on 26 août, 2009 at 8:16 #

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


JohnNo Gravatar on 26 août, 2009 at 15:39 #

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:

http://www.litrev.co.uk/audiobook-section/1-harry-potter-audiobooks/121-harry-potter-and-the-half-blood-prince-full-review.html

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


Benjamin AgullanaNo Gravatar on 26 août, 2009 at 17:02 #

I’ll make an update in few days, it will fix those bugs. Stay tuned :)


arabaportNo Gravatar on 28 août, 2009 at 14:07 #

cok tesekkurler


newsningstartiruNo Gravatar on 1 septembre, 2009 at 1:44 #

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


SissouNo Gravatar on 4 septembre, 2009 at 12:23 #

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.


SamirNo Gravatar on 6 septembre, 2009 at 19:39 #

i installed that nice plug in,but it\’s not working at all. what can be the problem?


Benjamin AgullanaNo Gravatar on 8 septembre, 2009 at 21:35 #

Do you fill keywords in your aticles ?


SamirNo Gravatar on 8 septembre, 2009 at 23:19 #

which keywords? black listed?

here is the screenshot of parameters.
http://banker.az/files/Capture1.gif


jimmyNo Gravatar on 13 septembre, 2009 at 18:36 #

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


jimmyNo Gravatar on 13 septembre, 2009 at 18:39 #

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?


jimmyNo Gravatar on 13 septembre, 2009 at 19:19 #

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?


ViziodiformaNo Gravatar on 18 septembre, 2009 at 17:29 #

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?


Benjamin AgullanaNo Gravatar on 18 septembre, 2009 at 21:38 #

Je comprends pas, quelle est ton problème ?


LeftfieldNo Gravatar on 19 septembre, 2009 at 23:30 #

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 :(


LeftfieldNo Gravatar on 22 septembre, 2009 at 1:32 #

Hey Benjamin, plz delete post before, i am starting to think i sad something rude.


lagugratisanNo Gravatar on 22 septembre, 2009 at 11:38 #

Thanks


AurelAntoineNo Gravatar on 22 septembre, 2009 at 20:52 #

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 !


JosephNo Gravatar on 11 octobre, 2009 at 14:43 #

useful plugin for post, thank you


haberNo Gravatar on 13 octobre, 2009 at 0:08 #

thanks Benjamin,nice job


Adison High SchoolNo Gravatar on 24 octobre, 2009 at 6:14 #

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.


LisieneNo Gravatar on 29 octobre, 2009 at 14:25 #

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


ludoNo Gravatar on 30 octobre, 2009 at 0:21 #

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???


JuliaNo Gravatar on 10 novembre, 2009 at 11:53 #

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 ?


Benjamin AgullanaNo Gravatar on 12 novembre, 2009 at 20:17 #

Bonjour,

HĂ©las non je n’ai pas trouvĂ© la solution :/ C’est un problème propre Ă  Joomla.


TodorNo Gravatar on 12 novembre, 2009 at 23:45 #

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!


TimNo Gravatar on 18 novembre, 2009 at 15:44 #

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?


Benjamin AgullanaNo Gravatar on 21 novembre, 2009 at 12:11 #

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.


AllcomeNo Gravatar on 21 novembre, 2009 at 18:11 #

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


adamNo Gravatar on 23 novembre, 2009 at 8:07 #

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)


ShemzoneNo Gravatar on 23 novembre, 2009 at 15:29 #

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.


ShemzoneNo Gravatar on 23 novembre, 2009 at 15:33 #

Le rĂ©sultat est visible sur le site http://www.jeunesocentre.fr/ et plus particulièrement sur l’article http://www.jeunesocentre.fr/fenetre-sur-la-planete/fenetre-sur-la-planete/serie-mur-de-berlin-vol.-6-badaboum.html

En tout cas, bravo pour ton plugin

A bientĂ´t
Fred


AllcomeNo Gravatar on 23 novembre, 2009 at 17:57 #

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


adamNo Gravatar on 24 novembre, 2009 at 3:03 #

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 ^_^


trini_manNo Gravatar on 18 décembre, 2009 at 21:59 #

I have upgraded to the latest version. This is a really great plug-in by the way, thanks! Is there a way to change the colors though, to match my site


thiloNo Gravatar on 23 décembre, 2009 at 17:57 #

Salut, très satisfait de ce plugin – il fonctionne parfaitement. Merci

J\’aimerais cependant aussi inclure les fichiers du composant rokdownloads – c\’est faisable? Quelqu\’un pourrait m\’aider :) – j\’avoue que je suis nul en programmation!!!


lbarriocanalNo Gravatar on 7 janvier, 2010 at 17:48 #

It does not work with SEO enabled and apache rewrite activated. The item id’s generated by the links are not correct.

The patch developed by ajushi fix the problem and the plugin works perfect.
http://pastebin.com/f1244b43e

Thanks


Gurjit GillNo Gravatar on 8 janvier, 2010 at 16:15 #

Hi Benjamin,

I downloaded the related articles tags plugin and liked it but am having some problems.

First off let me tell you that the latest version has a bug (not related to my problem) but you may want to fix it.

the code in « relatedarticlestags.php » does not exclude the forbidden section or category becuse the syntax of the if statement is incorrect. rather than doing the logical operation you have in-advertently set the value by using « = » sign. It has to be replaced with « == ».

here is the code segment…

//Looking if current article is in forbidden section or category
$sql = « SELECT sectionid, catid FROM #__content WHERE id = $id »;

$db->setQuery( $sql );
if($results = $db->loadObjectList())
{
foreach($results as $result)
{
if(count( $sectionsNo ) > 1){
if(in_array($result->sectionid, $sectionsNo))
$html = «  »;
}elseif($result->sectionid = [change here ==] $sectionsNo){
$html = «  »;
}
if(count( $categoriesNo ) > 1){
if (in_array($result->catid, $categoriesNo))
$html = «  »;
}elseif($result->catid = [ change here ==] $categoriesNo){
$html = «  »;
}

I need you help as for some reason my related articles also appear at other places on my template. I am sure it is specific to my template but would appreciate if you can help.


Todor IlievNo Gravatar on 9 janvier, 2010 at 14:34 #

Sometimes When the plugin code is on the top of the article we will see the plugin code. For example:

—-
You can buy this item here.
{snapitems_id: 15}

How I removed this code?
I wrote this function.

function replacePluginExecuting($words) {
$words = preg_replace(\’/{.*}/i\’,\’\',$words);
return $words;
}

And I execute the function on line 198.

$introtext = _replacePluginExecuting($introtext);


ShemzoneNo Gravatar on 13 janvier, 2010 at 9:11 #

@Todor
Almost like mine but with a plugin closing tag:
function _deletePlg($wordsWithPlg) {
if($wordsWithoutPlg = preg_replace(’`({[^>]*})(.*)({\/[^>]*})`Ui’, »,$wordsWithPlg))
return $wordsWithoutPlg;
else
return false;
}

And then: $words = _deletePlg($words);

I think we can process both functions one after one (ie:
$words = _deletePlg($words);
$words = _replacePluginExecuting($words);)


TibiNo Gravatar on 15 janvier, 2010 at 9:20 #

Hi there, I installed the plug in and nothing appears ;-(. by reading the comments I’m sure it works but can’t state hat’s wrong on my side.. any clue (please visite my site to check)…


baijianpengNo Gravatar on 21 janvier, 2010 at 4:59 #

This seems a good plugin, I justed tested v1.3, but I did not find the \"Show/Hide Readmore\" , \"Title linkable\" , and \"show/hide tooltip\" options. Why remove them? These options are necessary.

Another problem is, the \"tooltip\" did not show up as tooltip, but below the title all the time.

I hope you have a forum so we can discuss further. If you don\’t mind, please contact me with email: joomlagate@gmail.com , thanks.


Samuel MajaniNo Gravatar on 24 janvier, 2010 at 23:41 #

umm, small problem… FILE NOT FOUND!!!


Benjamin AgullanaNo Gravatar on 25 janvier, 2010 at 8:56 #

You might have a problem when you installed it. Check your folders rights on FTP and try again.


buku belajar komputerNo Gravatar on 6 février, 2010 at 9:38 #

woowww nice plugin thanks


ArnaudNo Gravatar on 21 février, 2010 at 15:26 #

Bonjour,

le plugin est super et très efficace
Par contre l’effet accordĂ©on par mootools ne fonctionne pas sur mon site qui utilise un template Yootheme (Mootools est pourtant bien activĂ©).
Une idée ?
Merci


ArnaudNo Gravatar on 21 février, 2010 at 15:28 #

Bonjour, super plugin très réussi
J’ai pourtant un souci sur mon site car l’effet mootools accordĂ©on ne fonctionne pas avec mon template Yootheme (portant le compatibilitĂ© mootools est activĂ©e)
Une idée ?
Merci


Todor IlievNo Gravatar on 21 février, 2010 at 19:12 #

Here it is a little improvement.

In SEF mod the links are incorrectly. The path to the articles contain current section or category, not real ones.

The fix is :

1. On line 162 add « , sectionid, catid »;

The query becomes
$query = « SELECT id, title, introtext, alias, sectionid, catid » …..

2. On the lines 188 and 190 add  » $item->catid, $item->sectionid » ;

The lines become

188 : $route = ContentHelperRoute::getArticleRoute( $slug, $item->catid, $item->sectionid );

190 : $route = ContentHelperRoute::getArticleRoute( $item->id, $item->catid, $item->sectionid );

That’s it. :)


JoomlaMindNo Gravatar on 21 février, 2010 at 19:20 #

Here it is a little improvement.

In SEF mod the links are incorrectly. The path to the articles contain current section or category, not real ones.

The fix is :

1. On line 162 add « , sectionid, catid »;

The query becomes
$query = « SELECT id, title, introtext, alias, sectionid, catid » …..

2. On the lines 188 and 190 add  » $item->catid, $item->sectionid » ;

The lines become

188 : $route = ContentHelperRoute::getArticleRoute( $slug, $item->catid, $item->sectionid );

190 : $route = ContentHelperRoute::getArticleRoute( $item->id, $item->catid, $item->sectionid );

That’s it. :)


InformasiNo Gravatar on 25 février, 2010 at 18:50 #

Thats great plugin benjor. very thanks for it ;)


FrédericNo Gravatar on 9 mars, 2010 at 15:15 #

Bonjour
merci pour ce plugin « grandiose » :)
petit soucis avec ce plugin utilisé simultannément avec NinjaAccess
les tag de NinjaAccess comme {njaccess 0} s’affiche dans le rĂ©sumĂ© de l’article en bas d epage ..


Benjamin AgullanaNo Gravatar on 9 mars, 2010 at 15:20 #

essaye un str_replace(« {njaccess 0} », »",$article);
oĂą $article est le contenu de l’article


FrédéricNo Gravatar on 10 mars, 2010 at 8:02 #

merci deja pour la rĂ©ponse… mais ce « replace » je dois le faire ou ? Dans le code du plugin mĂŞme ?


thibautNo Gravatar on 12 mars, 2010 at 12:21 #

Bonjour Benjamin,
Ce plugin est vraiment super, mais malheureusement je n’arrive pas Ă  le faire fonctionner correctement… J’ai des tags Ă  tous mes articles, aucune section de spĂ©cifiĂ©e dans les paramètres, et pourtant le plugin n’apparaĂ®t pas partout. Ça ne fonctionne pas pour certains articles, et je ne vois rien en commun entre eux.. Une idĂ©e pour m’aider STP ?


anneNo Gravatar on 31 mars, 2010 at 22:40 #

Salut Benjamin,

J’ai le mĂŞme problème que Thibaut (le 12 mars). J’ai des tags Ă  tous mes articles, mais le plugin n’apparaĂ®t pas partout.

I’m having the exact same problem that Thibaut mentioned on March 12. The plugin is appearing on certain sections, but not all. All of my articles have keywords/tags, and I have not limited the sections/categories in the plugin parameters, so I’m not sure why the plugin doesn’t appear after every article on my site. Does it have to do with the type of menu item??

MERCI MILLE FOIS!


NatashaNo Gravatar on 19 avril, 2010 at 15:15 #

Chez moi il fonctionne parfaitement, merci infiniment !


Martin RadevNo Gravatar on 8 mai, 2010 at 16:49 #

Thats really awesome! It works great on my site!


Kenyan MusicNo Gravatar on 11 mai, 2010 at 18:05 #

Excellent plugin! Works just as it is described in the JED.


toanNo Gravatar on 13 mai, 2010 at 17:09 #

Great plugin . very good


CelenaNo Gravatar on 19 mai, 2010 at 14:56 #

hi, i like so much your plugin, but i wonder if it could have the option to show or not thumbnail of articles too, could be this posible? thanks!


igriNo Gravatar on 28 mai, 2010 at 21:37 #

Thats very nice! This is a good joomla plugin.


Kaskuz NewsNo Gravatar on 4 juin, 2010 at 10:20 #

Nice plugin to show a related post on joomla. even i don’t fluently speak french but i really appreciate your work.

Merci


travelNo Gravatar on 14 juin, 2010 at 1:59 #

thanks.nice plugin.love joomla


travel holidayNo Gravatar on 14 juin, 2010 at 2:01 #

nice plugin.love joomla.thanks


tripsNo Gravatar on 14 juin, 2010 at 2:03 #

tanks.good plugin


SteveNo Gravatar on 13 juillet, 2010 at 15:14 #

On my site I am getting
Notice: Undefined variable: tooltip in relatedarticlestags.php on line 208

I also get

Notice: Undefined variable: AND in relatedarticlestags.php on line 174

I am using the fix from http://pastebin.com/f1244b43e for SEO / SEF stuff, it works much better.

Any idea how to fix the undefined variables?


Kris.h.NiveNo Gravatar on 21 juillet, 2010 at 18:48 #

I have problem with the plugin becase it make text with special tags, for example:
«
{readmorelink}bla-bla-bla {one more tags}
»

What did I do:
file: relatedarticlestags.php

$introtext = str_replace(« {readmorelink} », «  », $introtext);
$introtext = str_replace(« {/readmorelink} « , «  », $introtext);

It would be nice if you will this option «to miss some wordst from text» in the plugin, like to miss some keywords


MikeNo Gravatar on 29 juillet, 2010 at 16:49 #

Hello!

This is an excelent plugin! However I have a litle problem…How can I customize the « Read more… » text after the intro text?

Thanks


SeanNo Gravatar on 16 août, 2010 at 21:23 #

This is a great plugin! I am also getting a message similar to Steve above:
Notice: Undefined variable: AND in \plugins\content\relatedarticlestags.php on line 165

I’ve also found that adding a section ID for exclusion hides this on all articles. Anyone run into similar issues?


Post a Comment
Name:
Email:
Website:
Commentaires:
Security Code:

work from home