Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 43,501 through 43,525 (of 94,559 total)
  • Author
    Search Results
  • #137101
    shanebp
    Moderator

    @azizmb

    This approach might be safer for most people.
    It adds to the recorded post_types instead of replacing them.

    `
    add_filter ( ‘bp_blogs_record_post_post_types’, ‘activity_publish_custom_post_types’,1,1 );
    function activity_publish_custom_post_types( $post_types ) {
    $post_types[] = ‘videos’;
    $post_types[] = ‘pictures’;
    return $post_types;
    }
    `

    And if you go thru the trouble of creating a CPT, why not filter the activity action so it isn’t the generic ‘…wrote a new post’. For example:

    `
    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 == ‘videos’ ) {
    if ( is_multisite() )
    $activity_action = sprintf( __( ‘%1$s created a new Videos post, %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 Videos post, %2$s’, ‘buddypress’ ), bp_core_get_userlink( (int) $post->post_author ), ‘‘ . $post->post_title . ‘‘ );

    }

    return $activity_action;
    }
    `

    #137100

    In reply to: n00b confused as $%#*

    Asynaptic
    Participant

    ok, now I understand, this is a measure in place to prevent spam, thanks @modemlooper and @mercime appreciate the help

    I’m not entirely clear why the 3 things are linked together:

    1)stopping spammers’ posts from appearing in activity streams
    2)username and name variables
    3)activity stream not shown in a person’s profile page (https://buddypress.org/community/members/USER-NAME/activity/

    If the key issue is stopping spammers from polluting activity streams (1) why not do that? why involve (2) and (3)?

    is it just how buddypress is coded that makes it a necessity that if we want to implement 1, then 2 and 3 must also happen?

    #137099
    Asynaptic
    Participant

    Compare:

    https://buddypress.org/community/members/mercime/

    (list of activity…………………..)

    https://buddypress.org/community/members/synaptic/

    (Sorry, there was no activity found. Please try a different filter.)

    why?

    #137096
    Paul Wong-Gibbs
    Keymaster

    Thanks for the feedback, and thank you for testing!

    I’m sure someone will create a plugin to do this very soon

    Roger Coathup
    Participant

    These forums don’t notify people of follow up comments — so, no surprise that Boone didn’t pick up on a further question several months later.

    You can try the @username approach in your comment to notify them

    Roger Coathup
    Participant

    For questions 2 and 3 — yes, you can customise these aspects of your site — there are many ways of doing it, and to some extent it depends on the approach you take to developing your site’s theme.

    You can remove tabs, and add new tabs through the BuddyPress API
    You can also remove them by developing your own custom template files (and similarly for the avatar sizes)

    If you look on the showcase tab on this site, or visit bpinspire.com for more up to date examples, you can get a feel for what you can achieve based on BuddyPress.

    Much the same as a WordPress site doesn’t have to follow the basic blog structure, similarly a BuddyPress site doesn’t have to follow the generic bp-default theme structure and UX.

    Jason
    Member

    I would like to add a second dropdown next to the “Order By” dropdown on the blogs section.

    I can see the query in http://svn.buddypress.org/trunk/bp-blogs/bp-blogs-classes.php
    I can’t find a way to add in another criteria. I want to make another dropdown list of categories that I’ve tied into their blog meta.

    So for example, you could see a list of all blogs about “Dogs” or “Cats” from the dropdown, and it would update the listing via ajax like it does with the Order By Drop down.

    Does this make sense? I tried to extend the class and replace the function, but it has no effect and no errors. I placed the new extended class in my theme’s custom-functions.php (Where my other customizations are)

    Do I need to make a plugin to do this? Is this possible? I don’t want to alter core files!
    BuddyPress 1.5.6 + WordPress 3.4.1

    #137090
    alex35
    Member

    Hi, I have the same exact problem!
    This is what I get in my PHP log file:

    `[10-Jul-2012 19:39:48] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 77824 bytes) in /var/www/wordpress/wp-admin/includes/upgrade.php on line 1559
    [10-Jul-2012 19:39:48] PHP Stack trace:
    [10-Jul-2012 19:39:48] PHP 1. {main}() /var/www/wordpress/wp-admin/admin.php:0
    [10-Jul-2012 19:39:48] PHP 2. require() /var/www/wordpress/wp-admin/admin.php:106
    [10-Jul-2012 19:39:48] PHP 3. require_once() /var/www/wordpress/wp-admin/menu.php:233
    [10-Jul-2012 19:39:48] PHP 4. do_action() /var/www/wordpress/wp-admin/includes/menu.php:97
    [10-Jul-2012 19:39:48] PHP 5. call_user_func_array() /var/www/wordpress/wp-includes/plugin.php:403
    [10-Jul-2012 19:39:48] PHP 6. bp_core_setup_wizard_init() /var/www/wordpress/wp-includes/plugin.php:0
    [10-Jul-2012 19:39:48] PHP 7. BP_Core_Setup_Wizard->__construct() /var/www/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-update.php:1103
    [10-Jul-2012 19:39:48] PHP 8. BP_Core_Setup_Wizard->save() /var/www/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-update.php:45
    [10-Jul-2012 19:39:48] PHP 9. BP_Core_Setup_Wizard->step_db_update_save() /var/www/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-update.php:103
    [10-Jul-2012 19:39:48] PHP 10. bp_core_install() /var/www/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-update.php:771
    [10-Jul-2012 19:39:48] PHP 11. bp_core_install_notifications() /var/www/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-update.php:1116
    [10-Jul-2012 19:39:48] PHP 12. bp_core_set_charset() /var/www/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-schema.php:20`

    Please help me! How can I fix this issue?

    #137091
    digibluez
    Member

    go to your current themes directory, open up functions.php
    add
    `
    register_sidebar(array(
    ‘name’ => __( ‘Sidebar2’ ),
    ‘id’ => ‘sidebar2’,
    ‘description’ => __( ‘Widgets in this area will be shown on sidebar2.’ ,’buddypress’ ),
    ‘before_widget’ => ‘

    ‘,
    ‘before_title’ => ‘

    ‘,
    ‘after_title’ => ‘

    ‘
    ));

    Open up sidebar.php
    add after

    `
    go to wp-admin and add widgets in sidebar2, done
    you have to change the theme styles and html yourself though to make it work.

    for comments search the codex plugins db
    https://wordpress.org/extend/plugins/tags/comments
    that dose the job.

    #30391

    Hi,

    Congratulations to all for Buddypress 1.6, it’s veeeery good!!!

    but have one thing that I think can make diference in PROFILE FIELD VISIBILITY maybe have the option to just admin see the information, to take data like adress and telephone

    thanks

    I LOVE BUDDYPRESS!!!!

    nickharambee
    Participant

    Hi,

    I have installed the Better Anchor Links plugin, in order to generate a table of contents on my Buddypress Docs pages. I can manually add a TOC at the top of documents using the tag [mwm-aal-display], but I would like to automate this, i.e. any document which uses heading tags (i.e. h1,h2,h3…) will get a TOC at the top.

    In the FAQ for the Better Anchor Links plugin, It states that a PHP tag can also be used, i.e.

    output_content_links(); ?>

    But only after the_content(). However, if I include it after the_content() in the single-doc.php for BP Docs, the TOC shows up at the bottom of the document, which is not what I want.

    I got in touch with Boone, developer of the BuddyPress Docs plugin, and he suggested a couple of functions I could try, which I include below. These did indeed add a TOC automatically, but unfortunately they broke the redirecting back to a document page after editing a document. When clicking save after editing a document, rather than being directed back to the page for the document, the URL for editing the document remained and I just got a blank screen. If I manually edited the URL to point to the document, I could see that the edits that I had just made were intact, so it seems that the issue is just with the redirecting.

    I wonder if anyone can suggest amendments to either of the functions below to get this working?

    Thanks,

    Nick

    FUNCTION 1

    function bbg_add_toc_to_doc( $content ) {
    global $mwm_aal;
    $content = $mwm_aal->output_content_links() . $content;
    return $content;
    }
    add_filter( 'the_content', 'bbg_add_toc_to_doc' );

    FUNCTION 2

    function bbg_add_toc_to_doc( $content ) {
    global $mwm_aal;
    
    if ( !empty( $mwm_aal ) && is_object( $mwm_aal ) && method_exists( $mwm_aal, 'output_content_links' ) )
    $content = $mwm_aal->output_content_links() . $content;
    
    return $content;
    }
    add_filter( 'the_content', 'bbg_add_toc_to_doc' );
    Splendorrise
    Member

    Anyone?

    candy2012
    Member

    hmmmm !??! I don’t think I need the network just for my contacts :)
    Simply need to do that, as building a multi-pages registration form seems million times more difficult than that and nobody here knows how to do that anyways :(

    So … the question is basically a php question about how to pull the values from a session and pre-populate the BP-extended form fields from the registration page with that.

    That’s no problem to populate stand-alone fields (like username or email for ex) the problem comes with those extra fields which are dynamically generated and I have no clue how to replace the values !??!?

    Seems like nobody knows ?!? Not even those who programmed that stuff ?!?!

    Yeah, it’s very annoying, discouraging and a deterrent to want to use it. Thanks @RogerCoathup

    shanebp
    Moderator

    I’ll bet it’s something in your theme.
    Try switching to the default BP theme.

    Roger Coathup
    Participant

    Couple of things to look at:

    Have you got anything unusual in your wp-config.php or bp-custom.php file, perhaps redefining the site URL or ‘root slug’.

    Have you de-activated the components (groups, activity, etc.) in your BuddyPress settings?

    The line that’s falling over is: if ( empty( $bp->{$id}->root_slug ) || $bp->{$id}->root_slug != $bp->current_component )

    Hugo Ashmore
    Participant

    These are not theme issues, they are php errors in the page you need to look at your syntax and ensure it’s correct.

    #137081

    @rowefx, yes its one of my site am still working on it but i can give you the plugin free of charge.

    Regards

    SaudiaF
    Member

    I have a previous install of the exact website I am transferring to my clients domain that works perfectly, I just realized that for the activity, members, groups, etc pages I get this error:

    Fatal error: Cannot access empty property in /hermes/bosweb/web299/b2998/ipw.raidmyclosetorg/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 780

    I have disable all other plugins. Updated buddypress, reverted back to an older installation of buddypress, deactivated and reactivated the plugin, deleted and started over about 5 times. Same outcome. PLEASE HELP!

    http://www.raidmycloset.org

    Hello, sorry for the time it takes to answer. I was moving my wordpress server.

    I made the adjustments you suggested, but it shows these errors:

    In the header:
    http://www.sinaloagay.mx/members/admin/

    Parse error: syntax error, unexpected $ end in / home/content/99/9335499/html/SINALOAG-MX/wp-content/themes/metrolo/header-buddypress.php on line 201

    In the post:
    http://www.sinaloagay.mx/llama-pena-nieto-a-la-unidad-y-reitera-respeto-a-la-diversidad/

    Warning: Missing argument 2 for bp_modify_page_title () in / home/content/99/9335499/html/SINALOAG-MX/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 277

    Warning: Missing argument 3 for bp_modify_page_title () in / home/content/99/9335499/html/SINALOAG-MX/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 277

    Roger Coathup
    Participant

    @frank13 — unfortunately those standard forum features aren’t available on this site, so it’s very difficult to track anything, and questions often get re-asked, and re-answered.

    Not sure why the site hasn’t been updated to use e.g. the bbPress plugin @johnjamesjacoby

    #137078
    Roger Coathup
    Participant

    It’s sounds you need a developer to work on your general site build, rather than having specific BuddyPress questions.

    You can hire a developer by posting here: http://jobs.wordpress.net
    You can also try posting on the jobs board on this site: https://buddypress.org/community/groups/bp-jobs-board/

    #137077
    Roger Coathup
    Participant

    turn off AJAX based submission on your gravity form — does that fix the problem?

    #137076
    Paul Wong-Gibbs
    Keymaster

    Technically, it’s the other way around: bbPress 2.1 supports BuddyPress for Group Forums (but **only** if you deactivate the Group Forums component).

    You can use the bbPress 1.1 convertor that comes with bbPress 2 (it’s under the Tools menu) to move your content from old bbPress to new bbPress.

    If the forum doesn’t appear in the BuddyPress group, it’s probably best to feed this back to the bbPress team on the bbpress.org forums.

    #30385
    Anonymous User
    Inactive

    I’m trying to add a form in the sidebar of a specific Buddypress page (in this case, the ‘Activity’ page) like so:

    However the form does not submit properly, I see the spinning icon to show that *something* is being processed. However after that, nothing happens.

    I get no confirmation message and receive no validation messages if I input anything incorrectly.

    I’ve tried another form in the same place and that doesn’t work either. However, if I view a standard page on the website (e.g. a page that I’ve created myself, such as ‘About Us’) then the form works fine there.

    I’ve also upgraded both plugins to the latest version but with no joy.

    Has anyone else had this issue or does anyone know a way around it?

Viewing 25 results - 43,501 through 43,525 (of 94,559 total)
Skip to toolbar