Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4253
Latest: Ineedsmfhelp
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43242
Total Topics: 7516
Most Online Today: 107
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 102
Total: 102

Author Topic: Display All Most User Online  (Read 111910 times)

0 Members and 1 Guest are viewing this topic.

Offline Furqon

  • Member
  • *
  • Posts: 6
    • View Profile
Display All Most User Online
« on: November 11, 2006, 05:43:29 am »
Hello,

could be any chance to display all most user online like PHPBB ?
this is the sample from another PHPBB Forum



Thanks for reply my request ..

Regrads,

Furqon

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Display All Most User Online
« Reply #1 on: November 11, 2006, 07:11:15 am »
That is just the standard who's online for phpBB are you looking who's been online today?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Furqon

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Display All Most User Online
« Reply #2 on: November 11, 2006, 10:47:25 am »
That is just the standard who's online for phpBB are you looking who's been online today?

Yup .. that's what i mean ..
i hope SMFHacks will help me to solve this problem

Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16428
    • View Profile
Re: Display All Most User Online
« Reply #3 on: November 11, 2006, 11:50:55 am »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Furqon

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Display All Most User Online
« Reply #4 on: November 11, 2006, 05:18:47 pm »
Thanks SMFHacks, i already install that mod

But i've another problem, that mods cannot show if i used another Themes, could you help me to solve this problem

Thanks

Offline Furqon

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Display All Most User Online
« Reply #5 on: November 11, 2006, 05:24:43 pm »
Wups .. i found that code ..

Just put this code at BoardIndex.template.php

Find this code

Code: [Select]
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

echo '
<br />
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>
<tr>
<td class="windowbg2" width="100%">
<span class="middletext">
', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>';

Add this code after

Code: [Select]

// Users online today

echo '
<tr>
<td class="titlebg" colspan="2">', $txt['uot_users_online_today'], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['uot_users_online_today'], '" border="0" />
</td>
<td class="windowbg2" width="100%">';

echo '
<div class="smalltext">';

  echo $txt['uot_total'], ': <b>', $context['num_users_online_today'], '</b>';
  if (!$context['user']['is_guest'])
  echo ' (', $txt['uot_visible'], ': ', ($context['num_users_online_today'] - $context['num_hidden_users_online_today']), ', ', $txt['uot_hidden'], ': ', $context['num_hidden_users_online_today'], ')';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online_today']) && !$context['user']['is_guest'])
echo '<br />', implode(', ', $context['list_users_online_today']);

echo '
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>';


Thanks for the help

Offline lakestclair

  • Full Member
  • ***
  • Posts: 120
    • View Profile
    • Lake St. Clair Run
Re: Display All Most User Online
« Reply #6 on: March 04, 2008, 07:02:51 pm »
Mine displays the users online today, but doesn't update the correct number online or most users online ever feature...Wondering what is causing this?

Offline marjinalhakan

  • Member
  • *
  • Posts: 1
    • View Profile
Re: Display All Most User Online
« Reply #7 on: March 24, 2008, 06:27:35 am »
hi.

A subject which my need becomes.. 8)

thank you very much, ;)

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
4041 Views
Last post November 21, 2008, 01:59:18 am
by musicman8oh8
2 Replies
5203 Views
Last post April 25, 2009, 10:19:23 am
by Wegg
1 Replies
4746 Views
Last post June 22, 2009, 08:26:07 pm
by SMFHacks
1 Replies
4282 Views
Last post February 23, 2011, 09:36:12 am
by SMFHacks
6 Replies
6854 Views
Last post March 20, 2011, 07:12:36 pm
by transientangler

+- Recent Topics

is it possible to add support for odysee.com by SMFHacks
March 13, 2024, 10:53:28 pm

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

User Gallery Feature: move / bulk move images by SMFHacks
January 30, 2024, 05:48:25 pm

In the future it may be for smf 2.1.x? by smithloo
January 30, 2024, 12:55:34 am

Powered by EzPortal