This topic has 20 replies, 5 voices, and was last updated 9 years by LuukDriessen.
-
Author
Tagged: login redirect
-
July 20, 2015 at 06:51 #69040
procinc
ParticipantHello,
After activating an account, the login link redirects users to the backend login page. How can we change this to the frontend login?
This is the page/link I’m referring to:
Your account is now active!
Your account was activated successfully! You can now log in with the username and password you provided when you signed up.
July 20, 2015 at 13:42 #69066sharmstr
ModeratorCopy /kleo/buddypress/members/activate.php to your child theme and add the kleo-show-login class to the login link.
Change this line
COPY CODE<p><?php printf( __( 'Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.', 'buddypress' ), wp_login_url( bp_get_root_domain() ) ); ?></p>
to this
COPY CODE<p><?php printf( __( 'Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.', 'buddypress' ), wp_login_url( bp_get_root_domain() ) ); ?></p>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 20, 2015 at 18:44 #69115procinc
ParticipantThank you very much, but I think you have the same string there twice:
<p><?php printf( __( ‘Your account was activated successfully! You can now log in with the username and password you provided when you signed up.’, ‘buddypress’ ), wp_login_url( bp_get_root_domain() ) ); ?></p>
is the same as
<p><?php printf( __( ‘Your account was activated successfully! You can now log in with the username and password you provided when you signed up.’, ‘buddypress’ ), wp_login_url( bp_get_root_domain() ) ); ?></p>
July 20, 2015 at 23:35 #69164sharmstr
ModeratorThe site screwed up the links. Here’s a text file with them. Basically all you are doing is adding a class that will popup up the kleo login modal when clicked.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.July 29, 2015 at 15:27 #70553bruce7075
ParticipantHi,
I have changed it as shown in the show-login.txt. But, it still redirects to backend login page.
Please kindly help. Thanks a lot!
July 29, 2015 at 15:35 #70554sharmstr
ModeratorNeed access to your site
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 29, 2015 at 16:06 #70560sharmstr
ModeratorWhen you copy files to your child theme, you need to retain the directory structure. So instead of /kleo-chils/activate.php you need to put it in /kleo-child/buddypress/members/activate.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
September 22, 2015 at 18:18 #78937szmek9
ParticipantI did everything as you wrote and now I have this error showing up after Registration. I attatch also activate.php
Attachments:
You must be logged in to view attached files.September 22, 2015 at 18:20 #78941szmek9
Participant*.PHP is not permitted so I upload *.txt
Attachments:
You must be logged in to view attached files.September 22, 2015 at 18:33 #78946sharmstr
ModeratorTurn off debugging: https://codex.wordpress.org/WP_DEBUG
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
September 22, 2015 at 18:40 #78951szmek9
Participantbut I didn’t receive activation e-mail also. I don’t know if it solves that.
I hava had this setting set to false before
define( ‘WP_DEBUG’, false );September 22, 2015 at 18:43 #78953sharmstr
ModeratorThat has nothing to do with activation email routines. Remove the code and see if it resolves your issue.
I just tested it on two sites and it works perfectly so maybe you have a plugin conflict or something.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
September 22, 2015 at 19:11 #78964szmek9
ParticipantI turned off most of my plugins, I left only those that was with Kleo theme.
Still nothing. I basically can’t register now.Attachments:
You must be logged in to view attached files.September 22, 2015 at 19:15 #78967sharmstr
ModeratorDid you remove the code?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
September 22, 2015 at 19:36 #78980sharmstr
ModeratorIf you’ve removed it, and it still not working, then you’ve had to have done something else, right? Do you have caching or a cdn in place? Have you purged those?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.September 22, 2015 at 19:37 #78983szmek9
Participantok, I solved this problem. It was because of the Translation to Polish. Next I willgo back to this activate.php and see how it goes
April 5, 2016 at 19:39 #114723LuukDriessen
ParticipantI understand that this is for the KLEO theme.
Which structure/files do I need to edit on my Sweetdate Theme?
This solution would be great!
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.