Search Results for 'buddypress'
-
AuthorSearch Results
-
August 31, 2014 at 8:26 am #188801
In reply to: create a group – name label
danbp
Participantgolden rule: never change a core file.
If you want to customize things you should use a child theme. And to ad/remove or modify core functions, you should use your child theme’s functions.php or bp-custom.php
In create.php are 18 hooks you can use to add some custom explanation !
In your case, you may hook intodo_action( 'bp_before_group_details_creation_step' );https://codex.wordpress.org/Child_Themes
https://codex.buddypress.org/plugindev/bp-custom-php/August 31, 2014 at 8:06 am #188798In reply to: Installing BP and creating new pages?
danbp
ParticipantIs that correct? YES !
The rest of your topic, even if respectable, is a bit due to your inhabitude of BP i guess. And probably also of some WP usage around pages.
You can create as many pages as you want with WP. The difference between a page and post in WP is tiny, but very important. Both are post, but not with the same type ($post_type->post and $post_type->page). All this is detailled on the WP Codex.BuddyPress is a plugin and use his component pages only for internal puprpose – because WP need them to work with BP… and conversely!
BP is shipped with some widgets, including a member’s widget with 3 filters letting you do exactly what you discribe.
For other custom use of buddypress, you can search for dedicated buddypress plugins on the plugin repo.
August 31, 2014 at 7:31 am #188793danbp
Participantinstead of struggling with custom roles, i would consider to use one or more private groups for the rescue group. With this setting, you even don’t need two types of members.
And somehow, the memberslist of a private group can than be hidden with some extra adjustment.
August 29, 2014 at 9:47 am #188689In reply to: [Resolved] Warning message on my activity page
Henry Wright
ModeratorHi @flaviamelo
BuddyPress doesn’t have a
Login_Helperclass or achange_buddypress_avatarmethod. Which plugins are you using? This is 99.99% likely to be due to one of them.August 28, 2014 at 11:43 pm #188680In reply to: [Resolved] Display a membership number
shanebp
Moderatorafaik – bp_displayed_user_id() requires an echo for display.
So in your template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.phppaste:
echo bp_displayed_user_id();August 28, 2014 at 11:32 pm #188679In reply to: [Resolved] Display a membership number
Henry Wright
Moderatorbp_displayed_user_id()is the member’s ID so perhaps that’s the same as a membership ID? I’m not sure it matters though as the important part is it’s a unique identifier so whatever name we give it is irrelevant.You should be able to add it to your member-header.php file. Which theme are you using? Some themes might not have it so you’ll need to create it yourself if that’s the case. It might be worth reading up on the Template Hierarchy to get a feel of how BuddyPress templates work.
August 28, 2014 at 11:20 pm #188678In reply to: [Resolved] remove sidebar
danbp
ParticipantRemove get_sidebar from the template ! Must be done on a child theme / check first your theme support.
Get an idea of how to do this here (as example)August 28, 2014 at 7:52 pm #188672In reply to: User Registration Issues
wp_maybe
ParticipantPerhaps this could help: https://buddypress.org/support/topic/new-user-invalid-key-the-solution/
August 28, 2014 at 6:17 pm #188669In reply to: User Registration Issues
dylss505
ParticipantI realize now that the Activation page for BuddyPress was not active. I have added this page. Now the authentication goes to the registering user, but it says authentication key invalid.
Is this a bug? Has anyone fixed this on their site?
August 28, 2014 at 5:51 pm #188665In reply to: Invalid Activation Key
danbp
Participantit’s an old topic related to BP 1.7. And @mercime already answered to the same question as yours.
Read about troubleshooting on the BP Codex.FYI wp codex gives also general advice on how to debug. You may also find many related topics on this forum.
Please open a new topic and give your install type, theme name and used plugin and explain your problem, when it arrived, what you already tried, etc
August 28, 2014 at 5:42 pm #188663In reply to: [Resolved] Adding generated link after Group name
danbp
ParticipantHi @jabbajabba,
create first a child-theme and add this snippet into functions.php or bp-custom.php
We are going to use one of the existing action hook in the group header template and add it a custom function.
function jabbajabba() { echo '<a href="#">click here</a>'; } //add_action( 'bp_before_group_header_meta', 'jabbajabba' ); //add_action( 'bp_group_header_actions', 'jabbajabba' ); add_action( 'bp_group_header_meta', 'jabbajabba' );The snippet has 2 commented action, so you can choose the best place for your link button.
Reference file is
buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.phpAugust 28, 2014 at 1:04 pm #188646In reply to: Conflict with my plugin
Paul de Wouters
ParticipantReferencing ticket: https://buddypress.trac.wordpress.org/ticket/5843
August 28, 2014 at 11:49 am #188643In reply to: Conflict with my plugin
Paul Wong-Gibbs
KeymasterHi @pauldewouters, welcome to the BuddyPress forums.
Sounds like this discussion should be moved to a Trac ticket, if someone would like to do that.
I’m not familiar enough with this part of the code to know if this is a good way to fix the problem, but I know a man who does: @imath – hello. 🙂
August 28, 2014 at 11:10 am #188636In reply to: Conflict with my plugin
Paul de Wouters
ParticipantThanks for your reply.
So, did a little research, and Codex says:The function [
get_current_screen] returns null if called from the admin_init hook. It should be OK to use in a later hook.So BuddyPress could check whether the
remove_signups_from_user_querymethod was called through theadmin_inithook and return if so:if ( ( doing_action( 'admin_init' ) ) || $this->users_page != get_current_screen()->id ) { return; }This fixes the issue for me.
August 28, 2014 at 8:56 am #188626danbp
ParticipantHi @presis_carsten,
could effectively be a translation issue. Why ?
For translation, we (i translate BP into french) mostly use HTML entities for special characters.
In brief, accented letters in HTML. For instance, if you want to typeéényou would typeéén.The only part this should never be used is in the messages, as gettext doesn’t handle mail content.
And so far i see, the dutch phrase contains such an accented letter (beëindigen)
buddypress-nl_NL is here. And you’re free to modify it on Glotpress and of course in your copy, with poEdit or similar.
I checked WP & BP’s nl_NL version on Glotpress and didn’t find the phrase you mention. Could it be you use a very old translation or some notification plugin ?
August 28, 2014 at 8:35 am #188623DarkPsy
ParticipantHello Dan,
I’m using it in the exact same way I was a week back when everything was working just as expected, suddenly it stopped working.
I also have this message being displayed
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in ~wordressdir~/wp-includes/functions.php on line 3245 Warning: Cannot modify header information - headers already sent by (output started at ~wordressdir~/wp-includes/functions.php:3245) in ~wordressdir~/wp-includes/pluggable.php on line 1121The bbPress plugin isn’t something I feel this is related to. Basically I’m baffled cos it was working a week back and now it’s not. everything is the same way. Even on a clean install it backfires.
Buddypress 2.0.2.
WP 3.9.2August 28, 2014 at 8:31 am #188622In reply to: Installing BuddyPress and my site crashes
danbp
Participant@maria-d15
this error messageare you sure you want to do this?is generally due to a js failure, some nonce who doesn’t operate in time and order or so.Deactivate all plugins from FTP (just rename the plugin folder) as you can’t access your dashbord.
Go back to your site and check that any thing is working in WP. Activate one of the wp theme: 2013 or 2014. Re check.Go to dashboard > pages and delete all bp related pages. Don’t forget to clear also (important) the trash after that.
Now you have to create a new plugins folder on FTP (so you have an old xxxxplugins folder with your before used plugins) and a new one (named plugins), which is empty.
Go back to the dashboard > extension and upload a new copy of BuddyPress. Activate the plugin, do all settings and see if it is working.
August 28, 2014 at 8:31 am #188621In reply to: [Resolved] Can I create a website like facebook?
Henry Wright
ModeratorHi @anivarth,
Check out BP Chat. It’s a “Facebook-like chatting plugin for BuddyPress”.
August 28, 2014 at 8:02 am #188617danbp
Participantis there a better way to do it?
If you expect some help, you have to tell what you already did on the way you mention.
As you built your own theme, you perhaps use this function outside of the bbPress scope ?
What does it give by using get_avatar() ?Do you read this bbPress codex page ?
Maybe better you ask on bbPress forum – remember although bbPress is a standalone plugin, integrated with buddyPress.
August 28, 2014 at 12:26 am #188607In reply to: display email in member directory
rthomasTechnology
ParticipantThat’s not it. I’m in members-loop.php. That (as I understand it) is the file that controls what people see when they go to the default members directory in BuddyPress (the page that shows you everyones icon, their name and when they were last active). I want to add the users email addresses to this screen. At one point I found a line of code and pasted it between:
<div class=”item”>
<div class=”item-title”>
“><?php bp_member_name(); ?><?php if ( bp_get_member_latest_update() ) : ?>
<span class=”update”> <?php bp_displayed_user_email(); ?></span>
<?php endif; ?>
</div>
and
<?php do_action( ‘bp_directory_members_item’ ); ?>
<?php
/***
* If you want to show specific profile fields here you can,
* but it’ll add an extra query for each member in the loop
* (only one regardless of the number of fields you show):
*
* bp_member_profile_data( ‘field=email email’ );
*/?>
</div>which made the email addresses show directly under the names of the site members. I can’t find that code again.
Thanks
RandyAugust 27, 2014 at 10:22 pm #188603In reply to: New User – Invalid Key – The Solution
r-a-y
Keymaster@antimuffin (or anyone else) – Can you try the fix I posted here?
August 27, 2014 at 7:53 pm #188596In reply to: [Resolved] Can I create a website like facebook?
Jean-Pierre Michaud
Participantright now, all your requests are “in” buddypress… example:
1- there are some paid chat scripts that do everything autonomous… but you need to know that chats are stored texts, same as email etc… and the feed even in ajax take a lot of server power… you need to contact a webHost that would offer you a good deal on large scale hosting if you have a lot of clients.
2- integrated to Buddypress
3- some buddypress plugins offer more flexibility added to existing features, like membership, access to personal data, etc… just do a search.
4- if you see in my profile, you will see my personal timeline
5- you need wp-login.php to be /login… use in admincp: /options/permalinks and change the default setting to anyother, and you will have these…
August 27, 2014 at 6:42 pm #188594In reply to: [Resolved] Can I create a website like facebook?
Anonymous User 13661254
InactiveThanks @danbp for your reply. Do you mean that I will have to buy anything regarding buddypress??
I already have hosting and domain. If so that I have to buy anything please tell mention them thanks!!!August 27, 2014 at 6:09 pm #188592In reply to: [Resolved] Can I create a website like facebook?
danbp
Participant@anivarth,
thesis:
We have many plugins […]Is there any other for free?
anti thesis:
I want to create a social networking site like facebook
Are you a poor ambitious dreamer ? 😉
See here what buddypress already can do, and read/learn here what you can do to approach something similar to FB.
It exist also some theme à la FB. One from many others.
August 27, 2014 at 5:41 pm #188580In reply to: display email in member directory
danbp
Participanthttps://buddypress.org/support/topic/how-to-get-the-logged-in-users-email-address/
or give a bit more details about you want to achieve.
-
AuthorSearch Results