Customizing SMF > SMF Coding Discussion

Online and offline images change

<< < (2/2)

vbgamer45:
Forgot the '; on the end
Corrected here

--- Code: ---<li><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '" class=" tooltip">', $settings['use_image_buttons'] ? ($message['member']['online']['is_online'] ? '<i class="far fa-comment-dots fa-lg"></i>' : '<i class="far fa-comment" fa-lg></i>')  : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a></li>';

--- End code ---

spiros:
Oh, yes! Thank you so much for your kind help!

vbgamer45:
Glad to help

Navigation

[0] Message Index

[*] Previous page

Go to full version