admiralchip
Forum Replies Created
-
Hi!
If I understood you correctly, yeah you can use this plugin to have as many free membership levels as you like.
As for the different designation bit, as far as I know when a user subscribes for a membership level, they have a role of “subscriber”. If the different membership levels are meant to see different things like pages and posts, you could use this plugin to determine which membership level has access to which page or post. Just make use of the “Require membership” option that becomes available when you’re making a new page or post and select the membership level you want should have access to the page or post.
Good luck! Hope this helps.
Hi!
Paid Memberships Pro currently doesn’t support multi-level access so getting a new membership level would end up functioning like an upgrade but there are some workarounds:
https://www.paidmembershipspro.com/2015/02/multiple-membership-levels-per-user-pmpro-workarounds/Also, I’ve come across a plugin called Konnichiwa that you may be able to use with PmPro to possibly achieve this:
https://www.ads-software.com/plugins/konnichiwa/
I was doing some exploring and I think you can use PmPro to handle things like user registrations (maybe by making a membership level available) and then use Konnichiwa to handle other subscriptions.
Good luck and keep us posted! ??
Edit: Just thought I’d add some detail on the additional plugin option. You could create a membership level in PmPro in order to encourage users to actually register. Then you could make “subscription plans” (or membership levels) using Konnichiwa. Only registered users would be able to subscribe for those subscription plans. And as far as I know, when they sign up for more than one subscription plan, they don’t lose access to the one they previously had.
Thanks a lot. The problem is solved. I’m really grateful.
Just in case someone is encountering the same problem, the problem was coming from wp_remote_post().
Hello,
I’ve contacted you via the form on your website.
Thanks a lot for helping! ??
Thanks for the reply! I’m using the i-transform theme and the version of the plugin I have installed is 2.0.2.
Forum: Themes and Templates
In reply to: [Lawyeria Lite] Menu item don show up.I’m having the same issue. Were you able to solve it?
Last week I came across a plugin that you could use along with paid memberships pro that may be able to create this effect. You can check it out.
https://www.ads-software.com/plugins/konnichiwa/
As far as I’ve figure out, Konnichiwa controls subscriptions but not registration so if you use the ability of PmPro to register users, you can use Konnichiwa to handle multiple subscriptions that are available to a registered user. When I tried konnichiwa, I saw that a user (or users) can be subscribed to more than one subscription plan that expires on different days/weeks/months.
Try using them together. I think it could be a possible solution for things like this. Good luck!
Forum: Fixing WordPress
In reply to: wpdb prepare errorProblem solved.
Forum: Fixing WordPress
In reply to: wpdb prepare errorAlright, I figure something out:
I changed this:
else { $insert = "INSERT INTO " . $table_name . " (number, ip, date) " . "VALUES ('" . $wpdb->escape($sms_number) . "','" . $_SERVER["REMOTE_ADDR"] . "',NOW())"; $results = $wpdb->query($wpdb->prepare( $insert ));
to this:
} else { $sms_number=$wpdb->escape($sms_number); $wpdb->insert($table_name, array("number" => $sms_number, "ip" => $_SERVER["REMOTE_ADDR"], "date" => current_time('mysql', 1)));
and it got rid of the error. I followed this:
https://stackoverflow.com/questions/18096555/how-to-insert-data-using-wpdb
and this:
https://stackoverflow.com/questions/8566603/wordpress-wpdb-insert-mysql-now
I won’t mark this as resolved for now just in case something else turns up. I’ll post updates.
Forum: Fixing WordPress
In reply to: wpdb prepare errorOh and if it’s gonna be useful, here’s a few more lines of code from the addsubscriber.php page:
$exists = $wpdb->get_results("SELECT number FROM " . $table_name . " WHERE number = '".$wpdb->escape($sms_number)."'"); if(($exists[0]->number == $sms_number) OR (($_POST['sms_unsubscribe'] == 'true') and ($exists[0]->number == $sms_number))) { if(($_POST['sms_unsubscribe'] == 'true') and ($exists[0]->number == $sms_number)) { $delete = "DELETE FROM " . $table_name . " WHERE number = '".$wpdb->escape($sms_number)."'"; $results = $wpdb->query($wpdb->prepare( $delete )); $sms_submitted = "<font color='green'>Success! You are unsubscribed.</font>"; } elseif(isset($_POST['sms_unsubscribe']) and ($exists[0]->number <> $sms_number)) { $sms_submitted = "<font color='red'>Your number does not exist.</font>"; } else { $sms_submitted = "<font color='red'>You have already subscribed.</font>"; } } else { $insert = "INSERT INTO " . $table_name . " (number, ip, date) " . "VALUES ('" . $wpdb->escape($sms_number) . "','" . $_SERVER["REMOTE_ADDR"] . "',NOW())"; $results = $wpdb->query($wpdb->prepare( $insert )); $sms_submitted = "<font color='green'>Thank you for subscribing.</font>"; } } else { $sms_submitted = "<font color='red'>Please enter a valid cellphone number.</font>"; } } else { $sms_submitted = "<font color='red'>Please select your country</font>"; } print $sms_submitted; }
And here is line 1152 from the wp-db.php file:
public function prepare( $query, $args ) {
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Cannot edit standard newsletterHi,
I just ended up deleting the standard newsletter. I opened this as a separate topic in order not to mix issues.
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Automatic newsletters are not sentHello,
I’ve still not found a solution to this problem. I understand that you guys are really busy but I would really appreciate some help.
My newsletter is set to send at 1pm on the 1st of every month. I tried setting a cron job to work every 15 minutes but that didn’t work. So I tried setting a cron job to work on the 1st of every month at 1pm. That didn’t work either. I read as many tutorials on cron jobs as I could find but it’s just not working so it’s getting kinda frustrating. I’ve tried adjusting the time the newsletter is supposed to send and setting a cron job accordingly just so that I could see if the newsletter eventually gets sent but it never did.
Aside from that, it’s an awesome plugin. Once again I really need some help with this.
Thanks in advance!
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Automatic newsletters are not sentI tried setting up a cron job manually using crontab but that didn’t work either.
I’ll really appreciate it if someone can help me out.
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Automatic content and subcategoriesThanks for your reply.
@huzan to achieve that you’ll have to uncheck “Enable registration on the ‘Checkout’ page” and allow PMPro to handle user registration. On the woocommerce thank you page after a successful transaction, you can put a link to the PMPro registration form (which actually is the link to the intended membership level). That way only users who had a successful transaction would be able to register.
You can check these out to edit the woocommerce thank you page: (I’ve not tried these though but you can try them)
https://campbloomer.com/resolved-woocommerce-redirect-custom-thank-page/