Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 27,776 through 27,800 (of 94,562 total)
  • Author
    Search Results
  • aravere
    Participant

    Hi- I have an online school and would like to be able to have students from each course or grade level be able to socialize together, exclusive of other courses and grades.

    For example, I’d like all the students from “Course A” to be able to socialize, but have it so that no one from any other course can access or infiltrate the social network of “Course A”. “Course B” would have its own social network, exclusive of “Course A” and all other courses.

    The purpose of this is to protect the younger students in one course from older students in other courses, and also to allow students in older courses to engage in a mature setting free from concern of younger eyes and ears.

    Does this make sense?

    We do have groups divided up per age (we have courses divided by Middle School, High School, and Adult) and per topic (e.g. Drawing 101, Film 101, Film 201, etc.). We use LearnDash LMS (www.learndash.com) to organize courses and lessons.

    If someone knows how to set up BuddyPress in this way, please let me know.

    – WordPress version 3.7.1
    – BuddyPress version 1.8.1

    Thanks for your help. I searched for something along these lines, but came up empty. If this has been discussed, can you direct me to the conversation? Thanks!

    Tim

    #175310
    titoniko
    Participant

    I´m using wordpress + buddypress and I think it is great.

    But i would like to integrate the following option:

    When a user writes a comment, I would like the user to publish it in his/her profile or his/her groups.

    Is there any option that could publish in his profile + Twitter (like LinkedIn)??

    Thank´s for your time

    danbp
    Participant

    hi @matt-mcfarland,

    i’m not a dev but consider this, to get a user ID:

    $user_id = bp_get_member_user_id();

    To answer the sql question, here’s a function that doesn’t exist in buddypress, which let you get the xprofile_group name by it’s ID For inspiration…

    function bpfr_get_xprofile_group_id_by_name( $name = '' ) {
    	global $wpdb;
    	
    	$bp = buddypress();
    	
    	if( empty( $name ) )
    		return false;
    		
    	return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_groups} WHERE name = %s", $name ) );
    }

    For the output, you have to create another function containing at least:

    
    	$user_id = bp_get_member_user_id();
    	$xprofile_group_id = bpfr_get_xprofile_group_id_by_name( 'the groupe name' );
    
    if( !class_exists( 'BP_XProfile_Group' ) )
    		return false;
    		
    	$args = array(
    		'profile_group_id'       => $xprofile_group_id,
    		'user_id'                => $user_id,
    		'fetch_fields'           => true,
    		'fetch_field_data'       => true
    	);

    May this help you !

    tesargusmawan
    Participant

    Hello,

    I use Buddypress for my college. Every semester the members (students) were automatically joined to the groups (courses) that they took using Groups-O-Matic Plugin. It is running as expected for now.
    What I want is, when the semester will be over, I want to remove all member from the groups (also the group admin) and reset their certain page of profile field that contains the list of group names (myurl…./profile/edit/group/3).
    So the members are forced to complete their profile field again and automatically joined the relevant groups as they complete their profile field for their next semester.

    I think that it is related to functions.php and header.php.

    Buddypress 1.8.1, WordPress 3.7.1

    This is what I have written in functions.php:

    /** Reset MatKul */
    if ( current_user_can( ‘administrator’ ) )
    { add_action(‘admin_bar_menu’, ‘admin_bar_reset_matkul’, 100); }

    function admin_bar_reset_matkul($admin_bar){
    $admin_bar->add_menu( array(
    ‘id’ => ‘reset-matkul’,
    ‘title’ => ‘Reset MatKul’,
    ‘href’ => ‘?reset_matkul=true’,
    ‘meta’ => array(
    ‘title’ => __(‘Reset Mata Kuliah’),
    //’onclick’ => ”,
    ),
    ));

    }

    function reset_matkul() {
    if (current_user_can(‘administrator’))
    {
    reset_matkul_111(); reset_matkul_222();
    }
    else
    { echo “<script>alert(‘Access Deny’);</script>”; }
    }
    function reset_matkul_111() {
    global $wpdb;
    $wpdb->query(” DELETE FROM wp_bp_xprofile_data WHERE field_id = ‘3’ and user_id <> ‘1’ “);
    echo “<script>alert(‘Reset Mata Kuliah Selesai’);</script>”;
    }
    function reset_matkul_222() {
    global $wpdb;
    $wpdb->query(” DELETE FROM wp_bp_groups_members WHERE user_id <> ‘1’ “);
    echo “<script>alert(‘Reset Group Selesai’);</script>”;
    }

    ** I also make a button on my backend admin bar on header.php for this function.

    Could you guys please help?

    Big thanks!

    #175303
    petdailypress
    Participant

    I am using the Salutation theme, from ThemeForest, which is made to use with BuddyPress. Per their installation video and the directions I have gleaned from this Support site, the plugin should have taken me through a 5 step installation procedure before activating.

    The plugin did not do this. I have deactivated and deleted the plugin at least 3 times to see if it would do the set-up process and it doesn’t.

    I cannot get the Registration page to work because it never set up the page. Whenever I try to set it up myself it just sends the page to Home, not to the page I created.

    I am becoming extremely frustrated, and I would really appreciate any and all help since the support for my theme is crap.

    Thank you!!!

    (this is the website http://pilot.bekindtodogs.com/)

    1. Which version of WordPress are you running? 3.7.1

    2. Did you install WordPress as a directory or subdomain install? I don’t know.

    3. If a directory install, is it in root or in a subdirectory? I don’t know.

    4. Did you upgrade from a previous version of WordPress? If so, from which version? I don’t know.

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes.

    6. Which version of BP are you running? Version 1.8.1

    7. Did you upgraded from a previous version of BP? If so, from which version? No

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Yes: bbPress, Revolution Slider, Shareoholic, SG Cache Press, Limit Login Attempts, WordPress Importer

    9. Are you using the standard BuddyPress themes or customized themes? Not sure, customized I guess

    10. Have you modified the core files in any way? No

    11. Do you have any custom functions in bp-custom.php? I don’t know.

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Version 2.5.1. I am not sure if it came with it, it might have.

    13. Please provide a list of any errors in your server’s log files.

    14. Which company provides your hosting? Site Ground

    15. Is your server running Windows, or if Linux; Apache, nginx or something else? I don’t know.

    #175301
    pmuktan
    Participant

    Hello everyone,
    As i had security issues mingle forum, i am installing buddypress forum in my website.
    But the concern is How can i transfer all data such as topics and replies from mingle forum to buddypress forum.

    Is it possible to do that ?

    Your help is really appreciated.

    Regards
    Pmuktan

    #175299
    shubh14
    Participant

    @danbp Sorry about that. I am using WP 3.7.1, Buddypress 1.8.1, WP User Frontend. Single wordpress install.

    @matt-mcfarland thank you for your help. I added your code to functions file. however, out of three posts, I only see one with a visible attachment. See pic.
    screenshot

    P.S. You have a beautiful site..just a few issues. Activity page – the first buttons row is hidden behind the top header and the ‘members’ count shows 1 however, you have 1700+ members.
    activity page

    Single post page – the ‘login to reply’ link in comments aren’t visible as they are of the same color as the button bg
    buttons

    Cassey’s Designs
    Participant

    Hiyya,

    Firstly.. My Info :
    WordPress Version 3.7.1
    BuddyPress Version 1.8.1
    Site : duffitness.com/coachportal/ – this site is private and only accessible by registered coaches, however I have attached an image of the title I am referring to.

    Okay, so I can activate new accounts with Google Chrome, Firefox, Opera and Safari but IE(8) redirects to login without activating…
    I can have users go to the activate page and enter the activation key but that is not very user friendly.
    I do receive this message when other browsers activate, but they do still activate the account…
    “Warning: unserialize() expects parameter 1 to be string, array given in /”mysitedirectory removed for privacy”/wp-content/plugins/buddypress-notifications-manager/loader.php on line 77”
    I did locate the source of this warning and I have attached a screenshot of the code…

    warning message

    However, Upon disabling the notifications manager plugin I found that this is not the source of the problem. I now get no errors with any of the other browsers but IE redirects to log in without completing the activation process when a user clicks the link from their email and then returns the error…
    “ERROR: Your account has not been activated. Check your email for the activation link.”
    …when attempting to log in.

    Thanks for any insight into this problem… (Go figure it’d be IE that decides to be difficult, lol)
    Cassey

    #175290
    Anonymous User
    Inactive

    Hello!
    I recently installed BuddyPress on my CMS WordpPress fully compatible with a theme and with its pages.
    My problem is: When I go on member I find this code “Fatal error: Call to undefined function bp_get_activity_latest_update () in on line 29 “and the admin bar is invisible.
    So I have no function (BuddyPress plugin on site) at this time.

    I found no problem, but how to fix this bug and fix everything?

    Thank you for your help!

    flexclique
    Participant

    I am trying to create a page to act as a UI dashboard with custom image links to the main parts of Buddypress. I have searched everywhere and can’t figure out how to create a link to the user profile page or any of the dynamic areas for that matter.

    Thanks for any help!

    rodhewitt
    Participant

    Hello,

    I need to import all members from vldpersonals dating software to buddypress.

    Anyone here know how can i do this? theres is any plugin for this?

    Thanks

    #175274
    flexclique
    Participant

    I was able to resolve this with a plugin called Buddypress Announce Group. I modified it slightly (wording it placed on the group home tab). But other than that, it works very well.

    I hope this helps someone.

    #175269
    Akshaysrk
    Participant

    Thank You for your Reply Mr. McFarland. the error log is as below

    d; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:45:53 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:47:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:05 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:08 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:44 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:45 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:50 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:53:02 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:53:09 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:54:45 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:55:01 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:56:03 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:56:55 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:00:40 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:08:47] PHP Fatal error: Call to undefined function get_blog_option() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-cssjs.php on line 39 [07-Dec-2013 18:09:03 UTC] PHP Fatal error: Call to undefined function get_blog_option() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-cssjs.php on line 39 [07-Dec-2013 18:09:24] PHP Fatal error: Call to undefined function get_blog_option() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-cssjs.php on line 39 [07-Dec-2013 18:15:09 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:16:57 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:54:48 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:54:53 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:55:57 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:20 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:21 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:21 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:32 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:32 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:33 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 /home1/srkaksha/public_html/nucleionline/wp-admin/error_log: [21-Sep-2013 14:46:07] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 for query SELECT COUNT(*) FROM made by require_once(‘wp-admin/admin.php’), do_action(‘admin_init’), call_user_func_array, bp_admin_init, do_action(‘bp_admin_init’), call_user_func_array, bp_core_activation_notice [21-Sep-2013 14:46:07] PHP Fatal error: Call to undefined function bp_blogs_record_existing_blogs() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress/bp-core/admin/bp-core-functions.php on line 205 [07-Dec-2013 17:43:48 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:47:51 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:53:25 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:24 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:25 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:26 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:32 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:39 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:39 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:00:53 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:01:39 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:01:40 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:06:02 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:16:02 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:17:22 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:17:43 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:17:59 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:18:04 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:18:04 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108

    #175268
    Matt McFarland
    Participant

    Latest version of BP works without using its theme. Works out of the box with themes that are using wp standards (like wp 2012)

    You need to read these docs:https://codex.buddypress.org/getting-started/

    #175256
    Matt McFarland
    Participant

    I have both pages loaded up on my dual monitors, #buddypress is missing, just checked for a second some other things could be missing too. Click the imgur link below to see what I mean.
    See the difference?

    #175255
    Matt McFarland
    Participant

    This is not a PHP issue, it is more a CSS html issue..

    Looks like #buddypress is missing in the DOM. Check your file and make sure you put that in there.

    #175254
    Matt McFarland
    Participant

    A great plugin that I use (is free) that has greatly reduced registration spamming is WANGUARD (check it out here: https://wordpress.org/plugins/wangguard/) works great with buddypress and bbpress

    #175253
    ride2719
    Participant

    I’m hoping that this is my final post on this thread. I found a plugin called BuddyPress Security Check that, so far, has stopped the spam registrations. Thanks to Shea Bunge for the plugin. This may be one of those short-lived fixes where the spammers figure it out eventually, but it’s working right now.

    #175247
    Matt McFarland
    Participant

    Here’s MY entry.php file

    please don’t mind the bootstrap integration :p

    <?php
    
    /**
     * BuddyPress - Activity Stream (Single Item)
     *
     * This template is used by activity-loop.php and AJAX functions to show
     * each activity.
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    global $wpdb, $post, $bp;
    ?>
    
    <?php do_action( 'bp_before_activity_entry' ); ?>
    <?php echo $bp->current_item; ?>
    <li class="panel <?php bp_activity_css_class(); ?>" style="padding-top:0;" id="activity-<?php bp_activity_id(); ?>">
    	<div class="panel-heading" style="padding-top:0;">
    		<span class="activity-avatar">
    			<a href="<?php bp_activity_user_link(); ?>">
    				<?php bp_activity_avatar(); ?>
    			</a>
    		</span>
    			<?php bp_activity_action(); ?>
    	</div>
    	<div class="panel-body activity-content">
    		<?php if ( bp_activity_has_content() ) : ?>
    
    			<div class="activity-inner" >
    				<?php bp_activity_content_body();
    				
    				$blogpost_id = bp_get_activity_secondary_item_id();
    				if ($blogpost_id) :
    					if (has_post_thumbnail( $blogpost_id ) )	:
    						$theimg = wp_get_attachment_image_src( get_post_thumbnail_id( $blogpost_id ) ); ?>
    						<a href="<?php echo get_post_permalink($blogpost_id); ?>"> <img style="thumbnail" style="width:100%;" src="<?php echo $theimg[0]; ?>"></a>
    					<?php endif; ?>
    				<?php endif; ?>
    			</div>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bp_activity_entry_content' ); ?>
    
    		<div class="activity-meta">
    			<?php if ( bp_get_activity_type() == 'activity_comment' ) : ?>
    
    				<a href="<?php bp_activity_thread_permalink(); ?>" type="button" class="button button-xs view" title="<?php _e( 'View Conversation', 'buddypress' ); ?>"><?php _e( 'All Comments', 'buddypress' ); ?></a>
    
    			<?php endif; ?>
    			<?php if ( is_user_logged_in() ) : ?>
    				<?php if ( bp_activity_can_comment() ) : ?>
    					<a href="<?php bp_activity_comment_link(); ?>" type="button" class="button button-xs acomment-reply"  id="acomment-comment-<?php bp_activity_id(); ?>"><i class="fa fa-comment"></i><?php printf( __( 'Comment <span>%s</span>', 'buddypress' ), bp_activity_get_comment_count() ); ?></a>
    				<?php endif; ?>
    				
    				<?php if ( bp_activity_can_favorite() ) : ?>
    
    					<?php if ( !bp_get_activity_is_favorite() ) : ?>
    
    						<a href="<?php bp_activity_favorite_link(); ?>" type="button" class="button button-xs fav"  title="<?php esc_attr_e( 'Mark as Favorite', 'buddypress' ); ?>"><i class="fa fa-thumbs-up"></i><?php _e( 'Favorite', 'buddypress' ); ?></a>
    
    					<?php else : ?>
    
    						<a href="<?php bp_activity_unfavorite_link(); ?>" class="button button-xs unfav bp-secondary-action"  title="<?php esc_attr_e( 'Remove Favorite', 'buddypress' ); ?>"><i class="fa fa-remove"></i><?php _e( 'UnFavorite', 'buddypress' ); ?></a>
    
    					<?php endif; ?>
    
    				<?php endif; ?>
    				
    				<?php if ( bp_activity_user_can_delete() ) {
    					echo '<a href="'.bp_get_activity_comment_delete_link().'" type="button" class="button button-xs item-button bp-secondary-action delete-activity confirm" rel="nofollow"><i class="fa fa-trash-o"></i>Remove</a>';
    					
    					} ?>
    				<?php do_action( 'bp_activity_entry_meta' ); ?>
    				
    			<?php endif; ?>
    		</div>
    
    	</div>
    
    	<?php do_action( 'bp_before_activity_entry_comments' ); ?>
    
    	<?php if ( ( is_user_logged_in() && bp_activity_can_comment() ) || bp_activity_get_comment_count() ) : ?>
    
    		<div class="activity-comments">
    
    			<?php bp_activity_comments(); ?>
    
    			<?php if ( is_user_logged_in() ) : ?>
    
    				<form action="<?php bp_activity_comment_form_action(); ?>" method="post" id="ac-form-<?php bp_activity_id(); ?>" class="ac-form"<?php bp_activity_comment_form_nojs_display(); ?>>
    					<div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=' . BP_AVATAR_THUMB_WIDTH . '&height=' . BP_AVATAR_THUMB_HEIGHT ); ?></div>
    					<div class="ac-reply-content">
    						<div class="ac-textarea">
    							<textarea id="ac-input-<?php bp_activity_id(); ?>" class="ac-input" name="ac_input_<?php bp_activity_id(); ?>"></textarea>
    						</div>
    						<input type="submit" name="ac_form_submit" value="<?php _e( 'Post', 'buddypress' ); ?>" /> &nbsp; <a href="#" class="ac-reply-cancel"><?php _e( 'Cancel', 'buddypress' ); ?></a>
    						<input type="hidden" name="comment_form_id" value="<?php bp_activity_id(); ?>" />
    					</div>
    
    					<?php do_action( 'bp_activity_entry_comments' ); ?>
    
    					<?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ); ?>
    
    				</form>
    
    			<?php endif; ?>
    
    		</div>
    
    	<?php endif; ?>
    
    	<?php do_action( 'bp_after_activity_entry_comments' ); ?>
    
    </li>
    
    <?php do_action( 'bp_after_activity_entry' ); ?>
    

    Fits with my theme, might not yours (my thumbnails are larger than default and I’m using a masonry layout) see it at http://www.hvac-hacks.com/activity

    #175246
    Matt McFarland
    Participant

    Yes this is very easy to do.

    Adding the featured image of a wordpress post into a buddypress activity stream can be done by doing one of the following. I’d like to add that I had trouble finding out how to do this at first and it took a lot of searching. The first copypasta I have for you was actually found on these very forums. However, due to so many people asking this question (and not getting answers) it is buried and very difficult to find. So without further ado please enjoy…

    You can either edit the activity page activity/entry.php or just copy paste the following function into your functions.php file.

    
    function icondeposit_bp_activity_entry_meta() {
     
        if ( bp_get_activity_object_name() == 'blogs' && bp_get_activity_type() == 'new_blog_post' ) {?>
            <?php
            global $wpdb, $post, $bp;
            $theimg = wp_get_attachment_image_src(  get_post_thumbnail_id( bp_get_activity_secondary_item_id() ) );
            ?>
            <img src="<?php echo $theimg[0]; ?>" >
     
        <?php }
     
    }
    add_action('bp_activity_excerpt_append_text', 'icondeposit_bp_activity_entry_meta');
    

    If you want further customization, I recommend editing activity/entry.php

    #175245
    Akshaysrk
    Participant

    Hello,
    Before coming to problem I give u my website details
    URL: http://www.nucleionline.info
    wordpress: 3.7.1, (before it used to be 3.6.1)
    Buddy press: 1.8.1

    Yesterday I received mail from Bluehost(my hosting provider) that they will stop support for Php 5.2 ina week and asked me to change config to php 5.4.
    When I changed the version my site appears blank. But, when i Deactivate Buddypress Theme and also Plug-in it works fine.

    right now i revert the config to php 5.2. But, i hav only 5 days time to make it work in php 5.4. Could you Please help me out?

    Thanks & Regards,
    Akshay

    #175243
    danbp
    Participant

    hi @shubh14,

    please give some details about your configuration when you ask for help.

    WP/BP version, sigle or network install, theme name, used plugins.

    https://buddypress.org/support/topic/when-asking-for-support-2/

    #175242
    noizeburger
    Participant

    OK, now this topic can be marked as resolved as I finally found a the working solution.

    I made a tutorial in this thread: different profile types, different user roles

    noizeburger
    Participant

    This topic has been always important to my community project. Throughout the last 4 years I’ve tried several ways to reach a way working with different user profiles. If you search the forums you’ll see that others also did and still do.

    Maybe my approach/solution will fit some of the requests.
    First of all, I’ve to say THANK YOU to the following people/users:

    @henrywright-1 for some hints into the right direction
    donmik, publisher of the wonderful Buddypress Xprofile Custom Fields Type plugin
    and Brajesh Singh @sbrajesh for his usefull code snippets.

    So, what I needed and what was the solution?

    I’m working on a platform for musicians and music fans. To give both usertypes different capabilities in their profiles I decided to give them different user roles.
    To achive this, there are several wordpress plugins. Below you will find a list of the plugins I use.
    In earlier versions of Buddypress I’ve used the WP Roles at Registration plugin together with Buddypress xProfiles ACL plugin. So I had the possibility to make the user chose a role at registration and a way to define what buddypress profile groups are shown in the different profile types. Both plugins haven’t been updated in the last two years but both still work. xProfiles ACL needs to be hacked – see this support thread .

    So far so good. But there is no way to include the user role (in my case “band” and “fan”) in buddypress search. My first attempt was to include the user role via some code snippet in my member-loop, but that seemed a bit complicated to me. I wanted a conjunction between the user role and buddypress search. So there had to be a way to select the user role through a xprofile field, ’cause xprofile fields can be searched and also displayed in the member-loop in several ways.

    To stop confusing you, here’s what I’ve done:

    required plugins:

    1. Buddypress xProfiles ACL with the hack mentioned a few lines earlier.
    2. Capability Manager Enhanced to define custom user roles, if you’re not satisfied with the default wordpress roles (subscriber, contributor,…).

    The first step is to create your user roles, modify the ACL plugin and define some profile field groups that can be finally added to the different user roles/types.
    Create a xprofile field (selectbox) with the title “User Role” and name the options “Band Role” and “Fan Role” – in my case. You can call them whatever you want. Place this field in the “base” profile group, otherwise it won’t be shown during registration. Also make the field “required”. In my case the user can’t decide, if the visibility of the field can be changed.

    In a second step you need to create a bp-custom.php in the root of your wordpress plugin folder (if you haven’t done this yet, cause you have other custom functions).
    Put the following snippet in your bp-custom:

    <?php
    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('User Role', $user_id));
        switch($user_role) {
            case "Band Role":
                $new_role = 'band';
                break;
            case "Fan Role":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    As you can see, I’ve included the title of the xprofile field in line 3. It’s important to put in the exact title of your xprofile field. The case “Band Role” and case “Fan Role” is the place to put your select options of the field. Finally $new_role has to be filled with the wordpress or custom user roles – important, otherwise it won’t work: in lowercase letters – in my case “band” and “fan”.

    Save your bp-custom.php and you’re nearly done.
    In my case I want to prevent the users to change their user role after registration (if you want to give them the possibility to do so, more hacking has to be done – but I’m not sure how to). Put another snippet in your bp-custom.php:

    //hide the user role select field in edit-screen to prevent changes after registration
    add_filter("xprofile_group_fields","bpdev_filter_profile_fields_by_usertype",10,2);
    function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
    //only disable these fields on edit page
    if(!bp_is_profile_edit())
    return $fields;
    //please change it with the name of fields you don't want to allow editing
    $field_to_remove=array("User Role");
    $count=count($fields);
    $flds=array();
    for($i=0;$i<$count;$i++){
    if(in_array($fields[$i]->name,$field_to_remove))
    unset($fields[$i]);
    else
    $flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
    }
    return $flds;
    }

    Again, fill in the title of the profile field (User Role), where it’s indicated in the code.

    That’s it. I hope I haven’t been too confusing. Ask if you need help.

    #175239
    Cassey’s Designs
    Participant

    I have found the actions file where the do_actions are called from, its in the main buddypress files bp_activity > bp-activity-actions.php…

    I would just remove the action and code in the title I want but I’d like to be able to re-use the theme I am working on… Ill try playing with the template hierarchy and actions and see what I come up with.

    Thanks Matt!

Viewing 25 results - 27,776 through 27,800 (of 94,562 total)
Skip to toolbar