Today I am going to show you how to change the default newsfeed status message to include the username of the member using it. When I refer to the newsfeed status message I mean the little message that says “What’s happening?”
The line of code we are looking to edit can be found here. /ow_plugins/newsfeed/components/update_status.php
Once we find the correct location we are going to tap cntrl+f and search for the following
$field->setInvitation( OW::getLanguage()->text(‘newsfeed’, ‘status_field_invintation’) );
and change to
$userName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());
$field->setInvitation( OW::getLanguage()->text(‘newsfeed’, ‘status_field_invintation’,array(‘userName’=>$userName)) );
Now open up your sites language page,( http://YOURSITE.com/admin/languages) and use the search bar to find the text What’s happening? Change the following text.
Looking for quality Oxwall Web Hosting? Look no further than Arvixe Web Hosting!