Search Results for 'buddypress'
-
AuthorSearch Results
-
November 26, 2018 at 4:43 am #282172
Arrogance is Bliss
ParticipantGotta love the dedication of BuddyPress community.
November 25, 2018 at 11:43 pm #282171shanebp
Moderator… it sure looks like itβs being loaded but it just keeps reloading the same page
Well, it’s loading the slug for a single group.
But something is pulling in another template – perhaps the groups-loop template.It seems like your profile pages are heavily customized – can you try it with the standard BP templates ?
I cannot duplicate this issue.
Tested with the latest versions of WP & BP with Nouveau, in several themes.If you feel you have an issue that can be duplicated by others, you can create a ticket here.
Be sure to include a link to this thread.
Be sure to include all the steps necessary to recreate this issue.November 25, 2018 at 10:17 pm #282170rayasunn
ParticipantYes, it sure looks like it’s being loaded but it just keeps reloading the same page (the page that links TO the group). Well, after all that – I tried switching to Legacy Buddypress instead of Nouveau and now everything works as I would expect. I can (as an admin and / or a test user) post updates. Any thoughts on that? How long will I be able to run Legacy? Any ideas why these two totally unrelated sites and themes are having the same issue?
November 25, 2018 at 7:53 pm #282162lookingahead
Participantoh, by the way: my site has user profile creation disabled. also have disabled the ‘extended profiles’ as well as the option to allow users to upload avatars to their profiles.
i tried re-enabling those things (‘extended profiles’ and ‘allow users to upload avatars’)…..my site stalled, then crashed not long after.
sooooooo enabling those two things is not an option, lol!
one interesting thing to note: whenever i use ‘buddypress first letter avatar’ then the buddypress avatar changes to be whatever the plugin says to put there (the first letter of the user’s name)….that’s awesome!! AND i am using that ‘buddypress first letter avatar’ without extended profiles being turned on and also using it without allowing users to upload avatars to their profiles.
so i know that you CAN indeed change a user’s profile via programming without having to enable those two (annoying, lol) features in BuddyPress.
i’ve considered modifying that plugin, but to be honest that’s a little above my paygrade. π
thoughts, @prashantvatsh? is there a simple solution i’m overlooking — a filter or something? no plugin i’ve found (so far) in the WordPress plugin repository can alter the BuddyPress avatar except the ‘buddypress first letter avatar’ plugin.
November 25, 2018 at 7:45 pm #282161lookingahead
Participanthi @prashantvatsh! so i went to that link you posted (above) which then leads to a WPMUDEV thread…which uses an outdated chunk of code that apparently was created to work with a “social login” plugin….and many users from back in 2015 (which is after the code was shared) say it no longer works with their site, and a couple commenters even said it crashed their site. π
so….is there a filter/code that i can use to get BuddyPress to use the WordPress avatar that I set instead of the BuddyPress avatar…?
i don’t think that article will help get BuddyPress to use the same avatar that WordPress is using on a site.
please note: i have gravatars shut off on my site for WordPress and also for BuddyPress. i did it via code for BuddyPress, and am doing it via a plugin for WordPress. i will not be using gravatars…not EVER. π
so now, all i need to know is how to get BuddyPress to use whatever avatar that WordPress is using on a site.
please also note: i am “forcing” WordPress to use a local avatar….which is exactly what i want. then, if i could only get BuddyPress to use the same avatar that WordPress is using….that would also mean that bbPress will use the same avatar, because bbPress uses whatever avatar BuddyPress uses.
so…..if i could find a way to get the avatar that WordPress is using to be used by BuddyPress, that would make me SOOO HAPPY!! π it would be the last piece of the puzzle in my website avatar issue.
main question: can you help me “remove the condition where it is checking if the user has uploaded avatar or not”….?
follow-up question: in the future, would that mean that BuddyPress’s avatar is always in synch with WordPress’s avatar? in other words, would any changes to the WordPress avatar then automatically show up within BuddyPress (which would then mean bbPress changes too, because bbPress uses the BuddyPress avatar)…?
thanks in advance for any and all assistance! π
November 23, 2018 at 8:59 pm #282138lookingahead
Participantby the way….here’s a summary of what i did:
– used the code that venutius posted earlier from the BuddyPress codex page (the ‘Customizing BuddyPress Avatars’ codex page) to set a new default BuddyPress avatar
– turned on the ‘extended profiles’ and also enabled users to be able to upload avatars
– used prashant singh’s plugin, ‘BP Custom Functionalities’ to restrict listing of all profiles in the user directory — the directory is ‘still there’ but nobody is in it, lol
– used a 301 redirect (via the ‘Safe Redirect Manager’ plugin) to redirect anyone who goes to the member directory page to the front page of the site…so the page itself is now not even viewable (not even by Keymasters)
– used prashant singh’s snippet i pasted here to restrict all users from viewing their own profile…except Keymasters, who can view ALL profiles on the site, even their own (so the ‘users cannot see their own profiles’ doesn’t apply to Keymasters but this does apply to everyone else)
so happy. π
November 23, 2018 at 8:50 pm #282137lookingahead
ParticipantOhhh, GOT IT!!
looks like this code is exactly what is needed….i pasted it into a custom plugin and wa-la…credit goes to the fabulous @prashantvatsh! he replied in the support forum on his plugin (the ‘BP Custom Functionalities’ plugin)…like super quick, with the correct solution to me needing to restrict access to a user’s OWN profile. brilliant!
here’s that support thread:
https://wordpress.org/support/topic/restrict-access-to-users-own-profile/
and here’s the code from prashant that i wound up putting into a custom plugin file and uploading to my site:
add_action( 'wp', 'bp_own_profile_member_redirect' ); function bp_own_profile_member_redirect(){ if(bp_is_user()){ global $bp; $current_user_id = (int) trim($bp->loggedin_user->id); $member_id = (int) trim($bp->displayed_user->id); if (!current_user_can('manage_options') && $current_user_id == $member_id) { //Only admins can view their own profile wp_redirect(site_url()); //you can set any URL here exit; } } }thanks again for all your help, @venutius — your help was fundamental to me figuring out the next steps (how the BuddyPress avatars exist and how to get those avatars to show what i wanted without messing with bbPress code)…i am truly grateful for all your assistance!
November 23, 2018 at 5:08 pm #282134lookingahead
Participant@venutius i think you may have missed my last comment before your plugin suggestions…just want to make sure, are you suggesting i use the front end (user profile page generated in buddypress) to change each user’s avatar….or are you suggesting i use the back end (from the dashboard) to change a user’s avatar after i “disable user profile uploads and see if you can change the avatar yourself from the users profile page”…??
November 23, 2018 at 4:54 pm #282132Venutius
ModeratorI’ve found a couple of plugins for you to look at:
And there is henry’s plugin:
November 23, 2018 at 4:53 pm #282131lookingahead
Participant@venutius btw…..i’m referring to the part where you said, “see if you can change the avatar yourself from the users profile page”
do you mean i should try to change the avatar from the backend, the ‘user profile’ in the dashboard or the user profile page generated in BuddyPress?
November 23, 2018 at 4:43 pm #282130lookingahead
Participant@venutius thanks!
you mean the user’s profile page in the dashboard, or the user profile page that is in BuddyPress?
November 23, 2018 at 4:23 pm #282128lookingahead
Participant@venutius if i could juuuust get BuddyPress to use the same avatar that bbPress uses, that would solve basically everything
that way i could use a plugin that changed the bbPress avatar, and then any change in bbPress’s avatar would show as the avatar for BuddyPress too
know how to do that?
November 23, 2018 at 4:19 pm #282127lookingahead
Participant@venutius agree…..
thing is, in bbPress there are plugins that easily, and in a lightweight fashion, allow for custom avatars for users
users can go to their profile in the dashboard and change it
now, because i also restrict access to the dashboard for users that are not admins, this works. it works because i am then the one, then, that can change the avatars for individual users this way, without having to allow users to change their own avatars, and without enabling the creation of user profiles in BuddyPress
simple dimple
but for some godawful reason, even though this means that bbPress avatars can be changed this way via various plugins, BuddyPress doesn’t accept the same change
i would think that bbPress is not that different, coding-wise, from BuddyPress
buuuuut hell, i don’t know π
if BuddyPress allowed the customization to happen like bbPress does, of individual avatars from the user dashboard, that would be great
isn’t there a way to allow BuddyPress to use a bbPress avatar? so i could use the plugin that changes the avatar in bbPress, and then any changes to a bbPress avatar…BuddyPress would show the same avatar???
November 23, 2018 at 3:19 pm #282125lookingahead
Participant@venutius ok, will test that code….but even if that code works to change the default avatar in BuddyPress, how would i change the avatar for each user on a case-by-case basis?
please note: i will not be able to go to the user’s profile to change their avatar, because profiles are disabled. they do not exist.
i want to be able to change a user’s avatar, but not allow my users to be able to change their own avatar.
November 23, 2018 at 2:44 pm #282120Venutius
ModeratorYou’d just set the default avatar for buddypress:
The default avatar is the one that appear when a user has not yet uploaded his own avatar. If youβre not a fan of the mystery man, here are the constants that you can use to define your own:
define ( 'BP_AVATAR_DEFAULT', $img_url ); define ( 'BP_AVATAR_DEFAULT_THUMB', $img_url );Change the the constant to include the URL for the location of your new default avatars and add this to your bp-custom.php file.
define ( 'BP_AVATAR_DEFAULT', 'http://example.com/default-avatar.jpg' ); define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://example.com/default-avatar-thumb.jpg' );To use a default avatar without Gravatar you should also add:
add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );November 23, 2018 at 2:39 pm #282119lookingahead
Participant@venutius glad to have helped — and awesome on updating the page, thanks!
btw, i’ve shut off user profiles; i do not want my users to be able to update their profiles at all….this is not a social site i’m building, even though buddypress is built with the idea that it resembles something along the lines of facebook…
my site is going to have groups for the sole purpose of discussion, but not for socializing; i’ve deliberately shut off user profiles so users can’t even see them
so enabling ‘extended profiles’…wouldn’t that require that i go to the user profile to update an avatar for a user? i’ve disabled that…so even if i were to turn on ‘extended profiles’ how would i be able to upload a user avatar for each user?
as to that plugin, it works GREAT to shut off gravatar access; it shows the blank BP default image person thing….but even when i pair that plugin with other plugins that allow avatar customization, only bbPress avatars are affected with other plugins; BuddyPress doesn’t work with other plugins that try to get local avatars to show — even if i’ve already shut off the Gravatar display with that fab plugin you linked to (‘disable user gravatar’)
November 23, 2018 at 1:58 pm #282115lookingahead
Participantthe direct link to the Codex page if anyone wants to see it:
https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/
November 23, 2018 at 1:54 pm #282114lookingahead
Participant@prashantvatsh if you happen to have any idea how to get BuddyPress to use local avatars and stop trying to use Gravatars…while also allowing for certain classes of users (subscriber, participant, administrator, keymaster, etc.) to have their own default avatar, i’d greatly appreciate it
November 22, 2018 at 10:34 pm #282103In reply to: Activation Key
Arize Nnonyelu
ParticipantI strongly think it’s a problem with an outdated plugin or theme.
Try to update themes and plugins, from my experience that could happen when buddypress is working with an outdated, theme or plugin.
November 22, 2018 at 7:20 pm #282102In reply to: Avatar blurred
Venutius
ModeratorMight be an idea to raise this as a feature request on Trac – https://buddypress.trac.wordpress.org/ Maybe they can set the cropping window to max size as a solution?
November 22, 2018 at 4:44 pm #282097In reply to: User message inbox issues
shanebp
ModeratorThanks for reporting this issue.
Since you are using WP 5.0 beta, some issues are expected.To make the issue is not related to your theme, please try switching momentarily to a WP theme like 2016 and see if the issue persists.
If it does not, then the issue is probably related to your theme.
Otherwise, please provide this info:
- BuddyPress version
- which BP template pack you are using – see wp-admin > Settings > BuddyPress > Options
- any javascript errors in your browser’s console
- any errors in the php error log for your website
November 22, 2018 at 1:25 pm #282088In reply to: PHP fatal error in debug.log
alriknijdam
ParticipantAlright, I’ve downloaded my entire WP directory and searched for
bp_members_screen_display_profilewith Notepad++ Search in Files. But the only files showing hits belong to Buddypress.F:\\wp-content\plugins\buddypress\bp-members\classes\class-bp-members-component.php (3 hits) Line 329: 'screen_function' => 'bp_members_screen_display_profile', Line 346: 'screen_function' => 'bp_members_screen_display_profile', Line 359: 'screen_function' => 'bp_members_screen_display_profile', F:\\wp-content\plugins\buddypress\bp-members\classes\class-bp-members-theme-compat.php (1 hit) Line 58: do_action( 'bp_members_screen_display_profile' ); F:\\wp-content\plugins\buddypress\bp-members\screens\profile.php (3 hits) Line 15: function bp_members_screen_display_profile() { Line 22: do_action( 'bp_members_screen_display_profile' ); Line 31: bp_core_load_template( apply_filters( 'bp_members_screen_display_profile', 'members/single/home' ) );CRITICAL Cannot redeclare bp_members_screen_display_profile() (previously declared in /wp-content/plugins/buddypress/bp-members/screens/profile.php:22) in /wp-content/plugins/buddypress/bp-members/screens/profile.php line 32How to go from here?
Best regards,
AlrikNovember 21, 2018 at 10:38 pm #282074shanebp
Moderator… taking my own profile as example, on the domain/members page it shows last online 3hrs ago, but on the right sidebar is shows last active minutes ago.
Are you using a cache plugin?
If so, try clearing all caches.But please note that you are probably referring to 2 separate items.
afaik,
last onlineis not a BuddyPress feature, and is being added by your theme, a plugin or some custom code.And
last activeis generated by BuddyPress.So, if
last activeis accurate, butlast onlineis not, then please contact the creator of that code.November 21, 2018 at 4:39 pm #282068In reply to: Side Wide Notice not appearing
Venutius
ModeratorHi there,
If you are using BP Nouveau the sitewide notice widget is not supported:
November 19, 2018 at 8:25 pm #282051In reply to: Hackers Getting In….
bob0072
ParticipantThanks!! Will do! I really like buddypress and bbpress, just gotta get a handle on the trouble makers. ????????
-
AuthorSearch Results