Black Pearl

remove whoisonline/birthdays/users online at bottom of page - Black Pearl

remove whoisonline/birthdays/users online at bottom of page

by TheButcher2 » Thu Jul 03, 2014 12:01 pm

Hi next question, how do I remove this stuff off the bottom of the page please,

thanks a lot.


Who is online
Who is online
Who is online In total there are 7 users online :: 3 registered, 1 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on Tue May 27, 2014 6:21 pm

Registered users: Google [Bot], Google Feedfetcher, Majestic-12 [Bot], TheButcher
Legend :: Administrators, Global moderators



Birthdays
Birthdays
Birthdays

No birthdays today



Statistics
Statistics
Statistics

Total posts 165 | Total topics 30 | Total members 37 | Our newest member mimi



Board index ยป Index page
It is currently Wed Jul 02, 2014 9:36 pm | All times are UTC - 5 hours [ DST ]
User avatar
TheButcher2
Registered User
Posts: 1037
Joined: Tue May 13, 2014 11:38 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by 5hocK » Thu Jul 03, 2014 12:16 pm

TheButcher2 wrote:Who is online
Who is online
Who is online In total there are 7 users online :: 3 registered, 1 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on Tue May 27, 2014 6:21 pm

Registered users: Google [Bot], Google Feedfetcher, Majestic-12 [Bot], TheButcher
Legend :: Administrators, Global moderators

You asked for only admins to see who is online, now you want it removed?

Birthdays you can turn off - ACP, board features and another in Load settings, set both birthday options to no.
5hocK
Registered User
Posts: 3149
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK

Re: remove whoisonline/birthdays/users online at bottom of p

by TheButcher2 » Thu Jul 03, 2014 12:20 pm

Hi Shock, not talking about the whoisonline feature.

I mean from a template design point, can the information not be shown on the page.

You know at the bottom of the page it has:

whoisonline
Birthdays
staistics.

To take all that off.

Peace
User avatar
TheButcher2
Registered User
Posts: 1037
Joined: Tue May 13, 2014 11:38 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by 5hocK » Thu Jul 03, 2014 12:26 pm

You are talking about whois onlline :o
Here you are talking about it
TheButcher2 wrote:You know at the bottom of the page it has:

whoisonline
Birthdays
staistics.

See?
In the other 2 topics viewtopic.php?f=46&t=2250281 and https://www.phpbb.com/customise/db/styl ... p-t_127246 people spent ages showing you how to hide it so only admins can see it ...Now you say you want to remove it?

This?
wi.png
5hocK
Registered User
Posts: 3149
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK

Re: remove whoisonline/birthdays/users online at bottom of p

by TheButcher2 » Thu Jul 03, 2014 12:30 pm

I am not looking to remove viewonline.php or the info from admins.

This is a design question.

At the bottom of the site it has 3 sections.

Whoisonline

Birthdays

Statistics.


I want to delete those 3 from the page.

I hope I explained it better.
User avatar
TheButcher2
Registered User
Posts: 1037
Joined: Tue May 13, 2014 11:38 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by 5hocK » Thu Jul 03, 2014 12:38 pm

Just delete the code instead of wrapping it in <!-- IF U_ACP --> and <!-- ENDIF -->
5hocK
Registered User
Posts: 3149
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK

Re: remove whoisonline/birthdays/users online at bottom of p

by TheButcher2 » Thu Jul 03, 2014 1:06 pm

Shock we are not talking about the same thing mate, not trying to be rude but I am talking about the 3 sections at the bottom of the page where these 3 images are

who is online
styles/black_pearl/theme/images/online.png

birthdays
styles/black_pearl/theme/images/birthdays.png

statistics
styles/black_pearl/theme/images/stats.png


I want to remove all 3 sections off the template.

peace
User avatar
TheButcher2
Registered User
Posts: 1037
Joined: Tue May 13, 2014 11:38 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by 5hocK » Thu Jul 03, 2014 1:19 pm

TheButcher2 wrote:Shock we are not talking about the same thing mate

We are now, it seems me and others thought you wanted only admins to see whoisonline

This (it says who is online)
wi.png

What you meant was for only admins to see viewonline.php - Slightly different and took 3 topics to find that out.

So to remove who is online you delete the code instead of using code so only admins can see it.
5hocK
Registered User
Posts: 3149
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK

Re: remove whoisonline/birthdays/users online at bottom of p

by TheButcher2 » Thu Jul 03, 2014 1:28 pm

NO that's not it mate.

Here let me do a screen capture and maybe this will help explain the 3 sections I am talking about that I want to delete off the template.
Attachments
Screen Shot 2014-07-03 at 9.25.16 AM.png
Last edited by TheButcher2 on Thu Jul 03, 2014 1:30 pm
User avatar
TheButcher2
Registered User
Posts: 1037
Joined: Tue May 13, 2014 11:38 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by 5hocK » Thu Jul 03, 2014 1:30 pm

I thought you want this removed?

wi.png


