Search Results for 'buddypress'
-
AuthorSearch Results
-
November 16, 2016 at 8:26 am #261072
In reply to: when create group slug, add action is better?
danbp
ParticipantHi @ruoge2007,
use code button to insert code into topic, thx.
Code suggestion or BP improvement cant be made on Trac. Devs don’t frequent the forum in depth.
November 16, 2016 at 8:20 am #261070In reply to: Custom msg in own profile
danbp
ParticipantHi @fakurkr,
the other solution is to use the existing action hooks existing in each BP template.
Templates are the files stored in bp-templates/bp-legacy/buddypress/ directory.For example if you read the code in buddypress/members/single/member-header.php, you will find not less than 6 action hooks, only for the profile header. This means 6 potential places where to add something like a message.
Th other avantage of this method is that you don’t need to modify any template and that you stay independant from any theme, because you will use a function from bp-custom.php
In your case, adding a message on user’s profile with help of a function like this:
function bpfr_my_message_on_profile () { echo 'Your custom text with HTML code or whatever'; add_action( 'bp_before_member_header_meta', 'bpfr_my_message_on_profile' );And because it is only fired on a profile header, you don’t need the conditional (my_profile). You can of course add other conditions. Sky is the limit !
November 16, 2016 at 8:05 am #261067In reply to: Login error codes
November 16, 2016 at 8:02 am #261066In reply to: Resctrict private messages
danbp
Participantplease use the code button to insert code into topics ! Thx.
You use PMPro and share code related to it. That’s nice and kind, but it is probably more difficult for the most of use who don’t use that plugin to discuss with you.
It can help you, here a great ressource to find anything inside BuddyPress: ie. search result for “N”November 16, 2016 at 3:06 am #261057In reply to: Bp custom Menu
livingflame
ParticipantHi @danbp
Me again.First look at this:
// Add Count Near Nav Menu function my_counter_nav_menu($menu) { if ( ! is_user_logged_in() ) { return $menu; } $user_id = bp_loggedin_user_id(); $user_url = bp_loggedin_user_domain(); $notify_url = $user_url . bp_get_notifications_slug() . '/'; ob_start(); ?> <li><a href="<?php echo $notify_url ?>">Notificaciones <span class="my_bubble"> <?php echo bp_notifications_get_unread_notification_count( $user_id );?></span> </a></li> <?php $menu_items = ob_get_clean(); $menu = $menu . $menu_items; return $menu; } add_filter( 'wp_nav_menu_items', 'my_counter_nav_menu' );This is a modification of your code for show notifications bubbles in Main Menu.
Okey, it works but, I dont want this line: <?php echo $notify_url ?>”>Notificaciones
I want to get bubbles for Buddypress-Nav-Menu. You know, Dashboard / Menus / Buddypress. Here you have buddypress links: profile, messages, etc. but, if you add “messages”, appear without counter. So, I want counter for these…
November 15, 2016 at 9:35 pm #261049In reply to: Hiding a forum from the forum list
shanebp
ModeratorHave you tried setting the forum to Private? Or Hidden?
Go to wp-admin > Forums > Forum Name > Edit > Visibilitybtw – these are the BuddyPress forums.
For support for bbPress you should use their forums.November 15, 2016 at 9:19 pm #261045In reply to: File Sharing Embedding
shanebp
ModeratorTry this: https://wordpress.org/plugins/buddydrive/
Google this: buddypress file sharing
Depending on your ability as a coder, you could adapt some code or write it from scratch.
November 15, 2016 at 8:50 pm #261042In reply to: Images for activity for front page
shanebp
Moderator…you are losing people and ultimately future profits and benefits
BP is free open source code. There are no direct profits.
These forums are moderated by volunteers.
There is no promise, explicit or otherwise, that you will get an answer.How does someone who does not constantly do coding for a living really get BuddyPress to function?
The primary intended audience for users of the BuddyPress codebase: Site Builders and WordPress Developers.
The widgets and shortcodes you tried ( BuddyPress Sitewide Activity ? ) probably do not include the images because widgets generally output a compressed view and images can take a lot of screen area. It would be relatively simple to tweak such a widget to include activity images.
If you don’t know how to code, you can post a job here.November 15, 2016 at 2:58 pm #261033In reply to: Problem with message for all users
ico33
Participantfound this thread, at the end it seems there is a solution, but i can’t understand.
https://buddypress.org/support/topic/bp_get_the_thread_recipients-reporting-extra-names/
November 15, 2016 at 2:50 pm #261032In reply to: Group header file problems
manueldo
ParticipantI asked seventhqueen for help and they said the problem is from buddypress, they can not help.
When you have a private group and go to approve some member the warning is showed but after approving, when the page reload saying that the membership was approved, the warning dissapears, is the only page where the warning is not being showed.
November 15, 2016 at 2:32 pm #261031In reply to: Problem with message for all users
ico33
ParticipantUPDATE
No, there is not the problem of users deleted with the same name.
Now after having deactivated and reactivated buddypress, private messages are working. The only issue, at the moment, is that strange sentence. You send a message to a user named ABCDEFG
and after sending, it says
Conversation between Deleted User, Deleted User, ABCDEFG and you.
I can’t understand who are the deleted user, and how to fix the issue
November 15, 2016 at 2:26 pm #261030In reply to: How To Activate Existing Members
danbp
ParticipantDeactivate https://fr.wordpress.org/plugins/smart-countdown-fx/, activate 2016 theme and give a try
It seems that this plugin throws an error.
You may also deactivate all plugins, but BP and search for an issue by reactivating them one by one.
And if nothing found for plugins, you have to debug the theme.https://buddypress.org/support/topic/when-asking-for-support-2/
November 15, 2016 at 2:24 pm #261029In reply to: Problem with message for all users
ico33
ParticipantOk after deactivating and reactivating Buddypress plugin…. the user receiver seems to receive the messages, again with the strange sentence
Conversation between Deleted User, Deleted User, XXXX and you.
Could it be that there was other user with the same name XXX, that then was deleted? And in someway the system find 2 deleted user and user XXX?
November 15, 2016 at 2:12 pm #261027In reply to: Problem with message for all users
ico33
ParticipantI deactivated PRIVATE MESSAGE in Buddypress options, and then re-activated.
How strange… now I can send a message to a user named XXX
When I send the message, after that it appears below as “Conversation between you e DELETED USERS, DELETED USERS, XXXX”
Then if you refresh the page, the message count is 0, as it disappeared. My god, I just opened I new website, it worked till yesterday. It’s a great problem and I don’t think it’s simple to understand
November 15, 2016 at 1:26 pm #261024In reply to: How To Activate Existing Members
Bingo Bongo
ParticipantThanks Dan –
Profile Sync is checked in Settings –
Went through each checkbox in Tools > Buddypress one by one. All completed, didn’t notice any errors.
Haven’t done the BBPress Tools yet – but I noticed something, so I think BBpress is irrelevant here.
If I order the list Alphabetically on the members page (http://www.zetaunit.com/members/) – then all 129 Members show up, with pagination to page through them….
At least it seems Buddypress is recognising all registered Users.
Maybe I’m missing something simple again, or using the wrong terminology.
But I can’t find a setting for that page / select drop-down, though, to select alphabetically by default, or to ‘display all registered users by default’.
November 15, 2016 at 11:17 am #261020In reply to: Incorrect password (even when it is right)
mashauri
ParticipantI tried to de activate buddypress so I could re-activate t nd see if it made a difference. Bt I was unable to do as as I receved the following error:
Fatal error: Call to undefined function bp_core_get_user_displayname() in /home/mashauri/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 1416Please NOTE: this is input to my main query – not the issue itself of incorrect passwords
November 15, 2016 at 10:08 am #261018In reply to: Group header file problems
jaumearagay
ParticipantI have:
a.- Updated to BP 2.7.2. <– Still same problems but warnings hidden by my code.
b.- Removed the buddypress folder in my theme with edited files and checked. <– Still same problems: Warnings (as my code did not hide them), “Moderators” tag and “no mods” string.
c.- Downloaded and activated Twenty Sixteen theme. <– Same as in previous step.
And I get the same warning explained in the first entry in this post so it’s not about my modified files and it’s not about a theme problem.
There are still two problems:
1.- The warning points to get_group_moderator_ids( $group_id ) in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php
I don’t have (or have had) moderators in any group so, “Creating default object from empty value” <– What default object from what empty value?
2.- The problem is somewhere else: In line 33 of the group-header.php file (in groups/single/ ) we find this line:
if ( bp_group_has_moderators() ) :where “bp_group_has_moderators()” is giving a false “true” value as I don’t have moderators in any group so it should not execute in the first place. And after the Moderators tag it says “no mods”, so it on a later step recognizes there are no moderators!!!
Has the bp_group_has_moderators() function or get_group_moderator_ids( $group_id ) function been altered? Or the data about mods and/or admins in the groups?
Because one of them creates two warnings (one before listing the admins and one before listing the mods) that were not there before and also shows a “Moderators” tag that did not appear as the
if ( bp_group_has_moderators() )returned the FALSE value my no-mods groups “deserve” (which it later recognizes when adding the “no mods” string) that now returns this “buggy” TRUE value and shows the tag.November 15, 2016 at 6:30 am #261012bcanr2d2
ParticipantI currently have used the example shown in the following post https://buddypress.org/support/topic/custom-avatar-upload-page/ and then edited bp-core-template.php to change the function that lets it know when to load the full avatar loading page.
My issue is now that the crop image is not functioning, any help?
November 15, 2016 at 5:34 am #261009In reply to: How To Activate Existing Members
danbp
ParticipantHi,
wherever your members registered from (wp, bbp or bp), they are all in the same table: wp_users. To be counted on BP’s member directory, these members must have been loggedin at least once.
Did you synchronized WP and BP members (see BP settings) ?
Once done, go to Tools > BuddyPress and run all options one by one. Do also the same for Forums.November 15, 2016 at 5:25 am #261008In reply to: Error 404 for non logged in users
danbp
Participantif you’ve found a bug, please refer it on Trac.
Login with same credential as on this forum, describe the issue and give any details to reproduce it.November 15, 2016 at 4:28 am #261006In reply to: Error 404 for non logged in users
dkelm
Participant@henrywright This is a valid bug…
Please fix this issue.
Only happens when users are not logged in
The site isn’t doing a redirect to login screenDo I have to rollback to 2.5.3?
Reproduce the bug by logging out then entering in the url…
This should be an issue for every BuddyPress site!!
November 14, 2016 at 7:48 pm #261001Venutius
ModeratorHave you thought about just using BP Registration Groups?
November 14, 2016 at 7:03 pm #260998In reply to: Registration problems
Venutius
ModeratorTaking a look at it you do not have a register page by the looks on things, are you sure you have created a register page and associated that to the BuddyPress Register component?
November 14, 2016 at 6:50 pm #260996In reply to: Registration problems
Venutius
ModeratorHave you logged out in order to try to register?
Did you set up the registration page as a menu item? If so what happens when you are logged out and try to access it?
I’m setting up a website for people looking to set up BuddyPress social networks, you might want to take a look. It includes a guide to setting up and using BuddyPress for the first time:
November 14, 2016 at 4:42 pm #260994In reply to: Lost Buddypress Menu Item
valleev
ParticipantThanks @modemlooper, I tried changing the members page to something else, then changing it back but the “Members” item still does not appear in Appearance/Menus/Buddypress.
-
AuthorSearch Results