Search Results for 'buddypress'
-
AuthorSearch Results
-
September 14, 2015 at 6:15 am #244358
In reply to: Display Name
Prabin
Participanthi @jake-reimer, you can do this. you need to customize member-header.php file inside your child theme.
Copy BuddyPress *members* folder from bp-default folder inside your child theme, and search for member-header.php file located inside members->single folder.
and inside member-header.php file, find this code,
<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> <span class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></span> <?php endif; ?>replace
bp_displayed_user_mentionname();this with your desired function name. either first name, or full name or DisplayName.Cheers.
September 14, 2015 at 4:02 am #244355Prabin
Participant@danbp, @henrywright thanks for the feedback. 😀 I may have to need your other further helps regarding BuddyPress issues and modifications.
September 14, 2015 at 12:49 am #244352In reply to: Content activity stream
djsteveb
Participant@xrossgg well fudge – I tried posting a thorough reply, but I guess my post is going to held in moderation for having too many links in it. Maybe one of the @mods will un-moderate it.
Search the forums here for “activity filter” – look for things with “parse_args” –
maybe the thread here can get you started: https://buddypress.org/support/topic/documentation-for-remove_action-activity-streams/
September 13, 2015 at 9:08 pm #244347danbp
ParticipantSee this plugin, which is made for that:
https://wordpress.org/plugins/buddypress-sitewide-activity-widget/WP’s comment widget is for main blog comments, not activity comments.
September 13, 2015 at 2:07 pm #244341In reply to: Blog creation at registration checked by defauld
gebar
ParticipantThanks for the answer.
Strangely enough, this subform is open by default (with the checkbox unchecked). If you look at the code I gave in the initial question, you will see that the checkbox value is set to 1 in register.php, and the div with the blog details is also set to class=”show” by default (although in buddypress.js there is a section to handle exactly the toggling of the subform on-off). Any idea why?
However, I will try your suggestion. It must better than setting the checkbox checked in register.php.
September 13, 2015 at 1:34 pm #244340In reply to: Blog creation at registration checked by defauld
danbp
Participant@gebar,
the allow blog checkbox is a conditionnal who open a sub form via ajax. If you remove it from the template, it will compromise the register process. But as the only thing we need is the value (0 or 1), we have to change it from 0 (empty) to 1 (ckecked) in the core. The function who made this isbp_get_signup_with_blog_valuewhich contains a filter for$value.Give this a try. Add it to bp-custom.php
function create_blog_activated( $value ) { if ( function_exists( 'bp_get_signup_with_blog_value' ) ) // default value is '' $value = 1; return $value; } add_filter( 'bp_get_signup_with_blog_value', 'create_blog_activated', 10, 1 );Now the register page shows blog activation part open and checkbox is ticked.
September 13, 2015 at 12:24 pm #244338In reply to: Group Post support
danbp
ParticipantBuddyPress is a plugin dedicated to members, not blogs. On a multisite install, each member can get his separate blog, without limitation. These member blogs are then refrenced on a blog directory. An each membrer profile will show a blog directory with that member’s blog(s).
Groups is a component to group members, not blogs. If you need a group blog, instead or in addition of individual member blogs, you can use BuddyPress Groupblog. Such blog will be for all group members and each group can have only one blog. But each group member can have his own blog. In this case, the network will have a main blog, group blogs and individual blogs.
Whatever solution you use, a blog is always part of WordPress and will work exactly like the main site blog where you installed BuddyPress.
This means that it’s the responsability of each member with a blog to admin his blog, even if the main site admin has priority and can allow/disallow plugins and themes. Usually disallowed, so members can only use what main site admin decided they can use.Enhancement can be asked on Trac. Read here about user participation and contribution to BuddyPress.
September 13, 2015 at 5:29 am #244331In reply to: No pages, posts or comments in Activity
thenetking
ParticipantOmg I just had a whole wall of text written up and while researching a link from earlier I found this:
https://gist.github.com/jonasnick/6125869
and it made my comments show up in activity, hopefully it’s what others need. Why I had to fight with buddypress and search the net for hours to make wordpress comments work is beyond me. I still don’t know if it’s supposed to out of the box or not, which I’ve tested.
September 13, 2015 at 4:46 am #244330In reply to: Profile photo error with Kleo theme
djsteveb
Participant@hamiltontroy007 – Is the issue the same when you use chomre vs firefox vs IE ?
if you switch to the 2014 theme does the same issue occur?
If not, then it would appear to be something with the Kleo theme, and I don’t think your chances of getting help in the bp forums to debug a premium theme are very high.
“asked Kleo support and they had a look and said it is related to buddypress. ” – I think that’s like saying your issue has something to do with “http” since it’s internet related. I would of expected a much better answer from a premium theme developer that seems to have made more then $200,000 selling a theme that claims to be “the greatest community theme on the market”
just one more reason I sigh when it comes to bp and themes.
and my 2 cents on the issue without knowing much about any of this.September 12, 2015 at 10:48 pm #244329shanebp
ModeratorHave you read this codex page?
Note the section at the bottom: ‘Preserve the Order’September 12, 2015 at 10:18 am #244318In reply to: Fatal error
djsteveb
Participant@collinkemp – in this kind of situation I either ftp in or get to cpanel file manager.. either download a copy of your wp-content folder with http://ftp.. or make a zip / compressed folder of your wp-content folder to have a backup.
Then go into your wp-content/plugins/
– delete rtmedia err “buddypress-media” folder. Check if site comes back.
– if not start deleting other plugins and checking.. and or
– delete the non-default themes your have in you wp-content/themes folderThis should get you back to basic wordpress and buddypress and default theme – then you should be able to get into your wp-admin section and go to appearance – themes and select one of the defaults..
you may figure out what the hiccup was during the delete and check process.
sometimes when my rtmedia updates I have to go into permalinks – change them, save, then change them back and save again.. don’t know why, but 50% of the time rtmedia updates causes a bunch of my static “pages” to be “404 not found” and the permalinks change then change back and save fixes it.. it’s a weird bloated plugin.. but glad it’s here.
September 12, 2015 at 8:25 am #244312danbp
ParticipantDouble post. Topic started here:
https://buddypress.org/support/topic/urgent-need-a-hook-which-is-called-during-click-og-comment-button-urgent/Closing this topic.
September 12, 2015 at 8:23 am #244311danbp
ParticipantPlease don’t double post. It doesn’t bring more answers.
You already received some answers. This topic is closed and can be continued here:
https://buddypress.org/support/topic/urgent-need-a-hook-which-is-called-during-click-og-comment-button-urgent/September 11, 2015 at 11:23 pm #244309palmdoc
ParticipantI have read and checked more than three times. My original question is I want to delete a member from a group – i.e. remove them from a group not from the site.
I really hope there is better group member management for Buddypress as it is a nightmare when there are thousands of members.September 11, 2015 at 8:45 pm #244305In reply to: Suspending user accounts
danbp
ParticipantAfaik there is nothing out to do this.
As start point, this snippet which let you hide a profile by user_id. Add it to bp-custom.php
function bpfr_hide_user_profile() { global $bp; // hide user_id 35 if(bp_is_profile && $bp->displayed_user->id == 35 && $bp->loggedin_user->id != 35) : wp_redirect( home_url() ); exit; endif; } add_action( 'wp', 'bpfr_hide_user_profile', 1 );Also, from here
https://buddypress.org/support/topic/temporarily-blocking-a-user-while-keeping-their-datanetwork/
https://wordpress.org/plugins/buddypress-verified/September 11, 2015 at 8:35 pm #244304danbp
ParticipantI’m wondering what is a username for you.
WP register only a user by username (aka pseudonym), email and password. BP add a Name field in which you can add anything: username, first or lastname. In the user table, there is also display_name, wich is the combination of first and last name from a WP user profile, before BuddyPress was installed or if you allow your users to enter the dashboard, and they start to play with their profile settings. IMHO, it’s better they haven’t that access when BP is activated. 👮
When on the members directory, you (connected or not) can search a member by using his username.
If you use WP’s site search from toolbar or the search widget (same thing), it doesn’t work, as members are not post types… 👣
For now, i’m unsure what you want to fetch. Do you mean display_name ?
All search forms available in BP are contextualized, as @henrywright expected.
A BP class can be extended, a core function with a filter can be extended. You simply add your own to it.
In other cases, like forbp_core_action_search_sitefunction (in bp-core-classes.php)
there is an action and a filter. Wow. 💪You can rewrite the whole function and use the action hook or only change a part of it by using the filter.
remove_action( 'bp_init', 'bp_core_action_search_site', 7 ); function my_custom_core_action_search_site() { bla bla bla.... } add_action( 'bp_init', 'my_custom_core_action_search_site', 7 );or
add_filter( 'filter_name', function_name');Theorie here:
https://buddypress.org/support/topic/how-to-override-core-function/But before hacking to deep, read here:
Maybe you could find some interesting things about
includeorsearch_temsoptions. 👀If all this is too much for you, consider this plugin:
https://wordpress.org/plugins/buddypress-global-search/
@prabin04, @henrywright
🚧 i’m really not an expert in matter of BP search, but thank you for your consideration.September 11, 2015 at 7:32 pm #244301In reply to: Suspending user accounts
Jasper
ParticipantThanks but this doesn’t work for what we need.
If not so important that the user can’t sign in. What we need is for their BuddyPress profile to disappear when they get suspended and reappear when they get reactivated. We need to be able to put their profiles into sleep mode and not be visible by the public.
September 11, 2015 at 7:14 pm #244300In reply to: bp_notifications_add_notification
danbp
ParticipantAnything related to notifications is in /buddypress/bp-notifications/ folder.
Best place to see commented BP code in a glance is
http://hookr.io/plugins/buddypress/#index=aSeptember 11, 2015 at 7:02 pm #244297In reply to: Unable to access Groups
danbp
Participantshareit/wordpress/sample-page/groups/testthis path looks strange.In which directory are WP/BP installed ?
Each component page must stay blank and without any template models or parent page…
Permalinks must be enabled, using any option except “default”.September 11, 2015 at 6:10 pm #244292In reply to: Registration form doing nothing
Henry Wright
ModeratorCan you try on a test install? It may be the ACF plugin and we need to rule that out.
On your test install, be sure there’s no plugins running aside from BuddyPress and have the TwentyFifteen theme activated. Also, remove any custom code you may have elsewhere such as bp-custom.php
September 11, 2015 at 4:33 pm #244285In reply to: Is default post deletion possible?
Pete Hudson
ParticipantNo, I was referring to a post to the Buddypress Activity Feed. Is “Activity Entry” the proper term?
We just launched our site and are getting a good bit of activity. Just looking to figure out how many BP Activity Feed entries/posts we should have before we start deleting the older ones and if there’s a way to automate that. We currently have 950.
Thanks.
September 11, 2015 at 12:18 pm #244275In reply to: Registration form doing nothing
Henry Wright
ModeratorTry disabling all plugins aside from BuddyPress. Sometimes a rogue plugin can interfere with the registration process.
September 11, 2015 at 11:11 am #244273Tafmakura
ParticipantNever mind, found the answer a great article by Ryan Fugate
September 11, 2015 at 9:48 am #244271djsteveb
Participantas lionel pointed out in other dupe topic – there is another forum replies on similar issue in regards to this when using localhost / wamp on local server I guess – https://buddypress.org/support/topic/resolved-404-the-requested-url-not-found-on-this-server/
September 11, 2015 at 9:46 am #244270In reply to: admin cant able to create a group
djsteveb
Participantugh – just realized this is a duplicate thread from same poster.. grr.. how to merge. meh.
another answer to this – what I do when this situation arises first:
https://buddypress.org/support/topic/the-requested-url-groupscreate-was-not-found-on-this-server/#post-244269 -
AuthorSearch Results