Hope that you understand this tutorial:
codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/twenty-thirteen-theme/
A child theme does not have to have more than style.css, correct? This is a child theme of 2013.
https://codex.wordpress.org/Child_Themes
I can add an index.php, but I don’t have a reason to customize it yet. Are you saying that a child theme has to have an index.php in order for files in a buddypress dir to show up?
Hi,
I’m trying to create a theme that will use a basic set of BP functions (primarily messaging) and I’m having some issues.
I’ve created WP Pages for the main functions with a custom menu bar which also shows the user name and number of messages in their inbox using:
<?php if ( is_user_logged_in()) :
// get the currently logged-in user
$user = wp_get_current_user(); ?>
<li><a href="../cot_inbox.php">
<button type="button" class="btn btn-info">
<span class="glyphicon glyphicon-envelope"></span>
<span class="badge"><?php bp_total_unread_messages_count() ?></span>
</button>
<?php // echo the user's display_name
echo $user->display_name; ?>
</a>
</li>
</ul>
The page cot_inbox.php is where I want to display the user messages. However, even though I haven’t yet added a message loop to the page (which I created manually) I still get “Sorry, no posts matched your criteria.”
So my questions are:
1) Is this a caching/stroke db issue? I did originally have a message loop on the page but removed it
2) What would be the recommended way to create an inbox/messaging page in Buddypress, if not by creating a new PHP page and adding in the content?
Many thanks,
Mark
@eable so your theme contains just the /buddypress/ folder and style.css and 404.php files? I think that might be your problem. Themes must include an index.php file. Try adding one and see if the problem is resolved.
I’ve uploaded them to a working child theme installed on a working installation of WP multisite. Both WP & BP are the most recent versions.
mytheme is a child of 2013 that contains
style.css
404.php
and the buddypress folder I copied from within the bp-legacy dir
no functions.php yet
BuddyPress is installed and working.
I’ve made child WP themes before, but never with BP.
I copied the buddypress folder that is contained in bp-legacy. Is that not was what the directions meant?
That sounds right to me.
If I did this right, why are the files not visible in the WordPress back end at Themes > Editor > mytheme?
If you’re not working on localhost, you’ll need to upload the files to your web server. Have you done that?
Thankyou, @henrywright.
Copying the whole plugin would be much more than what I did.
I copied the buddypress folder that is contained in bp-legacy. Is that not was what the directions meant?
If I did this right, why are the files not visible in the WordPress back end at Themes > Editor > mytheme?
My wp-config.php and my .htaccess are both correct, isn’t it? –
What shall we do? –
— Shall we try to get the button at issue visible within the current WordPress-installation (with www. in the general settings)?
— Or shall we try to solve the “Umleitungs”-problem, which appears, when I remove the www. from the general settings (s. https://buddypress.org/support/topic/no-button-for-finishing-registration/#post-187046)?
Hi @eable,
The directions look like they mean for me to move the whole of /buddypress/ into my child theme
Be careful not to copy the whole BuddyPress plugin to your child theme. Just the templates should be copied. As you mention in your post, the templates are found here /bp-templates/bp-legacy/buddypress/
Also worth mentioning is you only need to copy the templates you need. So for example, if you want to modify the members loop, then you can just copy members-loop.php into folder /your-theme/buddypress/members/members-loop.php
Hello all,
How should i show xprofile fields from newly created xprofile groups into user profile.
I added new fields in Base group and the fields shown in signup but i can’t find any way to show fields which i created in new group.
Wordpress version : 3.9.2
BuddyPress version : 2.0.2
Thanks in advance
Are you using two buddypress on the same account ?
What is your WP configuration ?
Hi @rutzki,
are you responding to yourself ?
i dont find, where i have put in the german translation in the po file.
😀
If you use poEdit, you can create your own copy of de_DE.po directly from the source on your local buddypress copy.
The .po file header information necessary to get all translatable strings:
msgid ""
msgstr ""
"PO-Revision-Date: 2014-08-06 02:16+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Poedit 1.5.7\n"
"Project-Id-Version: BuddyPress 2.0.2\n"
"POT-Creation-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
"_n_noop:1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
"X-Poedit-SearchPath-0: ..\n"
https://codex.buddypress.org/developer/translations/
Version 2.0.2 | By The BuddyPress Community I don’t know where to find my version of wordpress. Its the most up to date as of today.
My issue is buddypress works on one site and not the other.
I have the pages associated for each
“The following active BuddyPress Components do not have associated WordPress Pages: User Groups, Activate, Register.”
I went through the deactivate and see method and found that Vantage theme page builder was the culprit. I figured deactivate, delete, re install would work, but no.
I don’t understand why its working on one and not the other. Please help, thanks.
I am attempting to follow the directions near the bottom of the page here, for “Child Themes.”
Theme Compatibility & Template Files
I have the most recent BP 2.0.2, WP 3.9.2 installed in the root, with an install of multisite that uses subdomains.
I am hoping that I can incorporate customized buddypress templates in my child theme for Twenty Thirteen. The directions look like they mean for me to move the whole of /buddypress/ into my child theme:
“Therefore, you can modify any bp theme compatibility template by copying it over from:
/bp-templates/bp-legacy/buddypress/
To:
/my-theme/community/ or /my-theme/buddypress/”
When I do this, WordPress doesn’t find what is in /buddypress/.
What am I missing? I keep reading, but it’s not making sense. Can someone please explain?
Hi guys,
I’ve seen this asked a few times but haven’t found an answer.
Does anyone know how to automatically subscribe users to your email list (aweber) upon registering for your forum?
Thanks,
@greataussiepie
did you noticed that profile field datas are clickable ?
This default behaviour is intended to be use as a filter.
Member A filled the Contractor field
If any visitor goes to member’s A profile and click on the Contractor field value, BP will show a list of all other members who also filled in this field.
So what you want to get already exist !
bp_get_the_profile_field_value()
https://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/
Hi
I am having problems redirecting users to a custom page or redirect page after a user has logged into my site. BuddyPress was redirecting users to the Profile page. I then disassociated pages on BP and now BP redirects to one of my posts (not sure why redirects to that post in particular).
I tried using BP Login Redirect plugin but made no difference i.e still redirects to a post. I have also tried adding redirect and remove BP redirect filters in my theme’s functions.php but BP seems to always overide and redirect to profile or post page.
I use a redirect url for when the user clicks on login link but again BP overrides and redirects to profile or post page.
http://www.nowstreetdance.com/login/?redirect_to=/add-street-dance-class
My login redirect used to work before I installed BP.
I even tried to disable BP plugin but I get the following error
Fatal error: Call to undefined function bp_core_get_user_displayname() in /home/hbntechn/public_html/nowstreetdance.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 843
I have searched online for solutions but to no avail. Any pointers appreciated.
Site Details
Buddy press version – 2.02
Word press version – 3.9.2
Thanks
henry
Thanks @danbp for your reply.
I am fine with your explanation about the private and public nature of activities. My original question was about new forum activities created afterchanging a group’s status to public not showing up in group (&sitewide) activity anymore.
The real issue is this: Buddypress automatically creates forums during group creation if the check box is marked in. Private forums for private groups; public forums for public groups.
However, Buddypress does not change the visibility of the forums themselves when a group’s visibility is later changed. So while you think that your group has become Public now, it is still running a private forum inside itself.
Hence the queer case of the missing forum activity. So yeah, the workaround would be to manually change the forum’s visibility whenever one changes the group’s 😉
@danbp
Just Wow!
If forwarding a message in a “Messaging” app is considered picky, then guilty as charged.
That fact that you are stunned that that we use the internal messaging system to communicate with our users is a little lost on me. I really thought that was what messaging was for.
As for composing a message to users not on your friends list, it indeed can be done, but only if you can remember exactly what the user name is. Auto-complete is unavailable unless they are on your friends list. If you can remember every single user on your site with names like rad_dude87155, then I guess you wouldn’t need that feature. I understand why it designed that way, but it really should be optional, and most definitely available to admins. Just have a look here and tell me this is an unreasonable request.
https://buddypress.org/support/tag/autocomplete/
It certainly seems you don’t set a very high bar for a messaging app which is why you keep pointing me away from this one. Indeed I may have to find a better solution, and maybe all of the other people who posted with similar problems should be steered away as well and you won’t have to deal with anyone who expects what was stated in the documentation, let alone suggesting maybe improving the app.
Thank you everyone that actually tried to help and worked to fix the bad documentation. If I hit a nerve for expecting a common sense feature for a messaging app, then I apologize. I guess I should take danbp’s advice and look elsewhere.
Hi,
I am new to BuddyPress and i have been looking for a tutorial that will show me how to add a custom profile field to the order by drop down menu on the members page.
What i have is a organisation with different members, i have created custom profile fields for each user to select which type of member they are. they can select Contractor or Training organisation. I want users to be able to filter the members page by Contractor or Training organisation so they can easily see all the contractors.
So far the only thing iv been able to do is add a member loop in my child theme to make my custom profile fields show up on the members page, after reading add custom filters to loops, im totally lost as to how to achieve this because i can only just kind of understand what this tutorial is trying to do, but i dont think it helps me.
If anyone could link me to a tutorial on how to just give users the ability to filter members by member profile field using a drop down menu or something that would be awesome thanks 🙂
(I actually have 4 member types, but used 2 here for simplicity sake.)
oh I see: you are very picky ! 😉
The only way to be notified is this setting page (under the condition you activate BP’s private message component). And as you can see, there is no possibility to forward message.
On front or on back end.
As an admin on our site, I am left with tons of unnecessary work when I need to forward messages to my mods from a user.
I’m a little stuned why you receive user messages if they want to contact a mod in fact. If you do unnecessary work, i would suggest you find a better handling method first. But i maybe wrong and this point is more subtle as i understand it here.
Anyway, this is your really specific BP usage. And so far i know, it is not a very common usage. BP cannot respond to absoulte any user usage. No software can do so.
As site admin, i never encountered any problem to contact the site members. And i never needed to create a friendship first to contact any of them. This action is only used when you want to invite members to join a private group.
So if you think you’re right, you’re free to ask for an enhancement on the Trac. If the devs will consider your demand as justified, you can begin to hope to receive satisfaction one day.
If not, or if you don’t want to wait, you’re free to develop your own solution.
Of course i disagree with this opinion:
It was most certainly not designed with efficiency on mind.
IMHO it’s better as nothing. Imagine one second that BP had no messaging system… The actual maybe rustical, incomplete or not responding exactly to your need, but would you be efficient enough to find another free and so powerfull software as BP is ? 😉
@bp_help
I fear that this may be a typo as well which is a terrible shame. As an admin on our site, I am left with tons of unnecessary work when I need to forward messages to my mods from a user. We have resorted to just taking screencaps when we can get away with it, as pasting text from a message is never properly formatted.
On top of that, even as an admin I can’t message my mods or even users directly unless they are on my friends list. Both of these things make messaging within buddypress a huge hassle and disappointment. It was most certainly not designed with efficiency on mind. 🙁
@danbp
I am aware of all that but I fail to see what it has to do with forwarding messages. Forwarding messages would be internal like all other messaging.