codejp3
Forum Replies Created
-
Forum: Plugins
In reply to: [bbp style pack] 5.6.3 Crashing site – 500 Internal Server Error@scottmotion – tag 🙂
5.6.4 released.
Again, please follow the post above for step-by-step to update 5.6.3, deactivate/remove the temp version, and then activate the new official 5.6.4
Forum: Plugins
In reply to: [bbp style pack] Spectator users should NOT get an email to subscribed topics@aprilschmitt27 – tag 🙂
5.6.4 released. See the post above for details on this new setting.
Marking as resolved, but feel free to post here if you have any issues or questions.
Forum: Plugins
In reply to: [bbp style pack] Duplicate “subscribe” & “favourite” linksQuick Update:
This is not going to be included in 5.6.4, but you already have a working CSS code snippet so probably not a big deal.
Detailed Update:
The end-result you want of hiding favorite/subscribe buttons is easy. Adding it to Style Pack as a new option is going to be more involved than I had anticipated.
There’s really no good way to add this to the existing settings tabs on a single tab. It also doesn’t make sense to spread this option out across multiple tabs (Forum Display, Topic/Reply Display, Widgets, Forum Buttons, or perhaps other places).
Since you’re currently the only one asking for this, already have a CSS code snippet to accomplish the task, and it would take probably more time than it’s worth to add this as a specific setting – I’m going to hold off on adding this to Style Pack…. at least for now. I don’t want to delay the release of 5.6.4 any longer.
I’m also going to mark as resolved since you have a working CSS code snippet, but feel fee to post if you have any other issues related to this.
Forum: Plugins
In reply to: [bbp style pack] Spectator users should NOT get an email to subscribed topicsI have added this to 5.6.4 and will tag you here when it’s released.
Fortunately or unfortunately (depending on how you look it), this has led to a ton of work overhauling the Subscription Management interface and controls. I don’t want to delay 5.6.4 any more than I have to so this Subscription Management overhaul is getting pushed to a future release. The specific features you requested will be included though, and are setup with versatility for all site owners in mind.
There will be a new setting in the “Subscription Emails” tab for “Roles To Email”. This way any site can set it up however they want. And if a site has custom bbPress roles registered, those will be available for selection as well. The default setting happens to be your preference because I think it makes sense for most sites too.
Forum: Plugins
In reply to: [bbp style pack] Scheduling topics to open and closeAre you referring to a specific feature, plugin, or code snippet for “close x amount of days after no one has commented”? I know that’s not want you’re asking about, but I want to visualize what you’re actually taking about for that.
As for the “scheduling it to close on September 1 at 4 pm” that you’re actually asking about, I’m just trying to think if it would make sense to add to Style Pack. Anything we add is because there’s potential for lots of Style Pack users to put it to use. Here’s what I’m visualizing for that:
1.) You want this to be entirely date/time based, but I think it makes the most sense to be setup as a generic “Auto-Close Topics” setting that can be setup as “after X days from creation”, “after X days of inactivity”, or “at a specific date/time”.
2.) From what I can see, this would have to be manually set for every topic. There could be a default to use (like 30 days or 90 days or whatever), but anything besides that default would have to be manually set per topic.
3.) It might not make sense to do this for the entire forum, so I see that it would require the ability to choose which forums have this scheduled/auto-closing feature and which forums don’t. Also, an overall global default for all forums with the ability to override that default on a per-forum basis.
I do see the potential value in this for may site owners, but I’m not quite ready to commit to it yet.
Can you expand on that a little more?
Does what I said so far make sense?
Forum: Plugins
In reply to: [bbp style pack] Spectator users should NOT get an email to subscribed topicsI’ll include this in version 5.6.4 that is being released this weekend.
Good suggestion, and one many others will find useful. Thanks for bringing this up!
Forum: Plugins
In reply to: [bbp style pack] Photos in Subscription Emails to CommentsSorry for the delay getting back to you on this. For some reason, I did not get any emails from WP the past few days saying there were new topics here.
First of all, I’m assuming that you’re using the amended Style Pack Subscription Emails (/wp-admin/options-general.php?page=bbp-style-pack&tab=email) ? correct?
I believe I understand what you’re asking for, but I’m not sure the reason for it makes sense.
1.) The images are not actually added as attachments to the email. They are simply external links to those image files that get displayed inline. The size of the email itself is pretty small, even with lots of images.
2.) The only way to adjust the actual image size is to specify max dimensions with HTML code. Adding that code will slightly increase the email size.
3.) Rendering HTML code is completely up to each email recipient and you have no control over that. And the more HTML code you have, the more likely it is to get flagged as spam/junk.
4.) Even if you specify max dimensions and it is rendered according to those max dimensions, the FULL file size will still get loaded and then the max dimensions would be applied after the image is loaded. So, it would not speed up email image loading at all.
If “email size” is your concern, then I think the best thing to do would be to not include images and use the {excerpt} tag in emails instead of the full {content} tag. Besides that, we could possibly add an option to the Subscription Emails tab to “strip images from content” and replace images with a custom phrase like [click here to view images in this topic].
If your true concern is more about “presentation” than actual email size, then we could possibly add a new feature to the Subscription Emails tab for “max dimension for images” which would add HTML tags for max dimensions (but this would have all of the negatives explained in #1, 2, 3 and 4 above).
Get back to us about what it is that you’re actually trying to accomplish. We’ll go from there.
Forum: Plugins
In reply to: [bbp style pack] Duplicate “subscribe” & “favourite” linksSorry for the delay getting back to you on this. For some reason, I did not get any emails from WP the past few days saying there were new topics here.
I do see what you’re asking for, and the answer is that there’s currently no settings to accomplish what you’re trying to do.
I will be releasing 5.6.4 before the end of this weekend and will add new options for Favorites/Subscriptions display/hide for both the main forum and the widgets. They you can accomplish it with a simple setting or two within Style Pack.
Until then, you can accomplish what you’re trying to with custom CSS. Add this to the Custom CSS tab in Style Pack to hold you over until then (/wp-admin/options-general.php?page=bbp-style-pack&tab=css):
div#bbpress-forums.bbpress-wrapper > span#favorite-toggle, div#bbpress-forums.bbpress-wrapper > span#subscription-toggle { display: none !important; }Forum: Plugins
In reply to: [bbp style pack] 5.6.3 Crashing site – 500 Internal Server ErrorYeah, it seems like a combo of you having a semi-large # of users, a lot of concurrent connections, and using shared hosting. You were the first to experience the issue, but eventually others would have too so I’m glad we got it sorted.
You’re also the only one previewing 5.6.4 right now.
Notice a new “BuddyPress” settings tab? You can now setup visibility settings for BuddyPress-specific site sections (Global Groups, Global Members List, and Global Activity feed). It will also be the home for all future BuddyPress -specific features of Style Pack.
If you go to the “Plugin Information” tab, you’ll notice we now include Member count, Forum count, Topic count, and Reply count as part of the reported data. Should help troubleshooting issues like the one you experienced in the future.
I’ll release 5.6.4 officially sometime this week. Please follow the upgrade path specified above so that you don’t run into issues with future upgrades. You can only have 1 version of Style Pack active at a time, and you want to make sure it’s the official release instead of the custom test update you downloaded. That’ll get you back on normal track starting with 5.6.4 official.
Marking as resolved, but feel free to post back here if you have any other questions or issues.
I’ll tag you here when 5.6.4 is released.
Forum: Plugins
In reply to: [bbp style pack] 5.6.3 Crashing site – 500 Internal Server ErrorI found the issue and was able to replicate it eventually. It did have a connection to the # of members on your site.
Checking for BuddyPress profile pages was comparing current URLs to user nicenames, and with enough members and/or site traffic could/did lead to out of memory errors.
Even with only 32MB of RAM for WP on my dev server, it took generating over 100k fake users to replicate the issue. Probably due to the higher # of connections overall on your public site at any one time compared to much lower traffic on my dev server.
I’ve re-worked the BuddyPress profile checks to be more efficient, and added extra checks so that they only run on BuddyPress-specific pages to further improve overall site page loading times too.
With that said, you’re currently the only one experiencing this issue, so could I ask you to test out these revisions on your site to verify that the problem is fixed for good?
https://codejp3.com/wp-content/uploads/bbp-5-6-3-scottmotion.zip
1.) upload the zip file in the plugins install page (/wp-admin/plugin-install.php?tab=upload).
2.) deactivate version 5.6.2
3.) activate version 5.6.3 that you just uploaded
4.) verify issue is gone (and keep 5.6.3 activated, 5.6.2 deactivated),
5.) check back in here to confirm
The version I made for you is built off of the upcoming 5.6.4 that I plan to release sometime in the near future after I hear back from you. Once 5.6.4 is released, your next upgrade cycle will be slightly different:
1.) upgrade the old 5.6.2 that you deactivated in step #2 above to 5.6.4.
2.) deactivate and delete 5.6.3 custom that you activated in step #3 above
3.) activate the 5.6.4 official release
That’ll get you back on track with regular releases.
Awaiting your results…
Forum: Plugins
In reply to: [bbp style pack] what files are changed with pluginsTo add on to what @robin-w just said, currently you can find all of the specialty Style Pack templates that take priority over default bbPress templates in /wp-content/plugins/bbp-style-pack/templates/
Not all of them get used, and some are only for specific cases. Don’t bulk copy/paste them to your child theme’s /bbpress/ directory.
If you do run into a case where any of your custom template files are not used when Style Pack is active but get used when Style Pack is deactivated, you can post here in the support forum and we’ll probably ask you to email your custom template file(s) so that we can alter them to be bbPress/Style Pack compatible while preserving your customizations.
Forum: Plugins
In reply to: [bbp style pack] 5.6.3 Crashing site – 500 Internal Server ErrorGot your email. I’m digging in now.
Going to try my best to replicate the issue, figure out the cause, and work on a solution ASAP.
Until then, stick with 5.6.2.
Forum: Plugins
In reply to: [bbp style pack] what files are changed with pluginsGood to see some caution instead of finding out the hard way!
Bad news:
Any files you have in /bbpress/templates/default/bbpress/ will be overwritten every time you update bbPress. Your changes will be lost forever unless you can restore them from a backup file.
Good news:
No other plugins (as far as I’m aware) overwrite the template files located in /bbpress/templates/default/bbpress/
Only bbPress itself will overwrite those files (again, as far as I’m aware).Even better news:
You can make sure your custom template files are preserved no matter what by setting them up within a child theme. If you aren’t already using a child theme, I HIGHLY recommend it!
https://developer.ww.wp.xz.cn/themes/advanced-topics/child-themes/
Once you have a child theme setup, you can simply copy/paste the whole /bbpress/templates/default/bbpress/ directory from the bbPress plugin into your child theme. Copy any template file you want to preserve into /wp-content/themes/your-child-theme/bbpress/ You will then have those custom templates forever without any chance of them being overwritten on accident.
https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
(around Step#5 and below)https://bbpress.org/forums/topic/correct-way-to-override-bbpress-templates/
(helper topic for clarity from @robin-w)Good questions! I’m marking as resolved, but feel free to chime back in if you run into issues.
Forum: Plugins
In reply to: [bbp style pack] 5.6.3 Crashing site – 500 Internal Server ErrorOne more question too:
How many members does your site have?
Good info to know related to this issue and I’m going to be adding this to the “Plugin Information” tab Site Info section in an upcoming release.
Forum: Plugins
In reply to: [bbp style pack] 5.6.3 Crashing site – 500 Internal Server ErrorThanks for the input!
One more question and then some more info gathering.
Question:
When you were experiencing the issue, was it site-wide EVERY page, or only specifically BuddyPress pages?
Info:
With 5.6.2 running, go to the “Plugin Information” tab
(/wp-admin/options-general.php?page=bbp-style-pack&tab=plugin_info)
and copy:Site Details
&
Site PluginsYou can also copy:
Plugin Settings
OR:
do a settings export and attach to an email
(/wp-admin/options-general.php?page=bbp-style-pack&tab=export)You can sanitize anything you think is sensitive and email all this info to me directly at [email protected]
I’m going to try everything I can to replicate the issue on my end!