Forum Replies Created
-
Author
-
May 10, 2016 at 20:56 in reply to: Stop Admin Email Notification for “New message from” members to members. #121228
infinitelinx
ParticipantNot marked as solutioninfinitelinx
ParticipantWhat page do I need to open to edit the button link to the register page? Thanks.
infinitelinx
ParticipantOk, I clicked on that thread and copied his code and it worked. It looks like the exact same code but I think some characters were converted by email so I copied and pasted the wrong one. Thanks. This seems to work now.
infinitelinx
ParticipantI entered the following in sweet-child/functions.php and changed 9 to 1 because that is the ID for the FREE membership level setup in PMPRO. When I do this and try to log out of WP so I can register and test it out, I get the attached error. Also, you stated “as provided earlier:” however, I don’t see anything about that in the SweetDate documentation. Thank you.
<?php
/**
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*//**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/add_action(‘user_register’, ‘kleo_pmpro_default_level’);
function kleo_pmpro_default_level($user_id) {
pmpro_changeMembershipLevel(1,$user_id);
}?>
Attachments:
You must be logged in to view attached files. -
AuthorPosts