Raichi
Junior Member
Posts: 300
inherit
157076
0
Nov 1, 2023 4:13:53 GMT -8
Raichi
300
August 2010
raichi
|
Post by Raichi on Nov 14, 2013 5:34:46 GMT -8
Forum URL: Neotown.proboards.comRight now when you view the information and statistics at the bottom of the forum, whenever someone's online, they are removed from the "Users Online in the Last 24 Hours" section at the bottom and moved to the "users online" section above that. How do I make it so that they show up in both instead of get removed?
|
|
Former Member
inherit
guest@proboards.com
131621
0
May 11, 2024 18:13:24 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 14, 2013 9:11:56 GMT -8
Itt should be as simple as moving one variable to be next to the other. Go to Admin > Themes > Layout Templates > Home Scroll til you find:
<table> <tbody> <tr><th>Users Online in the Last 24 Hours</th></tr> <tr><td>$[total_staff_online_24] Staff, <a class="$[view_active_members_link_24.class]" href="$[view_todays_active_members_link.href]">$[total_members_online_24] Member{if $[total_members_online_24] != 1}s{/if}</a>, $[total_guests_online_24] Guest{if $[total_guests_online_24] != 1}s{/if}.</td></tr> <tr><td> {foreach $[online_user_24]} $[online_user_24]{if $[online_user_24.invisible]} <span class="small">(invisible)</span>{/if}$[online_user_24.comma] {/foreach} {if $[total_online_not_shown_24]} , and <a class="$[view_active_members_link_24.class]" href="$[view_todays_active_members_link.href]">$[total_online_not_shown_24] more...</a> {/if} </td></tr> </tbody> </table>
This is your "online in past 24 hours" section in your info center. It should be pretty close to the bottom. Be sure not to mix it up with the "currently online" section which looks similar in coding and is above this chunk.
In this section:
{foreach $[online_user_24]} $[online_user_24]{if $[online_user_24.invisible]} <span class="small">(invisible)</span>{/if}$[online_user_24.comma] {/foreach}
Change it to:
{foreach $[online_user_24]} $[online_user_24]{if $[online_user_24.invisible]} <span class="small">(invisible)</span>{/if}$[online_user_24.comma] {/foreach} {foreach $[online_user]} $[online_user]{if $[online_user.invisible]} <span class="small">(invisible)</span>{/if}$[online_user.comma] {/foreach}
Let me know how that looks. I didn't test it myself yet.
|
|
Raichi
Junior Member
Posts: 300
inherit
157076
0
Nov 1, 2023 4:13:53 GMT -8
Raichi
300
August 2010
raichi
|
Post by Raichi on Nov 14, 2013 10:18:43 GMT -8
Worked like a charm! Thanks!
|
|
Former Member
inherit
guest@proboards.com
131621
0
May 11, 2024 18:13:24 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 14, 2013 11:09:45 GMT -8
No problem!
|
|