Forum Replies Created
-
In reply to: bbPress User Profile vs. Buddypress User Profile
BP, bbP or WP user are all registered in the same DB table: wp_users
Iโve never actually found a link that goes to the old bbPress profiles
You expect something other ? And if they don’t exist, they cannot redirect.
If you havee other questions about bbp/bp forum, read here first. ๐
In reply to: WordPress Theme Incompatibilityhave you forget to assign a page to each activated BP component ?
Have you tried with one of the WordPress default theme ?In reply to: Language missing string@dreamwork
WP version ?
BP version ?
Theme name ?
Used Plugins ?Did you search on this forum before asking ?
In reply to: notificationsHello @projectfms,
Made is a premium theme fom 2012. And support is included in the licence price. His compatibility is actually given for WP 3.7 and BP 1.8.
Checked your home page source code and found a path to bp-default:
https://www.glosszenenzo.nl/wp-content/plugins/buddypress//bp-themes/bp-default/_inc/global.js?ver=20110818Give a try to this solution.
– rename the mentionned global.j into xxxglobal.js
– go to wp-content/plugins/buddypress/bp-templates/bp-legacy/js/ and copy buddypress.js
– return to /wp-content/plugins/buddypress//bp-themes/bp-default/_inc/ paste buddypress.js and rename it to global.js
– clear browser cache
– check if it changed something.Otherwide you have to ask the theme author. We cannot help more here for premium theme issues.
Also read general theme documentation.
In reply to: Display xprofile data in Activity StreamHi @saxisme,
This function will add the company name under each user avatar, on every activity screen (swa, profile, friends…)
To do so, you have to add a do_action to the template. In your case, add it into (child theme)/buddypress/activity/entry.php, before the closing tag of the div containing the avatar (around line 24)The snippet goes into theme’s functions.php or bp-custom.php
function saxisme() { $user_id = bp_get_activity_user_id(); $company = xprofile_get_field_data('42', $user_id); // field ID or name echo '<div class="authorinfo">'. $company . '</div>'; } add_action( 'showsaxisme', 'saxisme' );You add this to entry.php
<?php do_action( 'showsaxisme'); ?>In reply to: Buttons From Profiles And Pages Are GoneProbably a theme issue. Which one do you use ? If you use a premium theme, you should ask on the theeme support anyway, not here.
Read here.In reply to: Contributors can't see groupsPlease read here.
In reply to: Modifying / Customising the registration process@ciromanigrasso
open a new tread please – this one is 3 1/2 years old…. ๐ฟ – read here before and explain YOUR issue!Thx
In reply to: How add filter to bp_the_profile_group_field_ids?@simpleone,
you found the reason why it doesn’t work on one site and not on the other !
1.9.1 and 2.0.1 are sligthly different BP version !
And the function you mention whas only introduced in BP 2.0, so this can’t anyway work on previous versions.Actually there is a small bug in BP 2.0+ when using this function to modify profile groups. I opened a ticket about this and @imath provided a patch that works and let the function handle correctly on profile groups. I personnally use this function to conditionnally show/hide fields from the base group without problems. My profile form contains over 20 fields in differents groups, even Base, and are all required and viewable by members only.
I advise you to cancel whatever you have done about this so far, to apply the patch, to add the function to bp-custom.php and to test again.
Please don’t post BP files, it’s really unnecessary. We’re all BP user ! ๐ฟ
Sorry, i didn’t correctly understand your request. I thought you wanted to change the order of the selectbox filters. If you also interested, see this old tread.SWA shows by default all site activities and they can be filtered. It is well documented on the Codex.
If for some reason you don’t want to modify a theme file, you can use a custom function and put it into bp-custom.php
Example ( BP 2.0+ only)
function make_swa_show_notice_only( $retval ) { if ( bp_is_page( 'activity' ) ) { $retval['action'] = 'activity_update'; } return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );Now the swa shows only notices (if exist). If you need to see a member activity, you have to go on his profile. Same for groups, the activity is only on the group page.
You simply have to modify the html order of the select you will find in /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php.
This will only affect the site wide activity Show: [All]
If you want the same behaviour on all activity pages, you have to change accordingly each index.php file of each activate component.
In reply to: Nothing seems to workIn reply to: How add filter to bp_the_profile_group_field_ids?In addition, i woud warn any user who want to use bp_parse_args to exclude profile groups (exclude_groups only), that you will get a php warning.
To avoid this, please read this ticket and apply the patch (BP 1.5 to 2.0.1).In reply to: How add filter to bp_the_profile_group_field_ids?Hi @SimpleOne,
read from line 154 in bp-xprofile-classes.php file. It contains many information for what you want to do.
See also on Codex here and hereYou can also revert your changes back and use this kind of function (goes into theme’s functions.php or bp-custom.php):
function simple_one_hide_some_profile_fields( $retval ) { if( bp_is_profile_edit() ) { $retval['exclude_fields'] = '48'; //field ID's separated by comma } return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'simple_one_hide_some_profile_fields' );May this help ? ๐
In reply to: Insert Code Next to BP Profile Avatarhi @ricardo_s
file reference is bp-templates/bp-legacy/buddypress/members/single/members-header.php
Codex infos about loopsPut the function in your-theme/functions.php or in bp-custom.php.
Example
function my_function_name () { // your stuff here if ( $data = bp_get_profile_field_data( 'field=your_field_name ' ) ) : ?> <div class="what_you_want"> <?php echo xprofile_get_field_data( 'your_field_name', bp_displayed_user_id() ); ?> </div> <?php endif; } add_filter( 'bp_before_member_header_meta', 'my_function_name' );In reply to: Creating "packaged" media setsHi @rybo3000,
Perhaps you can use BuddyDrive, who works on profiles and use many many mime types (so far you selct them). Not a “post”, but each uploaded file is handled separatly, profile by profile.In reply to: Translation problemHi 3×7 !
since 2.0 BP is loading automatic translation; This means that if you had a previous version installed, with a correct translation, that the new one is now active.
Check in the wp/content/languages/ directorythe /plugins/ folder who maybe contain buddypress-xx_XX.mo/po files and it’s possible that you have also buddypress-xx_XX in the /languages/
Open the po file and take a look to header. Normally you will see the version number.
If you use a custom po/mo for your BP, put these files in the wp/content/languages/plugins/
See also in your theme and avoid to use buddypress-xx_XX.mo from /buddypress/bp-languages/ (as a reminder)
More details about translation, here and here.
BP translation for all languages are now on translate.wordpress.org. If you’re a translator or if you want to contribute, i encourage you to participate on this projet. ๐
In reply to: Mastermind: BuddyPress Education Open SourcedHi @julianprice,
Your proposal is respectable, but unfortunately I do not think it will have a big impact on visitors to this forum. Most of them just ask for help, not for explanations and certainly not to take lessons! The explanations are (mostly) on Codex (thxs @mercime, @hnla) and the plasters for big and little sores are (sometimes, thxs contributors) on the forum.
I reply to your message because this is the second time you propose this type of approach and this is obviously a topic that you would like to heart. But this is about you, your views and your motivation. In front you have a diverse audience, ranging from amateur to pro, between noobs and specialists, from many different countries, with very different mentalities and very different social behaviors. And as you can see by browsing the forum, topics are usually short, sometimes poorly worded and often unanswered. Hard to read ? No, it is only the BP audience in his whole variety !
The reasons are multiple, irrespective of audience: lack of product knowledge, panic facing an unidentified problem and therefore inability to articulate, language barrier, and much more serious, lack of time, real or perceived problem, given to the treatment of a case. We are in 2014 and on the Internet, where each ms. count !
As already said, the helpers community is small, very small compared to buddypress downloads ! Personally I would have difficulty establishing a Helpers Top 50, despite my six years of attendance in this forum.
Anyway, all of this is common to any support forum, at least I observed. This support forum is not a discussion forum, is not a course forum, is not a philosophy forum. And IMO, it is allright so.
You want to educate ? Ok ! But does the BP audience want to learn ?
Learning is a complex process, on an individdual and collective point of view.
Learning suppose some basics, such as a thematic unicity, volonty, curiosity, motivation and, at least, a handfull of humility.Educating. Wow ! There is so much to say about that… Ok. Let us talk about educating over BuddyPress… What part we address first ? PHP ? HTML ? CSS ? MySql ? Server administration ? SEO ? Usage ? BP is only a shell, not a unic thematic like a math course.
Ideally, educating needs some talents, a robust knowledge of a subject, a natural disposition to teach and a lot of time and disponibility without any guarantee of results. You certainly need also a good dose of self-denial and a large space behind you to be able to step back in any circumstance. And a handfull of humility. Too !Now, let us consider John Doe. The supposed to be educated user.
The majority struggles when asking for help to strangers. Asking a question on a forum is more like a message in a bottle as a grammatical demand between four eyes to your English teacher. How many people read only on forums but never ask anything because of this feeling?
And which attitude to adopt when we receive a response, good or bad? Must we say thank you if the help doesn’t match our goal? Should we rephrase with the risk to be considered as a profiteer? Should we hook in a topic believed to be identical to our problem and already written (time spare is time spare!!!) or open a new tread? This are so commonly questions, that the world wide forumers needed to create from scratch a web specific phenomenon: the troll!Askink for help under these conditions and with such uncertain issues is not easy at all.
Receiving any kind of answer is not easy, too.
Receiving a circonstanciated answer, with various explanation, examples, links and tutti quanti, from an unknowed person, personally, voluntarily and without consideration, is very very stressfull and really difficult to accept. Take a minute to consider this point, because we are all, and all over the world, habituate to handle such a situation with money, not (no more or not yet) with our felling. Consider also that we are all dependent and in varying degrees of mood, touchy, selfish, proud. This is more or less our daily reality who, when on a forum page, we opposite to a disembodied screen readed text. It’s very unnatural, no ? And so difficult to digest for any normally constituted human for sure ! Affect against computer. EOL.Do you really want to <i>Educate the General Public</i> about BuddyPress ? Do you want to proselytize or advertize ? Create a dedicated site, do your stuff, and maybe with a few chance, great patience and a lot of perseverance, you will come to aggregate in a few years a cute pretty lttle buddypresser community.
Dan. Paris. France.
In reply to: Language of Item-NavOf course you can change these tab labels.
Read here and here for general information.It’s possible that the problem comes from your theme or a plugin. You have to debug…:evil:
First thing to check is the content of your language folder.
Normally buddypress-xx_XX.mo/po files are in wp-content/languages/
See also if you have a “plugin” folder in “languages”. Maybe you have a second buddypress-xx_XX.mo in it. In this case, it is this file who has priority over the other. If you have a custom translation, you have to place it in this folder anyway.Second thing to check are the theme/(possible)plugin translation vs. BP translation.
FYI, since BP 2.0, WP/BP/bbP translations are automatically updated from Translate WordPress (Glotpress), but you have to ensure that you have the correct version. Simply open the .po file with a text editor like notepad++ and read the header content.
If the above debuging process have no result, here’s a good solution by Alex (@viper007bond) to “force” a translation or customizing an existing.
Successfully tested on BP 2.01 ! ๐In reply to: German Translation not working at allHi,
see if you have a folder named “plugins” in the wp-content/languages/ directory. If yes, you can put the buddypress po/mo there. This folder content has priority over “languages” content.FYI, the file who make translation possible is not the po, but the mo file !
In reply to: Traslation: Lost PasswordThis string doesn’t exit in WP, BP or bbP:
ERROR: The username or password you entered is incorrect. Lost your password ? Do you use a custom login plugin ?All po/mo used for a WP/BP install are located in wp-content/languages.
Can you test the translation by activating Twenty thirteen and have you tested without any plugin except BP ?
What theme do you use and site URL please !
In reply to: Traslation: Lost Passwordola !
I have no idea, but some paths…First, if you altered the user.php, it’s the wrong way, because it’s a core file. Translation modification should only be done in the po/mo file
Secondly, you have a special character (tilde) in the word contraseรฑa. Would probably be more secure that you use the HTML entity for this.
Don’t know what you did before the errors screen, but you have to go back to a previous stage, without errors. Deactivate all plugins, except BP. Remove the WP translations files from the languages folder, and try to enter your install in english…
Please read more about BuddyPress language here.
In reply to: Traslation: Lost PasswordThis string is in WordPress: wp-includes/user.php:153
<strong>ERROR</strong>: The password you entered for the username <strong>%1$s</strong> is incorrect. <a href=\"%2$s\" title=\"Password Lost and Found\">Lost your password</a>?hi @tsabar
code is located in buddypress/bp-core/bp-core-widgets.php
BuddyPress Login widget
Maybe read here also ?
In reply to: Users are able to change name to Admin