Forum Replies Created
-
In reply to: avtar and chat not working
@mayur-hotkar please now stick to this one thread.
As I mentioned in this response, there is a need to read the stickies so you know what information to provide and how to run basic troubleshooting to establish where problems broadly lie.
https://buddypress.org/support/topic/avtar/
You need to perform some basic steps to establish – again as I mentioned – whether the avatar issue is a server permissions issue rather than application issue.
You need to check whether you can correctly upload media to the WP library or whether attempting to throws a error, if it throws an error then likely your server isn’t allowing files to be written to directories, if that all works as expected, then you need to look to plugins and/or custom themes causing the problem, to check this enable a theme known to work with BP e.g twentythirteen, if avatars work then you have an issue with the theme, if they don’t start disabling any plugins that aren’t required for normal BP operation.
As for ‘Personal Chat’ that sounds like a third party plugin? We can’t really support plugin issues and in respect of this we don’t really have sufficient detail to guess at a possible reason, although JS is a likely culprit,, but changing themes and disabling plugins should establish that for you.
In reply to: avtar n chat nt working@mayur-hotkar you now have three threads running on the same question, please don’t open multiple threads, I’m closing this one in favour of the duplicate, I shall also close the one I responded on as I assume you digested that and ran a few tests to establish where the issue lies and read the forum stickies
In reply to: avtarIf you want help then you will need to be a lot more descriptive of the issue I suggest you read all the sticky posts to understand how to form a question that can be responded to and also in preparation do a search on forum archive topics to see if there are any old topics that may help.
fwiw avatars or images/media not uploading are generally a server issue with directory/file owner/ group settings or permissions.
In reply to: Profile Link in Pluginsand it won’t if you’re trying to run php in a widget
In reply to: Themeing best practice now?@posh-john shanebp’s link above will explain the basic approach, however we do provide documentation that covers this sort of area and many others too; please make sure you have given those a good read as they will answer many points you may have, issues beyond what is covered in the documentation are then suitable for asking on the help forum.
Usually i try to avoid modifying template files except where absolutely necessary It is never absolutely necessary unless you are taking over support for that code. One of the most important aspects of the WordPress Theme api is it’s template hierarchy, it’s this that allows ‘Child themes’ to be created, all correctly written themes will be able to work with child themes if the parent theme doesn’t allow child themeing it’s a good indication that you should drop it like a hot cake and find another.
In reply to: Warning message under groups>group one>MembersNo sorry no patch as it isn’t an issue with BP thus not one possible to fix, you need to take that error message back to theme or plugin author for advise.
Why are you using a very outdated BP version, you need to update to the latest stable BP release and clean out any template pack stuff that that theme has added, and run BP under it’s automagic theme compatibility. Please check the codex for various guides that will help you understand this process.
In reply to: profile page issue@sarathvs-1 Please read the codex for guides on how to work with BP templates, Docs should always be first port of call!
BP works in the same manner as WP pages do in terms of hierarchy and thus also fits seamlessly into child themes or parent ones, you never directly edit template files.
In reply to: Using BP_DEFAULT_COMPONENT to select a plugin tab@macpresss Thanks for the Codex contribution, I have however moved it for the moment to the user submitted guides under getting started as the components section is really descriptions of the standard default BP settings.
In reality we do have a page in progress here https://codex.buddypress.org/developer/filters-reference/ which is designed to list filters and defines in one place due to the large number of these.
In reply to: Newbie question about styling the Member screenYour theme isn’t aware of BP components so can’t add any particular styling to them other than whatever default properties it styles such as links and it’s major structural elements, by the same token BP cannot be aware of the variances of theme it may be slotted into so has to keep it’s styles to an absolute minimum to enable a basic layout for components, thus the onus is on the user to then take and extend the BP styles to better fit to their requirements; for this you will need a basic level of CSS knowledge.
In reply to: Warning message under groups>group one>MembersAnd what results if you switch to a known working theme?
https://buddypress.org/support/topic/basic-troubleshooting-tips/This sounds like a theme issue due to reference to ‘CustomHeadersAndFooters::loop_start()’
In reply to: Shortcode use in profile fieldsYou could do this by adding a conditional check around the tr markup in the while loop that generates the field name and data
while ( bp_profile_fields() ) : bp_the_profile_field();With that check in place you would then remove the
bp_the_profile_field_value()function and replace it with something likeecho do_shortcode( '[myshortcode user_id=' . bp_displayed_user_id() '] );In reply to: remove CSS underline from links (bp default theme)@mehdi-w The ruleset example does work as originally given you and placed where suggested, so if it isn’t then you either have a modified theme which you haven’t informed us of or you have added the ruleset incorrectly, sadly as you provide no information as to what you attempt each time we are just stabbing at solutions for you.
In reply to: Codex (conditional) template tag page MIA@henrywright-1 Thanks for fielding.
I have removed those links, as Henry says the codex is currently undergoing general review and update.
Checking the revision history on that page showed me those links were added two years ago, and there is no corresponding page I can find, I suspect what was actually intended was that those links be inline anchors links href=”#some-token”.
@nowton With tags such as conditional ‘_is_’ ones they are generally boolean so returning either true or false and their name acting as the reference so in this respect further reference or explanation unlikely with all tags will be referenced in this one page.
In reply to: 1.9 Beta testingNot sure of the problem, but it sounds plugin related if only happens when posting to social networks, so may not necessarily be a BP issue, but with possible issues with BP betas please post to https://buddypress.trac.wordpress.org/ using your user account login with full steps to reproduce; posting in the support forum will just get lost.
In reply to: Buddypress template conflictThat page looks fine. You’ll need to define what you mean by “templates look messed up” and whether that’s in a specific browser.
In reply to: Adding Dynamic Profile Link to Main Menu ItemIn BP 1.9 there are now built in BP account screen links that can be added to WP menus.
@henrywright-1 no the article is new at least for this current codex project and as with all pages we welcome comments and suggestions, it’s a basic set of guidelines designed to keep some uniformity to pages and submissions
I looked for that function but it doesn’t exist and the activity loop filters it’s loop if it sees bp_displayed_user_id() so that tag would have little use – I suspect it was removed long before things were added to deprecated files?
@henrywright-1 thanks for spotting that, the whole aspect of auditing the codex pages for outdated references is a very slow & laborious one.
In the codex guide page I added I left two snippets of code at the bottom to be used to add flags to the top of pages if issues are spotted, but equally yes if you’re confident that somethings wrong or needs updating please go ahead and do so, and drop myself or @mercime a note that you have – if possible, not essential – just so we’re aware, as it may signify a page needs checking in more detail.
In reply to: Upgrade from 1.2.8 to 1.8.1 ISSUEWhen you do anything like upgrading an app and you’re not 100% familiar with the process you MUST read the documentation, looking for any guides or instructions to follow.
You are attempting to update a really outdated version of BP, and you cannot do a straight jump to the latest stable:
Read this page and link to upgrade process for 1.2 versions to 1.5
https://codex.buddypress.org/getting-started/upgrading-buddypress/And strong word of advice, keep current with latest releases of BP in the intervening version releases there have been a few critical security fixes that left un-patched leave your site and others vulnerable
In reply to: [Resolved] no support on wordpress latest versionYou need to follow up with your hosts, BP does not contain any nasties and this sounds like a false / positive from some form of scanning software your hosting provider uses, but you never did answer the question where you obtained BP from in the original failed attempts.
In reply to: Buddypress pages break the theme, where do I start?The first place to start is with the BuddyPress documentation ( Codex ) Read the following two pages to familiarise yourself with BP theme compatibility and how to use custom files, if that isn’t sufficient to correct your issues you may have a theme that does not play properly with the WP template process and has a custom process for dealing with the loop in ‘pages’ which will need modifying in a custom bp file, however the theme author is best placed to be able to tell you what adjustments you need to make.
In reply to: bp-legacy in bp-templatesDon’t be confused by the term ‘Legacy’ those files in that directory section are the format for template files working under BP’s new theme compatibility layer, use those for any custom mmods you need to make copying them to a theme/child theme in a directory named either ‘community’ or ‘buddypress’ and observing the folder structure within that directory to maintain paths.
In reply to: Error to add new groupIt’s not good form to post a question in another thread it causes confusion. In your other threads I did mention basic trouble shooting so can you confirm you have tried deactivating your custom theme and trying with one known to work and that all components are activated and have pages existing for BP to use.
https://buddypress.org/support/topic/getting-help-for-this-forum/ a quick response to that thread would have been appropriate just to let us know that you understood those basic steps.
In reply to: bp-custom.php vs. functions.phpbp-custom.php does run as Paul advised earlier, nothing has changed I ran some test code in one yesterday so know there’s no issues.
There must be something else occurring as both those defines work.