linda32118
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Bulk Discount for User GroupsFound this code to remove a plugin based on user role – but it is not working?
add_action(‘admin_init’, ‘my_filter_the_plugins’);
function my_filter_the_plugins()
{
global $current_user;
if (in_array(‘wholesale_customer’, $current_user->roles)) {
deactivate_plugins( // deactivate for wholesale_customer
array(
‘/woocommerce-bulk-discount/woocommerce-bulk-discount.php’
),
true, // silent mode (no deactivation hooks fired)
false // network wide
);
} else { // activate for those than can use it
activate_plugins(
array(
‘/woocommerce-bulk-discount/woocommerce-bulk-discount.php’
),
”, // redirect url, does not matter (default is ”)
false, // network wise
true // silent mode (no activation hooks fired)
);
}
}Suggestions?
Forum: Plugins
In reply to: [WooCommerce Bulk Discount] Bulk Discount for User GroupsI need the same capability – did you ever get an answer to this. I need the bulk discount to not apply to wholesale users.
Forum: Plugins
In reply to: [WooCommerce] Order Date Not Appearing in Body of Completed Order E-MailFigured it out – have to replace %s with
<?php echo date_i18n( get_option( ‘date_format’ ), strtotime( $order->order_date ) ); ?>
Forum: Plugins
In reply to: [Simple Membership] Expiration Date DisplayThanks for including this in the newest update! You guys are awesome.
Is there a way to include expire_date in the registration e-mail?Forum: Plugins
In reply to: [Simple Membership] Quick QuestionIt is the page that appears after a visitor completes this page.
/membership-join/membership-registration/
Forum: Plugins
In reply to: [Simple Membership] Expiration Date DisplayThanks – I managed to figure out the date someone joined.
Forum: Plugins
In reply to: [Gallery Bank - Wordpress Photo Gallery Plugin] Totally blockedMine just magically started working again!
Forum: Plugins
In reply to: [Gallery Bank - Wordpress Photo Gallery Plugin] Totally blockedI am experiencing the same issue. It worked fine last night but when I went in today – I am stuck on “Gallery Bank Licensing Module” – also when I tried to go to the site – https://tech-banker.com/ – I get an error saying their com has expired at Hostgator. Tried their Pro Forum and it also errors out.
Forum: Plugins
In reply to: What Happened To Gallery Bank ??I installed it yesterday and it worked fine last night. Went in today and it keeps defaulting to the licensing page? Anyone else having this problem?
Forum: Plugins
In reply to: [Print, PDF, Email by PrintFriendly] Twitter Button?Thanks – love your plugin. Looks like I will be purchasing the “ad free” version for a client.
Forum: Reviews
In reply to: [Print, PDF, Email by PrintFriendly] Nothing but an advertising mechanismIf you don’t want the ads – I would buy the yearly service. To me, it is a fair exchange they get the ad revenue and I get the free service for the site.
Thanks – I will be using the Pro version for the site. I managed to customize the blog post myself and get the custom fields appear in the format and order that I need them in using this:
<?php echo get_post_meta( $post->ID, 'cf_remail', true ); ?>
As to the e-mail, I am trying to modify the “notify admin” routine to change the $to to the cf_remail field and then do a carbon copy to the admin and mofify the body text to fit my needs.
I can get it to send a CC – but I can’t figure out how to call the cf_remail into the $to section. I have tried every version of the get_post_meta no success.
I am planning on purchasing the PRO version for the site. However, right now I am working on a development server and will need to move it to the client’s server. I note in the forum that the PRO version is licensed to a particular com and that it is presents problems when the site is moved, so I am waiting till I move the site to buy the PRO for the client.
Any ideas?
Solved the problem!
Forum: Themes and Templates
In reply to: Themes Auto UpdatingOkay – think I got to the bottom of what occurred. Spoke with Hostmonster. On April 29th – they automatically updated the Super Cache plugin. They maintain that that is all that they updated. However, on all of the WP installations that I have with Super Cache installed, all the other plugins and themes were updated. The installations w/o Super Cache did not experience any updating.
Forum: Themes and Templates
In reply to: Themes Auto UpdatingI am with Hostmonster. The theme is now solved because I created “child themes”.
But it also updated some of my plugins – which also created a problem.