Remove statistics and last registered user for guests

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
p0nzo
Registered User
Posts: 7
Joined: Wed Jun 28, 2006 2:10 am
Location: QC, Canada

Remove statistics and last registered user for guests

Post by p0nzo » Mon Jan 30, 2017 4:18 am

Hello,

I currently have the forum to force you to login if you are attempting to access the forum as a guest.

I managed to get most of all the info off that page from the settings but I can't seem to get rid of the site statistics for some reason, including the name of the last registered user.

I did not seem to find any options in the control panel, anybody know how to fix this?

Currently running on version 3.2

Thanks!

janus_zonstraal
Registered User
Posts: 2518
Joined: Sat Aug 30, 2014 1:30 pm

Re: Remove statistics and last registered user for guests

Post by janus_zonstraal » Mon Jan 30, 2017 8:23 am

ACP => General => load settings => General options

Enable online guest listings in viewonline:
Sorry! My English is bat ;) !!!

p0nzo
Registered User
Posts: 7
Joined: Wed Jun 28, 2006 2:10 am
Location: QC, Canada

Re: Remove statistics and last registered user for guests

Post by p0nzo » Mon Jan 30, 2017 1:02 pm

I thought of looking there but was unable to find anything that would disable statistics for guests. :(

janus_zonstraal
Registered User
Posts: 2518
Joined: Sat Aug 30, 2014 1:30 pm

Re: Remove statistics and last registered user for guests

Post by janus_zonstraal » Mon Jan 30, 2017 1:23 pm

Then you have to delete it out of the overall_footer.html file of your style.
Sorry! My English is bat ;) !!!

User avatar
apiiitraining
Registered User
Posts: 6
Joined: Thu Feb 23, 2017 10:55 pm
Name: Sam Adams

Re: Remove statistics and last registered user for guests

Post by apiiitraining » Fri Feb 24, 2017 1:19 am

I'm having the same issue. I was looking for the following, but the old code is not there

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST -->
   <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
   <p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
   <!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
   <h3>{L_BIRTHDAYS}</h3>
   <p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
<!-- ENDIF -->

<!-- IF NEWEST_USER -->
   <h3>{L_STATISTICS}</h3>
   <p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
<!-- ENDIF -->

User avatar
Lumpy Burgertushie
Registered User
Posts: 64671
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Remove statistics and last registered user for guests

Post by Lumpy Burgertushie » Fri Feb 24, 2017 6:42 am

it never was in the overall_footer.html file, it was and is in the index_body.html file.

this part, the same in 3.1 as in 3.2

Code: Select all

<!-- IF NEWEST_USER -->
	<div class="stat-block statistics">
		<h3>{L_STATISTICS}</h3>
		<p>
			<!-- EVENT index_body_block_stats_prepend -->
			{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}
			<!-- EVENT index_body_block_stats_append -->
		</p>
	</div>
<!-- ENDIF -->

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

HaraldM
Registered User
Posts: 1
Joined: Sat Jul 14, 2018 1:06 pm

Re: Remove statistics and last registered user for guests

Post by HaraldM » Sat Jul 14, 2018 1:13 pm

unfortunately my index body html is like this
{LAST_VISIT_DATE}{CURRENT_TIME}
{CURRENT_TIME}
{L_MARK_FORUMS_READ}
{L_LOGIN_LOGOUT}  •  {L_REGISTER}
{L_USERNAME}{L_COLON} {L_PASSWORD}{L_COLON} {L_FORGOT_PASS} | {L_LOG_ME_IN} {S_LOGIN_REDIRECT}
{L_WHO_IS_ONLINE}
{L_WHO_IS_ONLINE}
{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})
{RECORD_USERS}

{LOGGED_IN_USER_LIST} 
{L_LEGEND}{L_COLON} {LEGEND}
{L_BIRTHDAYS}
{L_CONGRATULATIONS}{L_COLON} {birthdays.USERNAME} ({birthdays.AGE}), {L_NO_BIRTHDAYS}
{L_STATISTICS}
{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}

can you tell me what I have to change?

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3050
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Remove statistics and last registered user for guests

Post by HiFiKabin » Sat Jul 14, 2018 4:16 pm

Firstly you are viewing the file in your browser (which does not show the code referenced above) and secondly you can now do this with an extension https://www.phpbb.com/customise/db/exte ... west_user/

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: Mannix_, Tbot [Bot], Yandex [Bot] and 40 guests