Forum Replies Created
-
Hi @imath,
You will be glad to know that I think I’ve uncovered the cause(s), or at least possible causes. I had the Block Visibility plugin installed, and have done on this and other sites for years with no problem, but it seems either an update to it, or another plugin (possibly BP) caused a conflict, but on top of that there was another issue with some custom code as well as a need to edit the htaccess file (to add a concatenate scripts line), and I think the last one may have been the major fix. However I also rolled back to the first release of BP 12 and haven’t yet updated again, as I have been busy replacing all the stuff Block Visibility was doing with another plugin (Block Logic) so I won’t know if I am out of the woods for a couple of days. I was getting errors all over the place, and for a while the admin was almost unusable as it wasn’t loading javascript (this was the htaccess fix), and I couldn’t edit or update any pages or widgets. No one else had reported the issue I had with Block Visibility on their support, but it is entirely possible that either no one else has the comination of plugins/theme I do or that they (like I did) didn’t think it would be that plugin causing an issue. If you get the chance to test it I would be interested to know if it is a conflict with Buddypress, as the nightmares it has caused me I wouldn’t wish on my worst enemy!Hi @imath,
I don’t know if my issue is related to this release, as I haven’t been checking for a couple of weeks, but none of the Buddypress pages are loading – all I get is “Loading the xxx updates. Please wait.” – this is for Activity, Group Activity, Groups, Profile Activity, Notifications, Friends, Groups etc etc. No errors in server logs or debug log. However, if I change from Nouveau to Legacy they are fine, so obviously something is amiss with Nouveau, rather than it being a plugin or WP theme – can you suggest where I need to look to fix this? I have already tried deactivating and reactivating, turning off plugins and changing themes.I have also reuploaded the bp-nouveau folder/files from a new download of the plugin but still the same. I really need some help as my site is unusable and switching to legacy loses many of my style and functional customisations.I am attempting to ensure that all the deprecated functions are either changed, or the plugins that are still using them are informed, but I have one that is appearing in the debug log that I can’t trace, as follows:
PHP Deprecated: Function bp_get_displayed_user_link is deprecated since version 12.0.0! Use bp_displayed_user_url() instead. in /wp-includes/functions.php on line 6031
Obviously the message is referring to the file that generates the message, and not the file where the function is being used, so any tips on how I can find this? I am aware of the BP-Classic plugin, and have it installed, but deactivated it to see what needs addressing. I have gone through all my own code and customisations, as well as several plugin files, but it is like a needle in a haystack, so is there some method I can use to trace this? Or any way to change the debug log to be more useful?!
@imath,
Thank you for your response and apologies for my tardiness – I had no idea that the Discussion settings had any impact on Buddypress Activity but you are correct, this was what was causing the issue. Is this documented anywhere in the Buddypress docs/codex? I made the mistake of assuming that Buddypress activity was a separate entity to the blog posts and comments but obviously it isn’t, so do all the other Discussion settings impact it as well? I can obviously test myself but if there is any resource on this that would be very useful.Regarding the BP Classic issue, thank you, although I have now made a significant design change and workaround so I don’t think it will impact me any more, and that also applies to the issue I reported with the nav menu highlighting, although that will impact others. Basically I have created a custom Members directory page on a WP page so that when that is a sub menu item of Activity any visit to a Profile page does not highlight the Activity menu item as was happening with the standard Member directory. Also from my testing I have not encountered any issues that will require BP Classic to be activated, and if I do I will probably devise another workaround.
Good luck with preparing to launch the release of BP 12!
@imath, another problem with BP Classic active is that the Profile parent menu item and children disappear from the menu when you move to any other parent menu item. I did raise this before but this is now happening on the second staging site as well.
@imath, I edited the above post but it didn’t stick. I tried with BP Classic active, which partially solved the issue – Members (or Activity) are no longer highlighted when on a Profile or child of it, but Profile does not highlight unless you are on a child of it. Also you lose the settings in the admin for BP when Classic is active, so not really a solution.
Hi @imath,
I have set up a second staging site to test because of the issues I was having with my first one, to see if any are replicated; the good news is that the Reply button on activity comments is visible on this new stage, so it must be some weird anomaly with the first one which I doubt I will ever be able to figure out, much like my missing post that showed in detail the problem there.However there is one issue that is still apparent, which is that, in Blocksy I have it set so that the main site menu highlights whichever page you are currently on (a fairly common feature on most sites), and if you are on a page that is a dropdown menu item, it highlights the parent menu item that it drops down from, as well as itself when the dropdown is visible. Unfortunately it seems that the new BP doesn’t play well with this setup (as I tried to explain earlier in this thread), so I had parent menu links to Activity (with Members and Groups as child menu items) and Profile (with several other child menu items such as Friends etc); when I visit the Profile page, the Profile parent item is not highlighted, but Activity is, and when I visit a child menu item of profile, both Profile and Activity are highlighted. If I move the Members child item to be a parent item, this is the one highlighted instead of Activity.
I looked more deeply, and discovered that in my setup, Activity, Members and Groups all have distinct page id numbers when you examine the html body class, while all pages connected to the Profile and associated links have the same page id as Members (logical as they are sub pages of Members in the BP urls), and individual groups have the same page id as Groups etc. Is there any way to have Profile separated from Members so that it has its own page id and distinct url? I think this is probably where my menu issue stems from, and I would assume this would be the case for others as well. There doesn’t seem to be any way (yet?) to create my own Profile pages using blocks which might be another way around this, or even a custom Members page (the blocks currently available don’t have an option to show an alphabetical or sortable list/grid). I’m sure I’m not alone in wanting a main menu link to the registered users individual pages, a dashboard, and having the menu show them where they are.Hi @imath,
Even though I have already done this, I have done it again. With all plugins deactivated apart from Buddypress, the reply button still does not display. I have also wiped the style.css of my child theme, removed all functions from the child theme functions.php, renamed bp-custom so it is not in play, and removed any buddypress files I had in my child theme – still no reply button. I have removed everything extraneous. I have switched to the parent Blocksy theme and it still isn’t there. When I examine the html in the inspector, the code just isn’t there to generate the reply button. Attached are two images showing this while in my child theme and everything else turned off apart from Buddypress. But it is the same with just Blocksy parent theme
I have also tried with the 2023 theme, attachments below.
This is all with the beta 3 that I upgraded yesterday, on the latest Firefox on a Mac running the latest OS. Just to make sure it was neither browser or device, I also looked on my Android phone using the Opera browser, and that screenshot is attached below.
So, please, what do I do now?
Hi @imath,
Thanks for your response – I’m sure you are very busy. The problem I have is that the BP Classic plugin causes a problem with the menu, as noted earlier in this thread – https://buddypress.org/support/topic/lets-prepare-the-buddypress-12-0-0-next-major-release/#post-331198 – and acknowledged by you – https://buddypress.org/support/topic/lets-prepare-the-buddypress-12-0-0-next-major-release/#post-331239 – but I haven’t seen any more mention of it. It isn’t really an issue until those deprecated functions stop working, but it is an extremely tedious task to trace where they are being used if it is a plugin as the debug log gives no clues at all except when the function was used. I will have a look at the list (thank you) to see if that is any help. If the issue with the BP Classic plugin can be looked at and fixed in the meantime I would be grateful – this could be another Blocksy issue so again, if you can speak to them it would be most appreciated, as they don’t want me to tell them until the non-beta version of BP is released, whereas you will have a clear idea what is and isn’t going to be in the final version and can raise it with them to look at – they may highlight something you are not aware of that needs doing before final release that might be something that affects many other themes. Can you also let me know what has happened to my post regarding the comment reply link? It still hasn’t appeared.Unrelated to my earlier posts, I was doing some debugging on another plugin, and was getting a lot of warnings and deprecated messages regarding a couple of BP functions, most of which I have been able to track down in my code; however one in particular persists, as follows;
PHP Deprecated: Function bp_core_get_user_domain is <strong>deprecated</strong> since version 12.0.0! Use bp_members_get_user_url() instead
It would be useful for me, and I am sure others, if the full list of deprecated functions is made available, as well as anything that uses them, because several of the ones I was using were not the exact function appearing in the debug log, but changing them (because I thought they might be the ones triggering the warning or deprecated message) did cut the number of messages in the debug log. I still don’t know for certain though. It would also be useful to have a complete list of available functions and what they do, particularly those that would be commonly used, all in one place – if this is available already, I can’t find it, so apologies if that is the case. Previous changes, inconsistencies and the sheer amount of old information that is still out there, including these forums, makes it extremely difficult to find the right function in the right circumstance, which I assumed, perhaps wrongly, was a part of why the new Buddypress is needed.Hi @imath,
I have written an extensive reply but it must be stuck in moderation as it includes several image links. Suffice to say after deactivating everything and with a virtually vanilla installation, the reply button still is not there.Hi @imath,
Further to my post on this thread (https://buddypress.org/support/topic/lets-prepare-the-buddypress-12-0-0-next-major-release/#post-331256) regarding the Reply button, I have tested and done all the troubleshooting I can, and there is nothing that brings the Reply link/button on comments back. From everything I have done I have eliminated all plugins, custom functions and css as being the cause, so this is a fairly major problem for me, that does not occur on the non-beta Buddypress. Unfortunately if I try to even preview another theme I get a critical error, so I can’t eliminate Blocksy as the cause; however on my live site the Reply link is there whether it is the Legacy or Nouveau theme, so something appears to be conflicting between Blocksy and the beta version of BP, given that your test with Twenty Twenty Two did not have this issue. Can you or someone talk to Blocksy and try to work out the various issues that exist between that theme and BP please? I have done what I can and really need some assistance now.Hi @david00116,
Can I assume that by quoting my earlier post that you are experiencing the same issues and agreeing with my point/question about the Customizer?
As regards the main menu link for Profile etc, this was solved for me by deactivating the BP Classic plugin. But the other points are still valid.@earl_d,
I agree with some of what you say, but in many ways I understand the way this is being approached by the BP team, as they are all volunteers. I am guessing that keeping the core plugin compatible with the continual changes in WordPress is enough work in itself, without the added headache of putting extra things into the core that can be provided as plugins, either free, or paid. And I think it would be churlish to make accusations towards those involved for trying to make some money from plugins, even though I don’t feel that is the way they are truly approaching it.
I think once the new BP is fully tested and launched, and has had a few months to bed in, we will start to see more and better free (and paid) plugins because from what I understand, they will be much easier for developers to integrate because of the changes/improvements that have been, are being and will continue to be made. I am hoping more existing but currently non compatible plugins will also be more easy for their developers to adapt as well. I have always found BP to be quirky and inconsistent so I am hoping that is changing. I also hope that BP can walk the thin line between providing the good solid core and adding solid improvements and additions to that slowly but surely.Hi @imath, Thanks, I will have to see what is causing it to be missing; time for a trawl through my plugins again! If I find a culprit I’ll report it here and to the author.
@mike80222, Thanks, I will probably do that once I have adapted anything I need to for the new BP. Changing from the default theme to Nouveau is probably presenting more challenges than BP 12 is though, but it is difficult to know what might be causing issues as I test it though – my main theme, my own php functions, Nouveau or new BP!! Or another plugin of course.
Hi @imath,
Thanks for that, and sorry to be a pain (although hopefully I am bringing up things that do need addressing and are not unique to my setup), but I have discovered something else that is not working as I expect, as follows:
If someone comments on an Activity post, on my existing (not test) setup, that comment has the options below it to either Reply, Edit or Delete; but the reply and edit options are missing in my test setup for non-admin users, and the reply one is missing for admin. I am still using the default theme on my existing site, whereas I am using Nouveau on the test site, so is this a Nouveau issue? I downgraded to the current non beta BP on my test site but no difference. I am going to also investigate if a plugin is causing it, but as I have the same plugins on both sites it seems unlikely. I deactivated one plugin that seemed the most likely culprit (Buddypress Edit Activity from Buddyboss – https://en-gb.wordpress.org/plugins/buddypress-edit-activity/) but it was still the same (except of course this plugin is what adds the edit button in the first place, but the reply one is still missing).On a bit of a tangent, can I assume that this forum is running on bbpress? It’s just that I am thinking about adding a forum but am not finding this one very user friendly – for example the reply button is not visible until you hover over the post you want to reply to, and then it doesn’t automatically add the “@name” at the beginning, plus everything is written in a code box rather than normal input, just for starters. Font size could do with being larger too. Or is it just me?
Hi @imath,
Again, not sure if just an issue with my theme, but noticed something else with the menu; when a user goes to a page the menu highlights the parent page and/or the sub page that they are on, and this is working correctly for Activity, Members and Groups (I have Activity as the menu parent and the others as children), but for the Profile page, which I have as a parent menu item with other profile sub pages as children (Activity, Notifications, Friends, Groups, Settings), it always highlights the Activity and Members menu items and not Profile, while on the sub pages it does highlight Profile and itself, but also Activity and Members.I guessed that this is because Profile and its sub pages are not regarded as Directories but as sub pages of Members, so because I have Members as a sub page of Activity in the menu, both of those are highlighted; I confirmed that this is what is happening by moving Members to become a parent menu item, and now Profile highlights Members, as do all the sub pages of Profile (as well as their parent), and Activity is not highlighted. Hopefully this is an easy fix!I have just updated to the beta 2 version, and I have just discovered something with regards to the issue with the Buddypress Member menu items I reported previously, where they would only appear when the user was actually on a Member page and not on any other page (i.e. Activity, Groups, Members or ordinary WP pages). I had the BP Classic plugin installed and activated, and when I deactivated it, the menus appeared as they should, so that is something to be aware of.
Just as an addendum, so far I have not run into any issues with third party BP plugins yet, but will obviously report any to the relevant plugin authors if I do, so hats off to you for that.Hi again @vapvarun,
Sorry to say that BuddyX is a disappointment – it is nowhere near as flexible as Blocksy, for instance you can’t adjust sidebar width, you can’t have the sidebar at the top on smaller screens, you can’t move the menu, the header is also less useful and many more things that I have discovered in just a few hours. Also still the same issue with buttons not consistently styled, and no options to style forms, tabs etc. I honestly think it would be just as much work trying to get the consistent styling that I want as it is now with Blocksy, but with less flexibility in getting the design I want. The problem derives from Buddypress though rsather than either theme in terms of the styling because BP uses so many different classes for things that could be grouped. My only ultimate solution is to eventually grasp the nettle and completely rewrite all the relevant templates, but I simply don’t have time now, and with all the changes in the pipeline it might prove wasted effort as well.Hi @vapvarun,
Thanks for the suggestion, I will look at it; however I am not using the Buddypress ‘member system’ directly, as I have a seperate membership plugin to allow me to have paid memberships using Stripe – do you know if this would be possible with BuddyX and BP? I also need to have a theme that is very customisable, and Blocksy fits that very nicely, plus I know it well and it has great support, so I am a little reluctant to change themes. I also have a lot of plugins and quite a lot of custom functions, and again I would be worried that another theme might have conflicts with those. It would inevitably be a big job changing themes even if it clears all the other hurdles, but I will investigate.Hi again @imath,
This is a separate query from before, and is really a question about what the new BP will change, if anything, with regard to the methods of adding activities. The reason I ask is that I have been trying to do the following on the latest version of the ‘old’ BP; at present I have certain posts being created automatically when users click/tap or hold certain buttons, via a form plugin; some of these are custom post types, but some are regular posts. I have had no problem with the custom post types in terms of adding them to either the main Activity stream, or individual Group Activity streams (both or just one), but cannot get regular posts to go anywhere other than the main Activity stream (and the Profile Activity of the user), and what I want is to be able to post them to either both main and group, or to just group (Profile Activity is not an issue). If there are no changes coming that impact this, I will need to create another custom post type to deal with this, but obviously I would rather avoid that if I can as it would entail quite a lot of extra coding/changes to existing code, so if there are any further details on existing or planned changes in this area it would be great if there is some link to them, or if you have any information you can share. I haven’t yet got all the relevant code for my existing site set up on my test site for beta BP, which I will do if you can confirm that there are changes in the beta that will allow me to achieve my aims.Also, what are the plans for the Legacy theme? Should I plan to move to Nouveau? Or will a new BP theme become available that will work alongside my WP child theme? I am using Nouveau in my test site but I am struggling to achieve certain things that I can do with Legacy on my existing setup. But I am not particularly happy with either of them because of the amount of css edits I need to make, particularly with relation to things like buttons, inputs, tabs etc.
I appreciate all the work that has been and is being put in, so please don’t take my comments and questions as criticism, I’m just trying to avoid unnecessary work!
Hi @imath. and thank you for your response. I have tried the css override as you describe, and it doesn’t work, so I’m guessing this may be a theme conflict. Any suggestions welcome as to how I can investigate that.
So as I understand it I have to wait for the beta2 to be able to see and add things like Profile, Notifications etc to the Menu? And this will be accessible in Appearance > Menus and the Customizer, right? Or will this form part of the URLs section in BP Settings? And is there any date yet for beta2?
Thanks.Hi @imath,
I don’t know if one of the below might be related to what @vapvarun posted, but in my early testing of 12.0.0-beta1 (with latest WP and using Blocksy theme and Nouveau) there are a few things cropping up; firstly I don’t seem able to customise the css by duplicating Nouveau’s css in my Blocksy child theme folder, either inside a buddypress folder or just in the child theme folder, and can only achieve changes in my child theme’s style.css (I suspect this is unrelated to the new Buddypress but I haven’t yet tried it with Legacy); secondly, it doesn’t seem possible to add a main menu link to the currently logged in user that is visible at all times – I have created a custom link but it only appears in the menu when viewing the various sections (i.e. Profile, Activity etc); thirdly, I was struggling to add a sidebar to any of the BP pages, even though my default Blocksy setting is for each page to have one, and discovered that (in Blocksy at least) in Customizer it is counting BP pages as Blog Posts, whereas intuitively I would have thought this should be set in the BP specific sections, and without extensive css work means that Blog Pages and BP pages will always have to be the same. Are you considering adding/improving what can be done in the Customizer at some point? I have found I have to make an awful lot of CSS edits anyway to get BP to match my colour scheme and preferences in previous versions of BP and it would be a huge boon if at least some of this can be achieved with the Customizer settings (or a settings page in the plugin). BP has never followed my theme defaults, but I don’t know if that is because of the theme (and the two standard BP templates) I use or if it is like this for everyone.@officialmymilestonecard
I think you have a different issue – this is just an error appearing in debug logs, and certainly in my case it is not visually affecting anything I am aware of, maybe slowing the site down though. I would start a new thread if you haven’t already, and include any extra information you can to help others diagnose the problem, such as any errors in the console, debug logs, or any other info like which version of wordpress, theme etc. You might also want to try deactivating then reactivating Buddypress before all that to see if it helps.