Search Results for 'buddypress'
-
AuthorSearch Results
-
January 19, 2017 at 4:44 pm #263016
danbp
ParticipantThe function used to show @ mention is
bp_displayed_user_mentionnamein this template context:<h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2>Above the profile header you have the fullname, which use this function:
bp_displayed_user_fullname.To replace the mention by the fullname, you can use this snippet (goes to bp-custom.php):
function bpfr_user_fullname() { // uncomment below if you want this only for logged in users. //if ( !is_user_logged_in() ) //return false; echo bp_displayed_user_fullname(); } add_filter( 'bp_get_displayed_user_mentionname', 'bpfr_user_fullname' );To remove the existing fullname, you use something like:
function bpfr_remove_fullname_from_profile() { global $bp; if ( bp_is_active( 'xprofile' ) ) if( bp_is_user() && ! bp_get_member_user_id() ) { $user_id = 'displayed: '. bp_displayed_user_id(); } else { $user_id = 'get_member_user: '. bp_get_member_user_id(); } remove_filter( 'bp_displayed_user_fullname', isset( $bp->displayed_user->fullname ) ? $bp->displayed_user->fullname : '' ); } add_filter( 'bp_displayed_user_fullname', 'bpfr_remove_fullname_from_profile' );And in case of you want to modify the @ sign, it is hardcoded in the template. You have to remove it manually via a child-theme.
Many other related topics on the forum.
Function reference.
January 18, 2017 at 4:39 pm #262998In reply to: [Resolved] My Profile
danbp
ParticipantIt’s already explained in one of the topics i supplied.
https://buddypress.org/support/topic/create-dynamic-user-links-to-end-users-wallprofile-etc/#post-259946January 18, 2017 at 3:16 pm #262993In reply to: Creating a custom page
argoncobalt
ParticipantDo you know how I can just create a custom BuddyPress template? I need to create it such that my client can enter the information herself manually (we are using the Advanced Custom Fields plugin for that), and such that it can only be viewed once a user is logged in. It needs to say “Welcome [user]!” at the top.
January 18, 2017 at 12:13 pm #262989In reply to: [Resolved] My Profile
danbp
ParticipantFortunately, the BuddyPress support forum has a search feature!
I used it to find “link to profile” specially for you:
https://buddypress.org/support/topic/create-dynamic-user-links-to-end-users-wallprofile-etc/
January 18, 2017 at 9:39 am #262982danbp
ParticipantAs you know that it is your plugin who generate the redirection, it is on their support that you have to ask for a solution.
This forum is related to BuddyPress and maintained by volonteers. We can’t offer support for third party or premium plugins and themes.
January 18, 2017 at 8:44 am #262980vjjam
ParticipantNoted. The Affiliate Royale website is: https://www.affiliateroyale.com/
I also just tested by deactivating the Affiliate Royale plugin, the problem of redirect from buddypress pages is resolved.
But I would like to ask if anyone here will be able to help why the Affiliate Royale plugin is redirecting. I have enabled the plugin so that you guys can see the issue and how to resolve it. I want to have an affiliate plugin for my site, hence looking to solve it.
Any kind souls able to help?
January 18, 2017 at 8:32 am #262979danbp
ParticipantHi,
while reading your story, it appears that your issue came up just after you installed an affiliate plugin.
Why don’t you remove that plugin ? And why do you think that BuddyPress is the only to be concerned ? Have you made some test ? How can we reproduce your issue ?Also you provide an url to a register page. If you use restricted access, it’s not very handy to check what’s going on on your site. And mentionning a plugin without giving a link where to get or find it, is useless…
Without details, nobody can help you here.
January 18, 2017 at 7:47 am #262974In reply to: xprofile fields on Group members directory
danbp
ParticipantYou simply use one of the 6 action hook available on the group member template.
The file to check isbuddypress/bp-templates/bp-legacy/buddypress/groups/single/members.phpThe hook to use, for example
bp_group_members_list_item.WP hook reference.
January 18, 2017 at 4:56 am #262971rmessick
ParticipantOk doing more testing if we deactivate “Activity Streams” in BuddyPress it stops calling this function on this page. Is there a way to keep this enabled but turn it off through remove actions on this page template?
January 18, 2017 at 3:55 am #262970rmessick
ParticipantI do not have anything else but buddypress loaded to be calling this function. Is there a way to override this function to exit out without modify plugin code?
wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php
// Bail out if the site has a ton of users.
if ( is_multisite() && wp_is_large_network( ‘users’ ) ) {
return;
}Would like it to just be:
// Bail out if the site has a ton of users.
if ( wp_is_large_network( ‘users’ ) ) {
return;
}January 18, 2017 at 12:47 am #262968In reply to: xprofile fields on Group members directory
psmorrow
ParticipantI found this:
which adds xprofile fields to member directory, but I can’t seem to get this working for the group members directory.
January 17, 2017 at 9:42 am #262954In reply to: how to redirect to custom login page?
paulbntz
ParticipantHi Masoud , i have the same issue that you write or very similar.
I have found a solution in this URL
Restrict not logged in users from accessing BuddyPress or bbPress pages
I hope it can help you as me. 😉
Have a nice day.
Regards.
January 17, 2017 at 9:33 am #262953In reply to: I cant Access registration page
Solomonsun
Participanthello @hurior. i made sure i deleted buddypress from my cpanel and Plugin tab in wp-admin. then i reinstalled buddypress, manually created pages like member, profile, registratoin, activation, etc. then i went to settings > buddypress > pages > and associate the pages there with the pages i created and saved them. thats all
Check it out https://schoolhome.com.ng
January 17, 2017 at 4:10 am #262949In reply to: Wont let me accept or apply to groups
gprovostjr
Participant1. Which version of WordPress are you running? 4.7.1
2. Did you install WordPress as a directory or subdomain install? Directory
3. If a directory install, is it in root or in a subdirectory? Root
4. Did you upgrade from a previous version of WordPress? If so, from which version? no
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes
6. Which version of BP are you running? 2.7.4
7. Did you upgraded from a previous version of BP? If so, from which version? no
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? YES
Analytics Cat 1.0.1
bbPress 2.5.12
Photo Gallery 1.3.26
Ultimate Social Media PLUS 2.5.1
User Role Editor 4.31.1
WP Discord 0.2.39. Are you using the standard WordPress theme or customized theme? Standard
10. Which theme do you use ? 2017
11. Have you modified the core files in any way? no
12. Do you have any custom functions in bp-custom.php? no
13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? listed earlier
14. Please provide a list of any errors in your server’s log files.
15. Which company provides your hosting? ipage
16. Is your server running Windows, or if Linux; Apache, nginx or something else?
January 16, 2017 at 11:44 pm #262943bcanr2d2
ParticipantConsider this one resolved, I found the function for the OneAll Social Login that fires off after the accounts are created, and it will now send off welcome emails for those that create accounts via the social media logins!
Thanks for the tip, whilst they didn’t have an example of what I was after, they had plenty showing what function fired off after their account creation.
In the end, so little code -will put on here for reference.
add_action( 'oa_social_login_action_after_user_insert', 'oa_social_login_send_welcome_email', 10, 2); function oa_social_login_send_welcome_email ($user_data, $identity) { //Fire off BuddyPress Welcome email $user_id = $user_data->ID; bpdev_welcome_user_notification( $user_id); }January 16, 2017 at 4:33 pm #262852In reply to: [Resolved] Multisite – unwanted toolbar displaying
danbp
ParticipantThe toolbar is part of WordPress, not BuddyPress.
BP offers in his Main Settings to show the Toolbar for logged out users (default: enabled).Removing WP’s toolbar is a very common task, widely commented and explained over the web and on WP’s codex. Read here.
January 16, 2017 at 4:23 pm #262851danbp
ParticipantWhich update ? Do you use a child theme ?
Do you follow changelogs ? If so, have you noticed the recent template changes made in BuddyPress 2.7 ?Also, because BP pages are not exactly ordinary WP pages, how have you implemented your slider ? Those details may help to help you.
Note also that an issue with Canvas/BP 2.7 was reported 2 mounth back. I ignore if you are concerned, but in case of, the discussion is here.
January 16, 2017 at 4:10 pm #262849In reply to: [Resolved] Selecting Members tab automatically.
danbp
ParticipantJanuary 16, 2017 at 9:32 am #262841In reply to: How do I change the BuddyPress menu
danbp
ParticipantPlease, search the forum before asking common question!
https://buddypress.org/support/search/change+buddypress+menu/
January 15, 2017 at 11:24 pm #262832In reply to: Profile Field Drop Down Select Box Limit
wfott
Participantdanbp,
I seem to hit a limit around 250 items, however, the quantity does vary as I try to add more. I need to increase this to 375. I switched to a radio button and I was up to around 300. I also read that tables do not like capitals so converted to lower case with little impact. I have tried explorer, firefox and safari on a PC and MAC with no impact.
I did look at the class-bp-xprofile-field-type-selectbox.php file and did not see a limiting parameter. The posts you referenced said they had over 1,000 items so I am not sure if it may be something with my host. Anyway, below is my theme and plug-ins, any help would be appreciated.
Thanks,
Bill
Theme
Boss
Plug-ins
BP Auto Group Join
BuddyBoss Media
BuddyBoss Wall
BuddyPress
BuddyPress Custom Profile Menu Pro
BuddyPress Default Data
BuddyPress Global Search
BuddyPress Member Types
BuddyPress Reorder Tabs
Contact Form 7
Custom Sidebars
Duplicate Post
Duplicator
Invite Anyone
Meta Tag Manager
Mobile Smart
Recent Posts Widget Extended
The Events Calendar
User Role Editor
W3 Total Cache
Wiki
WP Editor
Yoast SEO
January 15, 2017 at 12:04 am #262827beforeplastic
ParticipantOn a profile page / viewed blog results, the previous entries link at the bottom of the results page takes you to a 404 page. Would this be a buddypress or buddyforms issue?
January 14, 2017 at 12:59 pm #262824In reply to: bp commands in other files
danbp
ParticipantMost of BP functions are working within loops. If you want to use them, you simply have to use the parent loop.
January 13, 2017 at 8:00 pm #262810In reply to: Creating a database of trails
grinsemaenner
ParticipantDid you find any solution? I plan something similar but with canoeing and other water sports.
Thus, I’d be interested whether you managed to tweak your buddypress so that users can post new trips on maps themselves!?
January 13, 2017 at 2:52 pm #262805shanebp
ModeratorYou can use the theme approach by overloading a group template,
home.php, from a plugin.
https://codex.buddypress.org/plugindev/template-overload-from-a-plugin/Then in your overload, add a conditional at the top.
That should side-step switching themes issues for most themes.
January 13, 2017 at 11:20 am #262802In reply to: After Installing, Everything Disappears
djsteveb
ParticipantI am guessing an installer from a web host likely includes some plugins and different themes.
I suggest deactivating or deleting all plugins, and switch to default theme in wordpress before you try to install buddypress. then follow the prompts from there. -
AuthorSearch Results