Search Results for 'buddypress'
-
AuthorSearch Results
-
April 27, 2015 at 7:32 pm #238481
In reply to: Warning: strstr(): Empty needle in
danbp
ParticipantPlease don’t double post.
https://buddypress.org/support/topic/when-asking-for-support-2/
Topic closed. Discussion be continued here.
April 27, 2015 at 7:03 pm #238478In reply to: How to stop Spam Users from registering
djsteveb
ParticipantYou should of searched the forum for many answers to this already posted.
There are a lot of options and solutions with this… for me, I use the plugin “buddypress humanity” on one of my sites, and a different / similar plugin “good question” on another site.
Change the default questions and answers… this stops most of the auto-bot spammers.. a few manual people may get through, but it cut does spam signups on my site by 99%.
One of my sites I disable “group creation” for all users, as that seems to be a target for many of them.
I also use another plugin with my bp+wp / multi-site … which sets “blog defaults” so that any user who creates a new blog has settings automatically enabled that “block this site from search engine indexing” – if someone signs up and creates a site and adds original content, I will go in an manually change that setting.. most people who “create a site (blog on multi-site) – don’t use them, or are spammers – so I don’t need them sucking away page rank juice or clogging up the activity stream with BS.
random thoughts from another BP user…
April 27, 2015 at 6:15 pm #238471In reply to: Remove Everything Gravatar
@mcuk
ParticipantThanks for the explanation @danbp. Ahhhh the Mystery Man ha.
WP is using get_avatar and BP substitute it with his own code for internal purpose.
So if i understand you, WP calls for the user’s Gravatar regardless via
get_avatarand Buddypress then just takes it from WP to make it appear on the user profile? Therefore the codeadd_filter('bp_core_fetch_avatar_no_grav', '__return_true');only stops the second part of the process where Buddypress requests the user’s Gravatar from WP. That right?Deactivating Gravatar will also deprive the people who use the service to get their usual picture on your site. It’s not an innocent decision.
Yeah I agree. The reasons I have now for wanting to prevent access to Gravatar is for data/privacy/3rd party website reasons and also slowdown (if the user numbers did reach certain levels). I don’t want to ‘force’ them to upload a profile pic because I want them to give as little or as much to their profile as they feel like (which is why I wouldn’t use the Buddydev force profile pic plugin either).
April 27, 2015 at 5:57 pm #238466In reply to: Change slug without touching core files?
danbp
Participantdefault menu items (nav or sub-nav) are all written somewhere, by you or the language file. Custom menus are rarely automatically updated. Most are also theme dependant.
Some Codex pages needs heavy revision. Feel free to do so. Volunteers are welcome, as it’s a never ending task.
April 27, 2015 at 5:49 pm #238465In reply to: Remove Everything Gravatar
danbp
ParticipantWordPress use Gravatar like BuddyPress.
When BP is activated, it let’s you manage your avatar from the profile.WP is using get_avatar and BP substitute it with his own code for internal purpose.
Bp-avatar-suggestion let the site admin add an avatar bunch of pictures where users can choose from instead of uploading their own image. And yes, all avatars (wp/bp) are concerned, even if in fact it is the same thing.
FYI the ‘white figure on grey background’ is called Mystery Man in WP jargon. 😉
Also, Gravatar is an external service and on some config, this can slow down a site. Nothing new, it’s the case for any external service (js, font, cloud, social share, etc)
By using the define, you deactivate the call to external gravatar service, and BP fires a local copy of the mystery man. Deactivating Gravatar will also deprive the people who use the service to get their usual picture on your site. It’s not an innocent decision.
Be aware also that the empty option (in wp default avatar setting) is a blank image (and not an empty space), which is also fired by Gravatar.
World isn’t perfect. 😉
April 27, 2015 at 5:48 pm #238464In reply to: Change slug without touching core files?
@mcuk
ParticipantSo what appears to be happening is that the Buddybar adopts the slug changes immediately (I’ve just removed the display:none CSS for the main nav tabs on Buddybar to check because I don’t use it).
But the top menu (created via the Menus in WP Dashboard) is where the tabs are disappearing due to the slug changes. Tried with
define ( 'BP_MESSAGES_SLUG', 'notes' );to confirm it wasn’t an isolated effect. All is fine there now though, they just need replacing into the menu via the WP Dash once the slug has been changed and then they appear again.Are the slugs of subnav tabs changed using the define code too? I haven’t come across it.
Out of interest, have I misunderstood this link where it says the various defines at the bottom are deprecated, or is it just in need of updating? :
April 27, 2015 at 4:54 pm #238457In reply to: WP plug in Countries for BP
danbp
Participantplugin is outdated and a support question about how to use it with buddypress is… unanswered.
In the early stage of BuddyPress, countries where included to Core and finally removed around 1.1Honestly, you have 3 options:
1) wasting time&money to code a plugin or tweaking BuddyPress and a third party plugin (long option).
2) let the user enter his country when asked for (short option).
3) do nothing (optionnal option)or you can read from here:
https://buddypress.org/support/topic/list-of-countrystatecity/April 27, 2015 at 4:39 pm #238454In reply to: Change slug without touching core files?
danbp
Participant- a slug is a human friendly URL. (as of your topic title)
- a tab name or a menu item is just a name, on which applies an URL. (as of your given example)
This means that your tab or menu can be written Cow-Boy and his URL can can be completely different, for example your-site/members/mcuk/amigos/
For consistancy and SEO logic, most prefer the same wording for both.
Related to “friends”, open bp-friends/bp-friends-loader.php and see how it works.You will discover that
// Define a slug, if necessary if ( !defined( 'BP_FRIENDS_SLUG' ) ) define( 'BP_FRIENDS_SLUG', $this->id );is not deprecated.
In other words, to change the slug, you can use from within bp-custom.php
define ( ‘BP_FRIENDS_SLUG’, ‘whatever’ ); whatever should be exclusively alpha numeric, lower case, without any special character or ponctuation.To modify tabs and menu items, simply use the language file.
April 27, 2015 at 4:19 pm #238452In reply to: Some basic Questions before installing BuddyPress.
@mcuk
ParticipantHi, this might answer some of your q’s:
April 27, 2015 at 2:29 pm #238447notpoppy
ParticipantTo investigate further, I thought it might be worth running the Repair Forums tools (/wp-admin/tools.php?page=bbp-repair). These completed successfully with three exceptions:
“Recalculate the position of each reply” – This spent a long time processing, then gave a 502 Bad Gateway error
“Remap existing users to default forum roles” – The page went blank
“Remove trashed topics from user favorites” – This gave a SQL error the first time and completed the second time.I wondered if the “Repair BuddyPress Group Forum relationships” option would help. When I ran it I got the message: “Repairing BuddyPress group-forum relationships… Complete! 0 groups updated; 0 forums updated; 0 forum statuses synced.”
After doing all that I created a new topic as a test and again after publishing it I was taken to a different group.
April 27, 2015 at 2:12 pm #238444In reply to: Remove Everything Gravatar
@mcuk
ParticipantThanks @henrywright! I’ll stick with
add_filter('bp_core_fetch_avatar_no_grav', '__return_true');then if it’s all I need to stop the Buddypress calls. What is it that WordPress calls for? Are you referring to the default ‘white figure on grey background’? Or does WordPress also check for a Gravatar in similar way to Buddypress. (I don’t currently use Gravatar).Hi @djsteveb , I came across some of those posts you listed which is actually what got me thinking about it in the first place :). I’m trying to be as transparent as possible on user privacy/data on the site I’m creating. Searched the forums a little further and some of the threads are v old so thought I’d check if the stuff there was still applicable or had been deprecated.
Hi @danbp, thanks for the plugin suggestions. I’ve come across a few Buddydev plugins and will probably use their ‘bp-activity-comment-notifier’ plugin since they aren’t part of Buddypress default currently. Trying to keep plugins to a minimum early on.
With regards to the ‘bp-avatar-suggestions’ plugin (which you appear to have inspired), does that override any WordPress calls Henry mentioned above since you are using your own locally stored images? (similar I guess to the new user Twitter eggs)?April 27, 2015 at 2:05 pm #238443notpoppy
ParticipantThanks for the replay @danbp. I’ve gone through everything you’ve suggested and can’t seem to find anything amiss:
When group component is activated, you should have a page assigned to groups. Ensure this page exist, without any content , page template or parent page. Just a page with a title.
I believe I’ve done this – if I go into Settings > BuddyPress > Pages then next to ‘User Groups’ there is a ‘Groups’ page defined and if I click on ‘View’ I see the link works. I’ve also checked the page and confirmed it’s blank and doesn’t have a parent or template.
Don’t forget to allow group forums in bbpress forum settings
I’ve got “Enable Group Forums – Allow BuddyPress Groups to have their own forums” ticked.
and to assign a group forum page, which should not be the existing Group page of BP.
Is this the ‘Group Forums Parent’ setting underneath ‘Enable Group Forums’? If so that is set up and it is not the existing group page.
On front when you create a new group, you create first the group. In one of the creation steps, you can check “allow this group to have a forum”. Then you save this. Once saved, you will see that the group name appeared in the select box. You must save this again to definitely activate a forum to this group. Same can be done by accessing group settings > forum tab.
Resume of creating a group with forum
enter a group name and description, check allow forum. Save. Select bow must contain the new group name. Save again.These are the steps I have followed to set groups and forums up. I have also gone into all of them and checked they have “Yes I want this group to have a forum” ticked and the correct forum is selected; they all do.
And yet still I keep encountering the problems I described in my first two posts.
April 27, 2015 at 1:19 pm #238441In reply to: how to add language in buddypress?
Jaremilus
Participantdefine( 'BPLANG', 'pl_PL' ); if ( file_exists( get_template_directory() . '/languages' . '/buddypress-' . BPLANG . '.mo' ) ) { load_textdomain( 'buddypress', get_template_directory() . '/languages' . '/buddypress-' . BPLANG . '.mo' ); }April 27, 2015 at 12:46 pm #238439In reply to: Move member search bar
danbp
ParticipantSearch your theme documentation about CSS modification and how to use a child-theme.
From within the child, you can then modify CSS without loosing your changes after a theme or a BP update.
Read also BuddyPress documentation:
April 27, 2015 at 12:33 pm #238438In reply to: how to add language in buddypress?
danbp
Participantthere is no result
that’s because you use a wrong file name.
The language file must be named “buddypress-zn_cn.mo”If WP site language is set to chinese (general > settings if on a single install), buddypress will aotomagically upload the avaible chinese translation.
Search also this forum if you need more information, they’re many topics related to translation.
April 27, 2015 at 12:11 pm #238436In reply to: how to add language in buddypress?
Leo 777
ParticipantThank you very much for your answers!
last question, i’m download file buddypress-2.2.x-zh-cn.mo and buddypress-2.2.x-zh-cn.po
This translated into Chinese. As they install to the site?
I tried to throw files in – /wp-content/languages/plugins/
but there is no result….
Thank!April 27, 2015 at 11:54 am #238434danbp
ParticipantThank you for the information.
BP dev’s already handled this issue.Latest updates avaible:
WordPress 4.2 & BuddyPress 2.2.3.1 & bbPress 2.5.7As usual, you’re invited to update your install as soon a security version is avaible.
April 27, 2015 at 9:02 am #238432In reply to: how to add language in buddypress?
danbp
Participantyou can translate online from here:
https://translate.wordpress.org/projects/buddypress/2.2.xBP zn_CN is translated to 46%, Ukrainian is actually not translated.
You can contact the chinese team here
and the ukrainian hereHenry already provided you other information you have to read now.
April 27, 2015 at 8:51 am #238430danbp
Participantwhat happens probably is an ajax issue, due to some missing or old class and/or ID names.
Compare at first your (custom or third party) theme page.php with the one coming with Twenty theme. Compare also js versions of your custom theme to Twenty’s one…
Difficult to say from here. 😉do you have a page called groups in your page admin and is this page showing on BP settings page tab ? Have you pretty permalinks activated ?
If page exist, which is the slug you see ?
If you have several trashed pages, specially if some related to groups, clear the trash definetly.Handling with themes is much more easy today as a few years back. Many things have been modified and as you probably know, BP is now theme independant, under condition you use a theme respecting WP standarts.
All theme files related to BP are now in bp-templates/bp-legacy/buddypress.
See Codex for more details about how to use it.
April 27, 2015 at 8:23 am #238426In reply to: [Resolved] No Registration Page visible
danbp
ParticipantHi,
i suppose you know the word none ?
You must create those pages. 😉
Codex is your friend:
April 27, 2015 at 4:00 am #238423caniwigirl
ParticipantThanks @danbp
I’ve just tried it on twenty thirteen (the latest update yesterday) and the groups work perfectly, even for my test user who is a forum participant and contributor for WordPress AND member of two hidden groups. I had tested it previously, but it did’t work on the previous version of the theme. I didn’t even have to deactivate any plugins.
I then tested it with all the themes from 2011-2015 and they all work too.
So… It looks like I need to take this back to my theme developers… Can you please give me so info that I can relay to them so they can get the hidden groups displaying correctly? Or, is it possible to copy the appropriate BuddyyPress files from one of the WordPress themes and put it somewhere in the child theme of the theme I am using? If so… Which ones and where would I find them?
The theme I am using integrates BuddyPress in it, but not in any great detail.
April 27, 2015 at 3:38 am #238422In reply to: how to add language in buddypress?
Leo 777
ParticipantI tried to create a duplicate file /wp-content/languages/plugins/buddypress-ru_RU.po
and gave him the name buddypress-zh_CN.po
Wrote a couple of test translation, But nothing happenedApril 27, 2015 at 3:34 am #238421In reply to: how to add language in buddypress?
Leo 777
ParticipantThank you very much. And what about the Chinese language
In wordpress has Chinese. And in the Chinese language does not have buddypress.
Where to write translations? I want to translate their own.
I added Chinese language on the siteApril 27, 2015 at 1:42 am #238418danbp
ParticipantDeactivate all plugins except BuddyPress & bbPress and test with 2013.
April 27, 2015 at 1:35 am #238417In reply to: Relationships?
-
AuthorSearch Results