how to dispaly realname not username in all pages?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ljzhu
Posts: 2
Joined: 05 Apr 2005, 09:21

how to dispaly realname not username in all pages?

Post 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?
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

Set "$g_show_realname = ON;" in your config_inc.php file, and make sure that the real name fields are populated.
Bartcelona
Posts: 7
Joined: 31 Oct 2007, 22:09

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

Post 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]
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

What Mantis version are you using?

Are you sure this configuration option is not overridden in the database configuration table?
Migrate your MantisBT to the MantisHub Cloud
Bartcelona
Posts: 7
Joined: 31 Oct 2007, 22:09

Post 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
Post Reply