News:

We have *Free* SMF 2.0 & 2.1 Themes for Download and Support!

 

Recent Topics

Members
Stats
  • Total Posts: 10,783
  • Total Topics: 1,380
  • Online today: 159
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 33
Total: 33

Simple DarkModern question...

Started by sdkid, Mar 16, 11, 06:18:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sdkid

The forum stats section...
I want this line:

"xx,xxxxx Posts in x,xxx Topics by XXX Members; Latext Member: Xxxxxxx"

to be in the header info under the random news item display.

What code do I need to make that happen?

Thanks in advance for your reply.

sdkid

Doh!  I got it.

echo '
<p id="stats"><br><br><br>
', $context['common_stats']['total_posts'], ' ', $txt['posts_made'], ' ', $txt['in'], ' ', $context['common_stats']['total_topics'], ' ', $txt['topics'], ' ', $txt['by'], ' ', $context['common_stats']['total_members'], ' ', $txt['members'], '. ', !empty($settings['show_latest_member']) ? $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', ' </p>';


Maxx

Cool glad you got working!

regards,
Maxx