Search Results for 'buddypress'
-
AuthorSearch Results
-
November 26, 2014 at 2:43 pm #229704
In reply to: How to Show Members From The Same Region
shanebp
ModeratorNo offense, but your code is a real mess.
And you should be using wpdb instead ofmysql_query.
Please consider hiring a developer. You can post a job here.November 26, 2014 at 1:38 pm #229696shanebp
ModeratorYour code is garbled and missing the href. Try this:
add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { if( $post->post_type == 'projects' ) { $activity_action = sprintf( __( '%1$s created a new Project, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' ); } return $activity_action; }November 26, 2014 at 1:25 pm #229693milenushka
ParticipantHi @shanebp,
I am sorry I don’t quite understand..
My exact code looks like this:
add_filter( 'bp_blogs_record_post_post_types', 'inspired_record_more_types' ); function inspired_record_more_types( $types ) { $types[] = 'projects'; return $types; } add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { global $bp; if( $post->post_type == 'projects' ) { if ( is_multisite() ) $activity_action = sprintf( __( '%1$s created a new project, %2$s, on the site %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '', '' . get_blog_option( $blog_id, 'blogname' ) . '' ); else $activity_action = sprintf( __( '%1$s created a new project, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' ); } return $activity_action; }and the link to the project custom post is not showing. It does show with only the first part of the code- but the slug is generic – .. “wrote a new post”
November 26, 2014 at 11:46 am #229688In reply to: Deliver Custom Message via BuddyPress to new users
Henry Wright
Moderator@hnla you’re right, it could be more robust. I’ve added a conditional check to test if the messages component is active.
function send_message_to_new_member( $user_id, $key, $user ) { if ( ! bp_is_active( 'messages' ) ) return; $args = array( 'sender_id' => 1, 'thread_id' => false, 'recipients' => $user_id, 'subject' => 'Hello new user', 'content' => 'Welcome to the site', 'date_sent' => bp_core_current_time() ); $result = messages_new_message( $args ); } add_action( 'bp_core_activated_user', 'send_message_to_new_member', 3 );I think editing the codex is off-limits to the masses right now, although you may have access? See here.
November 26, 2014 at 10:27 am #229678In reply to: This is why we can't have nice things
peter-hamilton
ParticipantNeeds to be done, especially if this means a stronger team that produces wicked updates and maintain a strong trustworthy codex.
Thanks for being Buddypress.
November 26, 2014 at 9:40 am #229677In reply to: Removing @mentions from buddypress
Hugo Ashmore
Participant@mmaccou you should always check the BuddyPress documentation for things like this as well as third party sites.
In this instance the required item is not perhaps that obvious to find, so I’m considering a version of the page slightly re-written and added under our ‘Administrators’ section.
November 26, 2014 at 9:04 am #229611In reply to: Removing @mentions from buddypress
danbp
ParticipantHi @mmaccou,
The place in the functions.php has no importance. You can also use bp-custom.php to be independant of your theme.
That said, the tip (published 2010) you tried is no more accurate for BP 2.x and/or bbPress.Try this one instead:
/* deactivate @mention - BP 2.0+ & bbpress */ add_filter( 'bp_activity_do_mentions', '__return_false' ); // BP only add_filter( 'bbp_find_mentions', '__return_false' ); //bbPress onlyNovember 26, 2014 at 7:06 am #229598In reply to: BuddyPress group avatar spillage across networks
marvc
ParticipantTwo weeks and not even a response? So no one in this ENTIRE buddypress community sees this as something worth responding to? How can you not get support, or even a response, from developers of their own product?
Gonna re-post as it doesn’t appear as though this forum is being monitored.November 26, 2014 at 3:14 am #229586In reply to: Registration via BuddyPress won't work
Jahfree
ParticipantI just ionstalled BuddyPress on a Server without different Port
What does this mean? Im having the same problem and i dont understant what “without different port” means?
PLEASE help
THANK YOU
November 25, 2014 at 1:45 am #229504In reply to: Customization of Registration Form
Jozef de Beer
ParticipantI was looking for something similar, only I want to put in a description on my registration page. Just a paragraph explaining a couple of things at the registration page. I can’t believe that this would be a plugin not a feature with buddypress. If this is operator error (which I think is most likely) then please tell me how to do this.
Thanks,
Jozef de Beer
creativecollaborating.comNovember 24, 2014 at 10:34 pm #229499Henry Wright
ModeratorIt wouldn’t be BuddyPress documentation you’d need, rather, WordPress documentation. Take a look at the articles on user meta, specifically look at the
get_user_meta()andupdate_user_meta()functions.The general idea would be to increment a user’s share count each time something is shared by that user.
Refs:
https://codex.wordpress.org/Function_Reference/update_user_meta
https://codex.wordpress.org/Function_Reference/get_user_metaNovember 24, 2014 at 10:32 pm #229498shanebp
ModeratorGlad it worked.
Unless you’re explicitly using the BP default theme, you should use the templates from here:
buddypress/bp-templates/bp-legacy/buddypress[yeah, it’s not intuitive]
November 24, 2014 at 10:10 pm #229497Long Beach Web Design
ParticipantHey @henrywright thanks for getting back to me. Yes I figured it would require custom coding. I have scoured the plugin directory for something close to this and could not find anything. If I were to develop a plugin like this can you point me to buddypress documentation that would be helpful to get started?
November 24, 2014 at 10:10 pm #229496In reply to: Registration page and membership level (PMPro)
djsteveb
Participant@mika909 – I do not think anyone at the buddypress forums is going to help you with this. When trying to get a particular plugin to work with BP it is best to read the instructions with that plugin ( wordpress . org/plugins/paid-memberships-pro/faq/ )
or ask in the support forums for said plugin ( https://wordpress.org/support/plugin/paid-memberships-pro )
Although the FAQ for this plugin links to the premium plugin site – which basically says figure it out on your own.. or register there free to get access to extra documentation, or pay $297 to get extra help and up to one hour of consultation / help in setting this plugin up.
This is really not a buddypress how to / troubleshooting thing. If there is a way to mark this thread as resolved you should do that.
November 24, 2014 at 4:19 pm #229491In reply to: members search disappeared
dshirac
ParticipantHey @mercime! Well,
I’ve been told and yes I was mistaking, but on members page I have the search form to search members, but no result from this one, not by first/last name and not by username.
Anyway, I had to do some coding and wrote that small function:
———-
<?php
$term = $_POST[“fname”].’ ‘.$_POST[“lname”];
header(‘http://www.allthatsheneeds.com/members/?s=$term.’#’);
?>
———-
I found out that buddypress search uses s, letters and member_search as parameters, and send them to this url above, so why not to just send them via my form 🙂
Problem:
‘s’ represent first name but that’s it, I can’t pass any other param except this one.. (they all been ignored ) do you have any idea how to pass also my ‘lname; value? to which param should I send it?Thank you so much!
November 24, 2014 at 1:44 pm #229486shanebp
ModeratorIf you select “Discourage search engines from indexing this site” in WP – Settings – Readings then bbpress new topics and replies won’t be shown in Buddypress Activity.
just fyi – if selected, it will also prevent blog comments from showing up in the activity stream.
November 23, 2014 at 9:59 pm #229474In reply to: members search disappeared
dshirac
ParticipantHey mercime! Well,
I’ve been told and yes I was mistaking, but on members page I have the search form to search members, but no result from this one, not by first/last name and not by username.
Anyway, I had to do some coding and wrote that small function:
———-
<?php
$term = $_POST[“fname”].’ ‘.$_POST[“lname”];
header(‘http://www.allthatsheneeds.com/members/?s=$term.’#’);
?>
———-
I found out that buddypress search uses s, letters and member_search as parameters, and send them to this url above, so why not to just send them via my form 🙂
Problem:
‘s’ represent first name but that’s it, I can’t pass any other param except this one.. (they all been ignored ) do you have any idea how to pass also my ‘lname; value? to which param should I send it?Thank you so much!
November 23, 2014 at 9:34 pm #229473In reply to: Youtube z-index
@mercime
Participant@navinachettri this is not a BuddyPress issue and more like a theme issue. Please check if the issue is resolved if you change to the Twenty Fourteen theme. If it is, then do post at the theme author’s site.
November 23, 2014 at 9:28 pm #229472In reply to: members search disappeared
@mercime
Participant@dshirac following are the only BP Widgets https://codex.buddypress.org/buddypress-components-and-features/buddypress-widgets/ Perhaps you mean a feature with another theme or plugin?
November 23, 2014 at 2:44 am #229461djsteveb
ParticipantSounds possible… probably have to hire on some custom coding help though. I am not aware of anything out of the box or plugin wise that will do searching by distance with zip codes.
The other stuff you mentioned can probably be pieced together with plugins from various places – may need some tweaks to get things to work as you describe – which will take some extra coding mercenary expenses I think.
I am not an expert on all the various plugins, and couldn’t begin to tell you how much coding help would be needed. You can create a buddypress site pretty cheap to play with it and then see how many modifications you would need to get what you are going after.
November 23, 2014 at 2:27 am #229459In reply to: Updated 4.0.1. and buddypress not working.
djsteveb
Participant@yanner11 – did you disable all plugins and switch themes and see if buddypress works?
Not sure all the plugins you are using.. but sometimes disabling them all, then re-enabling them after enabling buddypress will fix things… but if you do not know if it is a plugin or theme thing – you are kind of flying blind.I would do the disable as outlined above and see if it works without the theme, or maybe you will find that enabling plugins one by one there is a particular plugin that is causing the issue.
With some plugins in my experience after an update there may be the need to go to your permalinks settings, change permalinks to a different setup, save. Then change permalinks back to your original setup and save again.
In most if you run through these steps your issue will be resolved.
November 23, 2014 at 12:11 am #229456In reply to: Updated 4.0.1. and buddypress not working.
djsteveb
Participantdeactivate all your plugins, switch to twenty twelve theme. reactivate buddypress pluing. Check if your groups work.
If so – then reactivate plugins one by one and see if it still works.
If it works with all your plugins and twenty twelve theme then it is your custom community theme.
Hope that helps…
November 22, 2014 at 6:18 pm #229451In reply to: Allowing new users to select WP role
aaronkine
ParticipantI used a plugin called WordPress User Frontend Pro and their Buddypress addon. I also used this plugin to create new User Roles “Capability Manager Enhanced”
November 22, 2014 at 5:42 pm #229448In reply to: Topic answers – emails/notifications
shanebp
ModeratorYou should.
And – btw – this is the BuddyPress forum.
Your question is better suited to the bbPress forum.November 22, 2014 at 1:26 pm #229446In reply to: Registration via BuddyPress won't work
MaWe4585
ParticipantI just ionstalled BuddyPress on a Server without different Port and it works fine there.
So i guess that is what causing it.
What the bug is exactly, that i don’t know. but it has something to do with the port i think. -
AuthorSearch Results