Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 40,201 through 40,225 (of 94,565 total)
  • Author
    Search Results
  • #32052
    josefabiosan
    Participant

    on the page of the User to make a post mentioning User (clicks the button mension this User) presenting this error on the screen. message appears:
    Warning: sprintf() [function.sprintf]: Too few arguments in
    …/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php on line 95

    donsony
    Member

    I have a wordpress mu with buddypress 1.6.1 installed and was working perfectly. I made the mistake of activating sitewide forums and now my group forums throw the following error. Please advise/help someone….

    Warning: require() [function.require]: Filename cannot be empty in /home/johny/public_html/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php on line 42

    Warning: require() [function.require]: Filename cannot be empty in /home/johny/public_html/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php on line 42

    Fatal error: require() [function.require]: Failed opening required ” (include_path=’.:/usr/local/php5/lib/php’) in /home/johny/public_html/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php on line 42

    I did a lot of research on google to no avail

    #142297
    Henry
    Participant

    Putting in my request for this. The workaround isn’t working for me and this keeps happening. Using 1.5

    Edit: Because I can’t add a new post – a request for a solution that works. Obviously. But thanks a lot for your helpful reply.

    #142294

    In reply to: New to BuddyPress

    clamoreaux
    Participant

    One more question — how do I add profile fields that can only be seen by the user that is setting it up? For example, I want the Name field hidden and the user known on the site by their username only. Right now it is showing as seen by Anyone. I can’t have that on the type of site I am building.

    And can fields be searched on?

    Hello everyone, I got a very strange situation may be because I have very minimum coding skills. When posting an update from whats new textarea and also while commenting on updates if a user uses html and other tags, buddypress is rendering it as html. For example if type “Hello World” in the whats new text area or in comment box it will show the bold Hell World; since its a social network site I would want it to appear as it was typed. so I want it to appear Hello World instead of a bold Hello World. I have no idea how to disable it. I have trying to sort it out for months. Please help me.

    janco
    Member

    So I was having an issue with BuddyPress styles when using the WordPress https plugin (which normally works great with ssl pages). Since I also use s2member pro with paypal pro forms, I didn’t have a lot of time to really troubleshoot what is happening with the DOM when all three plugins are activated. Instead, I figured out fairly quickly that BuddyPress styles weren’t being loaded, though the call for them was being enqued properly. I noticed I was getting a 404 error for:

    Get bp-template-packbp.css?ver=20110918

    which, btw, also can be read as:

    http://www.xxxx.com/wp-content/plugins/bp-template-packbp.css?ver=20110918

    This is a dynamically built/added stylesheet that’s added to the header and associated with the following function in bpt-functions.php:

    function bp_tpack_enqueue_styles()

    Anyway, the first thing I did was disable the https plugin, so that I could capture the css normally added by the enqued stylesheet. I copied the css in that stylesheet (you can do that via Firefox or Chrome dev tools), and added pasted that css into my custom stylesheet (you can add it to your childtheme stylesheet, if you like).

    Since I wanted to get rid of the 404 error that would occur when the https plugin is enabled, I also commented out the following in bpt-functions.php on line 127:

    //wp_enqueue_style( ‘bp’, plugins_url( ‘/bp-template-pack/’ ) . $stylesheet, array(), $version );//

    After I saved everything and re-enabled all the plugins, everything now looks fine in BuddyPress, S2member works the way it should, and I get nice padlocks in the browser address window on my ssl pages..

    A few words of caution, and possible caveats:

    You shouldn’t normally make any changes to the core or plugin files, and some folks (here) will yell at you if you do. Sometimes though, a plugin is only as good as the code in it. WordPress is constantly evolving and with those changes, come changes that are often required to maintain compatibility with the core as well as other (e.g.) plugins and themes. I often find myself having to make kludge like fixes just to keep up with all the changes that can and do occur. As a developer, I figure it comes with the turf.

    Jan C.

    P.S. There’s always the possibility that additional styles will have to added to my custom stylesheet moving forward. At least now though, if something does break, I’ve got a workaround that seems to do the trick.

    #142285
    calumac
    Member

    Sorry, can’t help but I’m experiencing similar problems having managed to get masonry to work with the Groups DIrectory I hit the tag & get nothing displayed, although I suspect that this is down to my css still being messy.

    Is it possible to write some sort of override function/ action for group-tags that also calls masonry reload (as you suggest) & put it into bp-custom.php which sits in your site’s plugin folder?

    Unfortunately I’m not familiar enough with Buddypress/ coding to know if this is possible – I guess it depends on whether it’s loaded before the group-tags plugin.

    #142280
    Eric Langley
    Participant

    If you need help with custom coding for your site you might want to check out https://buddypress.org/community/groups/bp-jobs-board/

    @elangley

    #142278
    modemlooper
    Moderator

    I think it’s just a sidebar widget containing page hierarchy.

    #142276
    Quint
    Participant

    @megainfo,

    Thanks. That does work to produce the excerpt at the right spot. However, it does not properly handle not cutting words in the middle nor putting the […] at the end. The following function in the core file (mentioned in my first comment) does that:

    `function bp_create_excerpt( $text, $length = 225, $options = array() ) {
    // Backward compatibility. The third argument used to be a boolean $filter_shortcodes
    $filter_shortcodes_default = is_bool( $options ) ? $options : true;

    $defaults = array(
    ‘ending’ => __( ‘ […]’, ‘buddypress’ ),
    ‘exact’ => false,
    ‘html’ => true,
    ‘filter_shortcodes’ => $filter_shortcodes_default
    );
    $r = wp_parse_args( $options, $defaults );
    extract( $r );

    // Save the original text, to be passed along to the filter
    $original_text = $text;

    // Allow plugins to modify these values globally
    $length = apply_filters( ‘bp_excerpt_length’, $length );
    $ending = apply_filters( ‘bp_excerpt_append_text’, $ending );

    // Remove shortcodes if necessary
    if ( !empty( $filter_shortcodes ) )
    $text = strip_shortcodes( $text );

    // When $html is true, the excerpt should be created without including HTML tags in the
    // excerpt length
    if ( !empty( $html ) ) {
    // The text is short enough. No need to truncate
    if ( mb_strlen( preg_replace( ‘//’, ”, $text ) ) <= $length ) {
    return $text;
    }

    $totalLength = mb_strlen( strip_tags( $ending ) );
    $openTags = array();
    $truncate = ”;

    // Find all the tags and put them in a stack for later use
    preg_match_all( ‘/(]*>)?([^]*)/’, $text, $tags, PREG_SET_ORDER );
    foreach ( $tags as $tag ) {
    // Process tags that need to be closed
    if ( !preg_match( ‘/img|br|input|hr|area|base|basefont|col|frame|isindex|link|meta|param/s’, $tag[2] ) ) {
    if ( preg_match( ‘/]*>/s’, $tag[0] ) ) {
    array_unshift( $openTags, $tag[2] );
    } else if ( preg_match(‘/]*>/s’, $tag[0], $closeTag ) ) {
    $pos = array_search( $closeTag[1], $openTags );
    if ( $pos !== false ) {
    array_splice( $openTags, $pos, 1 );
    }
    }
    }
    $truncate .= $tag[1];

    $contentLength = mb_strlen( preg_replace( ‘/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i’, ‘ ‘, $tag[3] ) );
    if ( $contentLength + $totalLength > $length ) {
    $left = $length – $totalLength;
    $entitiesLength = 0;
    if ( preg_match_all( ‘/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i’, $tag[3], $entities, PREG_OFFSET_CAPTURE ) ) {
    foreach ( $entities[0] as $entity ) {
    if ( $entity[1] + 1 – $entitiesLength <= $left ) {
    $left–;
    $entitiesLength += mb_strlen( $entity[0] );
    } else {
    break;
    }
    }
    }

    $truncate .= mb_substr( $tag[3], 0 , $left + $entitiesLength );
    break;
    } else {
    $truncate .= $tag[3];
    $totalLength += $contentLength;
    }
    if ( $totalLength >= $length ) {
    break;
    }
    }
    } else {
    if ( mb_strlen( $text ) <= $length ) {
    return $text;
    } else {
    $truncate = mb_substr( $text, 0, $length – mb_strlen( $ending ) );
    }
    }

    // If $exact is false, we can’t break on words
    if ( empty( $exact ) ) {
    $spacepos = mb_strrpos( $truncate, ‘ ‘ );
    if ( isset( $spacepos ) ) {
    if ( $html ) {
    $bits = mb_substr( $truncate, $spacepos );
    preg_match_all( ‘//’, $bits, $droppedTags, PREG_SET_ORDER );
    if ( !empty( $droppedTags ) ) {
    foreach ( $droppedTags as $closingTag ) {
    if ( !in_array( $closingTag[1], $openTags ) ) {
    array_unshift( $openTags, $closingTag[1] );
    }
    }
    }
    }
    $truncate = mb_substr( $truncate, 0, $spacepos );
    }
    }
    $truncate .= $ending;

    if ( $html ) {
    foreach ( $openTags as $tag ) {
    $truncate .= ”;
    }
    }

    return apply_filters( ‘bp_create_excerpt’, $truncate, $original_text, $length, $options );

    }
    add_filter( ‘bp_create_excerpt’, ‘stripslashes_deep’ );
    add_filter( ‘bp_create_excerpt’, ‘force_balance_tags’ );
    `

    So, using that function in functions.php in the following does not work (I think it’s similar to a circular reference error in Excel):

    add_filter( ‘bp_get_group_description_excerpt’, ‘bp_create_excerpt’);

    This results in the white screen of death, though it’s probably close. Anyway, thanks for your help.

    #32043
    jjkob
    Participant

    Can anyone tell me what BuddyPress feature and/or plugin is being used on the BuddyPress Codex to generate the sidebar “Contents” section from headings? Is the process automatic (e.g., as with Mediawiki) or must the Contents section be created manually?

    See, e.g., http://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/ (sidebar “Contents”).

    #142275
    meg@info
    Participant

    hi @qrahaman , try this,

    function bp_excerpt_group_description( $description ) {

    // your exceprt code
    $length = 30;
    $description = substr($description,0,$length);
    return $description;
    }

    add_filter( ‘bp_get_group_description_excerpt’, ‘bp_excerpt_group_description’);

    #142274
    meg@info
    Participant

    hi @farandhigh,

    with this code, you can create a private community, just logged members, can access to buddypress page.


    /**
    * Privacy
    * @return [type] [description]
    */
    function restrict_access(){
    global $bp, $bp_unfiltered_uri;

    // If user is not logged in and
    if (!is_user_logged_in() &&
    // The current page is not register or activation
    !bp_is_register_page() &&
    !bp_is_activation_page() &&
    // The current pas is not blog page
    !bp_is_blog_page() )
    // Redirect to registration page. Change /register to your register page slug
    bp_core_redirect( get_option('home') . '/register' );
    }

    // here, you can add som config paramt to check if private community is enabled
    add_action( 'wp', 'restrict_access', 3 );

    #142273
    Ttemplate
    Participant

    tunelessly, i don’t have enough knowledge in PHP.
    i tried a lot, but nothing came out of it.

    i don’t know where is the exact function.php that i need to edit, where to insert the code, and where to change to code so he will fit my post types name.

    help? anyone? :}

    forfuture
    Participant

    Fields profile settings by how!!
    Please help I want tuned like the case here
    This demo site to learn
    Page Not Found
    The page you were looking for was not found.
    http://homebook.byethost32.com/members/admin/profile/
    Do you explain to adjust settings Kalhal here
    http://buddypress.org/community/members/forfuture/profile

    farandhigh
    Participant

    Wordpress : 3.4.2
    Buddypress : 1.6.1

    Hello,
    I’m trying to hide the content for non logged users, that they must redirect to a certain url that is the registration (called : /nouveau-membre),
    I’ve tried with registered users only 2 , but it don’t let me tell what the URL it must redirect to …
    Is there a solution ? or maybe something different that someone used to make the trick ?
    Thank you for the time,
    Oli

    infocoolsms
    Participant
    #142267
    infocoolsms
    Participant
    #142266

    @rhondaramsey,Use a good faq or q and a plugin, create a new page add the faq short code provided by the plugin and write your q and a accordingly. then redirect your user there at their first login.

    Thats what i did on one of my website.

    Regards

    rhondaramsey
    Member

    Hi,

    i;ve googled my fingers to a nub searching for something that i could use to explain to my members about how to use my buddypress site – but alas, nothing. :(

    there’s tons of faq’s on setting up buddyress, but i can’t find anything to explain to people – as members – what the features are and how to use them.

    Any suggestions would be greatly welcomed.

    #142265
    raminjan
    Participant

    @mercime what I want is that i want to make my site logo like facebook’s so that each member can go back to their own activity page even when they click on the site’s logo. and No i don’t think I have multisite installed.

    #142261
    @mercime
    Participant

    If you deactivate s2member plugin and change to bp-default theme, does regular registration work?

    #142260
    @mercime
    Participant

    @raminjan Multisite installation? Open up your theme’s header.php file and check if the site homepage URL was hardcoded on the logo

    #142259

    In reply to: New to BuddyPress

    @mercime
    Participant

    == It was installed with Fantastico. Is that a problem for BuddyPress? ==

    @clamoreaux There have been issues using a webhost script with BuddyPress https://codex.buddypress.org/getting-started/before-installing/#system-and-server-requirements

    == Do I have to use WPMU to use BuddyPress? ==

    No. You can install BuddyPress on single WP installation since BP 1.2

    == Is there any good documentation that walks one through setting up and using BuddyPress? ==

    The BuddyPress Codex is your friend
    – https://codex.buddypress.org/getting-started/before-installing/
    – https://codex.buddypress.org/getting-started/setting-up-a-new-installation/installation-wizard/
    – https://codex.buddypress.org/getting-started/configure-buddypress-components/
    – https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/

    #32037
    mckown
    Participant

    Just upgraded my website to buddypress .. starting to look good just need a few more features … oh and people actually interacting on it would be nice too LOL

    http://xposurepro.com

Viewing 25 results - 40,201 through 40,225 (of 94,565 total)
Skip to toolbar