Search Results for 'buddypress'
-
AuthorSearch Results
-
January 22, 2015 at 11:16 pm #232805
In reply to: BuddyPress and Fundraising Functionality
Henry Wright
Moderatora) Not ‘out-of-the-box’ but through either plugins or custom code snippets then this can be done.
b) Try the BP Jobs Board. We request that you post your requirements and leave your contact details so that developers can contact you.
January 22, 2015 at 10:59 pm #232804In reply to: buddypress function in themes functions.php
shanebp
ModeratorTry it in bp-custom.php
January 22, 2015 at 10:41 pm #232803In reply to: Pagination no-ajax bug
r-a-y
KeymasterThis should be fixed when BuddyPress 2.2 is out:
https://buddypress.trac.wordpress.org/ticket/5967If you have a testing environment, you can test out 2.2-beta 2:
January 22, 2015 at 9:15 pm #232800mcpeanut
Participant@r-a-y Please read this ray, This also happens on twenty fifteen default theme, After trying numerous ways to try and troubleshoot this myself i have had no luck, and according to the moderators on Atahualpa forums due to my post there, they have spent hours figuring out the cause and have narrowed it down to a buddypress bug, one of the moderators has opened a bug ticket here https://buddypress.trac.wordpress.org/ticket/6153
January 22, 2015 at 8:00 pm #232799In reply to: Pagination in Activity
r-a-y
KeymasterThe following codex page provides an example of how to change the activity pagination to a custom number:
January 22, 2015 at 6:25 pm #232797In reply to: Inserting activity content via plugin
Henry Wright
ModeratorGoing back to this, the following hook can’t be firing.
do_action( 'newsbaby_after_insert_post', $post_id );If this fired, then the
valuser_add_new_post_activity()function would execute and that would result in an activity item being created.January 22, 2015 at 5:59 pm #232793@mercime
Participant@giuseppecuttone no, you do not need to donate any money to get responses – as you know by now. Please be aware that we are all volunteers living in different time zones.
Please start a new topic if you have questions relating to BuddyPress. Closing this topic. Thanks.
January 22, 2015 at 4:37 pm #232787In reply to: Inserting activity content via plugin
Henry Wright
ModeratorRight, I’m with you.
After this line in the plugin
echo 'Shared successfully to your Home Place with tags: '.$tags;Can you add this?
do_action( 'newsbaby_after_insert_post', $post_id );Then change my code you added to functions.php to:
function valuser_add_new_post_activity( $post_id ) { $post = get_post( $post_id ); $user = get_userdata( $post->post_author ); $args = array( 'user_id' => $post->post_author, 'action' => $user->user_login . ' published ' . $post->post_title, 'component' => buddypress()->blogs->id, 'type' => 'new_blog_post', 'item_id' => get_current_blog_id(), 'secondary_item_id' => $post->ID, 'recorded_time' => bp_core_current_time(), 'hide_sitewide' => false ); bp_activity_add( $args ); } add_action( 'newsbaby_after_insert_post', 'valuser_add_new_post_activity' );That should do it 🙂
January 22, 2015 at 2:53 pm #232780In reply to: Inserting activity content via plugin
Henry Wright
ModeratorTry adding this to your theme’s functions.php file:
function valuser_add_new_post_activity( $ID, $post ) { $user = get_userdata( $post->post_author ); $args = array( 'user_id' => $post->post_author, 'action' => $user->user_login . ' published ' . $post->post_title, 'component' => buddypress()->blogs->id, 'type' => 'new_blog_post', 'item_id' => get_current_blog_id(), 'secondary_item_id' => $post->ID, 'recorded_time' => bp_core_current_time(), 'hide_sitewide' => false ); bp_activity_add( $args ); } add_action( 'publish_post', 'valuser_add_new_post_activity', 10, 2 );That’s how I’d add new blog posts to the activity stream. I’ve hooked
bp_activity_add()to thepublished_postaction which will fire each time a new post is added to the database.Please note I haven’t tested.
January 22, 2015 at 2:39 pm #232779In reply to: Users login via front end
dallass
ParticipantSo this is not built in with BuddyPress ?
January 22, 2015 at 1:16 pm #232768In reply to: My horizontal form don't work in "members" page
danbp
ParticipantMentionning your site URL will help : http://loonao.com/
Your theme is SweetDate (premium theme has bp support)Which plugin do you use for your custom search form ? You’ll probably have to ask on author’s support, as this is probably not a issue related to BuddyPress.
January 22, 2015 at 11:18 am #232762In reply to: My horizontal form don't work in "members" page
patlol
ParticipantI forget the environment!!!
On my wordpress 4.1 i have:
On site:
bbPress par The bbPress Community version 2.5.4,
Beautiful taxonomy filter par Jonathan de Jong version 1.1.4.2,
BP Profile Search par Andrea Tarantini version 4.0.3,
rtMedia for WordPress, BuddyPress and bbPress par rtCamp version 3.7.29,
BuddyPress par The BuddyPress Community version 2.1.1,
Petites annonces par WPMU DEV version 2.3.6.4,
Debug Bar Actions and Filters Addon par Subharanjan version 1.4.1,
Debug Bar Custom Info par FitWP version 1.0.2,
Debug Bar Roles and Capabilities par Matthew Boynes version 0.1.1,
Debug Bar Shortcodes par Juliette Reinders Folmer version 1.0.3,
Debug Bar par wordpressdotorg version 0.8.2,
Enable Media Replace par MÃ¥ns Jonasson version 3.0.1,
Events + par WPMU DEV version 1.8,
Live Stream Widget par Paul Menard (Incsub) version 1.0.4.3,
MarketPress par WPMU DEV version 2.9.6,
Revolution Slider par ThemePunch version 4.6.0,
WordPress Chat par WPMU DEV version 2.0.8.8,
WordPress Console par Jerod Santo version 0.3.9,
WP Job Manager – Applications par Mike Jolley version 1.5.2,
WP Job Manager – Indeed Integration par Mike Jolley version 2.0.17,
WP Job Manager par Mike Jolley version 1.19.0,
WP Job Manager – Job Styles par Tiny Giant Studios version 1.0.3On network:
Easy Bloging
Mass Email Sender
Multisite Theme Manager
New Blog Templetes
Remove Email Verificaton
Site Wip Text Change
User Switching
Importateur wordpress
SEO WordPress
WPMU DashboardJanuary 22, 2015 at 7:29 am #232752In reply to: Link to members /members/member-name
youmin
ParticipantI did not got what ur question is clearly. You installed bbpress and buddypress . I will suggest you to be clear on problem.
January 22, 2015 at 4:41 am #232742In reply to: Sub Navigation renaming
eVersatile
ParticipantThat line didn’t work either.
I’ve tried on a clean install also, I receive the same results.
I’m wondering if there must be some other function since it’s buddypress integrating with bbpress.January 22, 2015 at 3:38 am #232734In reply to: Auto Join Groups
modemlooper
Moderatorwhat about this one? https://wordpress.org/plugins/buddypress-groupomatic/
January 22, 2015 at 2:50 am #232733modemlooper
Moderatorthe way to do it is to get letter clicked, access db and collect user ID’s and then filter the loop with those IDs
January 22, 2015 at 2:10 am #232730In reply to: Please help!
modemlooper
ModeratorSounds like front end submission might help https://wordpress.org/plugins/frontend-uploader/
Not sure that plugin would work. Its that or a custom BuddyPress component. https://codex.buddypress.org/plugindev/creating-a-custom-buddypress-component/
January 22, 2015 at 12:06 am #232723screampuff
ParticipantThanks for the reply. I made some changes to the code before reading and was able to accomplish removing the tab from buddypress profiles with this:
function hide_achievements_from_users() { global $bp; if ((bp_loggedin_user_id() == bp_displayed_user_id()) || (current_user_can('administrator'))){ return; } bp_core_remove_nav_item('achievements'); } add_action( 'bp_setup_nav', 'hide_achievements_from_users', 99 );However I’m stuck on how to 404 the pages if they manually type out the URL
In your code I see:
// I guess we should 404 this page because this member isn't an admin or the displayed member. $wp_query->set_404(); status_header( 404 ); nocache_headers();How do I get this to apply only when it is http://mysite.com/members/<username>/achievements?
January 22, 2015 at 12:02 am #232721In reply to: BP 2.2 beta 2 member-type selectable by member
youmin
Participantyes it wont do any thing, but devs love to play with codes to a new idea lets see what happens. i have raised a ticket .
https://buddypress.trac.wordpress.org/ticket/6154#ticket
thanks shanebp its working perfect
January 21, 2015 at 11:43 pm #232718In reply to: BP 2.2 beta 2 member-type selectable by member
shanebp
ModeratorThe 3rd parameter won’t do anything.
To display the member type:
Create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php
and add this where you want it:$member_type = bp_get_member_type( bp_displayed_user_id() ); echo $member_type;January 21, 2015 at 11:17 pm #232716Milutin
ParticipantYes – I set in Settings that anyone can register, and also created Register page and associated it with BP register page through Settings->BuddyPress->Pages.
I don’t know what can be the issue.
January 21, 2015 at 11:16 pm #232715r-a-y
KeymasterFor the actual overriding of the page title and meta tags, you’ll need, hook into
'wp_head'action and write your tags for meta. For page title, you’ll need to override the'wp_title'or'wp_title_parts'filter.If you need frontend management, I would probably write the SEO data into the groupmeta DB table. Write a group extension plugin so a group admin can input the title and meta description.
Group extension codex article is here:
Tie the two together and you should be able to accomplish what you want.
January 21, 2015 at 11:12 pm #232713r-a-y
KeymasterDoes the registration page work when you switched your theme? (I’m not concerned about menus as that is independent from this issue.)
Do you have registration enabled?
January 21, 2015 at 11:09 pm #232712In reply to: How To bp_set_member_type?
r-a-y
KeymasterRoles are independent from BP member types.
As per the codex article, adding a ‘role’ parameter to your
bp_register_member_type()call will not do anything:If you have concerns about this, I would suggest you raise a ticket if you want to tie roles to member types:
https://trac.buddypress.org/newticketUse the same credentials you use here on buddypress.org.
January 21, 2015 at 8:29 pm #232695Henry Wright
ModeratorHi @rudik123
Just to make you aware, BuddyPress developers add new features to BP core only if that particular feature will benefit the entire community. So even if you offer $1,000s, the feature request may get rejected. That doesn’t mean to say the door is closed and that’s where plugins come in. Many people choose to hire a developer to create some functionality they need ‘as a plugin’.
There’s an Ideas forum already available which lets you submit ideas for plugins etc. You could potentially find some like-minded users on there, group together to contact a developer, and request something be built:
Useful links:
-
AuthorSearch Results