If so then in index_body.html, find and delete

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST -->
   <br clear="all" />

   <div id="viewonline_h" style="display: none;">
   <div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="ShowHide('viewonline_nh', 'viewonline_h', 'viewonline');" alt="{L_WHO_IS_ONLINE}" /><div class="tbl-title"><h4>{L_WHO_IS_ONLINE}</h4></div></div></div></div>
   <table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
   <tr><td class="row1"><span class="gensmall">&nbsp;</span></td></tr>
   </table>
   <div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
   </div>

   <div id="viewonline_nh">
   <script type="text/javascript">
   <!--
   tmp = 'viewonline';
   if(GetCookie(tmp) == '2')
   {
      ShowHide('viewonline_nh', 'viewonline_h', 'viewonline');
   }
   //-->
   </script>
   <div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="ShowHide('viewonline_nh', 'viewonline_h', 'viewonline');" alt="{L_WHO_IS_ONLINE}" /><div class="tbl-title"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></div></div></div></div>
   <table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
   <tr>
   <!-- IF LEGEND -->
      <td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
   <!-- ELSE -->
      <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
   <!-- ENDIF -->
      <td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
   </tr>
   <!-- IF LEGEND -->
      <tr><td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td></tr>
   <!-- ENDIF -->
   <tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
   </table>
   <div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
   </div>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
   <br clear="all" />

   <div id="birthdays_h" style="display: none;">
   <div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="ShowHide('birthdays_nh', 'birthdays_h', 'birthdays');" alt="{L_BIRTHDAYS}" /><div class="tbl-title"><h4>{L_BIRTHDAYS}</h4></div></div></div></div>
   <table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
   <tr><td class="row1"><span class="gensmall">&nbsp;</span></td></tr>
   </table>
   <div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
   </div>

   <div id="birthdays_nh">
   <script type="text/javascript">
   <!--
   tmp = 'birthdays';
   if(GetCookie(tmp) == '2')
   {
      ShowHide('birthdays_nh', 'birthdays_h', 'birthdays');
   }
   //-->
   </script>
   <div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="ShowHide('birthdays_nh', 'birthdays_h', 'birthdays');" alt="{L_BIRTHDAYS}" /><div class="tbl-title"><h4>{L_BIRTHDAYS}</h4></div></div></div></div>
   <table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
   <tr>
      <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/birthdays.png" alt="{L_BIRTHDAYS}" /></td>
      <td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
   </tr>
   <tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
   </table>
   <div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
   </div>
<!-- ENDIF -->

<br clear="all" />

<div id="statistics_h" style="display: none;">
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MAX}" onclick="ShowHide('statistics_nh', 'statistics_h', 'statistics');" alt="{L_STATISTICS}" /><div class="tbl-title"><h4>{L_STATISTICS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr><td class="row1"><span class="gensmall">&nbsp;</span></td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
</div>

<div id="statistics_nh">
<script type="text/javascript">
<!--
tmp = 'birthdays';
if(GetCookie(tmp) == '2')
{
   ShowHide('statistics_nh', 'statistics_h', 'statistics');
}
//-->
</script>
<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><img style="padding-top: 9px; padding-right: 6px; float: right; cursor: pointer;" src="{T_THEME_PATH}{$MG_MIN}" onclick="ShowHide('statistics_nh', 'statistics_h', 'statistics');" alt="{L_STATISTICS}" /><div class="tbl-title"><h4>{L_STATISTICS}</h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
   <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/stats.png" alt="{L_STATISTICS}" /></td>
   <td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS}&nbsp;|&nbsp;{TOTAL_TOPICS}&nbsp;|&nbsp;{TOTAL_USERS}&nbsp;|&nbsp;{NEWEST_USER}</p></td>
</tr>
<tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
</div>

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<br clear="all" />

<form method="post" action="{S_LOGIN_ACTION}">

<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></div></div></div></div>
<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
<tr>
   <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/login.png" alt="{L_STATISTICS}" /></td>
   <td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
<tr><td class="cat-bottom" colspan="2">&nbsp;</td></tr>
</table>
<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>


and find and delete

Code: Select all

<!-- ENDIF -->

<!-- INCLUDE breadcrumbs_footer.html -->
5hocK
Registered User
Posts: 3149
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK

Re: remove whoisonline/birthdays/users online at bottom of p

by TheButcher2 » Thu Jul 03, 2014 1:40 pm

It worked, thanks a lot Shock, much appreciate it mate.

Peace
User avatar
TheButcher2
Registered User
Posts: 1037
Joined: Tue May 13, 2014 11:38 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by TheButcher2 » Thu Jul 03, 2014 2:12 pm

Something went wrong Shock, the copyright section disappeared, I don;t want to violate the phpbb tos, how do I add that back please, thanks.
User avatar
TheButcher2
Registered User
Posts: 1037
Joined: Tue May 13, 2014 11:38 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by randomevo » Sat Apr 27, 2019 1:25 pm

I would like In total there are x users online :: x registered on one page, one over the other. and registration at the top of it's on page, as well as the login at the top of it's own page.

In total there are 23 users online ]<- This at the top right of an otherwise blank page.
1 registered

and Reg page the same...

and Login the same...

Where can I find the script to place these items on their own pages?

Thanx in advance.
randomevo
Registered User
Posts: 3
Joined: Sat Apr 27, 2019 12:44 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by randomevo » Sat May 04, 2019 7:27 pm

What's the quickest way to place "Only", number of registered and visitors at the top of an otherwise blank page?
Is there also a way to allow all visitors to see who is online, rather than just the registered users?
randomevo
Registered User
Posts: 3
Joined: Sat Apr 27, 2019 12:44 pm

Re: remove whoisonline/birthdays/users online at bottom of p

by randomevo » Fri May 10, 2019 11:37 pm

Wow... This place is like Stack Overflow...
randomevo
Registered User
Posts: 3
Joined: Sat Apr 27, 2019 12:44 pm