Page 1 of 1

Show name of the logged in user

Posted: Fri May 22, 2020 7:05 pm
by Martin
How can I display the name of the logged in user rather than the nubuilder.com URL?
(The URL is probably not really interesting for the end user...)

Re: Show name of the logged in user

Posted: Sun May 24, 2020 3:05 am
by kev1n
Add this JS in the (Setup ->) Header:

Code: Select all

function nuOnLoad() {
   $('.nuBuilderLink').html(window.global_access ? nuCurrentProperties().user_id : nuCurrentProperties().username).attr('href', '').css({'cursor': 'pointer', 'pointer-events' : 'none'});

}