Ray
@r-a-y Active 2 years, 1 month agoForum Replies Created
-
AuthorPosts
-
October 9, 2024 at 7:33 pm #9240RayKeymaster
Hi Jesse,
BuddyPress 12.0 is a major release that has breaking changes for older BuddyPress plugins such as bbPress.
BP Classic is required so BuddyPress backward compatibility is maintained. Hence CBOX requires BP Classic until all our recommended BuddyPress plugins have updated their codebases to support BuddyPress 12. You can keep track of this issue here: https://github.com/cuny-academic-commons/commons-in-a-box/issues/458.
In the meantime, BP Classic should not interfere with the workings of CBOX and BuddyPress.
Hope that answers your questions, Jesse.
March 4, 2024 at 2:40 pm #9230RayKeymasterHi Paul,
Can you try the following code snippet? https://gist.github.com/r-a-y/bc390ceb5d1872044e05b3aed35431c1
Save to
/wp-content/mu-plugins/wpmu-subdomain-redirects.php
. WordPress, by default, has strict redirect rules and for some reason, does not allow subdomain redirects even on the same domain. The code snippet should bypass this restriction. Boone, we should probably add this to CBOX by default for subdomain network installs.February 29, 2024 at 5:33 pm #9227RayKeymasterOn my local installation of CBOX with BP Groupblog enabled, I am not running into the groupblog redirect issue.
Like the
NOBLOGREDIRECT
line, do you have any other code snippets inwp-config.php
,wp-content/plugins/bp-custom.php
,wp-content/themes/cbox-child
, or inwp-content/mu-plugins
?If not and you feel adventurous, you can try some debugging to see if the groupblog redirect URL is what is expected. After this line in
bp-groupblog.php
, add the following debug statement:var_dump( $home_url ); die();
Then go to a sample groupblog URL like
https://sunygeneseoenglish.org/groups/digital-humanities/blog/
and see which URL is outputted in the browser. If it matches the groupblog URL, then BP Groupblog is not the culprit. If you are still getting redirected to the main site, then another piece of code is doing a redirect somewhere.February 28, 2024 at 12:39 pm #9224RayKeymasterThe other plugins seem fine to me, but if you want, you can disable them one at a time to see if one of them might be causing the redirect.
Some other potential things to check: Do you have any 3rd-party plugins running on the groupblog that might be causing the redirect? What is the privacy option set to for the groupblog in question?
February 28, 2024 at 2:54 am #9222RayKeymasterHi Paul,
WordFence could be the culprit. Can you try temporarily disabling WordFence and then trying to check the groupblog link?
February 27, 2024 at 10:11 pm #9218RayKeymasterHi Paul,
I notice that if I attempt to visit a page that doesn’t exist on your site (https://sunygeneseoenglish.org/WHATEVER), the URL will redirect back to the homepage instead of landing on the 404 page. I’m guessing a plugin is causing this behavior, which in turn is affecting the groupblog redirect.
It’s possible that a plugin is responsible for this. Can you list the non-CBOX plugins you are using on your site?
March 22, 2022 at 8:44 pm #9125RayKeymasterHi Steven,
Glad you were able to switch to a subdirectory set up for your multisite configuration.
March 2, 2022 at 2:00 pm #9119RayKeymasterHi Steven,
It sounds like you might need to reconfigure wildcard subdomains on Bluehost. Check out the “Setting up Wildcard Subdomains” section of this article: https://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/#wildcard
Can you verify that you have set up wildcard subdomains on your Bluehost cPanel dashboard correctly?
November 12, 2021 at 1:04 pm #9103RayKeymaster@cbox_admin – It looks like WP Grade Comments 1.4.4 was not tagged on wp.org’s SVN, so the referenced download for CBOX OpenLab does not exist: https://github.com/cuny-academic-commons/commons-in-a-box/blob/9c92ebb5bd410eeff8bc6859b7ece90bd8d160e2/includes/openlab/plugins.php#L362.
Can you take a look?
November 8, 2021 at 7:02 pm #9096RayKeymasterHi Syelle,
Thanks for finding this bug. I can confirm the problem.
I have created a new issue with a fix:
https://github.com/cuny-academic-commons/commons-in-a-box/issues/375In the meantime, before the next release, you will need to override the
/wp-content/themes/openlab-theme/sidebar-help.php
file with the following:
https://raw.githubusercontent.com/cuny-academic-commons/openlab-theme/1.3.x/sidebar-help.phpNovember 8, 2021 at 6:46 pm #9095RayKeymasterThe OpenLab theme’s strings are covered by the
commons-in-a-box
plugin, so you only need to translate the strings from thecommons-in-a-box
plugin.November 4, 2021 at 4:55 pm #9091RayKeymasterHi Syelle,
I just posted a guide here: https://commonsinabox.org/groups/openlab-help-support/forum/topic/what-is-the-correct-way-to-translate-all-cbox-openlab-texts#post-9090
Currently, it requires patching a core CBOX file due to a bug, but then you can use a plugin to easily update the various text strings used across your CBOX site.
November 4, 2021 at 4:53 pm #9090RayKeymasterThere was a new forum topic about customizing various strings in CBOX:
https://commonsinabox.org/groups/openlab-help-support/forum/topic/how-to-update-cbox-ol-wording/So I thought I would take a closer look at the Loco Translate plugin.
Loco Translate works quite well, but there is currently a bug in CBOX that prevents Loco Translate from loading their custom translations: https://github.com/cuny-academic-commons/commons-in-a-box/issues/374
In the meantime, before the next CBOX release, you will need to manually replace the
/wp-content/plugins/commons-in-a-box/loader.php
file with this one:
https://raw.githubusercontent.com/cuny-academic-commons/commons-in-a-box/1.3.x/loader.phpThen you can use Loco Translate to modify the various strings for the
commons-in-a-box
plugin and they should be applied across your CBOX site.If you need a guide to use Loco Translate, check out:
https://localise.biz/wordpress/plugin/beginnersThe guide references translating a theme, but you can use the same approach to plugins. If you need any further help, feel free to reply to this thread.
November 3, 2021 at 3:34 pm #9087RayKeymasterOkay, so you just want to change the URL to the “Contact Us” page? You should be able to just edit the “Contact Us” page directly from the “Pages” dashboard page and changing the page slug.
You can also access the “Contact Us” page through the “Brand Settings” page as well: https://commonsinabox.org/copy
Let us know if that is what you mean.
November 1, 2021 at 8:35 pm #9080RayKeymasterThe “Our Support Team” widget is currently hardcoded: https://github.com/cuny-academic-commons/openlab-theme/blob/cc97bf7f84bd10fd8eb6dea3c1173377c1797c0c/sidebar-help.php#L34.
So this cannot be modified unless you create a child theme to override the sidebar-help.php template.
Can you tell us what you are trying to modify?
-
AuthorPosts