OK, the above didn’t work in the end, either. It needed some more adjusting, and here is what worked in the end:
if ((array_key_exists(‘user_email’, $_GET) && secure_invites_is_valid_email($_GET[‘user_email’]))|| secure_invites_is_valid_email(trim(@$_POST[“user_email”]))) {
$valid = true;
if (array_key_exists(‘user_email’, $_GET)) {
$_POST[‘user_email’] = $_GET[‘user_email’];
}
}
Also, around line 1390 the “?” needs to be changed to “&user_email” when replacing “[signuplink]”.
Cheers!
OK, I’ve confirmed that the problem is related to paths.
In the directory structure I outlined above, I made a symbolic link inside wordpress/wp-content/plugins/ to content/plugins/rb-internal-links (with the same name). Then the plugin seems to work fine.
To get the wysiwyg to work, I also added a link to wordpress/wp-load.php in the root directory.
Otherwise I have no complaints, it’s a great plugin! You should probably generalize the paths used, though, so that custom directory structure like mine don’t break it. Bugfix?