PDA

View Full Version : microClassifieds



Wulf
11-08-11, 02:04
I am testing a new Classifieds mod on my site. This is different from PhotoPost Classifieds.

Everything works really good, including automatic translations of the classified content. The only problem I am seeing is with the images. When you click on an image in the forum default language, the image opens up in a lightbox.

This is an example of a classified and image path:
http://saabworld.net/classifieds-13&urlid=2/
http://saabworld.net/microclassifieds/photos/db87f2e372d7457a4e0c1197b0ecd8bb.jpg

When you change to a different language, the paths for the image links in the classifieds changes accordingly to
http://saabworld.net/pl[/B/]classifieds-13&urlid=2/
http://saabworld.net/[B]pl/microclassifieds/photos/db87f2e372d7457a4e0c1197b0ecd8bb.jpg

However, the image doesn't open because it is looking for the image file in http://saabworld.net/pl/microclassifieds/photos/ which doesn't exist.

In any language, it should look for the images in http://saabworld.net/microclassifieds/photos/ and not add the /xx/ language code. How to fix this problem?

vBET
11-08-11, 20:05
Just add photo pages to in ignored pages. Set '/photos/' for ignored pages - each URL including /photos/ will not be translated at all nor translation tracking will be included in URL to such pages.

Wulf
11-08-11, 20:30
Brilliantly simple and highly effective! That works great. :)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations supported by vBET 4.9.2