[Split] Remove login/logout/register

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
VED036
Registered User
Posts: 64
Joined: Tue Jul 25, 2023 9:02 am
Location: Deverkovil

[Split] Remove login/logout/register

Post by VED036 »

Hello.

It is curious.

I removed all contents in ucp_profile_reg_details.html file and uploaded it into the Template folder on the server.

I cannot notice any change on the index page. Could this action have created any havoc anywhere else?

Could anyone in the know, please explain?
Last edited by Mick on Fri Feb 16, 2024 12:54 pm, edited 1 time in total.
Reason: Split from https://www.phpbb.com/community/viewtopic.php?t=2285501
User avatar
warmweer
Jr. Extension Validator
Posts: 11983
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Remove login/logout/register

Post by warmweer »

So basically you now have a empty file which you uploaded somewhere ("Template folder on the server" isn't exactly precise info).
What's the idea behind this?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
VED036
Registered User
Posts: 64
Joined: Tue Jul 25, 2023 9:02 am
Location: Deverkovil

Re: Remove login/logout/register

Post by VED036 »

warmweer wrote: Fri Feb 16, 2024 10:24 am So basically you now have a empty file which you uploaded somewhere ("Template folder on the server" isn't exactly precise info).
What's the idea behind this?
I wanted to remove the login feature. I had installed OneAll Social Login.

The location of the empty ucp_profile_reg_details.html file is its default location. That is, styles/prosilver/templates.

After uploading the empty file, in its default location, I do not see any change in the website.

The log in button and log in form are still visible on the Index page.
User avatar
warmweer
Jr. Extension Validator
Posts: 11983
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Remove login/logout/register

Post by warmweer »

VED036 wrote: Fri Feb 16, 2024 12:38 pm
The log in button and log in form are still visible on the Index page.
You probably need to clear board cache.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26880
Joined: Fri Aug 29, 2008 9:49 am

Re: [Split] Remove login/logout/register

Post by Mick »

Are you developing an extension to do this or are you looking to do file edits?
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53593
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Remove login/logout/register

Post by Brf »

VED036 wrote: Fri Feb 16, 2024 12:38 pm
I wanted to remove the login feature. I had installed OneAll Social Login.

The location of the empty ucp_profile_reg_details.html file is its default location.
That file has nothing to do with logging in or registering. That is the Profile/Edit-account-settings page of the User control panel.
VED036
Registered User
Posts: 64
Joined: Tue Jul 25, 2023 9:02 am
Location: Deverkovil

Re: [Split] Remove login/logout/register

Post by VED036 »

Mick wrote: Fri Feb 16, 2024 12:56 pm Are you developing an extension to do this or are you looking to do file edits?
I posted in the topic as a reply to the discussion. I think I got the file name from that topic.
Brf wrote: Fri Feb 16, 2024 1:10 pm
That file has nothing to do with logging in or registering. That is the Profile/Edit-account-settings page of the User control panel.
Could you please tell how to remove the login set up from the site?
Last edited by P_I on Fri Feb 16, 2024 2:32 pm, edited 1 time in total.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53593
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: [Split] Remove login/logout/register

Post by Brf »

Well, the login form on the index page is in index_body.html, for instance.
VED036
Registered User
Posts: 64
Joined: Tue Jul 25, 2023 9:02 am
Location: Deverkovil

Re: [Split] Remove login/logout/register

Post by VED036 »

Brf wrote: Fri Feb 16, 2024 2:34 pm Well, the login form on the index page is in index_body.html, for instance.
I have opened the index_body.html file.

However, I have no idea on what to delete or to edit. Maybe some information in this regard might help.


I have found this page: viewtopic.php?t=1082415

Let me check and see if this would work.
Last edited by VED036 on Fri Feb 16, 2024 3:29 pm, edited 1 time in total.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53593
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: [Split] Remove login/logout/register

Post by Brf »

Look for the form with the S_LOGIN_ACTION. The register link is in the same block
VED036
Registered User
Posts: 64
Joined: Tue Jul 25, 2023 9:02 am
Location: Deverkovil

Re: [Split] Remove login/logout/register

Post by VED036 »

Brf wrote: Fri Feb 16, 2024 3:29 pm Look for the form with the S_LOGIN_ACTION. The register link is in the same block
This has worked perfectly. However, there is still a Login link on the top right. What should be done to remove that, please?
User avatar
janus_zonstraal
Registered User
Posts: 6615
Joined: Sat Aug 30, 2014 1:30 pm

Re: [Split] Remove login/logout/register

Post by janus_zonstraal »

If it is in the header, than look in the file overal_header.php from your style.
Sorry! My English is bat ;) !!!
User avatar
axe70
Registered User
Posts: 751
Joined: Sun Nov 17, 2002 10:55 am
Location: Italy
Name: Alessio

Re: [Split] Remove login/logout/register

Post by axe70 »

VED036 wrote: Fri Feb 16, 2024 6:07 am Hello.

It is curious.

I removed all contents in ucp_profile_reg_details.html file and uploaded it into the Template folder on the server.

I cannot notice any change on the index page. Could this action have created any havoc anywhere else?

Could anyone in the know, please explain?
It is not curious: it is that probably would be better that you set, into ACP, the option Recompile Stale Templates to YES, while you mess up with templates files. Then reset to NO into online sites when changes applied.
Do not know if someone reminded you this aspect below and/or you did it. It's probably the reason why you do not see any change while you edit template files (or you are editing a wrong template file)
Do not take me too serious
Anyway i do not like Discourse
VED036
Registered User
Posts: 64
Joined: Tue Jul 25, 2023 9:02 am
Location: Deverkovil

Re: [Split] Remove login/logout/register

Post by VED036 »

axe70 wrote: Sat Feb 17, 2024 8:59 am
It is not curious: it is that probably would be better that you set, into ACP, the option Recompile Stale Templates to YES, while you mess up with templates files. Then reset to NO into online sites when changes applied.
Do not know if someone reminded you this aspect below and/or you did it. It's probably the reason why you do not see any change while you edit template files (or you are editing a wrong template file)
I must admit that this is a new information for me. And possibly many others users here would find it useful.
VED036
Registered User
Posts: 64
Joined: Tue Jul 25, 2023 9:02 am
Location: Deverkovil

Re: [Split] Remove login/logout/register

Post by VED036 »

janus_zonstraal wrote: Sat Feb 17, 2024 7:42 am If it is in the header, than look in the file overal_header.php from your style.
Thank you, but couldn't figure out what to edit!

Return to “phpBB Custom Coding”