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

How to rename "Your Dashboard" with User's Name [Solution available] | Forum

dave Leader
dave Feb 16 '14
And thanks to rick for bringing up the topic as well. But sadly he is no longer on Oxwall and has gone the WP route.  We wish him luck... :)
dave Leader
dave Jul 13 '14
Hi Aliia, hope you are well,  did you get this to work with 1.7  the edit in the file still seems to be there, and the lang  change also seems to be there, am i missing something :)  
Wilson
Wilson Aug 2 '14
Any luck yet Dave getting this to work in 1.7.0?

Wilson
dave Leader
dave Aug 2 '14

Yes sir,  i dont know what the issue was before, but i replaced the code and fired it up after cleaning the cache and this time it worked.  Strange.

Kяuncн Leader
Kяuncн Aug 5 '14
I know in previous versions the instructions below worked, haven't tested this on the 1.7 yet,,, keeping this in mind it's always best to back up the files in which you aim to change in advance, backing up your files before making changes is ALWAYS good practice any ways...

Desktop View:

Go to
ow_system_plugins/base/controllers/ in your Oxwall installation path and open component_panel.php with a code editor.
Find
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading'))
and replace it with
$displayName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading', array('username' => $displayName)));

Mobile View:
Go to
/ow_system_plugins/base/mobile/controllers/ in your Oxwall installation path and open widget_panel.php with a code editor.
Find
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading'));
and replace it with
$displayName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading', array('username' => $displayName)));

Initiate Mod:

Clear your website cache and go to yourwebsite/admin/languages?&search=my%20dashboard
Replace My Dashboard with Hello {$username}! We are pleasured to have you here!
Click save and visit your dashboard for confirmation.

Note: (1) Custom modifications are erased after each platform update. Bookmark this page for reference purpose. (2) Make sure you stay out of trouble: Always backup the file you are modifying.
The Forum post is edited by Kяuncн Aug 5 '14
dave Leader
dave Aug 5 '14
Thanks agent K, good info :)
Kяuncн Leader
Kяuncн Aug 5 '14

Quote from dave Thanks agent K, good info :)

Your most welcome agent D :)
Alia Team
Alia Aug 11 '14
Have just tested the solution on desktop version of 1.7.
Works ok.
Kяuncн Leader
Kяuncн Aug 11 '14

Quote from Aliia Have just tested the solution on desktop version of 1.7.
Works ok.

I 2nd that...
dave Leader
dave Apr 16 '15
1.7.3 its not there, ill update this when i find it


lol update nevermind i cant read filnames today lol...  

The Forum post is edited by dave Apr 16 '15
Kяuncн Leader
Kяuncн Apr 17 '15
ow_system_plugins/base/controllers/component_panel.php
code will be at Line: 166


The Forum post is edited by Kяuncн Apr 17 '15
Alia Team
Alia Apr 20 '15
Thanks for updating the post with info about compatibility of this modification with latest version. I appreciate it.
dave Leader
dave Apr 20 '15
omg she is still alive and kicken....hee hee   good to see ya Aliia, was wondering if you were still around.   Good deal :)
Alia Team
Alia Apr 20 '15
=) I am still alive. Was busy with another Oxwall related responsibilities lately.

Oxwall forever =)

Darryl B Leader
Darryl B Jun 4 '15

Quote from Kяuncн I know in previous versions the instructions below worked, haven't tested this on the 1.7 yet,,, keeping this in mind it's always best to back up the files in which you aim to change in advance, backing up your files before making changes is ALWAYS good practice any ways...

Desktop View:

Go to
ow_system_plugins/base/controllers/ in your Oxwall installation path and open component_panel.php with a code editor.
Find
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading'))
and replace it with
$displayName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading', array('username' => $displayName)));

Mobile View:
Go to
/ow_system_plugins/base/mobile/controllers/ in your Oxwall installation path and open widget_panel.php with a code editor.
Find
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading'));
and replace it with
$displayName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());
$this->setPageHeading(OW::getLanguage()->text('base', 'dashboard_heading', array('username' => $displayName)));

Initiate Mod:

Clear your website cache and go to yourwebsite/admin/languages?&search=my%20dashboard
Replace My Dashboard with Hello {$username}! We are pleasured to have you here!
Click save and visit your dashboard for confirmation.

Note: (1) Custom modifications are erased after each platform update. Bookmark this page for reference purpose. (2) Make sure you stay out of trouble: Always backup the file you are modifying.

This worked for me in 1.7.4. One trick I learned that some may not know. When searching for the line of code use "ctrl F". It will open a find box. Just past the line of code you want to find in it, and click on "find next".
Didi Webmaster
Didi Webmaster Jun 9 '15
anybody knows how i can do it here ?  www.DOMAIN_here.com/base/join/join-form-submit/



its the site after registration.... i need to found a solution to get the username there.... 


i add in ow_systems_plugins/base/views/controllers/email_verify_index.html follow code...


<img src="http://.......com/...Lead&OrderID=XXX"


there where is XXX ... i need to display the username, so the trackingscript get it.


for any resolution i am thankfull happy and i like to donate with paypal for it.

Didi Webmaster
Didi Webmaster Jun 9 '15
Ok... i got it now... this Mod helps me a lot...
Dave
Dave Nov 4 '15
Hi, not sure if this needs updating.... is this mod working for anyone on 1.8? or is there an updated line code that needs changing for this to work on 1.8 as it did on 1.7.4?
Pages: « 1 2