-
Author
-
January 25, 2018 at 12:39 #186823axcelluloidParticipant
Greetings,
when a new member signs up I would love to redirect him/her to a site where it is written something like “thank you for registering -. your registration is pending” or “you have to activate via your email” …
unfortunately I have NO clue how to do so 🙁
January 26, 2018 at 17:11 #186912RaduModeratorHi,
Found the plugin that prevents that to display that message
After signup it’s shown like this.
There was a plugin that causes that named “BuddyPress Registration widget” that breaks that, also i’ve de-activated the peters redirect plugin and i’ve changed the registration page from home to signup page from wp-admin -> settings -> buddypress -> pages
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 1, 2018 at 10:20 #187446axcelluloidParticipantHello again,
first of all thank you for your help. I tried to sign up a new member but unfortunately I still got no message that the registration has took place. Is there a way to show this? A popup or a separate page where you can tell the fellow that the registration has to be approved or what the next steps are?
Thank you very much for your feedback,
AxlFebruary 2, 2018 at 18:38 #187559RaduModeratorHi,
I see,
Just follow this guide : https://buddydev.com/buddypress/redirect-users-to-welcome-page-after-successful-registration-on-your-buddypress-based-social-network/
Create a page with your desired welcome message and add it into the snippet.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 5, 2018 at 14:49 #187825RaduModeratorHi,
Now it’s first time when you say something about facebook login, in you initial request you asked for a redirect immediately after user signup, maybe i’ve not understand correctly or you had not asked correctly what you need to achieve, so please tell me again in detail what you need to achieve.
If it’s about redirect after signup then just add this snippet
The function will have to be added in wp-content/themes/kleo-child/functions.php and also the child theme should be enabled.
COPY CODEadd_action( 'bp_complete_signup', 'buddydev_redirect_after_signup' ); function buddydev_redirect_after_signup() { $page = 'welcome';//your page slug bp_core_redirect( site_url( $page ) ); }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 5, 2018 at 16:15 #187835axcelluloidParticipantHi,
as much as I understand you can signup with facebook or manually – so both ways should work.
So if you register manually a popup or site should be shown that an email has been sent.of course if you sign up on facebook there will be no email to answer. But you need a redirection after signing up if both methods are offered. 🙂
Cheers,
A.February 5, 2018 at 16:17 #187836axcelluloidParticipantPS.:
I tried to put the snippet into the functions.php of the child theme via editor:
Kommunikation mit der Website, um auf fatale Fehler zu prüfen, nicht möglich, daher wurde die PHP-Änderung rückgängig gemacht. Du wirst deine veränderte PHP-Datei mit anderen Mitteln hochladen müssen, wie per SFTP.
Wordpress tells me something about a fatal error. 🙁
February 5, 2018 at 18:00 #187845RaduModeratorHi,
Try to copy and paste the code from here : https://pastebin.com/raw/EYrWNs14
If still get the same error, add it via ftp by editing directly the file wp-content/themes/kleo-child/functions.php
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 5, 2018 at 21:14 #187890axcelluloidParticipantIt would be great to have a ragistration which works – otherwise the complete site makes no sense :/
February 6, 2018 at 16:45 #187961RaduModeratorHi,
I see in this case you will have to overwrite the register page
Go to wp-content/themes/kleo-child/buddypress/members/ create file named register.php in that you will paste this : https://pastebin.com/raw/3aHxsXs0
In the market area you will have to add your page slug where to be redirected.
NOTE: Child theme needs to be installed and activated.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 6, 2018 at 16:59 #187962axcelluloidParticipantOk, and if there is no such path in the child version (screenshots)? Child theme up and runnung but no path can be found – so I make it in the main theme?
Cheers,
AAttachments:
You must be logged in to view attached files.February 6, 2018 at 17:54 #187975RaduModeratorCreate the missing folders
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 6, 2018 at 23:29 #188000RaduModeratorHi,
Please provide FTP credentials in a private to ca do that for you, but before that install the child theme and activate it
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 7, 2018 at 16:23 #188032RaduModeratorHi,
The solution it’s corrent if i test on mine it works after i register from register page i’m redirected but on you when you sign-up always you are redirected to the homepage not sure why, tried to take again a look to wp-admin and the credentials not woks.
Maybe there will be needed to do turn off plugins and maybe to change the homepage if it’s needed temporary just to test.
Let me know
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 7, 2018 at 18:14 #188047axcelluloidParticipantHi,
i am testiing every plugin right now – after deactivating everything the redirection worksBut what happens after loggging out? In my case I still can use everything until I click on the banner
February 7, 2018 at 18:50 #188052RaduModeratorWant to redirect in a certain place after logout ?
If yes the function will have to be added in wp-content/themes/kleo-child/functions.php and also the child theme should be enabled.
Replace my-page with your page slug
COPY CODEfunction SQ7R_logout_redirect(){ wp_redirect( home_url('/my-page/') ); exit(); } add_action('wp_logout','SQ7R_logout_redirect');
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 7, 2018 at 20:03 #188062axcelluloidParticipantare you sure? unfortunately the rediection dont work
February 8, 2018 at 15:57 #188124RaduModeratorWork for me just i’ve tested
COPY CODEadd_action( 'wp_logout', 'SQ7R_logout_redirect'); function SQ7R_logout_redirect(){ wp_redirect(site_url( '/welcome/' )); exit(); }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 8, 2018 at 18:23 #188146RaduModeratorYou’re welcome
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.