CrashGordon Posted October 13, 2012 Report Posted October 13, 2012 If I have this set in my config: Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true); What else must I do to make it appear? Quote
Moderators Parkho Posted October 13, 2012 Moderators Report Posted October 13, 2012 You need to add the following into public function generateSignature($pilotid) in pilotdata.class.php: if(Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true)); { $pilotrank = Auth::$userinfo->ranklevel; $rank = RanksData::getrankinfo($pilotrank); $output[] = 'Rank: ' . $rank->rank.'<img src="<?php echo $rank->image ?>">'; } that should give you the Rank and the Rank image of yourself. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.