Jump to the post that solved this thread.
Solved: 3 Years, 9 Months, 2 Weeks ago What variables are these ?
#1
Solved: 3 Years, 9 Months, 2 Weeks ago
In indexboardstats you have:

$l['stats_mostonline'] = "The most users online at one time was {1} on {2} at {3}";

{1} = {$mostonline['numusers']}

but what  is {2} and {3} ?

I am trying to output the date and time with {$mostonline['time']} but the output is only something like "1494619330"
What goes around comes around
Reply
#2
Solved: 3 Years, 9 Months, 2 Weeks ago
because time var have to be formatted at mybb date function as my_date in database this data was stored as unix timestamp.

2 and 3 must be values to use i order you like for multilang reasons.

If you use that vars in order you like you can set at your own but if you like to add new ones have to make core editions.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
#3
Solved: 3 Years, 9 Months, 2 Weeks ago
Yeah, it's ok. I am using it like this {2}{3} - suits my purpose.
What goes around comes around
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)