I have had a problem with my Sitemap for a while...
All of the videos from JomSocial display the wrong SEF link in the sitemap, it uses a different link to the link expressed when viewing the site.
SO the links I want to be in my sitemap view by visitors aren't listed in xmap with this extension.
I have contact support and there has been no reply. ALl I can say is that this extension hasn't worked, and with duplicate links ... it has more than likely worsened my SEO.
In general this Free Plugin works like a charm. There may be a bit of lag time when new JomSocial versions are released, but they do come fairly quickly. And bugs are address promptly. Very satified... and it is FREE!
There's a few errors in the latest release of this xmap extension.
First of all line 340 should read
[code]
$videos = xmap_com_community::getAllDBVideos($js15, $linksToDisplay);
[/code]
Then if you look down at the actual function getAllDBVideos() should be changed to look like this
[code]
function getAllDBVideos($js15, $linksToDisplay) {
// Fetch all videos
$db = &JFactory::getDBO();
if (($js15) && ($linksToDisplay["avoid-groups-photos"]))
$query = "SELECT id, title as name , creator FROM #__community_videos WHERE permissions=0 AND groupid=0 ORDER BY id";
else
$query = "SELECT id, title as name , creator FROM #__community_videos WHERE permissions=0 ORDER BY id";
$db->setQuery($query);
$list = $db->loadObjectList();
return $list;
}
[/code]
Owner's reply
This issue has been workout on v3.1.
Now the JS XMAP addon has been upgraded to version 4.0 to be compatible with the newest JomSocial v1.8.