MyBB Community Forums

Full Version: Please help me ! Last Active Time !!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded this - https://community.mybb.com/mods.php?acti...7&bid=4196

i want to format it for myself but i can't find it anywhere in either posbit_classic or user author! where can this plugin be?

installation was successful but i can't find where it can be!

Please help me !!!
^ plugin's settings should be having option to set the style.
(2020-05-12, 06:13 AM).m. Wrote: [ -> ]^ plugin's settings should be having option to set the style.

ok and where can i do this exactly?
^ sorry, that styling is only for the online text. not for last active information.

have a look at this code line
 $post['user_details'] = $post['user_details'].$post['last_active_info'];
before that line, you have to apply required style for $post['last_active_info']

for eg. you can add
$post['last_active_info'] = '<span class = "lastactiveinfo">'.$post['last_active_info'].'</span>';
AND add .last_active_info with required style properties in global.css
(2020-05-12, 07:04 AM).m. Wrote: [ -> ]^ sorry, that styling is only for the online text. not for last active information.

have a look at this code line
 $post['user_details'] = $post['user_details'].$post['last_active_info'];
before that line, you have to apply required style for $post['last_active_info']

for eg. you can add
$post['last_active_info'] = '<span class = "lastactiveinfo">'.$post['last_active_info'].'</span>';
AND add .last_active_info with required style properties in global.css


so do I modify the last active .php file? and the css cod is what exactly?

so ?

$post['user_details'] = $post['user_details'].$post['last_active_info'];
	$post['last_active_info'] = '<span class = "lastactiveinfo">'.$post['last_active_info'].'</span>';
it can be like below
$post['last_active_info'] = '<span class = "lastactiveinfo">'.$post['last_active_info'].'</span>';
$post['user_details'] = $post['user_details'].$post['last_active_info'];

at the bottom of global.css stylesheet you can add styling code like below
.lastactiveinfo {color: green; font-weight: bold;}