Forum Replies Created
‘Almost Pretty Permalinks’ ? == index.php in url paths, windows server?
BP as such doesn’t have real role/caps abilities, bp_current_user_can() is a sort of faux work around so trying to add bp_moderate as a cap won’t work because BP doesn’t set true caps; ‘bp_mederate’ is just a check on something like the WP cap ‘manage_options’.
Recently I needed to add a custom user role for group creation so we could disable group creation for all but admins and a specific role I did that by filtering into bp_user_can_create_groups, running a function that got the current user role and returned ‘true’ on $can_create for that user role so you could do something similar for activity delete filtering into ‘bp_activity_user_can_delete’ returning ‘true’ on $can_delete.
Oh I see, hmm looks like it will be trickier than one would like, seems the extract $atts is causing issue running too late for bp to work with and ob_buffering doesn’t seem to help, works without user atts ok just not when they’re added to shortcode, there’s probably another solution but personally haven’t time to investigate it, maybe someone else knows of an approach that works.
BP provides all the buttons you need, if you are not seeing them then you have larger issues likely in the use of a custom theme, but you haven’t mentioned the theme you’re using (see the forum stickies for detail to provide in posts) Have you changed theme to a known working one – any of the default WP ones – this will tell you if this is a theme issue.
Once the cause is established then you can proceed with the best approach to correcting the problem but throwing functions in at this stage isn’t wise.
Please also search the forum as this topic arises often so there are quite a few posts that already offer suggestions.
BP 1.9 introduced menu link selection on the WP ‘Menu’ screens, used to add links in just the same way you add pages, cats etc, is that not visible in your menu screen?
It’s not a bug this was by design, we added the widget to both provide users with flexibility as to where they could show notices and as a means of using it as a switch to turn off the notices overlay which was actually provided that way when theme compatibility was introduced and we no longer necessarily had control on a site layout as with the older BP Default layout.
If you wanted to change this you’ll probably need to copy the bp-functions file and remove the is_active widgets check that prevents the notices function loading or add your own version of bp_messages_get_notices() to wp_footer action along with the styles required.
That’s a recent glitch, we’ll get it rectified.
? Not really sufficient information to provide much help with, normally you should see that menu at all times the wpadminbar is visible and unless you have custom code in effect then you should see the menus on any page view.
We have a different user type who signs up via our membership plugin, they work fine.
Well that would suggest an issue with your membership plugin really, check it is correctly setting user types, can your users login if you disable that plugin.
This issue is nearly always a caching one, have you been running a cache plugin?
Make your ‘full’ image size larger than needed and then go through your templates setting the width/height prams on the avatar call, you can always reduce an image dimensions – within reason – and retain quality whereas you can’t increase without pixalation.
buddypress.php placed in the root of a newly created directory ‘buddypress/’ or ‘community/’ will act as the main template file for all BP screens whether directory or account screens, group screens, it’s the wrapper as it were that provides the main header, sidebar,footer includes and main markup your chosen theme needs, essentially it is a replica of page.php from your main theme, having buddypress.php means you can make changes to that file that will only affect BP screens e.g get_sidebar(‘buddypress’).
when your happy with the basics then read the extended guide which explains further means of creating custom bp templates.
The first thing to do is always check the BP Codex we write guides to try and help people with aspects like this.
And related pages under ‘Theming’
Template compatibility just runs under any theme you choose to run (in the majority of cases) you don’t create a child theme based on a parent ‘bp-legacy’ choose or create a theme, then if you need to customise BP templates or CSS you overload (copy) the template files required to the theme or child theme as described in those guides.
@callumevans Running on BP trunk with WP 3.8 & 2012 theme I can not replicate this issue, a new signup can not login directly after signup and receives a warning that they must activate their account first, something must still be contrary to a pure standard install on your setup.
@henrywright if you have a minute might be worth jumping into irc and asking if anyone else can confirm that root profiles are safe, as for the edit I’m very perplexed by it, had thought I had done it in error I worry about curating codex now though
As far as I can tell looking through core files there is no deprecated note on this constant, the article has an odd edit by user name not seen before who also does not figure in revision history, checking all the user revision history existing shows no one having added that so must be this mystery user & their last article edit. I’ve removed the deprecated addition for now.
no nor quite a few others I spotted, sure there were in pre 1.2 versions but that is going back so far now that I doubt those are relevant in a backpat or curiosity sense.
not that I could, find but only keep local tags going back to 1.2 anything prior to that is simply too old to care about.
I fear looking at other references on that page that many are actually pre 1.2 so in general that whole page isn’t looking in good shape, toss up between going through one by one or pulling page and re-writing.
more importantly can you find either in the core files anywhere? If not those references need pulling out with a vengeance.
@henrywright ok given it caused me a bit of confusion trying to track down many of those and work out just how the page is a help, and your tacit agreement above I’m going to change page to draft for the moment. Thanks though for the heads up, as it were, it does help for attention to be brought to some pages that may be best removed until they offer correct guidance.
@henrywright I think you’re correct however that page and the action section in general needs a lot of scrutiny, my personal preference would be for removing that particular page entirely for the moment.
@henrywright cool, hadn’t noticed anything but then seldom run that constant, if you spot anything naturally ticket it.
@fkapnist you’re not doing yourself any favours – in life you get what you pays for, know where I’m going with this?
Complaints? no no complaints here, this is a volunteer help forum.
BP installs just fine in the vast majority of cases, run BP with a correctly written theme and you’ll have no problems unless some errent plugin is at work.