superpotion
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Xprofile Custom Field Types] Image shown as link instead of imageThanks @buddydev, that worked perfectly!
Denis
The function returns true or false, usage examples:
pmpro_hasMembershipLevel(1)
pmpro_hasMembershipLevel(‘Gold’)
pmpro_hasMembershipLevel(array(0,2,’Silver’))See: https://www.paidmembershipspro.com/documentation/require-membership-function/
You can use the plugin that I mentioned above (https://www.ads-software.com/plugins/menu-items-visibility-control/), building conditional tags using PMPro’s
pmpro_hasMembershipLevel()
function.Forum: Plugins
In reply to: [BuddyPress Docs] WSOD when listing all docsUnderstood. With attachments disabled it flys!
Forum: Plugins
In reply to: [BuddyPress Docs] WSOD when listing all docsThanks Boone – I was able to get the ‘all docs’ listing after I moved the site to a more powerful server.
It still took a while to load and, yes, implementing the solution as outlined in the commonsinabox.org article improved the load times significantly.
I cannot disable attachments because of the way we use Buddypress Docs – The document store holds mainly file attachments, and each Buddypress Doc is used like a category: i.e. we create a Buddypress Doc, say, ‘HR forms’ and the attach a number of PDFs like ‘leave-form.pdf, ‘expense-claim-form.pdf’, an so on.
Forum: Fixing WordPress
In reply to: Different static front page for logged in and logged out users@producist… As long as it runs before the site loads the code could be placed anywhere – for example in your theme’s functions.php. Better still, write a simple plugin to do it
function switch_homepage() { ...insert Henry's code here... } add_action( 'init', 'switch_homepage' );
Once the init hook runs the user should already be authenticated.
Cheers
DenisIt also whacked my slider. Rolled back to 1.8.
Forum: Fixing WordPress
In reply to: Media Library items missing, but files on diskThanks Casey. WPRanger, I’ll give your plugin a try – it looks promising.
Forum: Plugins
In reply to: [Contact Form 7] Get Failure Message, But mail can be sent by other pluginsThanks for sticking with this Takayuki.
I removed the tags and instead used:
To: [email protected]
From: [email protected]Then also:
To: Info <[email protected]>
From: Webforms <[email protected]>And also:
To: [email protected]
From: Webforms <[email protected]>…and still get failure messages.
I even tried using my own gmail address in the To field, without success. I’m switching on debug in WP – it’s a live site so will have to be quick – maybe get a clue what’s going on.
Denis
Forum: Plugins
In reply to: [Contact Form 7] Get Failure Message, But mail can be sent by other pluginsHere it is: https://www.dqs.co.za/contact/request-a-quote/
Forum: Plugins
In reply to: [Contact Form 7] Get Failure Message, But mail can be sent by other pluginsIn Mail I have:-
To: [email protected]
From: [your-name] <[your-email]>In Mail (2) I have:-
To: [your-name] <[your-email]>
From: Example <[email protected]>If I disable Mail(2) I still get the error.
Forum: Plugins
In reply to: [WooCommerce] Are some settings gone for good in WC 2.1.x?I was looking for a setting for the number of product columns and the number of products displayed per page. You’re right, it was not part of WooCommerce, but after some investigation I found that it was put under the Catalog tab by a plugin – “WooCommerce Product Archive Customiser”. Of course, the settings disappeared when I upgraded. Apologies for the red herring!
Forum: Plugins
In reply to: [WooCommerce] Are some settings gone for good in WC 2.1.x?Ah, sorry Roy, I wasn’t clear. Point is: what happened to all the settings under the Catalog tab?
Forum: Plugins
In reply to: [WooCommerce] Are some settings gone for good in WC 2.1.x?https://docs.woothemes.com/document/configuring-woocommerce-settings/#section-2
And a screenshot here: https://docs.woothemes.com/wp-content/uploads/2013/09/shipping-settings-address.png – look for the ‘Catalog’ tab, second from the left at the top
Forum: Plugins
In reply to: [WooCommerce] Are some settings gone for good in WC 2.1.x?Thanks Roy, I didn’t spot it at first! What happened to the settings that were in the Catalog Tab (product archive settings: products per page, etc)?