richard12
Forum Replies Created
-
Forum: Plugins
In reply to: [Client Portal - Private user pages and login] default contentHi, Sorry to get back again. I used the code I found in another thread. It worked by adding default content but doesnt then let you add content. It just returns to the default content and removes any edits. I wonder if there is a modification that will allow one to edit the default content in the post text editor? Thanks for any pointers.
Richardadd_filter('wp_insert_post_data', 'wppbc_client_portal_default_content', 10, 2); function wppbc_client_portal_default_content($data, $postarr) { if ($data['post_type'] == 'private-page') { $data['post_content'] = '<p>Welcome to your private page. </p><br>'; } return $data; }
Forum: Plugins
In reply to: [Client Portal - Private user pages and login] default contentSorry found your support question with the answer.
Thanks againForum: Plugins
In reply to: [Mailgun for WordPress] User registration confirmation link doesnt workHi, It was a while ago and I cannot remember what solved it but my previous post suggests that it worked after I was able to get confirmation from them. Look out for confirmation emails. If I remember it took some time to receive. Maybe that will help you. I stopped using Mailgun as I moved to a different plugin.
RichardForum: Plugins
In reply to: [WooCommerce] Connected the PayPal Business Account, Still Need Braintree?Hi, If it helps I have been working through all this too. A Braintree account is available in the US only. It means you can have the checkout on your site without leaving. You need a Braintree account which is a subsidiary of Paypal.
Paypal will send the customer to their site to process payments. The others are options I have not explored.
Hope that helps a bit.
richardThanks, I have https on the network but am mapping domains that dont have ssl certificates. I just have a rapid certificate on the main site that doesnt cover any other domains so essentially the dashboard links are external links to other websites but get the https included. My workaround works for me but I havent found or think its even possible to have a function to do that job.
Thanks
RichardHi, Thanks. I am using sub directories.
I know I shouldn’t edit core files but the only way around was to change these lines in wp-admin/my-sites.php, which does the trick for me. Its the only change I made so I can keep on top of it with updates.
I am interested to know though if there should or could be an if ssl clause hard coded here to determine which dashboard links were http or https.
//echo "<p class='my-sites-actions'>" . apply_filters( 'myblogs_blog_actions', "<a href='" . esc_url( get_home_url( $user_blog->userblog_id ) ). "'>" . __( 'Visit' ) . "</a> | <a href='" . esc_url( get_admin_url( $user_blog->userblog_id ) ) . "'>" . __( 'Dashboard' ) . "</a>", $user_blog ) . "</p>"; echo "<p class='my-sites-actions'>" . apply_filters( 'myblogs_blog_actions', "<a href='" . esc_url( get_site_url( $user_blog->userblog_id, '/', 'http' ) ). "'>" . __( 'Visit' ) . "</a> | <a href='" . esc_url( get_site_url( $user_blog->userblog_id, 'wp-admin/', 'http' ) ) . "'>" . __( 'Dashboard' ) . "</a>", $user_blog ) . "</p>";
Thanks
RichardForum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Database size on multisiteThanks for the reply, It really is a superb plugin and works a treat. I did test by using the plugins delete plugin but that didnt remove the old tables. I reinstalled and started afresh and so I have cleared out the unused fields.
Thanks for the answers
RichardForum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Database size on multisiteHi, i just wonder as a follow up to my previous question the following. I seem to have so many tables as during my testing for many other site related things I have been creating and deleted many test sites and users and looking at my database the tables created have remained. I have been doing this as super admin. My question is, should tables in the databases of deleted sites be deleted when a site is deleted? Obviously if they do not get removed I need to restart again after testing so that I dont end up with hundreds of unused database fields.
Thanks in advance
RichardForum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Lightbox problemSorry Guys, I followed your debug advice and found the culprit in a mu-plugin. Thanks. This plugin is awesome by the way. The best there is.
Thanks
RichardForum: Plugins
In reply to: [Mailgun for WordPress] User registration confirmation link doesnt workI have just found that it works after Mailgun sent me a confirmation of my account sucess, Thanks anyway
RichardJust to confirm, I came across the same problem. The solution is as above, deactivate and then activate per site on multisite. It still refreshes the page after a few seconds but the changes are saved.
Thanks
RichardForum: Plugins
In reply to: [Encyclopedia / Glossary / Wiki] Sitemap SlugHi, If it helps I changed the slug and it works fine.
2 things.
1. You need to search for all references to one slug like “Knowledge Base” and replace all instances with your preferred one. Then you need to search for the Knowledge-Base and replace that too.2. Then disable seo in yoast for example and reset it again, that clears out the cache I think. Anyway thats how I did it and it works fine.
This is a very nice plugin and works perfectly doing exactly what it says
RichardForum: Plugins
In reply to: [Encyclopedia / Glossary / Wiki] AuthorHi, Thanks for the reply. If anyone is interested add this to your theme functions.php and it will work a treat.
function custom_post_author_archive($query) {
if ($query->is_author)
$query->set( ‘post_type’, array(‘encyclopedia’, ‘post’) );
remove_action( ‘pre_get_posts’, ‘custom_post_author_archive’ );
}
add_action(‘pre_get_posts’, ‘custom_post_author_archive’);Thanks
RichardForum: Plugins
In reply to: [Encyclopedia / Glossary / Wiki] Encyclopedia site mapThanks for the reply, sorry it actually works perfectly. I missed to select custom post types in the sitemap plugin.
Thanks
RichardHi, I have encountered the same problem. I see you posted 5 months ago so not sure there will be an answer, trouble is I need to display on custom posts so have to try another.
Hope you sorted it out.
Richard