BookClubReader
Forum Replies Created
-
I found the answers in the Docs. Yes, the points earned on Site A can be used on Site B via Central Logging.
Forum: Plugins
In reply to: [Tournamatch] Extensions: myCredThanks!
It looks like this was a problem on my end.
Forum: Networking WordPress
In reply to: Multisite Network Screen Disappeared…I’m having the same problem. I think it might have occurred after downgrading a site. I’m using Pro Sites by WPMUDEV. Are you using this plugin by chance?
Forum: Plugins
In reply to: [W3 Total Cache] CDN With AWS Cloudfront and S3 Browser Caching Issue@acornils – I have tried setting up AWS Cloudfront. I used a video from Youtube that seemed reliable. In the video, the presenter shows that his images are in fact loading from the cloud.
However, it’s not working on my multisite. Nothing is loading from Amazon Cloudfront. Does that fit with the issues you are experiencing?
Thank you for this. I can confirm it worked on my multisite.
Same problem here
Hi Kathy,
Create an mu plugin with the following code
<?php function hide_dashboard_menu () { if ( !is_main_site($blog_id) ) { echo '<style type="text/css"> #toplevel_page_wps_ { display:none; } </style>'; } } add_filter('admin_head', 'hide_dashboard_menu'); ?>
This code checks to see if the site is a subsite. If it is, then it will add the css code into the admin header section to remove the menu item.
Not sure how to create an mu plugin? Create the following folder /wp-content/mu-plugins. Then, create a new file in the folder (e.g. /wp-content/mu-plugins/hide-plugin.php). Paste the code above into the file and save. This will remove the menu item from all subsites.
Best of luck!
Forum: Plugins
In reply to: [Contact Form 7] Mail Section – From: Field Not Passed into EmailThanks for your input. However, the problem was BuddyPress. I found the answer here – Contact Form 7 – From Name Incorrect.
Here’s what solved it for me:
remove_filter('wp_mail_from', 'bp_core_email_from_address_filter' ); remove_filter('wp_mail_from_name', 'bp_core_email_from_name_filter');
I added this to my function file. If you have Genesis Extender, it’s easy to do.
Forum: Plugins
In reply to: [Contact Form 7] Mail Section – From: Field Not Passed into EmailThe site’s contact form uses a different shortcode than that above, but it’s the simplest form on the site. I’ll paste it below. In testing, the subsite contact forms worked fine. Only the messages sent from the main site of the network do not use the sender’s name. I had tested a different theme (2014). In the example below, the sender’s name uses the shortcode: [your-name]
Form
<table width="450px"> <tr> <td width="40%"> <p>Your Name *<br /> Your Email *<br /> Subject</p> </td> <td width="60%"> <p><strong>[text* your-name]</strong> [email* your-email] [text your-subject] </p> </td> </tr> </table> <p>Your Message<br /> [textarea your-message 60x] </p> <p>[submit "Send"]</p>
———————————-
Mail Section
From: [your-name] <[your-email]> <—
Subject: [your-subject]Message Body
From: [your-name] <[your-email]> Subject: [your-subject] Message Body: [your-message]
———————————-
I’ve tried a variety of filters in the functions.php file. Since I’m not a programmer, any input on how to alter these to get something to work would be greatly appreciated.
add_filter('wp_mail_from_name', 'site_mail_from_name'); function site_mail_from_name ($mail_from_name) { $site_mail_from_name = get_option('site_mail_from_name'); if( $mail_from_name != "Novel Blogs" || empty($site_mail_from_name) ) { return $mail_from_name; } else { return $site_mail_from_name; }}
add_filter('wp_mail_from', 'doEmailFilter'); add_filter('wp_mail_from_name', 'doEmailNameFilter'); function doEmailFilter($email_address){ if($email_address === "[email protected]") return '[email protected]'; else return $email_address; } function doEmailNameFilter($email_from){ if($email_from === "WordPress") return 'MySite.com'; else return $email_from; }
Is there a way to add code that says, anytime an email is sent from CF7, it will use a filter for the from name?
Update: I have added the folder and file
/js/nlp_extlinks.js
The only code I found to add in this file is to open links in a new tab. Is there code I need for this file to get pagination to work? Or, are the pagination related to the shortcode above?
Thanks for your help
I want to add to my comment above. I have both the shortcode and widget on the same page. The widget works fine, but the shortcode doesn’t. Here is my shortcode:
-
[nlposts
title=RecentPosts
display_type=block
thumbnail=true
category=”Book Review”
number_posts=100
posts_per_page=5
paginate=true
sort_by_date=true
sorting_order=newer
full_meta=true
thumbnail_wh=”60×90″]I am having a problem with this. I have the following error in the Chrome debugger:
Failed to load resource: the server responded with a status of 404 (Not Found) wp-content/themes/genesis/js/nlp_extlinks.js
Forum: Plugins
In reply to: [Contact Form 7] Mail Section – From: Field Not Passed into EmailUpdate: I am using Contact Form 7 in a multisite setup.
I found a thread that helps move me in the right direction, but I’m still a bit lost. Any help would be greatly appreciated.
In searching through the code, it appears the problem is found in the following location (below). To test it, I commented out this section of code and the other plugins using admin-ajax.php worked fine. I’m not a programmer, so for all I know, commenting out these lines might disable the entire backend functionality which is why the other plugins are now working. However, someone with some programming knowledge might be able to hack together a work-around.
FILE: /wp-content/plugins/better-wp-security/modules/free/hide-backend/class-itsec-hide-backend.php
LINES: 37 – 57