Forum Replies Created
-
AuthorPosts
-
Jessica
ParticipantYes. I used a custom menu my workaround but I don’t know if the OP has their issue fixed.
Cheers!
Jessica
ParticipantIt seems as though the code is coming back with a syntax error. The error states that the return on the last line isn’t parsing right.
add_filter('swpm_email_registration_complete_body', 'disable_rego_complete_email'); function disable_rego_complete_email($email_body) { //Empty the email body (this will disable the email) $email_body = '' return $email_body; }Jessica
ParticipantMy PHP experience is limited but not non-existent. As for the “where,” I have created a child theme, so within the functions.php file, there is a designated line where underneath you can include any auxiliary coding.
Jessica
ParticipantI definitely cannot speak on behalf of the original poster, but what I believe they are trying to accomplish is:
Let’s say a member clicks on the login link and successfully logs in and gets auto-directed to a specified page. If any time during their stay on the website, then click the link that says “Log In” again, after already being logged in; the OP would rather the member see a designated site rather than the SM default of the page stating the user’s username, and whether or not their account is active.
In this case, I decided to have a designated menu for non-logged in vs. logged in members, so that they don’t see the SM generated a page of account status, but a custom member portal. But, having another option may be beneficial.
Hopefully, that makes sense!
Jessica
ParticipantThis is something I’m looking to accomplish as well, however, I am not proficient in working with the coding. Is this something Simple Membership would be willing to work on as an added tweak?
-
AuthorPosts