We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Newsfeed: user A friends of user b, empty string [SOLVED] | Forum

Mariano
Mariano Jun 9 '16

IM opening this issue and giving a solution this time :D the weir/extrange thing its that i ddint see the key "friends+newsfeed_action_string" in the screen like other times i saw a missing translation key, this time was a full empty nothing !! D:



My Setup:

Windows 10 + xampp

oxwall 1.8.3

primary and only lang: spanish


Issue:
Im seeing the friends in newsfeed like a item without any string message like "<user-avatar> added user B as friend" only shows avatar, like and comment buttons.
i checked the las row added in the table "ow_newsfeed_action"and it content is:entityType:friend_addpluginKey: friendsdata:{"string":{"key":"friends+newsfeed_action_string","vars":{"user_url":"http:\/\/domain.com\/user\/userB","name":"userB","requester_url":"http:\/\/domain.com\/user\/userA","requester_name":"userA"}},"actionDto":null}format: empty


Solution:

I've chequed the key "friends+newsfeed_action_string" and was empty!

So, find the key and add some text like: "y <a href="{$user_url}">{$name}</a> se hicieron amigos" or in english "and <a href="{$user_url}">{$name}</a> are now friends"

The Forum post is edited by Mariano Jun 9 '16