batman42ca
Forum Replies Created
-
My problem runs a little deeper than I thought. Profile Builder posts the login form to wp-login.php but I’m not being logged in. I’m simply presented with the empty WordPress login form rendering the Profile Builder login form no better than a simple link to wp-login.php. Have I misconfigured something? Should posting the Profile Builder form to wp-login automatically log me in or should the form not be posted there to begin with?
I already showed you. Use the code that I posted to remove the user’s email address from the easymail unsubscribed list. I never found a way to prevent the email address being added so I just make sure I remove it after it’s added.
It was a while ago but looking at my code, I see I do the following after creating the user:
global $wpdb; // this is a global WordPress variable $email = "[email protected]"; // whatever the user's email address is $wpdb->query($wpdb->prepare("DELETE FROM {$wpdb->prefix}easymail_unsubscribed WHERE email=%s",$email));
That’s exactly what I was looking for. Thank you.
Thanks for the link, but on the logout page within Profile Builder there is a final link I can click which logs me out which looks something like this:
Is there some way I can directly generate that link myself? I’ve read that I need to generate that wpnonce value. How do I generate the same one that Profile Builder generates?
Forum: Plugins
In reply to: [Contact Form 7] Link to another page after submitI haven’t tried this but it might be what you are looking for:
https://www.ads-software.com/plugins/contact-form-7-3rd-party-integration/
From the documentation it looks like this allows you to send the form to any arbitrary URL and process it there.
In the FAQ section of the plugin page, it suggests that there is some demo code you could look at that might help.
The documentation says it’s under the catalog tab but, at least with my version of WooCommerce 2.1.3, there is no such tab. It’s actually under the Products Tab under the “Add to Cart” configuration check boxes.
Ok, thanks Gabriel.
Forum: Plugins
In reply to: [Nav Menu Roles] Detect if page is part of hidden menuThanks. That’s exactly what I needed to know. The rest of what I need to know is a WordPress issue, rather than a plugin issue.
A list of extra features for the paid version is on the plugin page itself. Just scroll down.
Forum: Plugins
In reply to: [ALO EasyMail Newsletter] syntax error DOCTYPE htmlI found the solution. The problem had little to do with ALO EasyMail.
I had some code in place that prevented anyone but an admin from accessing the WordPress Admin area. This also prevented Ajax calls to wp-admin/admin-ajax.php which is used by ALO EasyMail. The solution was to check to ensure I wasn’t making a AJAX call before I prevent access to any admin files like this:
if (defined('DOING_AJAX') && DOING_AJAX) { // AJAX is being called, permit access }
Forum: Plugins
In reply to: [ALO EasyMail Newsletter] Unsubscribe and bulk importFor me, neither scenario is likely true. I’ve received more than one newsletter since I unsubscribed. I would have used the admin interface to unsubscribe.
So my situation is that my email is not currently in the receiver list. My email is in the unsubscriber list but somehow I’ve still received newsletters.
I know this seems like a very unlikely bug. I can’t imagine your code doing anything other than simply looping through the list of email addresses on the subscriber list yet somehow, at least one address not on that list in the database keeps receiving newsletters.
I should also mention that I subscribed by calling your code directly using alo_em_add_subscriber_to_list()
The mailing list was also created by directly using:
alo_em_get_mailinglists()
alo_em_save_mailinglists()Forum: Plugins
In reply to: [ALO EasyMail Newsletter] Unsubscribed but still receiving mailOk, thanks for the update. I just subscribed to the other thread.
Forum: Plugins
In reply to: [ALO EasyMail Newsletter] Automating newslettersThe last post is 2 months old but in case it ever gets answered, I’m looking for functions I can call that will enable my software to set the content of a newsletter, select the mailing list for that newsletter and then add the newsletter to the mailing queue (so that a cron job can send eventually it out).
In Alo-easymail-functions.php see the function:
alo_em_add_new_batch()
But it’s commented out. I also see the following that look like they might help:
alo_em_zirkuss_newsletter_content()
alo_em_send_newsletter_to()But I’m not sure if these are the functions I should be using and if so, how.
Forum: Plugins
In reply to: [Slideshow] css changes when logged outFor now, I think I’m just going accept this as an anomaly and use the static css file that I created. I have your plugin working just fine on a completely different web site.
Thanks again for all your help.