Ok, solved one part of the problem with NewsFeed not working with friendly URLS in a user directory.
Line 139 has the following code
$link = $modx->config['site_url'].$modx->makeUrl($modx->documentIdentifier); // url to current page
This causes a duplicate "/~user" reference to be created in the URL. ie. "
http://domain.com/~user//~user/document.html"
The first bit of code outputs "
http://domain.com/~user/"
$modx->config['site_url']
The second bit outputs "/~user/document.html"
$modx->makeUrl($modx->documentIdentifier)
So after lots of trail and error I found the fllowing code fixes line 139
$link = $modx->config['site_url'].$modx->documentObject['alias']
Line 225 creates links for each article
$link = $modx->config['site_url'].$modx->makeUrl($ds[$i]['id']);
I need to change the last bit "modx->makeUrl($ds[$i][’id’])", but using the same code as above or even changing "id" to "alias" creates a parser error.
Can’t find any documentation to assist so hoping someone can help me ge it to work