Snickerdoodle 51 Share Posted February 18, 2019 No biggie, but the character avatars in threads link to nonexistent users (or existing ones if their character id number is low enough). I've changed this in display.template <a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '"> to this <a href="', $scripturl, '?action=characters;area=profile;id=', $message['member']['id'], '"> because we mostly post in-character, anyway... but that makes it so OOC avatars link to character profiles... and I dunno how to make it so it does either/or We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Arceus 1,081 Share Posted February 18, 2019 <a href="', $scripturl, '?action='.($message['id_character'] ? 'characters;area=profile;id' : 'profile;u').'=', $message['member']['id'], '"> In Display.php, find this, should be in function prepareDisplayContext 'can_see_ip' => allowedTo('moderate_forum') || ($message['id_member'] == $user_info['id'] && !empty($user_info['id'])), Add this under it 'id_character' => !empty($message['id_character']) ? true : false, 1 I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Snickerdoodle 51 Author Share Posted February 19, 2019 Yay! Thanks! We're on Discord! Come say hello! Link to comment Share on other sites More sharing options...
Recommended Posts