useStrict
Forum Replies Created
-
Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] Problem with the background notificationPlease test if there isn’t a conflict with another plugin or theme. To do that, you’ll need to create a staging site with a cloned copy of production, remove or change the email address of your forum/topic subscribers so that you don’t spam them.
Then deactivate every plugin except for bbPress and bbpnns, switch to a WP default theme (the twenty-whatevers) and try to replicate the issue. Start activating the other plugins while testing until you can replicate it. Lastly, switch back to the original theme to see if that’s what’s conflicting.
Let me know how it goes.
Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] Problem with the background notificationHi @kreartmedia,
Thanks for reaching out. The purpose of background notifications is to avoid timeouts when someone posts a topic or reply, as bbpnns will try to send notifications of that item to everyone that it has been configured to send.
When the next user visits the site, the WordPress cron job triggers the notifications without impacting the user’s visit. That said, the WP cron system is known to be iffy, so many site admins choose to disable the wp cron and enable a real cron job instead.
The best way to enable that depends on each host, so I can’t really give you detailed information here. My own favourite way to do it is by using
/path/to/wp-cli --path=/path/to/www/install cron event run --due-now
, run every 5 minutes or so. Some hosts (like SiteGround) ask that you refrain from running cron jobs more frequently than once every 30 minutes, but that just isn’t realistic with WordPress.Cheers,
Vinny- This reply was modified 1 year, 9 months ago by useStrict. Reason: Missed a parameter to wp-cli
Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] 429: Too Many Requests ErrorHi, thanks for reaching out.
Mailgun has the trial plan which gives you 5000 free mailouts in the first month, and then charges $1.00 per 1000 emails. The bulk mailer add-on does indeed only work with Mailgun and Sendgrid, but you don’t need it unless your cron jobs start getting killed by the host.
As for throttling, I’m not aware of anything people have been doing to achieve that.
Cheers,
VinnyForum: Plugins
In reply to: [bbPress Notify (No-Spam)] Long Database QueriesI’ve tracked down the issue to classes/AssetCache.php, line 125:
if ( true !== get_option( 'pum_files_writeable', true ) ) {
The problem is that the option in the DB is set to
1
instead oftrue
, which is false when compared with!==
.I fixed it by running
wp eval "update_option('pum_files_writeable', true);"
in the command line, but the devs should probably try to find out why it was set to1
in the first place.Cheers,
VinnyForum: Plugins
In reply to: [bbPress Notify (No-Spam)] Notification sent for previous postHi Mark,
It sounds like you have background notifications turned on. This is a good thing, because if you have a large number of users set to receive notifications, you will end up getting a 503 timeout error without it.
The background notifications option creates a scheduled task using WordPress’ cron system. It will get triggered the next time that someone accesses the site. Because you are likely the one accessing the site during your tests, you’ll see the scheduled task for the previous test getting sent out.
If you’d like to get the background notifications (or any wp cron job, for that matter) running without needing people to visit the site, please reach out to your host for instructions on how to enable a real cron job for WordPress. There are lots of tutorials, but it varies a bit from host to host.
Here’s an example: https://www.siteground.com/tutorials/wordpress/real-cron-job
Cheers,
VinnyForum: Plugins
In reply to: [UseStrict's Calendly Embedder] % 20 in URL Query String issueFixed in v1.1.6.
Sorry, the code above is wrong. Use this one instead.
add_filter( 'bbp_get_form_topic_subscribed', function(){ return checked(true, true, false); }, 10, 2 );
add_filter( 'bbp_get_form_forum_subscribed',
function(){ return checked(true, true, false); }
, 10, 2 );Try adding this to your child theme’s
functions.php
:add_filter( 'bbp_get_form_topic_subscribed', '__return_true', 10, 2 );
add_filter( 'bbp_get_form_forum_subscribed', '__return_true', 10, 2 );
Hi Jasper,
Thanks for reaching out.
The ‘Send Notifications’ option is actually for the back-end Send Notifications metabox. It does not control the front-end “Notify me of replies” checkbox. I always recommend using the free bbp-toolkit plugin to control that one.
Cheers,
VinnyForum: Plugins
In reply to: [UseStrict's Calendly Embedder] % 20 in URL Query String issueThanks for reporting this. I’ll put in a fix this week.
Forum: Plugins
In reply to: [UseStrict's Calendly Embedder] Calendly Pre-Fill from url query string IssueHi @travelsecrets,
Sorry for the delay. You’ve actually discovered a bug where query-strings weren’t working unless prefill was also checked. I’ve separated them so that they work independently. The fix has been released in version 1.1.5.
That said, you need to use
firstName
andlastName
instead offirst-name
andlast-name
. Calendly only supports thecamelCase
options. I’ve also added support foremail
query-string, which was missing before.Cheers,
VinnyForum: Plugins
In reply to: [UseStrict's Calendly Embedder] The Calender takes a while to laodHi @stabrizi, thanks for reaching out.
The calendar loads quickly for me. It could be your network.
As for reducing the space between the title and calendar, you can customize the shortcode with a
styles
attribute and set a negative margin. For example:[wpcalel type="calendly" url="https://example.com" widget="inline" min-width="100%" height="650px" styles="overflow-x:hidden;overflow-y:hidden;margin-top:-50px"]
Cheers,
VinnyForum: Plugins
In reply to: [UseStrict's Calendly Embedder] Calendly Pre-Fill from url query string IssueThe fix is available in version 1.1.4.
Cheers,
Vinny