member-name-on-dashviewhistorytalkThe following tutorial will help you display the user's Real Name to them on their dashboard, offering a more welcome feeling to your website. Let us begin!
FOR DESKTOP SITE VERSIONS:
1)Find the correct base plugin dir:
Go to ow_system_plugins/base/controllers/ in your Oxwall installation path and open component_panel.php with a code editor. Find the following code:
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading'));2)Replace the code:
Replace the code above with the following code:
$displayName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading', array('username' => $displayName)));Now hit 'Save'!
FOR MOBILE SITE VERSIONS:
1)Find the correct base plugin dir:
Go to /ow_system_plugins/base/mobile/controllers/ in your Oxwall installation path and open widget_panel.php with a code editor. Find the following code:
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading'));2)Replace the code:
Replace the code above with the following code:
$displayName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading', array('username' => $displayName)));Now hit 'Save'!
LAST STEPS:
3)Clear your cache:
Clear your website cache - to save time check out this awesome FREE plugin
4)Edit the Language Variables:
Go to yourwebsite/admin/languages?&search=my%20dashboard and replace the value 'My Dashboard' with something like 'Hello {$username}! We are pleasured to have you here!'
5)Save it:
Save the language edit and your dashboards should now show the user's their name and a nice welcome!
Code credit: Alicia Jeny Magretha
Original Source