Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,676 through 21,700 (of 94,544 total)
  • Author
    Search Results
  • #232780
    Henry Wright
    Moderator

    Try 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 the published_post action which will fire each time a new post is added to the database.

    Please note I haven’t tested.

    #232779
    dallass
    Participant

    So this is not built in with BuddyPress ?

    #232774
    Ivalde
    Participant

    The BuddyPress font sizes defaults too small. See this group https://cretemix.com/groups/the-island as an example in which the group descriptive text and the activities details as an example becomes too small, so small that its near to unredable.

    How to fix this in an easy way with no need to look into the CSS tags in hours and days?

    #232768
    danbp
    Participant

    Mentionning 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.

    #232766
    smiklos90
    Participant

    Hi there!

    Not sure if it’s the right topic, and sorry, if I’m in wrong place – but I reached my capabilities without any real programming skills.

    For the third year, i am an administrator of a hungarian forum based role playing site. The mechanics are simple, mostly built on available wordpress/buddypress plugins.

    I use Cimy User Extra Fields to set the race of the characters, which is shown near every post.
    People can level up with using CubePoints (=exp. points), every post gains some, administraters and dungeon masters can add some for participating in some events.
    Achievments plugin for the same reason as the previous one, and make more gamelike.

    What I need help is making a quest system – which would help users level up faster and earn titles. The best would be to add new page to the buddypress profile, character sheet. For every cubepoints rank, users would gain certain ammount of skillpoints, which they could spend.
    The questing would be another page of the site: administrators could create new quest, and there would be unseen requirements to users (like: on the quest page, near the description there would be a picture and under it a red “hard” test. it would mean hacking level 12 skill minimum + d4 skillcheck.)
    If they succeed, they would get a message about it, and some cubepoints.
    Every few hours, the list would refresh itself, choosing random quests from the list.
    With X number of tasks done, they would gain choosable titles (for example: 10 quests done in cyberwarfare category would mean they can add “1337” title on their profile page)

    I know it’s a really, really big task, but I would like any help i can get – where shall i begin? What do you guys recommend?

    #232764
    dallass
    Participant

    Hello,

    I am new to BuddyPress.
    But, as far as I understand most of the user activity is done via front end.

    My questions:

    1. What should I do to have the user login via front end. What is the login page?
    2. At log out the users must be redirected to one of the pages of the website. Preferably a log out page. How can I do this.

    Thanks !

    #232762
    patlol
    Participant

    I 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.3

    On 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 Dashboard

    barodscheff
    Participant

    Hi guys!

    Just a short question.
    I’ve created a custom funtion in my themes functions.php (not in buddypress-functions.php!).
    The interesting part looks like this:

    function mycf7_before_send_mail($WPCF7_ContactForm) {
    	
    	$new_recipient = bp_get_profile_field_data('field=Email for contact&user_id='.bp_displayed_user_id());
    	
    	$mail = $WPCF7_ContactForm->prop('mail');
    	
    	$mail['recipient'] = $new_recipient;
    	
    	$WPCF7_ContactForm->set_properties( array( 'mail' => $mail ) );
    }  
    add_action( "wpcf7_before_send_mail", "mycf7_before_send_mail" );		

    So I’m trying to call a buddypress function to get the email of the currently visited user. But the buddypress function is not working in functions.php. Any suggestions how to solve it? I can’t call it in buddypress-functions.php. It needs to be in the themes functions.php.

    Regards

    #232755
    ripulkr
    Participant

    If I want to add custom members per page for a group and disable the ajax pagination.
    The pagination stops working. The same issue occurs in my custom module built on similar lines to that of BP Groups.
    The issue is replicable in Twenty Fifteen and BuddyPress 2.1.1

    Please suggest how to fix this, or approach it alternate way.

    #232754
    Kishores
    Participant

    Hello,

    I am developing a Buddypress ext for Wp Job Manager: https://wordpress.org/plugins/wp-job-manager/
    Buddypress Job Manager :http://buddypress-job-manager.opentuteplus.com/

    I need feedback upon it. It by default adds all shortcode as buddypress navigation. There is no restriction for users. For all users links are displaying. I need your help regarding the User Access level. How should it defined?

    Also in Activity feed, how it should behave !!. I’m thinking to add jobs posts to activity feed too.

    So How to add job posting and it’s comments to buddy press activity feed, and customization of it

    Please give your valuable suggestion. 🙂

    Thanks
    Kishore

    Kishores
    Participant

    Right now I have copied the while ( bp_members() ) : bp_the_member(); from request template. and It’s working only on this page http://mysite/members/admin/friends/requests/, In other page result is empty.

    if ( bp_has_members( 'type=alphabetical&include=' . bp_get_friendship_requests() ) ):
    		while ( bp_members() ) : bp_the_member();
    		$html .= '<li>';
    		$html .= '<span class="thread-avatar">';
    		$html .= bp_get_member_avatar();
    		$html .= '</span>';
    		$html .= '<span class="thread-from">';
    		$html .= bp_get_member_name();
    		$html .= '<div class="action">';
    		$html .= '<a class="button accept" href="'.bp_get_friend_accept_request_link().'">' .__( 'Accept', 'buddypress' ).'</a>';
    		$html .= '<a class="button reject" href="' .bp_get_friend_reject_request_link() .'">' .__( 'Reject', 'buddypress' ).'</a>';
    
    	    $html .= do_action( 'bp_friend_requests_item_action' );
    		$html .= '</div>';
    		$html .= bp_get_message_thread_excerpt();
    		$html .= '</span>';
    		$html .= '</li>';
    		endwhile;
    		$html .= '</ul><!-- #message-threads -->';
    		$html .= '</div>';
    	else:
    		$html .= '<div class="messages" role="main">';
    		$html .= '<ul id="message-threads" class="messages-notices">';
    		$html .= '<li>';
    		$html .= '</li>';
    		$html .= '</ul><!-- #message-threads -->';
    		$html .= '<p>Sorry, no requests were found.</p>';
    		$html .= '</div>';
    	endif;

    Here is the code of the function block. It shows lists of pending friend request in request page, but in other page resukt is empty. I’m using all latest version of plugins and WP

    Thanks
    Kishore

    #232752
    youmin
    Participant

    I did not got what ur question is clearly. You installed bbpress and buddypress . I will suggest you to be clear on problem.

    #232742
    eVersatile
    Participant

    That 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.

    #232734

    In reply to: Auto Join Groups

    modemlooper
    Moderator
    modemlooper
    Moderator

    the way to do it is to get letter clicked, access db and collect user ID’s and then filter the loop with those IDs

    BP_User_Query

    #232730

    In reply to: Please help!

    modemlooper
    Moderator

    Sounds 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/

    screampuff
    Participant

    Thanks 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?

    #232721
    youmin
    Participant

    yes 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

    #232718
    shanebp
    Moderator

    The 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;

    Codex page.

    Milutin
    Participant

    Yes – 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.

    r-a-y
    Keymaster

    For 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:

    Group Extension API

    Tie the two together and you should be able to accomplish what you want.

    #232714
    peter-hamilton
    Participant

    Hi all

    I have been working on a Buddypress theme, about 4 months I estimate due to having no knowledge of PHP.

    It is almost finished and would like some feedback on layout and functionality.

    http://www.onlijn.com

    Or register and check out the “like” system and other functions
    http://www.onlijn.com/register

    Thanks in advance

    Peter Hamilton

    r-a-y
    Keymaster

    Does 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?

    Register and Activation Pages

    #232712
    r-a-y
    Keymaster

    Roles 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:

    Member Types

    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/newticket

    Use the same credentials you use here on buddypress.org.

    Milutin
    Participant

    Hi,

    I installed BuddyPress plug in, associated Register page from WP with BP register page but nothing appears on that page?

    You can check it on my site: http://www.resortswired.net/

    I have the latest version of WordPress (4.1) as well as latest version of BuddyPress plug-in (2.1.1)
    I have your plug-in on my other site and it’s working just fine, so can you help me with these?

    I just want register form to appear on Register page.

Viewing 25 results - 21,676 through 21,700 (of 94,544 total)
Skip to toolbar