Page 1 of 1

how to dispaly realname not username in all pages?

Posted: 06 Apr 2005, 08:21
by ljzhu
for example,in the view.php, "reporter"and "assign to" are followed by username ,how can i make it followed by realname? which file should i modify to complete this?

Posted: 07 Apr 2005, 13:41
by thraxisp
Set "$g_show_realname = ON;" in your config_inc.php file, and make sure that the real name fields are populated.

I DID set "$g_show_realname = ON;" in config_inc.

Posted: 31 Oct 2007, 22:28
by Bartcelona
However even after setting that it still shows the username.

really... ;-) to prove it here is a copy of the last 10 lines of my config_inc.php

Code: Select all

	# --- file upload settings --------
	# This is the master setting to disable *all* file uploading functionality
	#
	# The default value is ON but you must make sure file uploading is enabled
	#  in PHP as well.  You may need to add "file_uploads = TRUE" to your php.ini.
	$g_allow_file_upload	= ON;
	
	# --- Display variables ------------
	$g_show_realname  = ON; 
[/code]

Posted: 01 Nov 2007, 07:33
by vboctor
What Mantis version are you using?

Are you sure this configuration option is not overridden in the database configuration table?

Posted: 01 Nov 2007, 08:47
by Bartcelona
Hi vboctor,

I apologize for not noting the version number - 1.0.8

As far as overwriting the DB configuration table... I have just followed the instructions from the manual on how to do this with the config_inc.php.

If I can accomplish the same via an adjustment to the table can you give me a hint as to how